1 |
jer 10/04/30 16:35:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: opera-10.53_pre6328.ebuild |
5 |
opera-10.53_pre6330.ebuild |
6 |
Log: |
7 |
Version bump <http://my.opera.com/desktopteam/blog/2010/04/30/fixing-crash-bugs-for-unix-beta-release>. |
8 |
(Portage version: 2.2_rc67/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.470 www-client/opera/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/ChangeLog?rev=1.470&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/ChangeLog?rev=1.470&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/ChangeLog?r1=1.469&r2=1.470 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v |
20 |
retrieving revision 1.469 |
21 |
retrieving revision 1.470 |
22 |
diff -u -r1.469 -r1.470 |
23 |
--- ChangeLog 28 Apr 2010 18:02:14 -0000 1.469 |
24 |
+++ ChangeLog 30 Apr 2010 16:35:42 -0000 1.470 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for www-client/opera |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.469 2010/04/28 18:02:14 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.470 2010/04/30 16:35:42 jer Exp $ |
30 |
+ |
31 |
+*opera-10.53_pre6330 (30 Apr 2010) |
32 |
+*opera-10.53_pre6328 (30 Apr 2010) |
33 |
+ |
34 |
+ 30 Apr 2010; Jeroen Roovers <jer@g.o> +opera-10.53_pre6328.ebuild, |
35 |
+ +opera-10.53_pre6330.ebuild: |
36 |
+ Version bump |
37 |
+ <http://my.opera.com/desktopteam/blog/2010/04/30/fixing-crash-bugs-for-uni |
38 |
+ x-beta-release>. |
39 |
|
40 |
*opera-10.53_pre6326 (28 Apr 2010) |
41 |
|
42 |
|
43 |
|
44 |
|
45 |
1.1 www-client/opera/opera-10.53_pre6328.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/opera-10.53_pre6328.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/opera-10.53_pre6328.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: opera-10.53_pre6328.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2010 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.53_pre6328.ebuild,v 1.1 2010/04/30 16:35:42 jer Exp $ |
55 |
|
56 |
EAPI="2" |
57 |
|
58 |
OPREFIX="/usr/lib" |
59 |
|
60 |
inherit eutils |
61 |
|
62 |
DESCRIPTION="A standards-compliant graphical Web browser" |
63 |
HOMEPAGE="http://www.opera.com/" |
64 |
|
65 |
SLOT="0" |
66 |
LICENSE="OPERA-10.50 LGPL-2 LGPL-3" |
67 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
68 |
|
69 |
RESTRICT="mirror test" |
70 |
|
71 |
QA_DT_HASH="${OPREFIX}/${PN}/.*" |
72 |
QA_PRESTRIPPED="${OPREFIX}/${PN}/.*" |
73 |
|
74 |
IUSE="elibc_FreeBSD" |
75 |
|
76 |
MY_LINGUAS=" |
77 |
be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id it ja ka |
78 |
ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK |
79 |
zh-TW |
80 |
" |
81 |
|
82 |
for MY_LINGUA in ${MY_LINGUAS}; do |
83 |
IUSE="${IUSE} linguas_${MY_LINGUA/-/_}" |
84 |
done |
85 |
|
86 |
O_U="http://snapshot.opera.com/unix/snapshot-${PV/*_pre}/" |
87 |
O_P="${P/_pre/-}" |
88 |
|
89 |
SRC_URI=" |
90 |
amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 ) |
91 |
ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 ) |
92 |
x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 ) |
93 |
x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 ) |
94 |
" |
95 |
|
96 |
DEPEND=">=sys-apps/sed-4" |
97 |
|
98 |
RDEPEND=" |
99 |
=x11-libs/gtk+-2* |
100 |
dev-libs/atk |
101 |
dev-libs/expat |
102 |
dev-libs/glib |
103 |
media-libs/fontconfig |
104 |
media-libs/freetype |
105 |
media-libs/glitz |
106 |
media-plugins/gst-plugins-meta |
107 |
media-libs/libpng |
108 |
sys-apps/util-linux |
109 |
sys-libs/zlib |
110 |
virtual/opengl |
111 |
x11-libs/cairo |
112 |
x11-libs/libICE |
113 |
x11-libs/libSM |
114 |
x11-libs/libX11 |
115 |
x11-libs/libXau |
116 |
x11-libs/libXcomposite |
117 |
x11-libs/libXcursor |
118 |
x11-libs/libXdamage |
119 |
x11-libs/libXdmcp |
120 |
x11-libs/libXext |
121 |
x11-libs/libXfixes |
122 |
x11-libs/libXi |
123 |
x11-libs/libXmu |
124 |
x11-libs/libXrandr |
125 |
x11-libs/libXrender |
126 |
x11-libs/libXt |
127 |
x11-libs/libxcb |
128 |
x11-libs/pango |
129 |
x11-libs/pixman |
130 |
x11-libs/xcb-util |
131 |
" |
132 |
|
133 |
opera_linguas() { |
134 |
# Remove unwanted LINGUAS: |
135 |
local LINGUA |
136 |
local LNGDIR="${D}usr/share/${PN}/locale" |
137 |
einfo "Keeping these locales: ${LINGUAS}." |
138 |
for LINGUA in ${MY_LINGUAS}; do |
139 |
if ! use linguas_${LINGUA/-/_}; then |
140 |
LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-}) |
141 |
rm -r "${LINGUA}" |
142 |
fi |
143 |
done |
144 |
} |
145 |
|
146 |
pkg_setup() { |
147 |
echo -e \ |
148 |
" ${GOOD}****************************************************${NORMAL}" |
149 |
elog "If you seek support, please file a bug report at" |
150 |
elog "https://bugs.gentoo.org and post the output of" |
151 |
elog " \`emerge --info =${CATEGORY}/${P}'" |
152 |
echo -e \ |
153 |
" ${GOOD}****************************************************${NORMAL}" |
154 |
} |
155 |
|
156 |
src_unpack() { |
157 |
unpack ${A} |
158 |
if [[ ! -d ${S} ]]; then |
159 |
cd "${WORKDIR}"/${PN}* || die "failed to enter work directory" |
160 |
S="$(pwd)" |
161 |
einfo "Setting WORKDIR to ${S}" |
162 |
fi |
163 |
} |
164 |
|
165 |
src_install() { |
166 |
# Remove "license directory" (bug #315473) |
167 |
rm -rf "share/doc/opera" |
168 |
|
169 |
# We install into usr instead of opt as Opera does not support the latter |
170 |
dodir /usr |
171 |
mv lib/ share/ "${D}"/usr/ || die "mv lib/ share/ failed" |
172 |
|
173 |
# Unzip the man pages before sedding |
174 |
gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed" |
175 |
|
176 |
# Replace PREFIX and SUFFIX in various files |
177 |
sed -i \ |
178 |
-e "s:@@{PREFIX}:/usr:g" \ |
179 |
-e "s:@@{SUFFIX}::g" \ |
180 |
-e "s:@@{_SUFFIX}::g" \ |
181 |
-e "s:@@{USUFFIX}::g" \ |
182 |
"${D}"/usr/share/mime/packages/opera-widget.xml \ |
183 |
"${D}"/usr/share/man/man1/* \ |
184 |
"${D}"/usr/share/applications/opera-browser.desktop \ |
185 |
"${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed" |
186 |
|
187 |
# Install startup script |
188 |
dobin ${PN}-widget-manager "${FILESDIR}"/opera || die "dobin failed" |
189 |
|
190 |
# Stop revdep-rebuild from checking opera binaries |
191 |
dodir /etc/revdep-rebuild |
192 |
echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera |
193 |
|
194 |
# Change libz.so.3 to libz.so.1 for gentoo/freebsd |
195 |
if use elibc_FreeBSD; then |
196 |
scanelf -qR -N libz.so.3 -F "#N" "${D}"${OPREFIX}/${PN}/ | \ |
197 |
while read i; do |
198 |
if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]]; |
199 |
then |
200 |
export SANITY_CHECK_LIBZ_FAILED=1 |
201 |
break |
202 |
fi |
203 |
sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i" |
204 |
done |
205 |
[[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1" |
206 |
fi |
207 |
|
208 |
[[ -z MY_LINGUAS ]] || opera_linguas |
209 |
} |
210 |
|
211 |
pkg_postinst() { |
212 |
elog "To change the UI language, choose [Tools] -> [Preferences], open the" |
213 |
elog "[General] tab, click on [Details...] then [Choose...] and point the" |
214 |
elog "file chooser at /usr/share/opera/locale/, then enter the" |
215 |
elog "directory for the language you want and [Open] the .lng file." |
216 |
|
217 |
if use elibc_FreeBSD; then |
218 |
elog |
219 |
elog "To improve shared memory usage please set:" |
220 |
elog "$ sysctl kern.ipc.shm_allow_removed=1" |
221 |
fi |
222 |
} |
223 |
|
224 |
|
225 |
|
226 |
1.1 www-client/opera/opera-10.53_pre6330.ebuild |
227 |
|
228 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/opera-10.53_pre6330.ebuild?rev=1.1&view=markup |
229 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/opera-10.53_pre6330.ebuild?rev=1.1&content-type=text/plain |
230 |
|
231 |
Index: opera-10.53_pre6330.ebuild |
232 |
=================================================================== |
233 |
# Copyright 1999-2010 Gentoo Foundation |
234 |
# Distributed under the terms of the GNU General Public License v2 |
235 |
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.53_pre6330.ebuild,v 1.1 2010/04/30 16:35:42 jer Exp $ |
236 |
|
237 |
EAPI="2" |
238 |
|
239 |
OPREFIX="/usr/lib" |
240 |
|
241 |
inherit eutils |
242 |
|
243 |
DESCRIPTION="A standards-compliant graphical Web browser" |
244 |
HOMEPAGE="http://www.opera.com/" |
245 |
|
246 |
SLOT="0" |
247 |
LICENSE="OPERA-10.53 LGPL-2 LGPL-3" |
248 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
249 |
|
250 |
RESTRICT="mirror test" |
251 |
|
252 |
QA_DT_HASH="${OPREFIX}/${PN}/.*" |
253 |
QA_PRESTRIPPED="${OPREFIX}/${PN}/.*" |
254 |
|
255 |
IUSE="elibc_FreeBSD" |
256 |
|
257 |
MY_LINGUAS=" |
258 |
be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id it ja ka |
259 |
ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK |
260 |
zh-TW |
261 |
" |
262 |
|
263 |
for MY_LINGUA in ${MY_LINGUAS}; do |
264 |
IUSE="${IUSE} linguas_${MY_LINGUA/-/_}" |
265 |
done |
266 |
|
267 |
O_U="http://snapshot.opera.com/unix/snapshot-${PV/*_pre}/" |
268 |
O_P="${P/_pre/-}" |
269 |
|
270 |
SRC_URI=" |
271 |
amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 ) |
272 |
ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 ) |
273 |
x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 ) |
274 |
x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 ) |
275 |
" |
276 |
|
277 |
DEPEND=">=sys-apps/sed-4" |
278 |
|
279 |
RDEPEND=" |
280 |
=x11-libs/gtk+-2* |
281 |
dev-libs/atk |
282 |
dev-libs/expat |
283 |
dev-libs/glib |
284 |
media-libs/fontconfig |
285 |
media-libs/freetype |
286 |
media-libs/glitz |
287 |
media-plugins/gst-plugins-meta |
288 |
media-libs/libpng |
289 |
sys-apps/util-linux |
290 |
sys-libs/zlib |
291 |
virtual/opengl |
292 |
x11-libs/cairo |
293 |
x11-libs/libICE |
294 |
x11-libs/libSM |
295 |
x11-libs/libX11 |
296 |
x11-libs/libXau |
297 |
x11-libs/libXcomposite |
298 |
x11-libs/libXcursor |
299 |
x11-libs/libXdamage |
300 |
x11-libs/libXdmcp |
301 |
x11-libs/libXext |
302 |
x11-libs/libXfixes |
303 |
x11-libs/libXi |
304 |
x11-libs/libXmu |
305 |
x11-libs/libXrandr |
306 |
x11-libs/libXrender |
307 |
x11-libs/libXt |
308 |
x11-libs/libxcb |
309 |
x11-libs/pango |
310 |
x11-libs/pixman |
311 |
x11-libs/xcb-util |
312 |
" |
313 |
|
314 |
opera_linguas() { |
315 |
# Remove unwanted LINGUAS: |
316 |
local LINGUA |
317 |
local LNGDIR="${D}usr/share/${PN}/locale" |
318 |
einfo "Keeping these locales: ${LINGUAS}." |
319 |
for LINGUA in ${MY_LINGUAS}; do |
320 |
if ! use linguas_${LINGUA/-/_}; then |
321 |
LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-}) |
322 |
rm -r "${LINGUA}" |
323 |
fi |
324 |
done |
325 |
} |
326 |
|
327 |
pkg_setup() { |
328 |
echo -e \ |
329 |
" ${GOOD}****************************************************${NORMAL}" |
330 |
elog "If you seek support, please file a bug report at" |
331 |
elog "https://bugs.gentoo.org and post the output of" |
332 |
elog " \`emerge --info =${CATEGORY}/${P}'" |
333 |
echo -e \ |
334 |
" ${GOOD}****************************************************${NORMAL}" |
335 |
} |
336 |
|
337 |
src_unpack() { |
338 |
unpack ${A} |
339 |
if [[ ! -d ${S} ]]; then |
340 |
cd "${WORKDIR}"/${PN}* || die "failed to enter work directory" |
341 |
S="$(pwd)" |
342 |
einfo "Setting WORKDIR to ${S}" |
343 |
fi |
344 |
} |
345 |
|
346 |
src_install() { |
347 |
# Remove "license directory" (bug #315473) |
348 |
rm -rf "share/doc/opera" |
349 |
|
350 |
# We install into usr instead of opt as Opera does not support the latter |
351 |
dodir /usr |
352 |
mv lib/ share/ "${D}"/usr/ || die "mv lib/ share/ failed" |
353 |
|
354 |
# Unzip the man pages before sedding |
355 |
gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed" |
356 |
|
357 |
# Replace PREFIX and SUFFIX in various files |
358 |
sed -i \ |
359 |
-e "s:@@{PREFIX}:/usr:g" \ |
360 |
-e "s:@@{SUFFIX}::g" \ |
361 |
-e "s:@@{_SUFFIX}::g" \ |
362 |
-e "s:@@{USUFFIX}::g" \ |
363 |
"${D}"/usr/share/mime/packages/opera-widget.xml \ |
364 |
"${D}"/usr/share/man/man1/* \ |
365 |
"${D}"/usr/share/applications/opera-browser.desktop \ |
366 |
"${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed" |
367 |
|
368 |
# Install startup script |
369 |
dobin ${PN}-widget-manager "${FILESDIR}"/opera || die "dobin failed" |
370 |
|
371 |
# Stop revdep-rebuild from checking opera binaries |
372 |
dodir /etc/revdep-rebuild |
373 |
echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera |
374 |
|
375 |
# Change libz.so.3 to libz.so.1 for gentoo/freebsd |
376 |
if use elibc_FreeBSD; then |
377 |
scanelf -qR -N libz.so.3 -F "#N" "${D}"${OPREFIX}/${PN}/ | \ |
378 |
while read i; do |
379 |
if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]]; |
380 |
then |
381 |
export SANITY_CHECK_LIBZ_FAILED=1 |
382 |
break |
383 |
fi |
384 |
sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i" |
385 |
done |
386 |
[[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1" |
387 |
fi |
388 |
|
389 |
[[ -z MY_LINGUAS ]] || opera_linguas |
390 |
} |
391 |
|
392 |
pkg_postinst() { |
393 |
elog "To change the UI language, choose [Tools] -> [Preferences], open the" |
394 |
elog "[General] tab, click on [Details...] then [Choose...] and point the" |
395 |
elog "file chooser at /usr/share/opera/locale/, then enter the" |
396 |
elog "directory for the language you want and [Open] the .lng file." |
397 |
|
398 |
if use elibc_FreeBSD; then |
399 |
elog |
400 |
elog "To improve shared memory usage please set:" |
401 |
elog "$ sysctl kern.ipc.shm_allow_removed=1" |
402 |
fi |
403 |
} |