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