svn commit: r476675 - in head/www/chromium: . files
Carlos J. Puga Medina
cpm at FreeBSD.org
Wed Aug 8 20:27:44 UTC 2018
Author: cpm
Date: Wed Aug 8 20:27:42 2018
New Revision: 476675
URL: https://svnweb.freebsd.org/changeset/ports/476675
Log:
www/chromium: minor fix in pkg-message
%%DATADIR%% is not being expanded in pkg-message, and it shows up like this:
--II--
Chromium has a known problem of hanging tabs. The workaround
for this problem is to mount ~/.cache/chromium as memory-fs.
In order to do this, before you run Chromium, please run the
following script as root once for each user who uses Chromium
(replace {user}/{group} with your user/group names):
# %%DATADIR%%/fix-hanging-tabs.sh {user} {group}
- Add DATADIR to SUB_LIST to correctly be replaced with its value and move pkg-message to FILESDIR.
- Bump PORTREVISION
Reported by: olgeni via mail
Added:
head/www/chromium/files/pkg-message.in
- copied unchanged from r476674, head/www/chromium/pkg-message
Deleted:
head/www/chromium/pkg-message
Modified:
head/www/chromium/Makefile
Modified: head/www/chromium/Makefile
==============================================================================
--- head/www/chromium/Makefile Wed Aug 8 20:25:39 2018 (r476674)
+++ head/www/chromium/Makefile Wed Aug 8 20:27:42 2018 (r476675)
@@ -3,6 +3,7 @@
PORTNAME= chromium
PORTVERSION= 68.0.3440.84
+PORTREVISION= 1
CATEGORIES?= www
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@@ -133,8 +134,8 @@ GN_ARGS+= google_api_key="AIzaSyBsp9n41JLW8jCokwn7vhoa
google_default_client_secret="IR1za9-1VK0zZ0f_O8MVFicn"
.if !defined(GN_ONLY)
-SUB_FILES= chromium-browser.desktop chrome
-SUB_LIST+= COMMENT="${COMMENT}"
+SUB_FILES= chromium-browser.desktop chrome pkg-message
+SUB_LIST+= COMMENT="${COMMENT}" DATADIR="${DATADIR}"
OPTIONS_DEFINE= CODECS CUPS DEBUG DRIVER KERBEROS TEST
CODECS_DESC= Compile and enable patented codecs like H.264
Copied: head/www/chromium/files/pkg-message.in (from r476674, head/www/chromium/pkg-message)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/chromium/files/pkg-message.in Wed Aug 8 20:27:42 2018 (r476675, copy of r476674, head/www/chromium/pkg-message)
@@ -0,0 +1,21 @@
+--I--
+For correct operation, shared memory support has to be enabled
+in Chromium by performing the following command as root:
+
+ # sysctl kern.ipc.shm_allow_removed=1
+
+To preserve this setting across reboots, append the following
+to /etc/sysctl.conf:
+
+ kern.ipc.shm_allow_removed=1
+
+FreeBSD 11.0-RELEASE and newer have this set by default.
+
+--II--
+Chromium has a known problem of hanging tabs. The workaround
+for this problem is to mount ~/.cache/chromium as memory-fs.
+In order to do this, before you run Chromium, please run the
+following script as root once for each user who uses Chromium
+(replace {user}/{group} with your user/group names):
+
+ # %%DATADIR%%/fix-hanging-tabs.sh {user} {group}
More information about the svn-ports-all
mailing list