From owner-svn-ports-all@freebsd.org Thu Jun 1 12:02:43 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69566AFB713; Thu, 1 Jun 2017 12:02:43 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 454AB775DC; Thu, 1 Jun 2017 12:02:43 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v51C2gbN012373; Thu, 1 Jun 2017 12:02:42 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v51C2glg012369; Thu, 1 Jun 2017 12:02:42 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201706011202.v51C2glg012369@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Thu, 1 Jun 2017 12:02:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442282 - in head/www/chromium: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jun 2017 12:02:43 -0000 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 [2] Reported by: Yuri Konotopov [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