1 |
jer 10/05/05 21:44:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: opera-10.54_pre6331.ebuild |
5 |
Removed: opera-10.53_pre6326.ebuild |
6 |
opera-10.53_pre6328.ebuild |
7 |
Log: |
8 |
Version bump <http://my.opera.com/desktopteam/blog/2010/05/05/startup-crashes-be-gone>. |
9 |
(Portage version: 2.2_rc67/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.471 www-client/opera/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/ChangeLog?rev=1.471&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/ChangeLog?rev=1.471&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/ChangeLog?r1=1.470&r2=1.471 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v |
21 |
retrieving revision 1.470 |
22 |
retrieving revision 1.471 |
23 |
diff -u -r1.470 -r1.471 |
24 |
--- ChangeLog 30 Apr 2010 16:35:42 -0000 1.470 |
25 |
+++ ChangeLog 5 May 2010 21:44:02 -0000 1.471 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for www-client/opera |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.470 2010/04/30 16:35:42 jer Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.471 2010/05/05 21:44:02 jer Exp $ |
31 |
+ |
32 |
+*opera-10.54_pre6331 (05 May 2010) |
33 |
+ |
34 |
+ 05 May 2010; Jeroen Roovers <jer@g.o> -opera-10.53_pre6326.ebuild, |
35 |
+ -opera-10.53_pre6328.ebuild, +opera-10.54_pre6331.ebuild: |
36 |
+ Version bump |
37 |
+ <http://my.opera.com/desktopteam/blog/2010/05/05/startup-crashes-be-gone>. |
38 |
|
39 |
*opera-10.53_pre6330 (30 Apr 2010) |
40 |
*opera-10.53_pre6328 (30 Apr 2010) |
41 |
|
42 |
|
43 |
|
44 |
1.1 www-client/opera/opera-10.54_pre6331.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/opera-10.54_pre6331.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/opera-10.54_pre6331.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: opera-10.54_pre6331.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.54_pre6331.ebuild,v 1.1 2010/05/05 21:44:02 jer Exp $ |
54 |
|
55 |
EAPI="2" |
56 |
|
57 |
OPREFIX="/usr/lib" |
58 |
|
59 |
inherit eutils |
60 |
|
61 |
DESCRIPTION="A standards-compliant graphical Web browser" |
62 |
HOMEPAGE="http://www.opera.com/" |
63 |
|
64 |
SLOT="0" |
65 |
LICENSE="OPERA-10.53 LGPL-2 LGPL-3" |
66 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
67 |
|
68 |
RESTRICT="mirror test" |
69 |
|
70 |
QA_DT_HASH="${OPREFIX}/${PN}/.*" |
71 |
QA_PRESTRIPPED="${OPREFIX}/${PN}/.*" |
72 |
|
73 |
IUSE="elibc_FreeBSD" |
74 |
|
75 |
MY_LINGUAS=" |
76 |
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 |
77 |
ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK |
78 |
zh-TW |
79 |
" |
80 |
|
81 |
for MY_LINGUA in ${MY_LINGUAS}; do |
82 |
IUSE="${IUSE} linguas_${MY_LINGUA/-/_}" |
83 |
done |
84 |
|
85 |
O_U="http://snapshot.opera.com/unix/snapshot-${PV/*_pre}/" |
86 |
O_P="${P/_pre/-}" |
87 |
|
88 |
SRC_URI=" |
89 |
amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 ) |
90 |
ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 ) |
91 |
x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 ) |
92 |
x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 ) |
93 |
" |
94 |
|
95 |
DEPEND=">=sys-apps/sed-4" |
96 |
|
97 |
RDEPEND=" |
98 |
=x11-libs/gtk+-2* |
99 |
dev-libs/atk |
100 |
dev-libs/expat |
101 |
dev-libs/glib |
102 |
media-libs/fontconfig |
103 |
media-libs/freetype |
104 |
media-libs/glitz |
105 |
media-plugins/gst-plugins-meta |
106 |
media-libs/libpng |
107 |
sys-apps/util-linux |
108 |
sys-libs/zlib |
109 |
virtual/opengl |
110 |
x11-libs/cairo |
111 |
x11-libs/libICE |
112 |
x11-libs/libSM |
113 |
x11-libs/libX11 |
114 |
x11-libs/libXau |
115 |
x11-libs/libXcomposite |
116 |
x11-libs/libXcursor |
117 |
x11-libs/libXdamage |
118 |
x11-libs/libXdmcp |
119 |
x11-libs/libXext |
120 |
x11-libs/libXfixes |
121 |
x11-libs/libXi |
122 |
x11-libs/libXmu |
123 |
x11-libs/libXrandr |
124 |
x11-libs/libXrender |
125 |
x11-libs/libXt |
126 |
x11-libs/libxcb |
127 |
x11-libs/pango |
128 |
x11-libs/pixman |
129 |
x11-libs/xcb-util |
130 |
" |
131 |
|
132 |
opera_linguas() { |
133 |
# Remove unwanted LINGUAS: |
134 |
local LINGUA |
135 |
local LNGDIR="${D}usr/share/${PN}/locale" |
136 |
einfo "Keeping these locales: ${LINGUAS}." |
137 |
for LINGUA in ${MY_LINGUAS}; do |
138 |
if ! use linguas_${LINGUA/-/_}; then |
139 |
LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-}) |
140 |
rm -r "${LINGUA}" |
141 |
fi |
142 |
done |
143 |
} |
144 |
|
145 |
pkg_setup() { |
146 |
echo -e \ |
147 |
" ${GOOD}****************************************************${NORMAL}" |
148 |
elog "If you seek support, please file a bug report at" |
149 |
elog "https://bugs.gentoo.org and post the output of" |
150 |
elog " \`emerge --info =${CATEGORY}/${P}'" |
151 |
echo -e \ |
152 |
" ${GOOD}****************************************************${NORMAL}" |
153 |
} |
154 |
|
155 |
src_unpack() { |
156 |
unpack ${A} |
157 |
if [[ ! -d ${S} ]]; then |
158 |
cd "${WORKDIR}"/${PN}* || die "failed to enter work directory" |
159 |
S="$(pwd)" |
160 |
einfo "Setting WORKDIR to ${S}" |
161 |
fi |
162 |
} |
163 |
|
164 |
src_install() { |
165 |
# Remove "license directory" (bug #315473) |
166 |
rm -rf "share/doc/opera" |
167 |
|
168 |
# We install into usr instead of opt as Opera does not support the latter |
169 |
dodir /usr |
170 |
mv lib/ share/ "${D}"/usr/ || die "mv lib/ share/ failed" |
171 |
|
172 |
# Unzip the man pages before sedding |
173 |
gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed" |
174 |
|
175 |
# Replace PREFIX and SUFFIX in various files |
176 |
sed -i \ |
177 |
-e "s:@@{PREFIX}:/usr:g" \ |
178 |
-e "s:@@{SUFFIX}::g" \ |
179 |
-e "s:@@{_SUFFIX}::g" \ |
180 |
-e "s:@@{USUFFIX}::g" \ |
181 |
"${D}"/usr/share/mime/packages/opera-widget.xml \ |
182 |
"${D}"/usr/share/man/man1/* \ |
183 |
"${D}"/usr/share/applications/opera-browser.desktop \ |
184 |
"${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed" |
185 |
|
186 |
# Install startup script |
187 |
dobin ${PN}-widget-manager "${FILESDIR}"/opera || die "dobin failed" |
188 |
|
189 |
# Stop revdep-rebuild from checking opera binaries |
190 |
dodir /etc/revdep-rebuild |
191 |
echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera |
192 |
|
193 |
# Change libz.so.3 to libz.so.1 for gentoo/freebsd |
194 |
if use elibc_FreeBSD; then |
195 |
scanelf -qR -N libz.so.3 -F "#N" "${D}"${OPREFIX}/${PN}/ | \ |
196 |
while read i; do |
197 |
if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]]; |
198 |
then |
199 |
export SANITY_CHECK_LIBZ_FAILED=1 |
200 |
break |
201 |
fi |
202 |
sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i" |
203 |
done |
204 |
[[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1" |
205 |
fi |
206 |
|
207 |
[[ -z MY_LINGUAS ]] || opera_linguas |
208 |
} |
209 |
|
210 |
pkg_postinst() { |
211 |
elog "To change the UI language, choose [Tools] -> [Preferences], open the" |
212 |
elog "[General] tab, click on [Details...] then [Choose...] and point the" |
213 |
elog "file chooser at /usr/share/opera/locale/, then enter the" |
214 |
elog "directory for the language you want and [Open] the .lng file." |
215 |
|
216 |
if use elibc_FreeBSD; then |
217 |
elog |
218 |
elog "To improve shared memory usage please set:" |
219 |
elog "$ sysctl kern.ipc.shm_allow_removed=1" |
220 |
fi |
221 |
} |