summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2008-04-09 16:53:03 +0000
committerJeroen Roovers <jer@gentoo.org>2008-04-09 16:53:03 +0000
commit1fb458120ab8095966ca81498db72a0643b54be4 (patch)
tree12f2b1d78e3e2f0c33435e3bece83da41ce66cc2 /www-client/opera
parentAdded xfce use flag description for gnome-extra/avant-window-navigator (diff)
downloadhistorical-1fb458120ab8095966ca81498db72a0643b54be4.tar.gz
historical-1fb458120ab8095966ca81498db72a0643b54be4.tar.bz2
historical-1fb458120ab8095966ca81498db72a0643b54be4.zip
Version bump <http://my.opera.com/desktopteam/blog/2008/04/08/ev-and-certificate-updates>. Thanks to Christian Faulhammer.
Package-Manager: portage-2.1.5_rc2
Diffstat (limited to 'www-client/opera')
-rw-r--r--www-client/opera/ChangeLog10
-rw-r--r--www-client/opera/Manifest10
-rw-r--r--www-client/opera/opera-9.50_beta2_p1904.ebuild183
3 files changed, 201 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 20d86742ae14..16bb864a385e 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for www-client/opera
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.214 2008/04/07 19:24:20 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.215 2008/04/09 16:53:03 jer Exp $
+
+*opera-9.50_beta2_p1904 (09 Apr 2008)
+
+ 09 Apr 2008; Jeroen Roovers <jer@gentoo.org>
+ +opera-9.50_beta2_p1904.ebuild:
+ Version bump
+ <http://my.opera.com/desktopteam/blog/2008/04/08/ev-and-certificate-updates>
+ . Thanks to Christian Faulhammer.
07 Apr 2008; Jeroen Roovers <jer@gentoo.org> opera-9.27.ebuild:
SPARC and PPC always get qt-static versions. Sorted generic dependencies.
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 4135eef3830b..43bf34adb523 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -59,6 +59,13 @@ DIST opera-9.50-20080327.5-static-qt.i386.freebsd-1887.tar.bz2 7698629 RMD160 f3
DIST opera-9.50-20080327.6-shared-qt.i386-1887.tar.bz2 5666072 RMD160 1aafc08a49eed20864f488bbecd7dd3b8687ae6f SHA1 75d870f7d3cece313cd30eb8c763ba6b9c0f9d92 SHA256 bb774e5d513659061bd34dcee925df22724934c73cfdd6c88ba27fc796178adf
DIST opera-9.50-20080327.6-shared-qt.ppc-1887.tar.bz2 5736155 RMD160 5fda808ad1775b58730abdcf6eacef9888658ab3 SHA1 b896edd80872dba54353228e96178609e8ea69c3 SHA256 436d31032f82b76cc56ef35fc1fdd8099742678f444a2d3fd7ccc4e1f157868e
DIST opera-9.50-20080327.9-static-qt.i386-1887.tar.bz2 7903713 RMD160 8cadaa582bade51ac1015db2740b0b9d3d81b8d1 SHA1 35dc3bb7ae780d3093073a5338e5376c18058d00 SHA256 31d54b1a233a4bce5e5baaa3fa6db9be79e1b4e185ba1da2c7ffa611a477ed62
+DIST opera-9.50-20080408.1-static-qt.ppc-1904.tar.bz2 7402628 RMD160 8e81e9c38f30d0d9b6eae9bd31d224c2d543cd42 SHA1 7b1d9b4341dda20666d554c0f41c636fe3b99068 SHA256 8dc8e0b8cb7ed464776383a9b22f1ad9e57c29f9329c84349c29005d7c43c00b
+DIST opera-9.50-20080408.2-shared-qt.x86_64-1904.tar.bz2 6291741 RMD160 ef52ec06db1afc666a86780f61fd47534bb557c7 SHA1 3a06ad3d991679cc691d36b3e0ff6f07791a13e1 SHA256 02acb60c6e9abb70910f7da08ed5e66e807d0e4ade9e04e35d37be35bc5ce3f8
+DIST opera-9.50-20080408.3-shared-qt.i386.freebsd-1904.tar.bz2 5787407 RMD160 71b58ec95a8127cb109bc4137b52b3daa94f4a65 SHA1 118fab11a3c367649b4734c29d2e1ef25ca94ffa SHA256 603ae34e88b7fd4ab1f1e8d01c881a02aed716dc537857cb1723b54a298efa12
+DIST opera-9.50-20080408.5-static-qt.i386.freebsd-1904.tar.bz2 7736605 RMD160 5a3b43980a4b15b14389f1558646e73131de2c90 SHA1 892f8a955385367684e49412b214953fef9c07f8 SHA256 82d46c88a29fe21a6eb91bdb3ca79346b1276896fb1f9db2250ac2a8352f5822
+DIST opera-9.50-20080408.6-shared-qt.i386-1904.tar.bz2 5697408 RMD160 1a7b8744bc6dc7215c6a92609977b7d2d0e9def3 SHA1 fa68a30f17e55eb9c9ee7e6157e5a9b0266c69f8 SHA256 2571a531920b8e8f296cea7c1287de50b4edca7947dbcb172a266ae298f201e8
+DIST opera-9.50-20080408.6-shared-qt.ppc-1904.tar.bz2 5758964 RMD160 91aa9caed707d6b4a9bb980af876cdb43abf9c13 SHA1 81603008eb5ea4b3e0e6e7943c5ddf073d11779d SHA256 9f995df90aec361ab5d7b094989baa9e88d5ce9564736d680adafb20c39c4f5e
+DIST opera-9.50-20080408.9-static-qt.i386-1904.tar.bz2 7934111 RMD160 771a30e04763ac00d83867d3fcab1cbc208ec3be SHA1 e7bafea6fa4073342a73a75cf858d0a0de86a89d SHA256 3c4053f6a860fa152ded66b5af8e4bc4bde29d2fc2fa1c61fba1104a4e625bd0
DIST opera-9.50b-20071024.1-static-qt.i386.freebsd-en.tar.bz2 7517641 RMD160 311a905c23b4f670d3617e2f22050aa86c0c369d SHA1 a75f01fb6904280b87e847741d532d05def0fa5d SHA256 9632efd8f839c4cca16a929c63ab0d03b15c21a22b23be0c75e5c8440764a940
DIST opera-9.50b-20071024.1-static-qt.ppc-en.tar.bz2 7236901 RMD160 6df43be8cd93ee45d60113894e4daf3ae41ee6b6 SHA1 83d2b0f00784ebffb3ac03e5883884908c10023a SHA256 2f29336bd986e0ee4e25df0815b95cdae13661aad05af542aeb65ac7dc89531d
DIST opera-9.50b-20071024.3-shared-qt.ppc-en.tar.bz2 5752913 RMD160 7114895d497478d403a6c874ce99a2c4caa0ba0d SHA1 de0a5f42c33aba74797079d529b908d16efdf057 SHA256 a0e57f4d719d74e805b184cec9bdc35ef2eb054bf143b85d91ecf03d3d8b44af
@@ -75,5 +82,6 @@ EBUILD opera-9.50_beta2_p1823.ebuild 5470 RMD160 ea902595a806e851ffec55abdce7a89
EBUILD opera-9.50_beta2_p1834.ebuild 5470 RMD160 91fd1555b21253bf34e0b0350ca588031b2d4a51 SHA1 178f62271cbc0bcf6c7eee6e0497893b53a54388 SHA256 5bcccaefa25ea021ce847e8e669219f1c9ae42d57d12b63bd4f3c0da74814e7a
EBUILD opera-9.50_beta2_p1875.ebuild 5365 RMD160 4156df14dcc1ba4e06b25b068c5f1cadeeebba23 SHA1 0671ee79ec404c48d0dd8c02b7e09403fba07255 SHA256 40bab76f52d1e50946b35ff6e4dddbbae0853e8a88ec9693f5468a8d0c4b8434
EBUILD opera-9.50_beta2_p1887.ebuild 5454 RMD160 4504cf2e08171a7c3b6a07bb7339eff4e729d5a1 SHA1 ba3a583f9c03292f00228f16e7fb87b470dbb551 SHA256 1ce8efe83b6d70bb0d05a967d0cca44cbb1a31f9f96855dd2386a0859965776f
-MISC ChangeLog 45314 RMD160 0917ab731923e6476e616d56c1e2b421d9fbc690 SHA1 3fd45af5036b88740473d959adf3c934ce98335e SHA256 1f328f3b13aa938430c388f13584443507ce439f4fb8e7a956f244d4ae783fe4
+EBUILD opera-9.50_beta2_p1904.ebuild 5515 RMD160 d2041099fb34dff82f1db395bf15e9d1ab591e0f SHA1 8a5c276e3c15f0813bd4908805bbc04505b075df SHA256 b6cdf3f8c61f4b76d95a36a8a9e6abca1ad8d10e6080405b03634eedad9c101c
+MISC ChangeLog 45565 RMD160 9d33496a274def529144c54095af1f1344d4475e SHA1 8329bec39d533d0b404edd7ca0600a01640405a2 SHA256 e1bfd8863bcb102fcec757b763821a1ef368556ff213af78a3fc8e28be33476a
MISC metadata.xml 371 RMD160 9ce4bac73fb1a6fb95290774b2a6a09e23be1998 SHA1 dde7f60d2a566274f7997a7d691922a1278a3558 SHA256 192dad9e5e302573e365663703055daac67ab3d40cb1e081cab9927bbc1ddbaa
diff --git a/www-client/opera/opera-9.50_beta2_p1904.ebuild b/www-client/opera/opera-9.50_beta2_p1904.ebuild
new file mode 100644
index 000000000000..77409ea72740
--- /dev/null
+++ b/www-client/opera/opera-9.50_beta2_p1904.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.50_beta2_p1904.ebuild,v 1.1 2008/04/09 16:53:03 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 elibc_FreeBSD"
+RESTRICT="mirror strip test"
+
+O_LNG=""
+O_SUFF="1904"
+O_VER="9.50-20080408"
+
+O_URI="http://snapshot.opera.com/unix/snapshot-${O_SUFF}/"
+
+SRC_URI="
+ amd64? ( ${O_URI}x86_64-linux/${PN}-${O_VER}.2-shared-qt.x86_64${O_LNG}-${O_SUFF}.tar.bz2 )
+ qt-static? (
+ ppc? ( ${O_URI}ppc-linux/${PN}-${O_VER}.1-static-qt.ppc${O_LNG}-${O_SUFF}.tar.bz2 )
+ x86? ( ${O_URI}intel-linux/${PN}-${O_VER}.9-static-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 )
+ x86-fbsd? ( ${O_URI}intel-freebsd/${PN}-${O_VER}.5-static-qt.i386.freebsd${O_LNG}-${O_SUFF}.tar.bz2 )
+ )
+ !qt-static? (
+ ppc? ( ${O_URI}ppc-linux/${PN}-${O_VER}.6-shared-qt.ppc${O_LNG}-${O_SUFF}.tar.bz2 )
+ x86? ( ${O_URI}intel-linux/${PN}-${O_VER}.6-shared-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 )
+ x86-fbsd? ( ${O_URI}intel-freebsd/${PN}-${O_VER}.3-shared-qt.i386.freebsd${O_LNG}-${O_SUFF}.tar.bz2 )
+ )
+ "
+
+DEPEND=">=sys-apps/sed-4"
+
+RDEPEND="media-libs/libexif
+ media-libs/jpeg
+ >=media-libs/fontconfig-2.1.94-r1
+ 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
+ !qt-static? ( =x11-libs/qt-3* )
+ amd64? ( =x11-libs/qt-3* )
+ spell? ( app-text/aspell )
+ x86-fbsd? ( =virtual/libstdc++-3* )"
+
+S="${WORKDIR}/${A/.tar.bz2/}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-9.00-install.patch"
+
+ # bug #181300:
+ use elibc_FreeBSD || epatch "${FILESDIR}/${PN}-9.50-pluginpath.patch"
+ use elibc_FreeBSD && epatch "${FILESDIR}/${PN}-9.50-pluginpath-fbsd.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() {
+ # 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
+
+ local res
+ 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
+ make_desktop_entry opera Opera /usr/share/pixmaps/opera.xpm 'Network;WebBrowser;Email;FileTransfer;IRCClient'
+
+ # 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 elibc_FreeBSD; 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
+
+ # 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 elibc_FreeBSD; then
+ elog
+ elog "To improve shared memory usage please set:"
+ elog "$ sysctl kern.ipc.shm_allow_removed=1"
+ fi
+
+ elog "The Opera betas may still have issues with plugins, notably"
+ elog "net-www/netscape-flash. See also https://bugs.gentoo.org/198162"
+}
+
+pkg_postrm() {
+ use gnome && gnome2_pkg_postrm
+}