From owner-svn-ports-head@freebsd.org Wed Aug 8 20:27:44 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C41C1069F5C; Wed, 8 Aug 2018 20:27:44 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B76BD92526; Wed, 8 Aug 2018 20:27:43 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 953FB7832; Wed, 8 Aug 2018 20:27:43 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w78KRhGg094486; Wed, 8 Aug 2018 20:27:43 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w78KRh1e094485; Wed, 8 Aug 2018 20:27:43 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201808082027.w78KRh1e094485@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Wed, 8 Aug 2018 20:27:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476675 - in head/www/chromium: . files X-SVN-Group: ports-head X-SVN-Commit-Author: cpm X-SVN-Commit-Paths: in head/www/chromium: . files X-SVN-Commit-Revision: 476675 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Aug 2018 20:27:44 -0000 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}