1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Fix the double title bar and several mouse cursors [1]

- Enable the notification center [2]
- Bump PORTREVISION

Submitted by:	Tomek <tomek@apostata.org> [1]
Submitted by:	Alexey V. Panfilov <lehis2000@mail.ru> [2]
This commit is contained in:
Rene Ladan 2014-09-19 10:13:40 +00:00
parent ddb354408e
commit 23cf8a023a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=368548
4 changed files with 43 additions and 1 deletions

View File

@ -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}

View File

@ -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());

View File

@ -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.

View File

@ -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" />