Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2012 19:00:33 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305171 - in head/www/chromium: . files
Message-ID:  <201210021900.q92J0Xfb088438@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rene
Date: Tue Oct  2 19:00:33 2012
New Revision: 305171
URL: http://svn.freebsd.org/changeset/ports/305171

Log:
  Update to 22.0.1229.79
  
  Submitted by:	George Liaskos
  Security:	http://www.vuxml.org/freebsd/5bae2ab4-0820-11e2-be5f-00262d5ed8ee.html

Added:
  head/www/chromium/files/patch-content__browser__zygote_host__zygote_host_impl_linux.cc   (contents, props changed)
  head/www/chromium/files/patch-content__common__sandbox_seccomp_bpf_linux.cc   (contents, props changed)
  head/www/chromium/files/patch-content__content_browser.gypi   (contents, props changed)
  head/www/chromium/files/patch-content__content_gpu.gypi   (contents, props changed)
  head/www/chromium/files/patch-sandbox__sandbox.gyp   (contents, props changed)
  head/www/chromium/files/patch-third_party__libXNVCtrl__libXNVCtrl.gyp   (contents, props changed)
  head/www/chromium/files/patch-third_party__libvpx__obj_int_extract.sh   (contents, props changed)
  head/www/chromium/files/patch-third_party__libvpx__unpack_lib_posix.sh   (contents, props changed)
Deleted:
  head/www/chromium/files/patch-base__linux_util.cc
  head/www/chromium/files/patch-content__browser__zygote_host_impl_linux.cc
  head/www/chromium/files/patch-remoting__remoting.gyp
Modified:
  head/www/chromium/Makefile
  head/www/chromium/distinfo
  head/www/chromium/files/patch-base__debug__stack_trace_posix.cc
  head/www/chromium/files/patch-chrome__browser__process_singleton.h
  head/www/chromium/files/patch-chrome__browser__ui__webui__about_ui.cc
  head/www/chromium/files/patch-content__renderer__render_view_impl.h
  head/www/chromium/files/patch-content__zygote__zygote_main_linux.cc
  head/www/chromium/files/patch-net__net.gyp
  head/www/chromium/files/patch-third_party__libjpeg_turbo__libjpeg.gyp
  head/www/chromium/pkg-plist

Modified: head/www/chromium/Makefile
==============================================================================
--- head/www/chromium/Makefile	Tue Oct  2 18:20:44 2012	(r305170)
+++ head/www/chromium/Makefile	Tue Oct  2 19:00:33 2012	(r305171)
@@ -7,7 +7,7 @@
 
 PORTNAME=	chromium
 DISTVERSIONPREFIX=	courgette-redacted-
-DISTVERSION=	21.0.1180.89
+DISTVERSION=	22.0.1229.79
 CATEGORIES=	www
 MASTER_SITES=	http://download.goodking.org/downloads/ \
 		ftp://rene-ladan.nl/pub/distfiles/ \
@@ -170,10 +170,6 @@ post-patch:
 	@${REINPLACE_CMD} -e "s|linux|freebsd|" \
 		${WRKSRC}/tools/gyp/pylib/gyp/generator/make.py
 
-pre-configure:
-	@${CP} -R ${WRKSRC}/third_party/libvpx/source/config/linux \
-		${WRKSRC}/third_party/libvpx/source/config/freebsd
-
 do-configure:
 	cd ${WRKSRC} && \
 		GYP_DEFINES="${GYP_DEFINES}" ${PYTHON_CMD} \
@@ -185,8 +181,9 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/chrome.pak \
 		${WRKSRC}/out/${BUILDTYPE}/product_logo_48.png \
 		${WRKSRC}/out/${BUILDTYPE}/resources.pak \
-		${WRKSRC}/out/${BUILDTYPE}/ui_resources_standard.pak \
-		${WRKSRC}/out/${BUILDTYPE}/theme_resources_standard.pak ${DATADIR}
+		${WRKSRC}/out/${BUILDTYPE}/content_resources.pak \
+		${WRKSRC}/out/${BUILDTYPE}/ui_resources_100_percent.pak \
+		${WRKSRC}/out/${BUILDTYPE}/theme_resources_100_percent.pak ${DATADIR}
 	${INSTALL_SCRIPT} ${WRKSRC}/out/${BUILDTYPE}/chrome-wrapper \
 		${WRKSRC}/out/${BUILDTYPE}/xdg-settings ${DATADIR}
 .for f in chrome libffmpegsumo.so mksnapshot protoc

