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