summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2007-09-05 03:40:26 +0000
committerJeroen Roovers <jer@gentoo.org>2007-09-05 03:40:26 +0000
commit0059ba2dc31a873536f7dc8ac3ccc51ada91e3aa (patch)
tree90e4bcaf9103717b679d0129ba49ebaaa47422eb /www-client/opera
parentamd64 stable, bug #189379. (diff)
downloadgentoo-2-0059ba2dc31a873536f7dc8ac3ccc51ada91e3aa.tar.gz
gentoo-2-0059ba2dc31a873536f7dc8ac3ccc51ada91e3aa.tar.bz2
gentoo-2-0059ba2dc31a873536f7dc8ac3ccc51ada91e3aa.zip
Version bump.
(Portage version: 2.1.2.12)
Diffstat (limited to 'www-client/opera')
-rw-r--r--www-client/opera/ChangeLog8
-rw-r--r--www-client/opera/files/digest-opera-9.50_alpha156718
-rw-r--r--www-client/opera/files/opera-9.50-pluginpath.patch12
-rw-r--r--www-client/opera/opera-9.50_alpha1567.ebuild179
4 files changed, 216 insertions, 1 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index a3d0f2b34697..5a330df674cb 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-client/opera
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.129 2007/08/16 05:23:40 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.130 2007/09/05 03:40:26 jer Exp $
+
+*opera-9.50_alpha1567 (05 Sep 2007)
+
+ 05 Sep 2007; Jeroen Roovers <jer@gentoo.org>
+ +files/opera-9.50-pluginpath.patch, +opera-9.50_alpha1567.ebuild:
+ Version bump.
16 Aug 2007; Jeroen Roovers <jer@gentoo.org> -opera-9.22.ebuild:
Remove vulnerable version.
diff --git a/www-client/opera/files/digest-opera-9.50_alpha1567 b/www-client/opera/files/digest-opera-9.50_alpha1567
new file mode 100644
index 000000000000..c2c86916856f
--- /dev/null
+++ b/www-client/opera/files/digest-opera-9.50_alpha1567
@@ -0,0 +1,18 @@
+MD5 98d250f5b77b85336d2fad88b2946484 opera-9.50-20070903.1-static-qt.i386.freebsd-1567.tar.bz2 7464480
+RMD160 4d4a0b0157bd6e43a78a2beec77b3ac30caaeb9b opera-9.50-20070903.1-static-qt.i386.freebsd-1567.tar.bz2 7464480
+SHA256 8fb7d4452c5b549bb092a15d56ce670836af9c69393a82ad02669c4ebb78280f opera-9.50-20070903.1-static-qt.i386.freebsd-1567.tar.bz2 7464480
+MD5 b8f9b9a0be3d3d47b701779622c2f004 opera-9.50-20070903.1-static-qt.ppc-1567.tar.bz2 7153534
+RMD160 dc4428373a5a523afe6c0e2a1be25acb102aacc1 opera-9.50-20070903.1-static-qt.ppc-1567.tar.bz2 7153534
+SHA256 b55f795f332776ff23d43bd8aa2a41c1d90cba0e57aeda621ec71c939a355c95 opera-9.50-20070903.1-static-qt.ppc-1567.tar.bz2 7153534
+MD5 40b850632dbb729a0bb16a1c450d97e5 opera-9.50-20070903.2-shared-qt.x86_64-1567.tar.bz2 5948870
+RMD160 59a2f8e89f307d4fec64858dd425f7eee41064b8 opera-9.50-20070903.2-shared-qt.x86_64-1567.tar.bz2 5948870
+SHA256 1fe54ad69b1a889c4f09184759bf37af9249c0ac7ca8d221b0d9b59decd9d13b opera-9.50-20070903.2-shared-qt.x86_64-1567.tar.bz2 5948870
+MD5 2cc3e6e1a7b0694d76d00e3b472f36b8 opera-9.50-20070903.4-shared-qt.i386.freebsd-1567.tar.bz2 5519387
+RMD160 343a77d78d1a8e338de58da2ffffbfa20b0bd654 opera-9.50-20070903.4-shared-qt.i386.freebsd-1567.tar.bz2 5519387
+SHA256 4d59955feb278fbadc97cd2799be32255db56911e044dcb6f91ec1c3f322459b opera-9.50-20070903.4-shared-qt.i386.freebsd-1567.tar.bz2 5519387
+MD5 65eab9a28bb9bcadc85754fe42eec288 opera-9.50-20070903.6-shared-qt.i386-1567.tar.bz2 5453240
+RMD160 19fe0393724f9a1c6180be1d56346cf127a16812 opera-9.50-20070903.6-shared-qt.i386-1567.tar.bz2 5453240
+SHA256 cac425846b3d3c59ec9f6255e822fe91326cd7503acb305e082f399e9b685f70 opera-9.50-20070903.6-shared-qt.i386-1567.tar.bz2 5453240
+MD5 9526a13ebb9d93271ca8ae8f7f3c8f46 opera-9.50-20070903.9-static-qt.i386-1567.tar.bz2 7675902
+RMD160 d10771b18d42a0cf6c621d5cb908ff5a800d3d1e opera-9.50-20070903.9-static-qt.i386-1567.tar.bz2 7675902
+SHA256 10f84c44bddec74a9915179a45d28bcd37423fd732cc0c2e7ed19f90756b4620 opera-9.50-20070903.9-static-qt.i386-1567.tar.bz2 7675902
diff --git a/www-client/opera/files/opera-9.50-pluginpath.patch b/www-client/opera/files/opera-9.50-pluginpath.patch
new file mode 100644
index 000000000000..83e8b0f3d14a
--- /dev/null
+++ b/www-client/opera/files/opera-9.50-pluginpath.patch
@@ -0,0 +1,12 @@
+--- usr/share/opera/ini/pluginpath.ini. 2007-09-03 20:33:17.000000000 +0200
++++ usr/share/opera/ini/pluginpath.ini 2007-09-04 18:44:28.000000000 +0200
+@@ -49,7 +49,8 @@
+ ; Netscape Plug-in Paths
+ $HOME/.netscape6/plugins=1
+ $HOME/.netscape/plugins=1
+-/opt/netscape/plugins=1
++/usr/lib/nsbrowser/plugins=1
++/opt/netscape/plugins=2
+ /usr/lib/netscape/plugins=1
+ /usr/local/netscape/plugins=1
+ /usr/local/lib/netscape/plugins=1
diff --git a/www-client/opera/opera-9.50_alpha1567.ebuild b/www-client/opera/opera-9.50_alpha1567.ebuild
new file mode 100644
index 000000000000..25d931080653
--- /dev/null
+++ b/www-client/opera/opera-9.50_alpha1567.ebuild
@@ -0,0 +1,179 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.50_alpha1567.ebuild,v 1.1 2007/09/05 03:40:26 jer Exp $
+
+GCONF_DEBUG="no"
+
+inherit eutils gnome2
+
+DESCRIPTION="Opera web browser"
+HOMEPAGE="http://www.opera.com/"
+
+SLOT="0"
+LICENSE="OPERA-9.0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+IUSE="qt-static spell gnome"
+RESTRICT="strip mirror"
+
+O_LNG=""
+O_SUFF="1567"
+O_VER="9.50-20070903"
+
+# opera-9.50-20070903.1-static-qt.ppc-1567.tar.bz2
+
+O_URI="http://snapshot.opera.com/unix/9.50-Alpha-1/"
+SRC_URI="
+ x86? ( qt-static? (
+ ${O_URI}intel-linux/${PN}-${O_VER}.9-static-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 ) )
+ x86? ( !qt-static? ( ${O_URI}intel-linux/${PN}-${O_VER}.6-shared-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 ) )
+ amd64? ( !qt-static? ( ${O_URI}x86_64-linux/${PN}-${O_VER}.2-shared-qt.x86_64${O_LNG}-${O_SUFF}.tar.bz2 ) )
+ ppc? ( ${O_URI}ppc-linux/${PN}-${O_VER}.1-static-qt.ppc${O_LNG}-${O_SUFF}.tar.bz2 )
+ x86-fbsd? ( !qt-static? ( ${O_URI}intel-freebsd/${PN}-${O_VER}.4-shared-qt.i386.freebsd${O_LNG}-${O_SUFF}.tar.bz2 ) )
+ x86-fbsd? ( qt-static? ( ${O_URI}/intel-freebsd/${PN}-${O_VER}.1-static-qt.i386.freebsd${O_LNG}-${O_SUFF}.tar.bz2 ) )"
+
+# amd64? ( qt-static? ( ${O_URI}x86_64-linux/${PN}-${O_VER}.2-static-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 ) )
+# sparc? ( ${O_URI}sparc-linux/${PN}-${O_VER}.1-static-qt.sparc${O_LNG}-${O_SUFF}.tar.bz2 )
+
+DEPEND=">=sys-apps/sed-4"
+
+RDEPEND="x11-libs/libXrandr
+ x11-libs/libXp
+ x11-libs/libXmu
+ x11-libs/libXi
+ x11-libs/libXft
+ x11-libs/libXext
+ x11-libs/libXcursor
+ x11-libs/libX11
+ x11-libs/libSM
+ x11-libs/libICE
+ >=media-libs/fontconfig-2.1.94-r1
+ !amd64? ( media-libs/libexif
+ spell? ( app-text/aspell )
+ x86? ( !qt-static? ( =x11-libs/qt-3* ) )
+ media-libs/jpeg )
+ x86-fbsd? ( =virtual/libstdc++-3*
+ !qt-static? ( =x11-libs/qt-3* ) )"
+
+S=${WORKDIR}/${A/.tar.bz2/}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch "${FILESDIR}/${PN}-9.00-install.patch"
+ epatch "${FILESDIR}/${PN}-9.50-pluginpath.patch"
+
+ sed -i -e "s:config_dir=\"/etc\":config_dir=\"${D}/etc/\":g" \
+ -e "s:/usr/share/applnk:${D}/usr/share/applnk:g" \
+ -e "s:/usr/share/pixmaps:${D}/usr/share/pixmaps:g" \
+ -e "s:/usr/share/icons:${D}/usr/share/icons:g" \
+ -e "s:/etc/X11:${D}/etc/X11:g" \
+ -e "s:/usr/share/gnome:${D}/usr/share/gnome:g" \
+ -e "s:/opt/gnome/share:${D}/opt/gnome/share:g" \
+ -e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\1:' \
+ -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \
+ -e 's:read str_answer:return 0:' \
+ -e "s:/opt/kde:${D}/usr/kde:" \
+ -e "s:\(str_localdirplugin=\).*$:\1/opt/opera/lib/opera/plugins:" \
+ install.sh || die "sed failed"
+}
+
+src_compile() {
+ # This workaround is sadly needed because gnome2.eclass doesn't check
+ # whether a configure script or Makefile exists.
+ true
+}
+
+src_install() {
+ local res
+ # Prepare installation directories for Opera's installer script.
+ dodir /etc
+
+ # Opera's native installer.
+ ./install.sh --prefix="${D}"/opt/opera || die "install.sh failed"
+
+ einfo "It is safe to ignore warnings about failed checksums"
+ einfo "and about files that would be ignored ..."
+ einfo "Completing the installation where install.sh abandoned us ..."
+
+ # java workaround
+ 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
+
+ dosed /opt/opera/bin/opera
+ dosed /opt/opera/share/opera/java/opera.policy
+
+ # Install the icons
+ insinto /usr/share/pixmaps
+ doins usr/share/pixmaps/opera.xpm
+ for res in 16x16 22x22 32x32 48x48 ; do
+ insinto /usr/share/icons/hicolor/${res}/apps
+ doins usr/share/icons/hicolor/${res}/apps/opera.png
+ done
+
+ # Install the menu entry
+ insinto /usr/share/applications
+ doins ${FILESDIR}/opera.desktop
+
+ # Install a symlink /usr/bin/opera
+ dodir /usr/bin
+ dosym /opt/opera/bin/opera /usr/bin/opera
+
+ # fix plugin path
+ echo "Plugin Path=/opt/opera/lib/opera/plugins" >> ${D}/etc/opera6rc
+
+ # enable spellcheck
+ if use spell; then
+ if use qt-static; then
+ DIR=$O_VER.1
+ else
+ use sparc && DIR=$O_VER.2 || DIR=$O_VER.5
+ fi
+ echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> ${D}/opt/opera/share/opera/ini/spellcheck.ini
+ fi
+
+ dodir /etc/revdep-rebuild
+ echo 'SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"' > ${D}/etc/revdep-rebuild/90opera
+
+ # Change libz.so.3 to libz.so.1 for gentoo/freebsd
+ if use x86-fbsd; then
+ scanelf -qR -N libz.so.3 -F "#N" "${D}"/opt/${PN}/ | \
+ while read i; do
+ if [[ $(strings "$i" | fgrep -c libz.so.3) -ne 1 ]];
+ then
+ export SANITY_CHECK_LIBZ_FAILED=1
+ break
+ fi
+ sed -i -e 's/libz\.so\.3/libz.so.1/g' "$i"
+ done
+ [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1"
+ fi
+
+ # symlink to libflash-player.so:
+ dosym /opt/netscape/plugins/libflashplayer.so \
+ /opt/opera/lib/opera/plugins/libflashplayer.so
+
+ # Add the Opera man dir to MANPATH:
+ insinto /etc/env.d
+ echo 'MANPATH="/opt/opera/share/man"' >> ${D}/etc/env.d/90opera
+}
+
+pkg_postinst() {
+ use gnome && gnome2_pkg_postinst
+
+ elog "For localized language files take a look at:"
+ elog " http://www.opera.com/download/languagefiles/index.dml"
+ elog
+ elog "To use the spellchecker (USE=spell) for non-English simply do"
+ elog "$ emerge app-dicts/aspell-[your language]."
+
+ if use x86-fbsd; then
+ elog
+ elog "To improve shared memory usage please set:"
+ elog "$ sysctl kern.ipc.shm_allow_removed=1"
+ fi
+}
+
+pkg_postrm() {
+ use gnome && gnome2_pkg_postrm
+}