Modified: head/www/chromium/distinfo
==============================================================================
--- head/www/chromium/distinfo	Tue Oct  2 18:20:44 2012	(r305170)
+++ head/www/chromium/distinfo	Tue Oct  2 19:00:33 2012	(r305171)
@@ -1,2 +1,2 @@
-SHA256 (chromium-courgette-redacted-21.0.1180.89.tar.xz) = ce3512015ba5d4e012a3706a8ca0380ad6360c58d8e01275dd2168b20205babc
-SIZE (chromium-courgette-redacted-21.0.1180.89.tar.xz) = 156190076
+SHA256 (chromium-courgette-redacted-22.0.1229.79.tar.xz) = bedf976f9ed5e2f3cd149fed7fa9b1cd7cecc5e40794eefe0a7c6143493febdd
+SIZE (chromium-courgette-redacted-22.0.1229.79.tar.xz) = 173072364

Modified: head/www/chromium/files/patch-base__debug__stack_trace_posix.cc
==============================================================================
--- head/www/chromium/files/patch-base__debug__stack_trace_posix.cc	Tue Oct  2 18:20:44 2012	(r305170)
+++ head/www/chromium/files/patch-base__debug__stack_trace_posix.cc	Tue Oct  2 19:00:33 2012	(r305171)
@@ -1,14 +1,18 @@
---- base/debug/stack_trace_posix.cc.orig	2012-06-11 23:22:13.000000000 +0300
-+++ base/debug/stack_trace_posix.cc	2012-06-12 00:09:38.000000000 +0300
-@@ -153,6 +153,11 @@
-     count_ = 0;
-     return;
-   }
-+#elif defined(OS_FREEBSD)
+--- base/debug/stack_trace_posix.cc.orig	2012-10-01 23:40:32.000000000 +0300
++++ base/debug/stack_trace_posix.cc	2012-10-01 23:41:09.000000000 +0300
+@@ -148,9 +148,15 @@
+ }  // namespace
+ 
+ StackTrace::StackTrace() {
++#if defined(OS_FREEBSD)
 +  // Disable backtrace for now, libexecinfo crashes in getframeaddr
 +  // in release build / i386.
 +  count_ = 0;
-+  return;
- #endif
++#else
    // Though the backtrace API man page does not list any possible negative
    // return values, we take no chance.
+   count_ = std::max(backtrace(trace_, arraysize(trace_)), 0);
++#endif
+ }
+ 
+ void StackTrace::PrintBacktrace() const {

Modified: head/www/chromium/files/patch-chrome__browser__process_singleton.h
==============================================================================
--- head/www/chromium/files/patch-chrome__browser__process_singleton.h	Tue Oct  2 18:20:44 2012	(r305170)
+++ head/www/chromium/files/patch-chrome__browser__process_singleton.h	Tue Oct  2 19:00:33 2012	(r305171)
@@ -1,6 +1,6 @@
---- chrome/browser/process_singleton.h.orig	2012-05-30 10:01:59.000000000 +0300
-+++ chrome/browser/process_singleton.h	2012-06-05 21:41:51.000000000 +0300
-@@ -29,9 +29,9 @@
+--- chrome/browser/process_singleton.h.orig	2012-09-25 16:02:18.000000000 +0300
++++ chrome/browser/process_singleton.h	2012-09-29 15:03:27.000000000 +0300
+@@ -28,9 +28,9 @@
  #include "base/file_path.h"
  #endif  // defined(OS_POSIX)
  
@@ -12,7 +12,7 @@
  
  class CommandLine;
  class FilePath;
-@@ -85,7 +85,7 @@
+@@ -84,7 +84,7 @@
    NotifyResult NotifyOtherProcessOrCreate(
        const NotificationCallback& notification_callback);
  
@@ -21,7 +21,7 @@
    // Exposed for testing.  We use a timeout on Linux, and in tests we want
    // this timeout to be short.
    NotifyResult NotifyOtherProcessWithTimeout(const CommandLine& command_line,
-@@ -98,7 +98,7 @@
+@@ -97,7 +97,7 @@
    void OverrideCurrentPidForTesting(base::ProcessId pid);
    void OverrideKillCallbackForTesting(const base::Callback<void(int)>& callback);
    static void DisablePromptForTesting();
@@ -31,9 +31,9 @@
  #if defined(OS_WIN) && !defined(USE_AURA)
    // Used in specific cases to let us know that there is an existing instance
 @@ -171,7 +171,7 @@
-   HWND remote_window_;  // The HWND_MESSAGE of another browser.
    HWND window_;  // The HWND_MESSAGE window.
    bool is_virtualized_;  // Stuck inside Microsoft Softricity VM environment.
+   HANDLE lock_file_;
 -#elif defined(OS_LINUX) || defined(OS_OPENBSD)
 +#elif defined(OS_LINUX) || defined(OS_BSD)
    // Return true if the given pid is one of our child processes.

Modified: head/www/chromium/files/patch-chrome__browser__ui__webui__about_ui.cc
==============================================================================
--- head/www/chromium/files/patch-chrome__browser__ui__webui__about_ui.cc	Tue Oct  2 18:20:44 2012	(r305170)
+++ head/www/chromium/files/patch-chrome__browser__ui__webui__about_ui.cc	Tue Oct  2 19:00:33 2012	(r305171)
@@ -1,15 +1,15 @@
---- chrome/browser/ui/webui/about_ui.cc.orig	2012-07-18 10:02:02.000000000 +0300
-+++ chrome/browser/ui/webui/about_ui.cc	2012-07-25 20:41:53.000000000 +0300
-@@ -72,7 +72,7 @@
- #include "webkit/glue/webkit_glue.h"
- #include "webkit/plugins/webplugininfo.h"
+--- chrome/ui/webui/about_ui.cc.orig	2012-09-25 16:02:14.000000000 +0300
++++ chrome/browser/ui/webui/about_ui.cc	2012-09-29 15:09:43.000000000 +0300
+@@ -74,7 +74,7 @@
+ #include "chrome/browser/ui/webui/theme_source.h"
+ #endif
  
 -#if defined(OS_LINUX) || defined(OS_OPENBSD)
 +#if defined(OS_LINUX) || defined(OS_BSD)
  #include "content/public/browser/zygote_host_linux.h"
  #include "content/public/common/sandbox_linux.h"
  #endif
-@@ -1011,7 +1011,7 @@
+@@ -924,7 +924,7 @@
    return data;
  }
  
@@ -18,16 +18,16 @@
  std::string AboutLinuxProxyConfig() {
    std::string data;
    AppendHeader(&data, 0,
-@@ -1406,7 +1406,7 @@
+@@ -1325,7 +1325,7 @@
+   } else if (host == chrome::kChromeUIDNSHost) {
+     AboutDnsHandler::Start(this, request_id);
      return;
-   } else if (host == chrome::kChromeUIHistogramsHost) {
-     response = AboutHistograms(path);
 -#if defined(OS_LINUX) || defined(OS_OPENBSD)
 +#if defined(OS_LINUX) || defined(OS_BSD)
    } else if (host == chrome::kChromeUILinuxProxyConfigHost) {
      response = AboutLinuxProxyConfig();
  #endif
-@@ -1422,7 +1422,7 @@
+@@ -1341,7 +1341,7 @@
      response = ResourceBundle::GetSharedInstance().GetRawDataResource(
          IDR_OS_CREDITS_HTML, ui::SCALE_FACTOR_NONE).as_string();
  #endif

Added: head/www/chromium/files/patch-content__browser__zygote_host__zygote_host_impl_linux.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-content__browser__zygote_host__zygote_host_impl_linux.cc	Tue Oct  2 19:00:33 2012	(r305171)
@@ -0,0 +1,42 @@
+--- content/browser/zygote_host/zygote_host_impl_linux.cc.orig	2012-05-09 10:01:22.000000000 +0300
++++ content/browser/zygote_host/zygote_host_impl_linux.cc	2012-05-20 02:32:55.863105935 +0300
+@@ -92,7 +92,7 @@
+   cmd_line.AppendSwitchASCII(switches::kProcessType, switches::kZygoteProcess);
+ 
+   int fds[2];
+-#if defined(OS_FREEBSD) || defined(OS_OPENBSD)
++#if defined(OS_BSD)
+   // The BSDs often don't support SOCK_SEQPACKET yet, so fall back to
+   // SOCK_DGRAM if necessary.
+   if (socketpair(PF_UNIX, SOCK_SEQPACKET, 0, fds) != 0)
+@@ -310,7 +310,7 @@
+       return base::kNullProcessHandle;
+   }
+ 
+-#if !defined(OS_OPENBSD)
++#if !defined(OS_BSD)
+   // This is just a starting score for a renderer or extension (the
+   // only types of processes that will be started this way).  It will
+   // get adjusted as time goes on.  (This is the same value as
+@@ -323,9 +323,9 @@
+   return pid;
+ }
+ 
+-#if !defined(OS_OPENBSD)
+ void ZygoteHostImpl::AdjustRendererOOMScore(base::ProcessHandle pid,
+                                             int score) {
++#if !defined(OS_BSD)
+   // 1) You can't change the oom_score_adj of a non-dumpable process
+   //    (EPERM) unless you're root. Because of this, we can't set the
+   //    oom_adj from the browser process.
+@@ -390,8 +390,9 @@
+     if (!base::AdjustOOMScore(pid, score))
+       PLOG(ERROR) << "Failed to adjust OOM score of renderer with pid " << pid;
+   }
+-}
+ #endif
++}
++
+ 
+ void ZygoteHostImpl::EnsureProcessTerminated(pid_t process) {
+   DCHECK(init_);

Added: head/www/chromium/files/patch-content__common__sandbox_seccomp_bpf_linux.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-content__common__sandbox_seccomp_bpf_linux.cc	Tue Oct  2 19:00:33 2012	(r305171)
@@ -0,0 +1,31 @@
+--- content/common/sandbox_seccomp_bpf_linux.cc.orig	2012-10-02 00:12:55.000000000 +0300
++++ content/common/sandbox_seccomp_bpf_linux.cc	2012-10-02 00:13:01.000000000 +0300
+@@ -2,15 +2,15 @@
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+ 
+-#include <asm/unistd.h>
++//#include <asm/unistd.h>
+ #include <dlfcn.h>
+ #include <errno.h>
+ #include <fcntl.h>
+-#include <linux/audit.h>
+-#include <linux/filter.h>
++//include <linux/audit.h>
++//#include <linux/filter.h>
+ #include <signal.h>
+ #include <string.h>
+-#include <sys/prctl.h>
++//#include <sys/prctl.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <ucontext.h>
+@@ -25,7 +25,7 @@
+ #include "content/public/common/content_switches.h"
+ 
+ // These are the only architectures supported for now.
+-#if defined(__i386__) || defined(__x86_64__)
++#if (defined(__i386__) || defined(__x86_64__)) && !defined(OS_FREEBSD)
+ #define SECCOMP_BPF_SANDBOX
+ #endif
+ 

Added: head/www/chromium/files/patch-content__content_browser.gypi
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-content__content_browser.gypi	Tue Oct  2 19:00:33 2012	(r305171)
@@ -0,0 +1,16 @@
+--- content/content_browser.gypi.orig	2012-10-01 20:09:41.000000000 +0300
++++ content/content_browser.gypi	2012-10-01 20:20:01.000000000 +0300
+@@ -950,9 +950,12 @@
+       ],
+     }],
+     ['os_bsd==1', {
+-      'sources/': [
++      'sources/': [        
++        ['exclude', '^browser/device_monitor_linux\\.cc$'],
++        ['exclude', '^browser/download/file_metadata_linux\\.cc$'],
+         ['exclude', '^browser/gamepad/platform_data_fetcher_linux\\.cc$'],
+         ['exclude', '^browser/geolocation/wifi_data_provider_linux\\.cc$'],
++        ['exclude', '^browser/udev_linux\\.cc$'],
+       ],
+     }],
+     ['use_aura==1', {

Added: head/www/chromium/files/patch-content__content_gpu.gypi
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-content__content_gpu.gypi	Tue Oct  2 19:00:33 2012	(r305171)
@@ -0,0 +1,11 @@
+--- content/content_gpu.gypi.orig	2012-10-01 20:45:02.000000000 +0300
++++ content/content_gpu.gypi	2012-10-01 20:45:37.000000000 +0300
+@@ -95,7 +95,7 @@
+         '../third_party/amd/amd_videocard_info_win.cc',
+       ],
+     }],
+-    ['OS=="linux"', {
++    ['OS=="linux" or OS=="freebsd"', {
+       'dependencies': [
+         '../third_party/libXNVCtrl/libXNVCtrl.gyp:libXNVCtrl',
+       ],

Modified: head/www/chromium/files/patch-content__renderer__render_view_impl.h
==============================================================================
--- head/www/chromium/files/patch-content__renderer__render_view_impl.h	Tue Oct  2 18:20:44 2012	(r305170)
+++ head/www/chromium/files/patch-content__renderer__render_view_impl.h	Tue Oct  2 19:00:33 2012	(r305171)
@@ -1,6 +1,6 @@
---- content/renderer/render_view_impl.h.orig	2012-07-18 10:01:27.000000000 +0300
-+++ content/renderer/render_view_impl.h	2012-07-25 21:21:32.000000000 +0300
-@@ -341,12 +341,12 @@
+--- content/renderer/render_view_impl.h.orig	2012-09-25 16:01:33.000000000 +0300
++++ content/renderer/render_view_impl.h	2012-09-29 17:42:16.000000000 +0300
+@@ -344,12 +344,12 @@
    void SimulateImeConfirmComposition(const string16& text,
                                       const ui::Range& replacement_range);
  
@@ -15,16 +15,16 @@
    // Starts plugin IME.
    void StartPluginIme();
  
-@@ -788,7 +788,7 @@
-   FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, UpdateTargetURLWithInvalidURL);
+@@ -799,7 +799,7 @@
    FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
                             GetCompositionCharacterBoundsTest);
+   FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavigationHttpPost);
 -#if defined(OS_MACOSX)
 +#if defined(OS_MACOSX) || defined(OS_FREEBSD)
    FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp);
  #endif
    FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndPrune);
