aboutsummaryrefslogtreecommitdiff
path: root/www/chromium
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-09-19 10:13:40 +0000
committerRene Ladan <rene@FreeBSD.org>2014-09-19 10:13:40 +0000
commit23cf8a023adfe7f75d24b6b42cd6421534707f0d (patch)
tree25cc2b6d3eddb981f942b1993d74bc202b9c2fe7 /www/chromium
parentddb354408e5d31fc99cbbc13b1ec44f5575c2a24 (diff)
downloadports-23cf8a023adfe7f75d24b6b42cd6421534707f0d.tar.gz
ports-23cf8a023adfe7f75d24b6b42cd6421534707f0d.zip
Notes
Diffstat (limited to 'www/chromium')
-rw-r--r--www/chromium/Makefile2
-rw-r--r--www/chromium/files/patch-chrome__browser__notifications__message_center_notification_manager.cc11
-rw-r--r--www/chromium/files/patch-chrome__browser__ui__views__frame__browser_frame.cc20
-rw-r--r--www/chromium/files/patch-ui__resources__ui_resources.grd11
4 files changed, 43 insertions, 1 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 315bb5b90aef..031fb4276800 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -3,7 +3,7 @@
PORTNAME= chromium
PORTVERSION= 37.0.2062.120
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
MASTER_SITES= http://commondatastorage.googleapis.com/chromium-browser-official/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
diff --git a/www/chromium/files/patch-chrome__browser__notifications__message_center_notification_manager.cc b/www/chromium/files/patch-chrome__browser__notifications__message_center_notification_manager.cc
new file mode 100644
index 000000000000..bbbca04ce6d5
--- /dev/null
+++ b/www/chromium/files/patch-chrome__browser__notifications__message_center_notification_manager.cc
@@ -0,0 +1,11 @@
+--- chrome/browser/notifications/message_center_notification_manager.cc.orig 2014-09-10 01:47:12.000000000 +0200
++++ chrome/browser/notifications/message_center_notification_manager.cc 2014-09-18 14:21:16.000000000 +0200
+@@ -78,7 +78,7 @@
+ blockers_.push_back(new FullscreenNotificationBlocker(message_center));
+
+ #if defined(OS_WIN) || defined(OS_MACOSX) \
+- || (defined(OS_LINUX) && !defined(OS_CHROMEOS))
++ || (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+ // On Windows, Linux and Mac, the notification manager owns the tray icon and
+ // views.Other platforms have global ownership and Create will return NULL.
+ tray_.reset(message_center::CreateMessageCenterTray());
diff --git a/www/chromium/files/patch-chrome__browser__ui__views__frame__browser_frame.cc b/www/chromium/files/patch-chrome__browser__ui__views__frame__browser_frame.cc
new file mode 100644
index 000000000000..25d6f0e9afbb
--- /dev/null
+++ b/www/chromium/files/patch-chrome__browser__ui__views__frame__browser_frame.cc
@@ -0,0 +1,20 @@
+--- chrome/browser/ui/views/frame/browser_frame.cc.orig 2014-09-10 01:47:12.000000000 +0200
++++ chrome/browser/ui/views/frame/browser_frame.cc 2014-09-17 13:49:30.000000000 +0200
+@@ -36,7 +36,7 @@
+ #include "ui/views/controls/menu/menu_runner.h"
+ #include "ui/views/widget/native_widget.h"
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+ #include "chrome/browser/shell_integration_linux.h"
+ #endif
+
+@@ -110,7 +110,7 @@
+ #endif
+ }
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+ // Set up a custom WM_CLASS for some sorts of window types. This allows
+ // task switchers in X11 environments to distinguish between main browser
+ // windows and e.g app windows.
diff --git a/www/chromium/files/patch-ui__resources__ui_resources.grd b/www/chromium/files/patch-ui__resources__ui_resources.grd
new file mode 100644
index 000000000000..9540badb4cac
--- /dev/null
+++ b/www/chromium/files/patch-ui__resources__ui_resources.grd
@@ -0,0 +1,11 @@
+--- ui/resources/ui_resources.grd.orig 2014-09-10 01:47:14.000000000 +0200
++++ ui/resources/ui_resources.grd 2014-09-17 13:51:43.000000000 +0200
+@@ -39,7 +39,7 @@
+ <structure type="chrome_scaled_image" name="IDR_APP_TOP_LEFT" file="app_top_left.png" />
+ <structure type="chrome_scaled_image" name="IDR_APP_TOP_RIGHT" file="app_top_right.png" />
+ </if>
+- <if expr="is_linux and use_aura">
++ <if expr="(is_linux or is_bsd) and use_aura">
+ <structure type="chrome_scaled_image" name="IDR_AURA_CURSOR_BIG_ALIAS" file="common/pointers/alias_big.png" />
+ <structure type="chrome_scaled_image" name="IDR_AURA_CURSOR_BIG_CELL" file="common/pointers/cell_big.png" />
+ <structure type="chrome_scaled_image" name="IDR_AURA_CURSOR_BIG_COL_RESIZE" file="common/pointers/sb_h_double_arrow_big.png" />