Date: Wed, 8 Aug 2018 20:31:45 +0000 (UTC) From: "Carlos J. Puga Medina" <cpm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r476676 - in branches/2018Q3/www/chromium: . files Message-ID: <201808082031.w78KVjAC097101@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: cpm Date: Wed Aug 8 20:31:45 2018 New Revision: 476676 URL: https://svnweb.freebsd.org/changeset/ports/476676 Log: MFH: r476675 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 Approved by: ports-secteam (blanket) Added: branches/2018Q3/www/chromium/files/pkg-message.in - copied unchanged from r476675, head/www/chromium/files/pkg-message.in Deleted: branches/2018Q3/www/chromium/pkg-message Modified: branches/2018Q3/www/chromium/Makefile Directory Properties: branches/2018Q3/ (props changed) Modified: branches/2018Q3/www/chromium/Makefile ============================================================================== --- branches/2018Q3/www/chromium/Makefile Wed Aug 8 20:27:42 2018 (r476675) +++ branches/2018Q3/www/chromium/Makefile Wed Aug 8 20:31:45 2018 (r476676) @@ -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: branches/2018Q3/www/chromium/files/pkg-message.in (from r476675, head/www/chromium/files/pkg-message.in) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ branches/2018Q3/www/chromium/files/pkg-message.in Wed Aug 8 20:31:45 2018 (r476676, copy of r476675, head/www/chromium/files/pkg-message.in) @@ -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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808082031.w78KVjAC097101>