Gentoo Archives: gentoo-commits

From: "PaweA Hajdan (phajdan.jr)" <phajdan.jr@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/chromium/files: chromium-launcher.sh chromium-fix-make-build.patch chromium-gcc45.patch
Date: Tue, 11 May 2010 11:23:55
Message-Id: 20100511112348.D54BE2C04D@corvid.gentoo.org
1 phajdan.jr 10/05/11 11:23:48
2
3 Modified: chromium-launcher.sh
4 Removed: chromium-fix-make-build.patch chromium-gcc45.patch
5 Log:
6 Version bump for beta channel relase. Fix bug #315667 by Joel
7 <Joel7987@×××××.com>, used suggestion by Constantine D. Kardaris
8 <ckardaris@×××××.com>. Fix bug #318511 by cyrillic
9 <cyrilmaley@×××××××.com>, used suggestion by truedfx. Fix bug #318573 by
10 flameeyes, also note useful comment there by Reimar Doeffinger
11 <Reimar.Doeffinger@×××.de>.
12 (Portage version: 2.1.8.3/cvs/Linux i686)
13
14 Revision Changes Path
15 1.3 www-client/chromium/files/chromium-launcher.sh
16
17 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-launcher.sh?rev=1.3&view=markup
18 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-launcher.sh?rev=1.3&content-type=text/plain
19 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/files/chromium-launcher.sh?r1=1.2&r2=1.3
20
21 Index: chromium-launcher.sh
22 ===================================================================
23 RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/files/chromium-launcher.sh,v
24 retrieving revision 1.2
25 retrieving revision 1.3
26 diff -u -r1.2 -r1.3
27 --- chromium-launcher.sh 16 Sep 2009 23:29:32 -0000 1.2
28 +++ chromium-launcher.sh 11 May 2010 11:23:48 -0000 1.3
29 @@ -4,6 +4,25 @@
30 # Use of this source code is governed by a BSD-style license that can be
31 # found in the LICENSE file.
32
33 +if ! grep -q /dev/shm /proc/mounts ; then
34 + xmessage -file - <<EOF
35 +You don't have tmpfs mounted at /dev/shm.
36 +The browser isn't going to work in that configuration.
37 +Please uncomment the /dev/shm entry in /etc/fstab,
38 +run 'mount /dev/shm' and try again.
39 +EOF
40 + exit 1
41 +fi
42 +
43 +if [ `stat -c %a /dev/shm` -ne 1777 ]; then
44 + xmessage -file - <<EOF
45 +/dev/shm does not have correct permissions.
46 +The browser isn't going to work in that configuration.
47 +Please run chmod 1777 /dev/shm and try again.
48 +EOF
49 + exit 1
50 +fi
51 +
52 # Let the wrapped binary know that it has been run through the wrapper
53 export CHROME_WRAPPER="`readlink -f "$0"`"