Date: Thu, 1 Jun 2017 12:02:42 +0000 (UTC) From: "Carlos J. Puga Medina" <cpm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442282 - in head/www/chromium: . files Message-ID: <201706011202.v51C2glg012369@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cpm Date: Thu Jun 1 12:02:41 2017 New Revision: 442282 URL: https://svnweb.freebsd.org/changeset/ports/442282 Log: - Fix runtime.getPlatformInfo on FreeBSD [1] - Don't use the PDFium bundle freetype [2] - Bump PORTREVISION PR: 212925 [1], 219448 [2] Submitted by: Jan Kokemueller <jan.kokemueller@gmail.com> [2] Reported by: Yuri Konotopov <ykonotopov@gmail.com> [1] Added: head/www/chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc (contents, props changed) head/www/chromium/files/patch-extensions_common_api_runtime.json (contents, props changed) head/www/chromium/files/patch-third__party_pdfium_pdfium.gni (contents, props changed) Modified: head/www/chromium/Makefile Modified: head/www/chromium/Makefile ============================================================================== --- head/www/chromium/Makefile Thu Jun 1 11:28:45 2017 (r442281) +++ head/www/chromium/Makefile Thu Jun 1 12:02:41 2017 (r442282) @@ -3,7 +3,7 @@ PORTNAME= chromium PORTVERSION= 58.0.3029.110 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} # default, but needed to get distinfo correct if TEST is on Added: head/www/chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/chromium/files/patch-chrome_browser_extensions_api_runtime_chrome__runtime__api__delegate.cc Thu Jun 1 12:02:41 2017 (r442282) @@ -0,0 +1,11 @@ +--- chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc.orig 2017-05-09 19:02:41 UTC ++++ chrome/browser/extensions/api/runtime/chrome_runtime_api_delegate.cc +@@ -277,6 +277,8 @@ bool ChromeRuntimeAPIDelegate::GetPlatfo + info->os = extensions::api::runtime::PLATFORM_OS_CROS; + } else if (strcmp(os, "linux") == 0) { + info->os = extensions::api::runtime::PLATFORM_OS_LINUX; ++ } else if (strcmp(os, "freebsd") == 0) { ++ info->os = extensions::api::runtime::PLATFORM_OS_FREEBSD; + } else if (strcmp(os, "openbsd") == 0) { + info->os = extensions::api::runtime::PLATFORM_OS_OPENBSD; + } else { Added: head/www/chromium/files/patch-extensions_common_api_runtime.json ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/chromium/files/patch-extensions_common_api_runtime.json Thu Jun 1 12:02:41 2017 (r442282) @@ -0,0 +1,11 @@ +--- extensions/common/api/runtime.json.orig 2017-05-09 19:02:47 UTC ++++ extensions/common/api/runtime.json +@@ -66,7 +66,7 @@ + "id": "PlatformOs", + "type": "string", + "description": "The operating system chrome is running on.", +- "enum": ["mac", "win", "android", "cros", "linux", "openbsd"] ++ "enum": ["mac", "win", "android", "cros", "linux", "freebsd", "openbsd"] + }, + { + "id": "PlatformArch", Added: head/www/chromium/files/patch-third__party_pdfium_pdfium.gni ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/chromium/files/patch-third__party_pdfium_pdfium.gni Thu Jun 1 12:02:41 2017 (r442282) @@ -0,0 +1,11 @@ +--- third_party/pdfium/pdfium.gni.orig 2017-05-09 19:03:55 UTC ++++ third_party/pdfium/pdfium.gni +@@ -9,7 +9,7 @@ import("//build_overrides/pdfium.gni") + declare_args() { + # On Android there's no system FreeType. On Windows and Mac, only a few + # methods are used from it. +- pdfium_bundle_freetype = !is_linux ++ pdfium_bundle_freetype = false + + # Build PDFium either with or without v8 support. + pdf_enable_v8 = pdf_enable_v8_override
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706011202.v51C2glg012369>