1 |
jer 07/09/28 17:09:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: opera-9.50_rc1600.ebuild |
5 |
Log: |
6 |
Weekly version bump <http://my.opera.com/desktopteam/blog/2007/09/28/snapshot-extravaganza>. |
7 |
(Portage version: 2.1.3.9) |
8 |
|
9 |
Revision Changes Path |
10 |
1.141 www-client/opera/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/ChangeLog?rev=1.141&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/ChangeLog?rev=1.141&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/ChangeLog?r1=1.140&r2=1.141 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v |
19 |
retrieving revision 1.140 |
20 |
retrieving revision 1.141 |
21 |
diff -u -r1.140 -r1.141 |
22 |
--- ChangeLog 23 Sep 2007 19:14:33 -0000 1.140 |
23 |
+++ ChangeLog 28 Sep 2007 17:09:04 -0000 1.141 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for www-client/opera |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.140 2007/09/23 19:14:33 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.141 2007/09/28 17:09:04 jer Exp $ |
29 |
+ |
30 |
+*opera-9.50_rc1600 (28 Sep 2007) |
31 |
+ |
32 |
+ 28 Sep 2007; Jeroen Roovers <jer@g.o> +opera-9.50_rc1600.ebuild: |
33 |
+ Weekly version bump |
34 |
+ <http://my.opera.com/desktopteam/blog/2007/09/28/snapshot-extravaganza>. |
35 |
|
36 |
*opera-9.50_rc1589 (22 Sep 2007) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 www-client/opera/opera-9.50_rc1600.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/opera-9.50_rc1600.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-client/opera/opera-9.50_rc1600.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: opera-9.50_rc1600.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2007 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.50_rc1600.ebuild,v 1.1 2007/09/28 17:09:04 jer Exp $ |
51 |
|
52 |
GCONF_DEBUG="no" |
53 |
|
54 |
inherit eutils gnome2 |
55 |
|
56 |
DESCRIPTION="Opera web browser" |
57 |
HOMEPAGE="http://www.opera.com/" |
58 |
|
59 |
SLOT="0" |
60 |
LICENSE="OPERA-9.0" |
61 |
KEYWORDS="~amd64 ~x86 ~x86-fbsd" |
62 |
|
63 |
IUSE="qt-static spell gnome" |
64 |
RESTRICT="strip mirror" |
65 |
|
66 |
O_LNG="" |
67 |
O_SUFF="1600" |
68 |
O_VER="9.50-20070928" |
69 |
|
70 |
O_URI="http://snapshot.opera.com/unix/snapshot-${O_SUFF}/" |
71 |
SRC_URI=" |
72 |
x86? ( |
73 |
qt-static? ( ${O_URI}intel-linux/${PN}-${O_VER}.9-static-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 ) |
74 |
!qt-static? ( ${O_URI}intel-linux/${PN}-${O_VER}.6-shared-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 ) ) |
75 |
amd64? ( !qt-static? ( ${O_URI}x86_64-linux/${PN}-${O_VER}.2-shared-qt.x86_64${O_LNG}-${O_SUFF}.tar.bz2 ) ) |
76 |
x86-fbsd? ( |
77 |
qt-static? ( ${O_URI}/intel-freebsd/${PN}-${O_VER}.5-static-qt.i386.freebsd${O_LNG}-${O_SUFF}.tar.bz2 ) |
78 |
!qt-static? ( ${O_URI}/intel-freebsd/${PN}-${O_VER}.4-shared-qt.i386.freebsd${O_LNG}-${O_SUFF}.tar.bz2 ) )" |
79 |
|
80 |
DEPEND=">=sys-apps/sed-4" |
81 |
|
82 |
RDEPEND=">=media-libs/fontconfig-2.1.94-r1 |
83 |
media-libs/jpeg |
84 |
media-libs/libexif |
85 |
x11-libs/libXrandr |
86 |
x11-libs/libXp |
87 |
x11-libs/libXmu |
88 |
x11-libs/libXi |
89 |
x11-libs/libXft |
90 |
x11-libs/libXext |
91 |
x11-libs/libXcursor |
92 |
x11-libs/libX11 |
93 |
x11-libs/libSM |
94 |
x11-libs/libICE |
95 |
=virtual/libstdc++-3* |
96 |
!qt-static? ( =x11-libs/qt-3* ) |
97 |
spell? ( app-text/aspell )" |
98 |
|
99 |
S=${WORKDIR}/${A/.tar.bz2/} |
100 |
|
101 |
src_unpack() { |
102 |
unpack ${A} |
103 |
cd ${S} |
104 |
|
105 |
epatch "${FILESDIR}/${PN}-9.00-install.patch" |
106 |
epatch "${FILESDIR}/${PN}-9.50-pluginpath.patch" |
107 |
|
108 |
sed -i -e "s:config_dir=\"/etc\":config_dir=\"${D}/etc/\":g" \ |
109 |
-e "s:/usr/share/applnk:${D}/usr/share/applnk:g" \ |
110 |
-e "s:/usr/share/pixmaps:${D}/usr/share/pixmaps:g" \ |
111 |
-e "s:/usr/share/icons:${D}/usr/share/icons:g" \ |
112 |
-e "s:/etc/X11:${D}/etc/X11:g" \ |
113 |
-e "s:/usr/share/gnome:${D}/usr/share/gnome:g" \ |
114 |
-e "s:/opt/gnome/share:${D}/opt/gnome/share:g" \ |
115 |
-e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\1:' \ |
116 |
-e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \ |
117 |
-e 's:read str_answer:return 0:' \ |
118 |
-e "s:/opt/kde:${D}/usr/kde:" \ |
119 |
-e "s:\(str_localdirplugin=\).*$:\1/opt/opera/lib/opera/plugins:" \ |
120 |
install.sh || die "sed failed" |
121 |
} |
122 |
|
123 |
src_compile() { |
124 |
# This workaround is sadly needed because gnome2.eclass doesn't check |
125 |
# whether a configure script or Makefile exists. |
126 |
true |
127 |
} |
128 |
|
129 |
src_install() { |
130 |
local res |
131 |
# Prepare installation directories for Opera's installer script. |
132 |
dodir /etc |
133 |
|
134 |
# Opera's native installer. |
135 |
./install.sh --prefix="${D}"/opt/opera || die "install.sh failed" |
136 |
|
137 |
einfo "It is safe to ignore warnings about failed checksums" |
138 |
einfo "and about files that would be ignored ..." |
139 |
einfo "Completing the installation where install.sh abandoned us ..." |
140 |
|
141 |
# java workaround |
142 |
sed -i -e 's:LD_PRELOAD="${OPERA_JAVA_DIR}/libawt.so":LD_PRELOAD="$LD_PRELOAD"\:"${OPERA_JAVA_DIR}/libawt.so":' ${D}/opt/opera/bin/opera |
143 |
|
144 |
dosed /opt/opera/bin/opera |
145 |
dosed /opt/opera/share/opera/java/opera.policy |
146 |
|
147 |
# Install the icons |
148 |
insinto /usr/share/pixmaps |
149 |
doins usr/share/pixmaps/opera.xpm |
150 |
for res in 16x16 22x22 32x32 48x48 ; do |
151 |
insinto /usr/share/icons/hicolor/${res}/apps |
152 |
doins usr/share/icons/hicolor/${res}/apps/opera.png |
153 |
done |
154 |
|
155 |
# Install the menu entry |
156 |
insinto /usr/share/applications |
157 |
doins ${FILESDIR}/opera.desktop |
158 |
|
159 |
# Install a symlink /usr/bin/opera |
160 |
dodir /usr/bin |
161 |
dosym /opt/opera/bin/opera /usr/bin/opera |
162 |
|
163 |
# fix plugin path |
164 |
echo "Plugin Path=/opt/opera/lib/opera/plugins" >> ${D}/etc/opera6rc |
165 |
|
166 |
# enable spellcheck |
167 |
if use spell; then |
168 |
if use qt-static; then |
169 |
DIR=$O_VER.1 |
170 |
else |
171 |
use sparc && DIR=$O_VER.2 || DIR=$O_VER.5 |
172 |
fi |
173 |
echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini |
174 |
fi |
175 |
|
176 |
dodir /etc/revdep-rebuild |
177 |
echo 'SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"' > ${D}/etc/revdep-rebuild/90opera |
178 |
|
179 |
# Change libz.so.3 to libz.so.1 for gentoo/freebsd |
180 |
if use x86-fbsd; then |
181 |
scanelf -qR -N libz.so.3 -F "#N" "${D}"/opt/${PN}/ | \ |
182 |
while read i; do |
183 |
if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]]; |
184 |
then |
185 |
export SANITY_CHECK_LIBZ_FAILED=1 |
186 |
break |
187 |
fi |
188 |
sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i" |
189 |
done |
190 |
[[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1" |
191 |
fi |
192 |
|
193 |
# symlink to libflash-player.so: |
194 |
dosym /opt/netscape/plugins/libflashplayer.so \ |
195 |
/opt/opera/lib/opera/plugins/libflashplayer.so |
196 |
|
197 |
# Add the Opera man dir to MANPATH: |
198 |
insinto /etc/env.d |
199 |
echo 'MANPATH="/opt/opera/share/man"' >> ${D}/etc/env.d/90opera |
200 |
} |
201 |
|
202 |
pkg_postinst() { |
203 |
use gnome && gnome2_pkg_postinst |
204 |
|
205 |
elog "For localized language files take a look at:" |
206 |
elog " http://www.opera.com/download/languagefiles/index.dml" |
207 |
elog |
208 |
elog "To use the spellchecker (USE=spell) for non-English simply do" |
209 |
elog "$ emerge app-dicts/aspell-[your language]." |
210 |
|
211 |
if use x86-fbsd; then |
212 |
elog |
213 |
elog "To improve shared memory usage please set:" |
214 |
elog "$ sysctl kern.ipc.shm_allow_removed=1" |
215 |
fi |
216 |
} |
217 |
|
218 |
pkg_postrm() { |
219 |
use gnome && gnome2_pkg_postrm |
220 |
} |
221 |
|
222 |
|
223 |
|
224 |
-- |
225 |
gentoo-commits@g.o mailing list |