summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2008-10-30 17:34:08 +0000
committerJeroen Roovers <jer@gentoo.org>2008-10-30 17:34:08 +0000
commit507efc3dd17e34a3309ac37b2a504e8a6bfdbfed (patch)
tree7d69db7331d437b8b102bfa6a86e34e4aa0033f1 /www-client/opera
parentRepoman died with: (diff)
downloadhistorical-507efc3dd17e34a3309ac37b2a504e8a6bfdbfed.tar.gz
historical-507efc3dd17e34a3309ac37b2a504e8a6bfdbfed.tar.bz2
historical-507efc3dd17e34a3309ac37b2a504e8a6bfdbfed.zip
Version bump (bug #244980).
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.25-gentoo-r7-JeR i686
Diffstat (limited to 'www-client/opera')
-rw-r--r--www-client/opera/ChangeLog7
-rw-r--r--www-client/opera/Manifest19
-rw-r--r--www-client/opera/opera-9.62.ebuild252
3 files changed, 266 insertions, 12 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index ec1b9f3804cb..b2db78e79452 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,11 @@
# 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.300 2008/10/24 22:58:51 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.301 2008/10/30 17:34:08 jer Exp $
+
+*opera-9.62 (30 Oct 2008)
+
+ 30 Oct 2008; Jeroen Roovers <jer@gentoo.org> +opera-9.62.ebuild:
+ Version bump (bug #244980).
24 Oct 2008; Markus Meier <maekke@gentoo.org> opera-9.61.ebuild:
x86 stable, bug #243060
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 18628217ef31..5e0f157b8041 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX opera-9.00-install.patch 320 RMD160 2bc2e345193c007d10db4b39335e7695cd85e4ba SHA1 aff6a31af75ffe1b073059ae5b89d3416daac384 SHA256 c0415f9832624b0f4527b4707f01f1bf069bc9cb63c25fc180218c5543471ed2
AUX opera-9.21-pluginpath.patch 387 RMD160 009157fd0f3e32e3409dd3fdd3be3c03bd90eb1e SHA1 0533c681e26f2521c38a93e3c731ffe42cd1f54d SHA256 4fc3ae28d7d105bd45c30a45696222cd2bfa9e49bd32c2e7cb8073dd59b2da19
AUX opera-9.23-pluginpath-fbsd.patch 297 RMD160 d2f1039d2d84f6fd0b7dc1430ade806431b74d70 SHA1 28640e570ef2654baae09337ab18b9444ea0c975 SHA256 5f3f7ae85c4329d54f9aeeaf16e5db280c4c966d5f776342946da2231163a482
@@ -27,15 +24,15 @@ DIST opera-9.61.gcc4-shared-qt3.i386.tar.bz2 7342201 RMD160 43c5842a74268223e13f
DIST opera-9.61.gcc4-shared-qt3.ppc.tar.bz2 7406368 RMD160 31b5bc666841510c68c1c6d4e0c528e932d72e66 SHA1 0947fa0a8f8488ed675b67f761b62d90ae4cfac5 SHA256 3d6f9b202325b8455e73790d16d01b78b9552c0fc6cf27a69bfc0d245b4a7a34
DIST opera-9.61.gcc4-shared-qt3.x86_64.tar.bz2 7952833 RMD160 2de2c612615e7cd248d8dc8cf81379da7f6840d1 SHA1 5c7ea81cf5022d48eab05c3bb324a605cd5ac058 SHA256 7614b3a6c345124b276d650d42d00b074d41e97fcd92717323affd72f3f8e972
DIST opera-9.61.gcc4-static-qt3.i386.tar.bz2 9265862 RMD160 a954fadea30bb8b3e64dde615051250a50f89d5b SHA1 097bb955a4ccdfd80019a306e1d5367219ff7857 SHA256 528868f581833db2833567eb136d29a590b5148c02e6fce7f1b763e959f75e18
+DIST opera-9.62-freebsd5-shared-qt3.i386.tar.bz2 7486872 RMD160 51d04edf3b7325952b1994ac7500b47149db4258 SHA1 211054fdf1c62433aa634d7ada82f30d38d68641 SHA256 fee89e3bc9578a85aa686294272f3de28475fe1c72f151e1a05435836e6fae0f
+DIST opera-9.62.gcc4-qt4.i386.tar.bz2 9565863 RMD160 6a6cf6dadc0dca8ba9d15a08592453d06c9cf83a SHA1 73a2ee5d03cf1a32118e17dc6646dd439429bb81 SHA256 5cc6b6ec73dcee6141dcbffb3c2b5e7b6d7925c787ef14a0ded6cfc85dfb5991
+DIST opera-9.62.gcc4-shared-qt3.i386.tar.bz2 7341368 RMD160 95e0b4b779810ed76d5bce9650f145ff9c82e827 SHA1 d0667db37743084774a3ae6513c9ac47a36b1f46 SHA256 de614b277e909b9d02586e63143a1142e4f12423e9eca9134c24f392d37002a3
+DIST opera-9.62.gcc4-shared-qt3.ppc.tar.bz2 7408013 RMD160 6f82d25c08dbcbf02948cd49f91f5aeffdb89591 SHA1 ea4d949724882128c86e09ed1852ffeda8cf9aab SHA256 4e20c531e7abce9d42dff501cb1fa7f1d14938295ae3253fae36343ce1e649e6
+DIST opera-9.62.gcc4-shared-qt3.x86_64.tar.bz2 7953641 RMD160 1da00ef57f292434d2e3fc588e9730304ce5d1da SHA1 ae6894e5698b3c448cd2ee377b96ba913892e016 SHA256 976d1d80e7252be1d395f2d69814b046bff22b236ffcce218153b78f86b22662
+DIST opera-9.62.gcc4-static-qt3.i386.tar.bz2 9265616 RMD160 3cc970dce3656f68842e8e34666c0e17c79a567c SHA1 c03bba3c1b5e8421608a23f22e9300fe859a4153 SHA256 55c41ca2627687eba794c819f9b4357182dd8c76ac04df4f1e1c594947d1b1ff
EBUILD opera-9.27.ebuild 5937 RMD160 fe418d4b5a2f34664f46bb6bcee56b27f3d182e0 SHA1 bda2f3ec16759f92c4227203a3a22927cd3b811e SHA256 fff41046fb4e6c58fc1c4cb73df98857c1c2ea89a9c6131aa03f3ce6aee19e98
EBUILD opera-9.60.ebuild 7655 RMD160 06514436f64ee91b062c08e4f6a0006a3f18df91 SHA1 c176826f8e086aa5b04f699df11a73fec2696153 SHA256 c12a811ee2f62418188d18a520717359d31aa14d22a2a67245d4cc419d336228
EBUILD opera-9.61.ebuild 7659 RMD160 e0b17aa23662596cfe7365e4b48892e81af6e3f6 SHA1 eb043c53f3021b2e6ae0926e285726a0ccbd3ac6 SHA256 d2309ca52a6a003bc51c46297d369b12d0af7f4d9ffc597d7259c2ca5432f9dd
-MISC ChangeLog 59947 RMD160 b2bf63f129d91a9d6dd07f7f4d678082825f3000 SHA1 d55b80a4481c74672f4e89481514fcbf429b31ad SHA256 d5a0f364d8675e484fc6cebf0c895d1312dbe5124d9ee5645f23dd5bc4a0f154
+EBUILD opera-9.62.ebuild 7668 RMD160 5e7ed8b3d60318bb666e8ec1b7586dda90c853d5 SHA1 cfd4852b3d7edf576dad117a33f2a971e727d99c SHA256 c04ab0154339d2930152b542a9f7cecad272819e9169e5cd14bc41c6c3b17824
+MISC ChangeLog 60069 RMD160 018f5f744c0635bce9688880815415f99876ff01 SHA1 a3d11fc55c1064df2dbcbb890803050a8b740ef0 SHA256 dd4320674448c817019df419048490da607f7ed23c89aade0b1e6780504ce6db
MISC metadata.xml 697 RMD160 704ad62aa31055fa9c677a77b86ae8aab2a919aa SHA1 809cd142def2fe81ecce28c5d9fb8d54abb52120 SHA256 e65a1cc3846a285fa12fa8a751722c21baa2df029fbdf15b4ec86581dd911657
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkkCU4QACgkQkKaRLQcq0GKH1QCgr3z+Sgkfl4iHlVwPPROUtDvr
-dYIAoKdRwV10Ie6694zKsZAJqzXqyAiL
-=ZkcW
------END PGP SIGNATURE-----
diff --git a/www-client/opera/opera-9.62.ebuild b/www-client/opera/opera-9.62.ebuild
new file mode 100644
index 000000000000..7b545d4426aa
--- /dev/null
+++ b/www-client/opera/opera-9.62.ebuild
@@ -0,0 +1,252 @@
+# 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.62.ebuild,v 1.1 2008/10/30 17:34:08 jer Exp $
+
+GCONF_DEBUG="no"
+
+inherit eutils gnome2
+
+DESCRIPTION="A standards-compliant graphical Web browser"
+HOMEPAGE="http://www.opera.com/"
+
+SLOT="0"
+LICENSE="OPERA-9.0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RESTRICT="mirror strip test"
+
+IUSE="elibc_FreeBSD gnome ia32 qt-static qt3-static spell"
+MY_LINGUAS="be bg cs da de el en en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id
+ it ja ka ko lt mk nb nl nn pl pt pt-BR ru sv ta te tr uk zh-CN zh-TW"
+
+for MY_LINGUA in ${MY_LINGUAS}; do
+ IUSE="${IUSE} linguas_${MY_LINGUA/-/_}"
+done
+
+O_URI="mirror://opera/"
+O_FTP="/962/final/en/"
+O_SUFF="2466"
+
+SRC_URI="
+ x86-fbsd? ( ${O_URI}unix/freebsd/962/en/intel/shared/${P}-freebsd5-shared-qt3.i386.tar.bz2 )
+ ppc? ( ${O_URI}linux${O_FTP}ppc/shared/${P}.gcc4-shared-qt3.ppc.tar.bz2 )
+ qt-static? (
+ qt3-static? (
+ amd64? (
+ ia32? ( ${O_URI}linux${O_FTP}i386/static/${P}.gcc4-static-qt3.i386.tar.bz2 )
+ !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 )
+ )
+ x86? ( ${O_URI}linux${O_FTP}i386/static/${P}.gcc4-static-qt3.i386.tar.bz2 )
+ )
+ !qt3-static? (
+ amd64? (
+ ia32? ( ${O_URI}linux${O_FTP}i386/${P}.gcc4-qt4.i386.tar.bz2 )
+ !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 )
+ )
+ x86? ( ${O_URI}linux${O_FTP}i386/${P}.gcc4-qt4.i386.tar.bz2 )
+ )
+ )
+ !qt-static? (
+ qt3-static? (
+ amd64? (
+ ia32? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 )
+ !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 )
+ )
+ x86? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 )
+ )
+ !qt3-static? (
+ amd64? (
+ ia32? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 )
+ !ia32? ( ${O_URI}linux${O_FTP}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 )
+ )
+ x86? ( ${O_URI}linux${O_FTP}i386/shared/${P}.gcc4-shared-qt3.i386.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
+ x86? ( !qt-static? ( !qt3-static? ( =x11-libs/qt-3* ) ) )
+ amd64? (
+ ia32? ( app-emulation/emul-linux-x86-qtlibs )
+ !ia32? ( =x11-libs/qt-3* )
+ )
+ ppc? ( =x11-libs/qt-3* )
+ spell? ( app-text/aspell )
+ x86-fbsd? (
+ =virtual/libstdc++-3*
+ !qt-static? ( !qt3-static? ( =x11-libs/qt-3* ) )
+ )
+ "
+
+opera_cd() {
+ cd "${WORKDIR}"/${O_P}* || die "failed to enter work directory"
+ S="$(pwd)"
+ einfo "Working in ${S}"
+}
+
+src_unpack() {
+ unpack ${A}
+ opera_cd
+
+ #epatch "${FILESDIR}/${PN}-9.00-install.patch"
+ epatch "${FILESDIR}/${PN}-gentoo.patch"
+ epatch "${FILESDIR}/${PN}-simplify-desktop.patch"
+ epatch "${FILESDIR}/${PN}-freedesktop.patch"
+
+ # bug #181300:
+ if use elibc_FreeBSD; then
+ epatch "${FILESDIR}/${PN}-9.50-pluginpath-fbsd.patch"
+ else
+ epatch "${FILESDIR}/${PN}-9.50-pluginpath.patch"
+ fi
+
+# 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"
+
+ sed -i -e "s:config_dir=\"/etc\":config_dir=\"${D}/etc/\":g" \
+ -e "s:\(str_localdirplugin=\).*$:\1/opt/opera/lib/opera/plugins:" \
+ -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \
+ -e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\1:' \
+ 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() {
+ opera_cd
+ # 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'
+
+ # Adapt desktop file to Gnome when needed
+ use gnome && sed -i -e s:"GenericName\[":"Comment\[": "${D}"/usr/share/applications/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=${P}.1
+ else
+ use sparc && DIR=${P}.2 || DIR=${P}.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
+
+ # Remove unwanted LINGUAS:
+ local LINGUA
+ local LNGDIR="${D}/opt/opera/share/opera/locale"
+ einfo "Keeping these locales: ${LINGUAS}."
+ for LINGUA in ${MY_LINGUAS}; do
+ if ! use linguas_${LINGUA/-/_}; then
+ LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
+ rm -r "${LINGUA}"
+ fi
+ done
+}
+
+pkg_postinst() {
+ use gnome && gnome2_pkg_postinst
+
+ elog "To change the UI language, choose [Tools] -> [Preferences], open the"
+ elog "[General] tab, click on [Details...] then [Choose...] and point the"
+ elog "file chooser at /opt/opera/share/opera/locale/, then enter the"
+ elog "directory for the language you want and [Open] the .lng file."
+ 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 current Opera builds 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
+}