1 |
voyageur 10/06/28 20:09:57 |
2 |
|
3 |
Modified: ChangeLog chromium-bin-9999.ebuild |
4 |
Added: chromium-bin-6.0.451.0_p51005.ebuild |
5 |
Removed: chromium-bin-5.0.308.0_p37385.ebuild |
6 |
Log: |
7 |
Bump to try a version working with flash 10.1.53.64, bug #324807. Also a few fixes/cleanups |
8 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.69 www-client/chromium-bin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium-bin/ChangeLog?rev=1.69&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium-bin/ChangeLog?rev=1.69&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium-bin/ChangeLog?r1=1.68&r2=1.69 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v |
20 |
retrieving revision 1.68 |
21 |
retrieving revision 1.69 |
22 |
diff -u -r1.68 -r1.69 |
23 |
--- ChangeLog 1 Jun 2010 14:34:17 -0000 1.68 |
24 |
+++ ChangeLog 28 Jun 2010 20:09:57 -0000 1.69 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for www-client/chromium-bin |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v 1.68 2010/06/01 14:34:17 voyageur Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/ChangeLog,v 1.69 2010/06/28 20:09:57 voyageur Exp $ |
30 |
+ |
31 |
+*chromium-bin-6.0.451.0_p51005 (28 Jun 2010) |
32 |
+ |
33 |
+ 28 Jun 2010; Bernard Cafarelli <voyageur@g.o> |
34 |
+ -chromium-bin-5.0.308.0_p37385.ebuild, |
35 |
+ +chromium-bin-6.0.451.0_p51005.ebuild, chromium-bin-9999.ebuild: |
36 |
+ Bump to try a version working with flash 10.1.53.64, bug #324807. Also a |
37 |
+ few fixes/cleanups |
38 |
|
39 |
01 Jun 2010; Bernard Cafarelli <voyageur@g.o> |
40 |
chromium-bin-9999.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.43 www-client/chromium-bin/chromium-bin-9999.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild?rev=1.43&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild?rev=1.43&content-type=text/plain |
48 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild?r1=1.42&r2=1.43 |
49 |
|
50 |
Index: chromium-bin-9999.ebuild |
51 |
=================================================================== |
52 |
RCS file: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v |
53 |
retrieving revision 1.42 |
54 |
retrieving revision 1.43 |
55 |
diff -u -r1.42 -r1.43 |
56 |
--- chromium-bin-9999.ebuild 1 Jun 2010 14:34:17 -0000 1.42 |
57 |
+++ chromium-bin-9999.ebuild 28 Jun 2010 20:09:57 -0000 1.43 |
58 |
@@ -1,6 +1,6 @@ |
59 |
# Copyright 1999-2010 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v 1.42 2010/06/01 14:34:17 voyageur Exp $ |
62 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-9999.ebuild,v 1.43 2010/06/28 20:09:57 voyageur Exp $ |
63 |
|
64 |
EAPI="2" |
65 |
inherit eutils multilib portability |
66 |
@@ -16,7 +16,7 @@ |
67 |
RDEPEND="app-arch/bzip2 |
68 |
>=dev-libs/nspr-4.7 |
69 |
>=dev-libs/nss-3.12.3 |
70 |
- gnome-base/gconf |
71 |
+ >=gnome-base/gconf-2.24.0 |
72 |
>=media-libs/alsa-lib-1.0.19 |
73 |
<media-libs/jpeg-7 |
74 |
=media-libs/libpng-1.2* |
75 |
@@ -29,17 +29,11 @@ |
76 |
virtual/ttf-fonts |
77 |
|| ( |
78 |
x11-themes/gnome-icon-theme |
79 |
+ x11-themes/oxygen-molecule |
80 |
x11-themes/tango-icon-theme |
81 |
x11-themes/xfce4-icon-theme |
82 |
)" |
83 |
|
84 |
-# Incompatible system plugins: |
85 |
-# www-plugins/gecko-mediaplayer, bug #309231. |
86 |
-RDEPEND+=" |
87 |
- plugins-symlink? ( |
88 |
- !www-plugins/gecko-mediaplayer[gnome] |
89 |
- )" |
90 |
- |
91 |
S=${WORKDIR} |
92 |
|
93 |
QA_EXECSTACK="opt/chromium.org/chrome-linux/chrome" |
94 |
|
95 |
|
96 |
|
97 |
1.1 www-client/chromium-bin/chromium-bin-6.0.451.0_p51005.ebuild |
98 |
|
99 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium-bin/chromium-bin-6.0.451.0_p51005.ebuild?rev=1.1&view=markup |
100 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium-bin/chromium-bin-6.0.451.0_p51005.ebuild?rev=1.1&content-type=text/plain |
101 |
|
102 |
Index: chromium-bin-6.0.451.0_p51005.ebuild |
103 |
=================================================================== |
104 |
# Copyright 1999-2010 Gentoo Foundation |
105 |
# Distributed under the terms of the GNU General Public License v2 |
106 |
# $Header: /var/cvsroot/gentoo-x86/www-client/chromium-bin/chromium-bin-6.0.451.0_p51005.ebuild,v 1.1 2010/06/28 20:09:57 voyageur Exp $ |
107 |
|
108 |
EAPI="2" |
109 |
inherit eutils multilib portability |
110 |
|
111 |
# Latest revision id can be found at |
112 |
# http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST |
113 |
MY_PV="${PV/[0-9.]*\_p}" |
114 |
|
115 |
DESCRIPTION="Open-source version of Google Chrome web browser (binary version)" |
116 |
HOMEPAGE="http://code.google.com/chromium/" |
117 |
SRC_URI="x86? ( http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/${MY_PV}/chrome-linux.zip -> ${PN}-x86-${MY_PV}.zip ) |
118 |
amd64? ( http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/${MY_PV}/chrome-linux.zip -> ${PN}-amd64-${MY_PV}.zip )" |
119 |
LICENSE="GPL-2" |
120 |
SLOT="0" |
121 |
KEYWORDS="-* ~amd64 ~x86" |
122 |
IUSE="+plugins-symlink" |
123 |
|
124 |
DEPEND="app-arch/unzip" |
125 |
RDEPEND="app-arch/bzip2 |
126 |
>=dev-libs/nspr-4.7 |
127 |
>=dev-libs/nss-3.12.3 |
128 |
>=gnome-base/gconf-2.24.0 |
129 |
>=media-libs/alsa-lib-1.0.19 |
130 |
<media-libs/jpeg-7 |
131 |
=media-libs/libpng-1.2* |
132 |
>=net-print/cups-1.3.5 |
133 |
>=sys-devel/gcc-4.2 |
134 |
sys-libs/zlib |
135 |
>=x11-libs/gtk+-2.14.7 |
136 |
x11-libs/libXScrnSaver |
137 |
x11-misc/xdg-utils |
138 |
virtual/ttf-fonts |
139 |
|| ( |
140 |
x11-themes/gnome-icon-theme |
141 |
x11-themes/oxygen-molecule |
142 |
x11-themes/tango-icon-theme |
143 |
x11-themes/xfce4-icon-theme |
144 |
)" |
145 |
|
146 |
S=${WORKDIR} |
147 |
|
148 |
QA_EXECSTACK="opt/chromium.org/chrome-linux/chrome" |
149 |
|
150 |
# Ogg/Theora/Vorbis-only FFmpeg binaries |
151 |
QA_TEXTRELS="opt/chromium.org/chrome-linux/libffmpegsumo.so" |
152 |
QA_PRESTRIPPED="opt/chromium.org/chrome-linux/libffmpegsumo.so" |
153 |
|
154 |
pkg_setup() { |
155 |
if [[ "${ROOT}" == "/" ]]; then |
156 |
# Built with SSE2 enabled, so will fail on older processors |
157 |
if ! grep -q sse2 /proc/cpuinfo; then |
158 |
die "This binary requires SSE2 support, it will not work on older processors" |
159 |
fi |
160 |
|
161 |
# Prevent user problems like bug 299777. |
162 |
if ! grep -q /dev/shm <<< $(get_mounts); then |
163 |
eerror "You don't have tmpfs mounted at /dev/shm." |
164 |
eerror "${PN} isn't going to work in that configuration." |
165 |
eerror "Please uncomment the /dev/shm entry in /etc/fstab," |
166 |
eerror "run 'mount /dev/shm' and try again." |
167 |
die "/dev/shm is not mounted" |
168 |
fi |
169 |
if [ `stat -c %a /dev/shm` -ne 1777 ]; then |
170 |
eerror "/dev/shm does not have correct permissions." |
171 |
eerror "${PN} isn't going to work in that configuration." |
172 |
eerror "Please run chmod 1777 /dev/shm and try again." |
173 |
die "/dev/shm has incorrect permissions" |
174 |
fi |
175 |
fi |
176 |
} |
177 |
|
178 |
src_install() { |
179 |
declare CHROMIUM_HOME=/opt/chromium.org |
180 |
|
181 |
dodir ${CHROMIUM_HOME} |
182 |
cp -R chrome-linux/ "${D}"${CHROMIUM_HOME} || die "Unable to install chrome-linux folder" |
183 |
|
184 |
# Man page (rename to prevent collision with chromium) |
185 |
newman chrome-linux/chrome.1 chromium-bin.1 |
186 |
rm "${D}"${CHROMIUM_HOME}/chrome-linux/chrome.1 |
187 |
|
188 |
# Plugins symlink, optional wrt bug #301911 |
189 |
if use plugins-symlink; then |
190 |
dosym /usr/$(get_libdir)/nsbrowser/plugins ${CHROMIUM_HOME}/chrome-linux/plugins |
191 |
fi |
192 |
|
193 |
# Create symlinks for needed libraries |
194 |
dodir ${CHROMIUM_HOME}/nss-nspr |
195 |
if has_version ">=dev-libs/nss-3.12.5-r1"; then |
196 |
NSS_DIR=/usr/$(get_libdir) |
197 |
else |
198 |
NSS_DIR=/usr/$(get_libdir)/nss |
199 |
fi |
200 |
if has_version ">=dev-libs/nspr-4.8.3-r2"; then |
201 |
NSPR_DIR=/usr/$(get_libdir) |
202 |
else |
203 |
NSPR_DIR=/usr/$(get_libdir)/nspr |
204 |
fi |
205 |
|
206 |
dosym ${NSPR_DIR}/libnspr4.so ${CHROMIUM_HOME}/nss-nspr/libnspr4.so.0d |
207 |
dosym ${NSPR_DIR}/libplc4.so ${CHROMIUM_HOME}/nss-nspr/libplc4.so.0d |
208 |
dosym ${NSPR_DIR}/libplds4.so ${CHROMIUM_HOME}/nss-nspr/libplds4.so.0d |
209 |
dosym ${NSS_DIR}/libnss3.so ${CHROMIUM_HOME}/nss-nspr/libnss3.so.1d |
210 |
dosym ${NSS_DIR}/libnssutil3.so ${CHROMIUM_HOME}/nss-nspr/libnssutil3.so.1d |
211 |
dosym ${NSS_DIR}/libsmime3.so ${CHROMIUM_HOME}/nss-nspr/libsmime3.so.1d |
212 |
dosym ${NSS_DIR}/libssl3.so ${CHROMIUM_HOME}/nss-nspr/libssl3.so.1d |
213 |
|
214 |
# Create chromium-bin wrapper |
215 |
make_wrapper chromium-bin ./chrome ${CHROMIUM_HOME}/chrome-linux ${CHROMIUM_HOME}/nss-nspr:${CHROMIUM_HOME}/chrome-linux |
216 |
newicon "${FILESDIR}"/chromium.png ${PN}.png |
217 |
make_desktop_entry chromium-bin "Chromium (bin)" ${PN} "Network;WebBrowser" |
218 |
sed -e "/^Exec/s/$/ %U/" -i "${D}"/usr/share/applications/*.desktop \ |
219 |
|| die "desktop file sed failed" |
220 |
} |
221 |
|
222 |
pkg_postinst() { |
223 |
ewarn "This binary requires the C++ runtime from >=sys-devel/gcc-4.2" |
224 |
ewarn "If you get the \"version \`GLIBCXX_3.4.9' not found\" error message," |
225 |
ewarn "switch your active gcc to a version >=4.2 with gcc-config" |
226 |
if [[ ${ROOT} != "/" ]]; then |
227 |
ewarn "This package will not work on processors without SSE2 instruction" |
228 |
ewarn "set support (Intel Pentium III/AMD Athlon or older)." |
229 |
fi |
230 |
} |