1 |
phajdan.jr 11/06/02 18:40:41 |
2 |
|
3 |
Modified: chromium-13.0.782.1.ebuild ChangeLog |
4 |
chromium-9999-r1.ebuild |
5 |
Log: |
6 |
Clean up: remove /dev/shm checks (hopefully obsolete thanks to openrc), remove unused _WARNING variables, remove libsrtp from bundled libs exclusion list, switch to tc-arch for arch detection (for simplicity - we shouldn't have custom code for that). |
7 |
|
8 |
(Portage version: 2.1.9.42/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.2 www-client/chromium/chromium-13.0.782.1.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-13.0.782.1.ebuild?rev=1.2&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-13.0.782.1.ebuild?rev=1.2&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-13.0.782.1.ebuild?r1=1.1&r2=1.2 |
16 |
|
17 |
Index: chromium-13.0.782.1.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-13.0.782.1.ebuild,v |
20 |
retrieving revision 1.1 |
21 |
retrieving revision 1.2 |
22 |
diff -u -r1.1 -r1.2 |
23 |
--- chromium-13.0.782.1.ebuild 2 Jun 2011 12:58:20 -0000 1.1 |
24 |
+++ chromium-13.0.782.1.ebuild 2 Jun 2011 18:40:41 -0000 1.2 |
25 |
@@ -1,6 +1,6 @@ |
26 |
# Copyright 1999-2011 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-13.0.782.1.ebuild,v 1.1 2011/06/02 12:58:20 phajdan.jr Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-13.0.782.1.ebuild,v 1.2 2011/06/02 18:40:41 phajdan.jr Exp $ |
30 |
|
31 |
EAPI="3" |
32 |
PYTHON_DEPEND="2:2.6" |
33 |
@@ -99,19 +99,6 @@ |
34 |
python_set_active_version 2 |
35 |
python_pkg_setup |
36 |
|
37 |
- # Prevent user problems like bug #299777. |
38 |
- if ! grep -q /dev/shm <<< $(get_mounts); then |
39 |
- ewarn "You don't have tmpfs mounted at /dev/shm." |
40 |
- ewarn "${PN} may fail to start in that configuration." |
41 |
- ewarn "Please uncomment the /dev/shm entry in /etc/fstab," |
42 |
- ewarn "and run 'mount /dev/shm'." |
43 |
- fi |
44 |
- if [ `stat -c %a /dev/shm` -ne 1777 ]; then |
45 |
- ewarn "/dev/shm does not have correct permissions." |
46 |
- ewarn "${PN} may fail to start in that configuration." |
47 |
- ewarn "Please run 'chmod 1777 /dev/shm'." |
48 |
- fi |
49 |
- |
50 |
# Prevent user problems like bug #348235. |
51 |
eshopts_push -s extglob |
52 |
if is-flagq '-g?(gdb)?([1-9])'; then |
53 |
@@ -124,8 +111,6 @@ |
54 |
# Warn if the kernel doesn't support features useful for sandboxing, |
55 |
# bug #363907. |
56 |
CONFIG_CHECK="~PID_NS ~NET_NS" |
57 |
- PID_NS_WARNING="PID (process id) namespaces are needed for sandboxing." |
58 |
- NET_NS_WARNING="Network namespaces are needed for sandboxing." |
59 |
check_extra_config |
60 |
} |
61 |
|
62 |
@@ -150,7 +135,6 @@ |
63 |
\! -path 'third_party/leveldb/*' \ |
64 |
\! -path 'third_party/libjingle/*' \ |
65 |
\! -path 'third_party/libphonenumber/*' \ |
66 |
- \! -path 'third_party/libsrtp/*' \ |
67 |
\! -path 'third_party/libvpx/libvpx.h' \ |
68 |
\! -path 'third_party/mesa/*' \ |
69 |
\! -path 'third_party/modp_b64/*' \ |
70 |
@@ -220,19 +204,7 @@ |
71 |
# for Chromium. |
72 |
myconf+=" -Dproprietary_codecs=1" |
73 |
|
74 |
- # Use target arch detection logic from bug #354601. |
75 |
- case ${CHOST} in |
76 |
- i?86-*) myarch=x86 ;; |
77 |
- x86_64-*) |
78 |
- if [[ $ABI = "" ]] ; then |
79 |
- myarch=amd64 |
80 |
- else |
81 |
- myarch="$ABI" |
82 |
- fi ;; |
83 |
- arm*-*) myarch=arm ;; |
84 |
- *) die "Unrecognized CHOST: ${CHOST}" |
85 |
- esac |
86 |
- |
87 |
+ local myarch="$(tc-arch)" |
88 |
if [[ $myarch = amd64 ]] ; then |
89 |
myconf+=" -Dtarget_arch=x64" |
90 |
elif [[ $myarch = x86 ]] ; then |
91 |
|
92 |
|
93 |
|
94 |
1.375 www-client/chromium/ChangeLog |
95 |
|
96 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/ChangeLog?rev=1.375&view=markup |
97 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/ChangeLog?rev=1.375&content-type=text/plain |
98 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/ChangeLog?r1=1.374&r2=1.375 |
99 |
|
100 |
Index: ChangeLog |
101 |
=================================================================== |
102 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v |
103 |
retrieving revision 1.374 |
104 |
retrieving revision 1.375 |
105 |
diff -u -r1.374 -r1.375 |
106 |
--- ChangeLog 2 Jun 2011 12:58:20 -0000 1.374 |
107 |
+++ ChangeLog 2 Jun 2011 18:40:41 -0000 1.375 |
108 |
@@ -1,6 +1,13 @@ |
109 |
# ChangeLog for www-client/chromium |
110 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
111 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.374 2011/06/02 12:58:20 phajdan.jr Exp $ |
112 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.375 2011/06/02 18:40:41 phajdan.jr Exp $ |
113 |
+ |
114 |
+ 02 Jun 2011; Pawel Hajdan jr <phajdan.jr@g.o> |
115 |
+ chromium-13.0.782.1.ebuild, chromium-9999-r1.ebuild: |
116 |
+ Clean up: remove /dev/shm checks (hopefully obsolete thanks to openrc), |
117 |
+ remove unused _WARNING variables, remove libsrtp from bundled libs exclusion |
118 |
+ list, switch to tc-arch for arch detection (for simplicity - we shouldn't |
119 |
+ have custom code for that). |
120 |
|
121 |
*chromium-13.0.782.1 (02 Jun 2011) |
122 |
|
123 |
|
124 |
|
125 |
|
126 |
1.31 www-client/chromium/chromium-9999-r1.ebuild |
127 |
|
128 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild?rev=1.31&view=markup |
129 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild?rev=1.31&content-type=text/plain |
130 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild?r1=1.30&r2=1.31 |
131 |
|
132 |
Index: chromium-9999-r1.ebuild |
133 |
=================================================================== |
134 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v |
135 |
retrieving revision 1.30 |
136 |
retrieving revision 1.31 |
137 |
diff -u -r1.30 -r1.31 |
138 |
--- chromium-9999-r1.ebuild 2 Jun 2011 12:58:20 -0000 1.30 |
139 |
+++ chromium-9999-r1.ebuild 2 Jun 2011 18:40:41 -0000 1.31 |
140 |
@@ -1,6 +1,6 @@ |
141 |
# Copyright 1999-2011 Gentoo Foundation |
142 |
# Distributed under the terms of the GNU General Public License v2 |
143 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.30 2011/06/02 12:58:20 phajdan.jr Exp $ |
144 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-9999-r1.ebuild,v 1.31 2011/06/02 18:40:41 phajdan.jr Exp $ |
145 |
|
146 |
EAPI="3" |
147 |
PYTHON_DEPEND="2:2.6" |
148 |
@@ -128,19 +128,6 @@ |
149 |
python_set_active_version 2 |
150 |
python_pkg_setup |
151 |
|
152 |
- # Prevent user problems like bug #299777. |
153 |
- if ! grep -q /dev/shm <<< $(get_mounts); then |
154 |
- ewarn "You don't have tmpfs mounted at /dev/shm." |
155 |
- ewarn "${PN} may fail to start in that configuration." |
156 |
- ewarn "Please uncomment the /dev/shm entry in /etc/fstab," |
157 |
- ewarn "and run 'mount /dev/shm'." |
158 |
- fi |
159 |
- if [ `stat -c %a /dev/shm` -ne 1777 ]; then |
160 |
- ewarn "/dev/shm does not have correct permissions." |
161 |
- ewarn "${PN} may fail to start in that configuration." |
162 |
- ewarn "Please run 'chmod 1777 /dev/shm'." |
163 |
- fi |
164 |
- |
165 |
# Prevent user problems like bug #348235. |
166 |
eshopts_push -s extglob |
167 |
if is-flagq '-g?(gdb)?([1-9])'; then |
168 |
@@ -153,8 +140,6 @@ |
169 |
# Warn if the kernel doesn't support features useful for sandboxing, |
170 |
# bug #363907. |
171 |
CONFIG_CHECK="~PID_NS ~NET_NS" |
172 |
- PID_NS_WARNING="PID (process id) namespaces are needed for sandboxing." |
173 |
- NET_NS_WARNING="Network namespaces are needed for sandboxing." |
174 |
check_extra_config |
175 |
} |
176 |
|
177 |
@@ -179,7 +164,6 @@ |
178 |
\! -path 'third_party/leveldb/*' \ |
179 |
\! -path 'third_party/libjingle/*' \ |
180 |
\! -path 'third_party/libphonenumber/*' \ |
181 |
- \! -path 'third_party/libsrtp/*' \ |
182 |
\! -path 'third_party/libvpx/libvpx.h' \ |
183 |
\! -path 'third_party/mesa/*' \ |
184 |
\! -path 'third_party/modp_b64/*' \ |
185 |
@@ -249,19 +233,7 @@ |
186 |
# for Chromium. |
187 |
myconf+=" -Dproprietary_codecs=1" |
188 |
|
189 |
- # Use target arch detection logic from bug #354601. |
190 |
- case ${CHOST} in |
191 |
- i?86-*) myarch=x86 ;; |
192 |
- x86_64-*) |
193 |
- if [[ $ABI = "" ]] ; then |
194 |
- myarch=amd64 |
195 |
- else |
196 |
- myarch="$ABI" |
197 |
- fi ;; |
198 |
- arm*-*) myarch=arm ;; |
199 |
- *) die "Unrecognized CHOST: ${CHOST}" |
200 |
- esac |
201 |
- |
202 |
+ local myarch="$(tc-arch)" |
203 |
if [[ $myarch = amd64 ]] ; then |
204 |
myconf+=" -Dtarget_arch=x64" |
205 |
elif [[ $myarch = x86 ]] ; then |