summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2008-02-29 16:19:50 +0000
committerJeroen Roovers <jer@gentoo.org>2008-02-29 16:19:50 +0000
commit760e9e8a54597c0861287410650b27794154d913 (patch)
tree78846b0ada915aefe95438fbc800deac231b17b1
parentSparc stable, security Bug #211575. (diff)
downloadhistorical-760e9e8a54597c0861287410650b27794154d913.tar.gz
historical-760e9e8a54597c0861287410650b27794154d913.tar.bz2
historical-760e9e8a54597c0861287410650b27794154d913.zip
Version bump <http://my.opera.com/desktopteam/blog/yet-another-snapshot-build>.
Package-Manager: portage-2.1.4.4
-rw-r--r--www-client/opera/ChangeLog8
-rw-r--r--www-client/opera/Manifest9
-rw-r--r--www-client/opera/opera-9.50_beta2_p1834.ebuild183
3 files changed, 198 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 0d180ee47acf..07e726c70cea 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,12 @@
# 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.204 2008/02/28 01:58:49 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.205 2008/02/29 16:19:50 jer Exp $
+
+*opera-9.50_beta2_p1834 (29 Feb 2008)
+
+ 29 Feb 2008; Jeroen Roovers <jer@gentoo.org>
+ +opera-9.50_beta2_p1834.ebuild:
+ Version bump <http://my.opera.com/desktopteam/blog/yet-another-snapshot-build>.
28 Feb 2008; Jeroen Roovers <jer@gentoo.org> +opera-9.50_beta1.ebuild:
Readd because of the p.mask on beta2 (thanks to Cyker for notifying).
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 54914fa985bc..0e6819afbaae 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -43,6 +43,12 @@ DIST opera-9.50-20080221.5-static-qt.i386.freebsd-1823.tar.bz2 7627509 RMD160 72
DIST opera-9.50-20080221.6-shared-qt.i386-1823.tar.bz2 5616481 RMD160 2dd2f19a8c3adc87ffe3bfc5273fd23008d3c792 SHA1 610c6000be46f575597deab0602efb252d0b4c4a SHA256 1329c870bc43b288a7f6dffd96fbdaa4aa724d4161878316e64c5738c8ac01f5
DIST opera-9.50-20080221.6-shared-qt.ppc-1823.tar.bz2 5677423 RMD160 998d2b7da8218067a1759dde3d8461143003c415 SHA1 27edb636beea581f7441a0a9ca32895babbeedf4 SHA256 53f440943df8e5d2e5de8c6b5541fd25f1ddaafccee52f7bd22a775d6f6c7c80
DIST opera-9.50-20080221.9-static-qt.i386-1823.tar.bz2 7855294 RMD160 e9d4cabb4d0d7f6ebed85e24629e9186f2ac2be4 SHA1 4651c02890a815728965b779e9f579005cc92afb SHA256 897cfb3bb6508dad552e49b26fdf4a50c852f2755884d74b995e7ff3e5e0ec32
+DIST opera-9.50-20080229.2-shared-qt.x86_64-1834.tar.bz2 6205970 RMD160 679883b23165a3afb3cb80ea4110dac83797ded7 SHA1 219ce87d3b1030b72b5e155bede06d507814c45f SHA256 e8cc73c4c84ffaa1f4870ad54f07d00494e9fb4a9c1e408814cdfb837f97279f
+DIST opera-9.50-20080229.3-shared-qt.i386.freebsd-1834.tar.bz2 5711111 RMD160 0e758dbf066b4247ff4ae1718c4fc4a6ca0b80c0 SHA1 d726b368cae5966d4f7cb3d419f10f2a347a9421 SHA256 43c57fec0573814595cd06700c94b3acd96f789b31ac77de8558ee2883f1a508
+DIST opera-9.50-20080229.5-static-qt.i386.freebsd-1834.tar.bz2 7623497 RMD160 d9afa33c060895e804017738b1f5cafb8af4335a SHA1 d1907000d2571f253a178a1508b22ffb5d6d8f0e SHA256 16f077e9694d0bb9ff7b3dcb100adb588477bb5677c379b0ebc495edb57e1c6c
+DIST opera-9.50-20080229.6-shared-qt.i386-1834.tar.bz2 5622383 RMD160 e1c00096750b59af6a16c4de22603960ddbd785e SHA1 d6a33c7f65afeea9539a6eb1c9bd3817a382354b SHA256 ac60868d91dcc606fcf6d545af93786cb4d7fb8a6946f949de04012d986e364a
+DIST opera-9.50-20080229.6-shared-qt.ppc-1834.tar.bz2 5682399 RMD160 aac863471451e94a98cd34fcde39c14b94686a73 SHA1 9003546574dda0aaf1b09f453b3e4637a8b5db34 SHA256 e3a2c6a9049e51cfaafe289dd862ca5791c150c4b02296dd4d5ce11c3d0090fc
+DIST opera-9.50-20080229.9-static-qt.i386-1834.tar.bz2 7863292 RMD160 85803eb790413155d8d7843cc829f748eeb5d54d SHA1 5e29289f5058db9f7182e3caac3f08f68c3f8b83 SHA256 e51f5f2c853b02f36ecb592a21c9482b1fac9e7674cf4b6330f1f82f22909a3a
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
@@ -56,5 +62,6 @@ EBUILD opera-9.50_beta2_p1772.ebuild 5515 RMD160 82c16d057c76d0d65c8fdf0327b0344
EBUILD opera-9.50_beta2_p1786.ebuild 5515 RMD160 e754c13de44035f9b50fc43c97787558c68bbac1 SHA1 1c8c79d6c6edb19e4ce8178dcc74b571e0a81373 SHA256 f93a784e727b94dd6abe179355ef1112769908aa3fa67d7e8bd9c03ce8fc7af8
EBUILD opera-9.50_beta2_p1800.ebuild 5365 RMD160 6602d77f6f607709cc60d5a8c4cb7e8b3b21cd20 SHA1 ffdafe09767ae37ca6f77dff3f50cad29939f513 SHA256 f3f0c6f97361a858da8b83420adcdf6fd7a625a411c3c3bf7c463a85159a2c35
EBUILD opera-9.50_beta2_p1823.ebuild 5470 RMD160 ea902595a806e851ffec55abdce7a8911dc3d2a7 SHA1 11be6637f473180abdafbf65fdbcff1ac233208b SHA256 172eb2e2adb5b7955c7d096deb5c422c583652b597afc13e4c5882e9ac511fee
-MISC ChangeLog 43961 RMD160 ebfe2bb3426ac1cc3c7dad556205300a84dc936b SHA1 3879f008b232a0cad1b36c18875fb2495174d391 SHA256 95f813163e57d70143a8a40d392ceb27238467253648e68ca0cdc0a14b961bad
+EBUILD opera-9.50_beta2_p1834.ebuild 5470 RMD160 91fd1555b21253bf34e0b0350ca588031b2d4a51 SHA1 178f62271cbc0bcf6c7eee6e0497893b53a54388 SHA256 5bcccaefa25ea021ce847e8e669219f1c9ae42d57d12b63bd4f3c0da74814e7a
+MISC ChangeLog 44164 RMD160 b4d3e59addd1c964fe81b73ab48b4acbb05672b8 SHA1 76d6629dbf411db4f76fb606430544a782df4b4d SHA256 54c7662cd646e91cdb0c9e97da1aa0c786ee373e9cefe0fa4ede178c047e0384
MISC metadata.xml 371 RMD160 9ce4bac73fb1a6fb95290774b2a6a09e23be1998 SHA1 dde7f60d2a566274f7997a7d691922a1278a3558 SHA256 192dad9e5e302573e365663703055daac67ab3d40cb1e081cab9927bbc1ddbaa
diff --git a/www-client/opera/opera-9.50_beta2_p1834.ebuild b/www-client/opera/opera-9.50_beta2_p1834.ebuild
new file mode 100644
index 000000000000..871d6e406f89
--- /dev/null
+++ b/www-client/opera/opera-9.50_beta2_p1834.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_p1834.ebuild,v 1.1 2008/02/29 16:19:50 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="1834"
+O_VER="9.50-20080229"
+
+O_URI="http://snapshot.opera.com/unix/snapshot-${O_SUFF}/"
+
+SRC_URI="
+ ppc? ( ${O_URI}ppc-linux/${PN}-${O_VER}.6-shared-qt.ppc${O_LNG}-${O_SUFF}.tar.bz2 )
+ amd64? ( ${O_URI}x86_64-linux/${PN}-${O_VER}.2-shared-qt.x86_64${O_LNG}-${O_SUFF}.tar.bz2 )
+ qt-static? (
+ 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? (
+ 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* )
+ ppc? ( =x11-libs/qt-3* )
+ spell? ( app-text/aspell )
+ x86-fbsd? ( =x11-libs/qt-3* =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
+}