-@@ -1258,7 +1258,7 @@
+@@ -1271,7 +1271,7 @@
    bool cached_has_main_frame_horizontal_scrollbar_;
    bool cached_has_main_frame_vertical_scrollbar_;
  

Modified: head/www/chromium/files/patch-content__zygote__zygote_main_linux.cc
==============================================================================
--- head/www/chromium/files/patch-content__zygote__zygote_main_linux.cc	Tue Oct  2 18:20:44 2012	(r305170)
+++ head/www/chromium/files/patch-content__zygote__zygote_main_linux.cc	Tue Oct  2 19:00:33 2012	(r305171)
@@ -1,6 +1,6 @@
---- content/zygote/zygote_main_linux.cc.orig	2012-08-28 07:17:58.000000000 +0300
-+++ content/zygote/zygote_main_linux.cc	2012-08-28 07:57:49.000000000 +0300
-@@ -45,6 +45,9 @@
+--- content/zygote/zygote_main_linux.cc.orig	2012-09-25 16:01:30.000000000 +0300
++++ content/zygote/zygote_main_linux.cc	2012-10-01 21:22:30.000000000 +0300
+@@ -46,6 +46,9 @@
  #include <sys/signal.h>
  #else
  #include <signal.h>
@@ -10,37 +10,7 @@
  #endif
  
  namespace content {
-@@ -153,7 +156,7 @@
- static LocaltimeRFunction g_libc_localtime64_r;
- 
- // http://crbug.com/123263, see below.
--#if !defined(ADDRESS_SANITIZER)
-+#if !defined(ADDRESS_SANITIZER) && !defined(OS_BSD)
- static pthread_once_t g_libc_file_io_funcs_guard = PTHREAD_ONCE_INIT;
- static FopenFunction g_libc_fopen;
- static FopenFunction g_libc_fopen64;
-@@ -269,7 +272,7 @@
- // TODO(sergeyu): Currently this code doesn't work properly under ASAN
- // - it crashes content_unittests. Make sure it works properly and
- // enable it here. http://crbug.com/123263
--#if !defined(ADDRESS_SANITIZER)
-+#if !defined(ADDRESS_SANITIZER) && !defined(OS_BSD)
- 
- static void InitLibcFileIOFunctions() {
-   g_libc_fopen = reinterpret_cast<FopenFunction>(
-@@ -280,9 +283,9 @@
-   if (!g_libc_fopen) {
-     LOG(FATAL) << "Failed to get fopen() from libc.";
-   } else if (!g_libc_fopen64) {
--#if !defined(OS_OPENBSD) && !defined(OS_FREEBSD)
-+#if !defined(OS_BSD)
-     LOG(WARNING) << "Failed to get fopen64() from libc. Using fopen() instead.";
--#endif  // !defined(OS_OPENBSD) && !defined(OS_FREEBSD)
-+#endif  // !defined(OS_BSD)
-     g_libc_fopen64 = g_libc_fopen;
-   }
- 
-@@ -462,6 +465,11 @@
+@@ -324,6 +327,11 @@
      CHECK(HANDLE_EINTR(send(sync_fds[1], "C", 1, MSG_NOSIGNAL)) == 1);
      (void) HANDLE_EINTR(close(sync_fds[1]));
  
@@ -52,7 +22,7 @@
      for (;;) {
        // Loop until we have reaped our one natural child
        siginfo_t reaped_child_info;
-@@ -480,6 +488,7 @@
+@@ -342,6 +350,7 @@
          _exit(exit_code);
        }
      }
@@ -60,7 +30,7 @@
    } else {
      // The child needs to wait for the parent to close kZygoteIdFd to avoid a
      // race condition
-@@ -573,7 +582,7 @@
+@@ -395,7 +404,7 @@
        *has_started_new_init = true;
      }
  
@@ -69,3 +39,14 @@
      // Previously, we required that the binary be non-readable. This causes the
      // kernel to mark the process as non-dumpable at startup. The thinking was
      // that, although we were putting the renderers into a PID namespace (with
+@@ -448,8 +457,10 @@
+                 ZygoteForkDelegate* forkdelegate) {
+ #if !defined(CHROMIUM_SELINUX)
+   g_am_zygote_or_renderer = true;
++#if !defined(OS_BSD)
+   sandbox::InitLibcUrandomOverrides();
+ #endif
++#endif
+ 
+   LinuxSandbox* linux_sandbox = LinuxSandbox::GetInstance();
+   // This will pre-initialize the various sandboxes that need it.

Modified: head/www/chromium/files/patch-net__net.gyp
==============================================================================
--- head/www/chromium/files/patch-net__net.gyp	Tue Oct  2 18:20:44 2012	(r305170)
+++ head/www/chromium/files/patch-net__net.gyp	Tue Oct  2 19:00:33 2012	(r305171)
@@ -1,7 +1,10 @@
---- net/net.gyp.orig	2012-01-30 23:30:30.000000000 +0200
-+++ net/net.gyp	2012-01-30 23:30:57.000000000 +0200
-@@ -853,7 +853,7 @@
+--- net/net.gyp.orig	2012-09-25 16:01:38.000000000 +0300
++++ net/net.gyp	2012-10-01 20:04:49.000000000 +0300
+@@ -943,9 +943,10 @@
+               }],
+               ['os_bsd==1', {
                  'sources!': [
++                  'base/address_tracker_linux.cc',
                    'base/network_change_notifier_linux.cc',
                    'base/network_change_notifier_netlink_linux.cc',
 -                  'proxy/proxy_config_service_linux.cc',

Added: head/www/chromium/files/patch-sandbox__sandbox.gyp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-sandbox__sandbox.gyp	Tue Oct  2 19:00:33 2012	(r305171)
@@ -0,0 +1,17 @@
+--- sandbox/sandbox.gyp.orig	2012-10-01 21:30:17.000000000 +0300
++++ sandbox/sandbox.gyp	2012-10-01 21:30:25.000000000 +0300
+@@ -12,12 +12,12 @@
+         'win/sandbox_win.gypi',
+       ],
+     }],
+-    [ 'OS=="linux"', {
++    [ 'OS=="linux" or OS=="freebsd"', {
+       'includes': [
+         'linux/sandbox_linux.gypi',
+       ],
+     }],
+-    [ 'OS!="win" and OS!="mac" and OS!="linux"', {
++    [ 'OS!="win" and OS!="mac" and OS!="linux" and OS!="freebsd"', {
+       # We need a 'default' to accomodate the "sandbox" target, for instance
+       # on Android.
+       'targets': [

Added: head/www/chromium/files/patch-third_party__libXNVCtrl__libXNVCtrl.gyp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-third_party__libXNVCtrl__libXNVCtrl.gyp	Tue Oct  2 19:00:33 2012	(r305171)
@@ -0,0 +1,12 @@
+--- third_party/libXNVCtrl/libXNVCtrl.gyp.orig	2012-10-02 20:32:18.000000000 +0300
++++ third_party/libXNVCtrl/libXNVCtrl.gyp	2012-10-02 20:32:24.000000000 +0300
+@@ -13,6 +13,9 @@
+         'NVCtrlLib.h',
+         'nv_control.h',
+       ],
++      'include_dirs': [
++        '<(prefix_dir)/include',
++      ],
+     },
+   ],
+ }

Modified: head/www/chromium/files/patch-third_party__libjpeg_turbo__libjpeg.gyp
==============================================================================
--- head/www/chromium/files/patch-third_party__libjpeg_turbo__libjpeg.gyp	Tue Oct  2 18:20:44 2012	(r305170)
+++ head/www/chromium/files/patch-third_party__libjpeg_turbo__libjpeg.gyp	Tue Oct  2 19:00:33 2012	(r305171)
@@ -1,21 +1,21 @@
---- third_party/libjpeg_turbo/libjpeg.gyp.orig	2012-07-18 10:03:15.000000000 +0300
-+++ third_party/libjpeg_turbo/libjpeg.gyp	2012-07-25 21:54:51.000000000 +0300
-@@ -225,7 +225,7 @@
+--- third_party/libjpeg_turbo/libjpeg.gyp.orig	2012-09-25 16:03:33.000000000 +0300
++++ third_party/libjpeg_turbo/libjpeg.gyp	2012-09-29 18:07:42.000000000 +0300
+@@ -231,7 +231,7 @@
+             ],
+           },
+         }],
+-        [ 'OS=="linux" or (OS=="android" and target_arch!="arm")', {
++        [ 'OS=="linux" or OS=="freebsd" or (OS=="android" and target_arch!="arm")', {
+           'conditions': [
+             [ 'use_system_yasm==0', {
+               'dependencies': [
+@@ -262,6 +262,9 @@
                  ],
-               },
-             }],
--            [ 'OS=="linux" or (OS=="android" and target_arch!="arm")', {
-+            [ 'OS=="linux" or OS=="freebsd" or (OS=="android" and target_arch!="arm")', {
-               'conditions': [
-                 [ 'use_system_yasm==0', {
-                   'dependencies': [
-@@ -296,6 +296,9 @@
-             'defines': [
-               'USE_SYSTEM_LIBJPEG',
+               }],
              ],
 +            'include_dirs': [
 +              '<(prefix_dir)/include',
 +            ],
            },
-           'link_settings': {
-             'libraries': [
+         }],
+       ],

Added: head/www/chromium/files/patch-third_party__libvpx__obj_int_extract.sh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-third_party__libvpx__obj_int_extract.sh	Tue Oct  2 19:00:33 2012	(r305171)
@@ -0,0 +1,8 @@
+--- third_party/libvpx/obj_int_extract.sh.orig	2012-09-30 00:09:37.000000000 +0300
++++ third_party/libvpx/obj_int_extract.sh	2012-09-30 00:22:26.000000000 +0300
+@@ -1,4 +1,4 @@
+-#!/bin/bash -e
++#!/usr/bin/env bash
+ #
+ # Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ # Use of this source code is governed by a BSD-style license that can be

Added: head/www/chromium/files/patch-third_party__libvpx__unpack_lib_posix.sh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/chromium/files/patch-third_party__libvpx__unpack_lib_posix.sh	Tue Oct  2 19:00:33 2012	(r305171)
@@ -0,0 +1,8 @@
+--- third_party/libvpx/unpack_lib_posix.sh.orig	2012-09-29 23:59:44.000000000 +0300
++++ third_party/libvpx/unpack_lib_posix.sh	2012-09-30 00:02:38.000000000 +0300
+@@ -1,4 +1,4 @@
+-#!/bin/bash -e
++#!/usr/bin/env bash
+ #
+ # Copyright (c) 2012 The Chromium Authors. All rights reserved.
+ # Use of this source code is governed by a BSD-style license that can be

Modified: head/www/chromium/pkg-plist
==============================================================================
--- head/www/chromium/pkg-plist	Tue Oct  2 18:20:44 2012	(r305170)
+++ head/www/chromium/pkg-plist	Tue Oct  2 19:00:33 2012	(r305171)
@@ -2,6 +2,7 @@ bin/chrome
 %%DATADIR%%/chrome
 %%DATADIR%%/chrome-wrapper
 %%DATADIR%%/chrome.pak
+%%DATADIR%%/content_resources.pak
 %%DATADIR%%/libffmpegsumo.so
 %%DATADIR%%/locales/am.pak
 %%DATADIR%%/locales/ar.pak
@@ -167,17 +168,7 @@ bin/chrome
 %%DATADIR%%/resources/inspector/Images/spinnerInactiveSelected.gif
 %%DATADIR%%/resources/inspector/Images/splitviewDimple.png
 %%DATADIR%%/resources/inspector/Images/splitviewDividerBackground.png
-%%DATADIR%%/resources/inspector/Images/statusbarBackground.png
-%%DATADIR%%/resources/inspector/Images/statusbarBackgroundChromium.png
-%%DATADIR%%/resources/inspector/Images/statusbarBottomBackground.png
-%%DATADIR%%/resources/inspector/Images/statusbarBottomBackgroundChromium.png
 %%DATADIR%%/resources/inspector/Images/statusbarButtonGlyphs.png
-%%DATADIR%%/resources/inspector/Images/statusbarButtons.png
-%%DATADIR%%/resources/inspector/Images/statusbarButtonsChromium.png
-%%DATADIR%%/resources/inspector/Images/statusbarMenuButton.png
-%%DATADIR%%/resources/inspector/Images/statusbarMenuButtonChromium.png
-%%DATADIR%%/resources/inspector/Images/statusbarMenuButtonSelected.png
-%%DATADIR%%/resources/inspector/Images/statusbarMenuButtonSelectedChromium.png
 %%DATADIR%%/resources/inspector/Images/statusbarResizerHorizontal.png
 %%DATADIR%%/resources/inspector/Images/statusbarResizerVertical.png
 %%DATADIR%%/resources/inspector/Images/successGreenDot.png
@@ -236,10 +227,10 @@ bin/chrome
 %%DATADIR%%/resources/inspector/splitView.css
 %%DATADIR%%/resources/inspector/tabbedPane.css
 %%DATADIR%%/resources/inspector/textPrompt.css
-%%DATADIR%%/resources/inspector/textViewer.css
+%%DATADIR%%/resources/inspector/textEditor.css
 %%DATADIR%%/resources/inspector/timelinePanel.css
-%%DATADIR%%/theme_resources_standard.pak
-%%DATADIR%%/ui_resources_standard.pak
+%%DATADIR%%/theme_resources_100_percent.pak
+%%DATADIR%%/ui_resources_100_percent.pak
 %%DATADIR%%/xdg-settings
 @dirrm %%DATADIR%%/locales
 @dirrm %%DATADIR%%/resources/inspector/Images



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210021900.q92J0Xfb088438>