summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2008-06-10 17:48:31 +0000
committerJeroen Roovers <jer@gentoo.org>2008-06-10 17:48:31 +0000
commitf08f753c777e2c42eb73995e9afa7f5eaa68914e (patch)
tree0fa6175d3b5e9ad7d73a8a14e97e495b4aa1d6ab /www-client
parentFix broken compiling on glibc-2.8 boxes (#225611). (diff)
downloadhistorical-f08f753c777e2c42eb73995e9afa7f5eaa68914e.tar.gz
historical-f08f753c777e2c42eb73995e9afa7f5eaa68914e.tar.bz2
historical-f08f753c777e2c42eb73995e9afa7f5eaa68914e.zip
Version bump <http://my.opera.com/desktopteam/blog/2008/06/10/opera-9-5-rc-prepare-for-launch>.
Package-Manager: portage-2.1.5.4
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog9
-rw-r--r--www-client/opera/Manifest8
-rw-r--r--www-client/opera/opera-9.50_beta2_p2034.ebuild200
3 files changed, 215 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 3068ba656327..5e5471c37312 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,13 @@
# 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.235 2008/06/07 15:39:39 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.236 2008/06/10 17:48:31 jer Exp $
+
+*opera-9.50_beta2_p2034 (10 Jun 2008)
+
+ 10 Jun 2008; Jeroen Roovers <jer@gentoo.org> +opera-9.50_beta2_p2034.ebuild:
+ Version bump
+ <http://my.opera.com/desktopteam/blog/2008/06/10/opera-9-5-rc-prepare-for-la
+ unch>.
*opera-9.50_beta2_p2025 (07 Jun 2008)
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 3bdb4187a219..dba0cd8893c3 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -49,6 +49,11 @@ DIST opera-9.50-2025.gcc4-qt4.i386.tar.bz2 9240760 RMD160 13628e7866b2b0452a79c4
DIST opera-9.50-2025.gcc4-shared-qt3.i386.tar.bz2 7008372 RMD160 8ddcd12917c4d6166d960831b3f822a1525b1539 SHA1 3a009b4d6a6b253cfa70a5cf1e9e5994ef3fb94e SHA256 71b62385f4408f0155d1b9e3e5abf911642c6df290eaf344bff16e54ae8d82c1
DIST opera-9.50-2025.gcc4-shared-qt3.ppc.tar.bz2 7077665 RMD160 1ba9ecec4dbc9bd6ca9b3e7fd12fa844df63e88d SHA1 c728d19db66db559d7fb61ddbcfec7948a706ae1 SHA256 1456628d3abe1286f36d56327befb728a8c599c63a5e221f296dedd341151232
DIST opera-9.50-2025.gcc4-shared-qt3.x86_64.tar.bz2 7606535 RMD160 ac1b1c3ceba6f5023e42ca4c98a7306b1056aab7 SHA1 9f51a9fe9ef61dbbd3c3ca7f7ef4d25d1d4d1625 SHA256 e517a62fddc5baa8d235e31460f3ba485bc1f77ce0f0f86ad3ee91c7bd9e9249
+DIST opera-9.50-2034.freebsd5-shared-qt3.i386.tar.bz2 7103058 RMD160 0fb2665c3432f0d2ddc0e6f8d1a7357ea4d59d7f SHA1 9c256b7147e615e6b8c80a49c1fcf91f33d97286 SHA256 de6797aa9f1258d1c82c5c66d4a20cab3cd2298a4640242a049d97ce8adb5ad5
+DIST opera-9.50-2034.gcc4-qt4.i386.tar.bz2 9234688 RMD160 35ed4536d4a9c861296c8b1bf376f288987f7e69 SHA1 0226b87b890a6236371af917cffcbaef5015756c SHA256 9f3ba80c09cef965eaac6bce4c768ed4c1dbff2422825b9051017d903bdc65ef
+DIST opera-9.50-2034.gcc4-shared-qt3.i386.tar.bz2 7003093 RMD160 8c4d767b946eb56aa860bf154476ff5d932f41f2 SHA1 a4ded451de1de1cca71457ba13c686af228f1a91 SHA256 9c3fd1951e6089e33269411ba28fbb99eb1d2dc308ddcaaea74c33430a2dcf98
+DIST opera-9.50-2034.gcc4-shared-qt3.ppc.tar.bz2 7075666 RMD160 aa2b57dea28cf3b26c1741493532fae8ab778846 SHA1 ce9e85c715ce66a3a5bf8874022826d071e2f019 SHA256 cb0350da3b0ab5336020cc85cfc36dfcdca62ffd2435b967b498ede145019894
+DIST opera-9.50-2034.gcc4-shared-qt3.x86_64.tar.bz2 7603563 RMD160 c866a34d7ef0e6178ecfd9824febc0d2be1aac09 SHA1 d7b9b88e15b000fda3194fcc978bc26c13680c3a SHA256 13439474694acdea59c92d1085fb5122e11b0e5deb43c99559d1121e6525a852
DIST opera-9.50b2-20080422.1-static-qt.ppc-en.tar.gz 8383516 RMD160 ee6d36d934834a1f0f9ad9036364d88ebbbdc6f4 SHA1 f62553dcd02b2842d34a0caba697514426ced7c9 SHA256 91d61452aa7a7cfe0eaff624d1faa04974e0a55b853ce7eb2fc246fe21b1fde8
DIST opera-9.50b2-20080422.2-shared-qt.x86_64.tar.gz 6780759 RMD160 376536d7ffc2c4396d7d8899ccadba77b5370fcb SHA1 811d0538bdb15e9bb41e83bcc43c26180e77c177 SHA256 4c92e723f52a17ed412ec5d3ea1099a73324bee4ddd3a71ae69aa3eebb078f2d
DIST opera-9.50b2-20080422.3-shared-qt.i386.freebsd.tar.bz2 5796100 RMD160 44962addbf5871918953726e67003639fb45a7e8 SHA1 c654bf3121538bb8aba20657e4ce1bf6b682cbbe SHA256 a13ad2bddb5bde702d7d964791c345c08b6c46bc8a9d5406830e1f665ec5420d
@@ -66,5 +71,6 @@ EBUILD opera-9.50_beta2_p1992.ebuild 5958 RMD160 f5adf9f3e55a5fdbea67b29762981d7
EBUILD opera-9.50_beta2_p1997.ebuild 5958 RMD160 b5dba4bb7f2fbd65eb2141a793567b5f4aed9752 SHA1 569230d50bb52b0380f36f69f315fa91789a1cc9 SHA256 8eab02e141f915baab7adad39182916d0b9df6ab5c31f9d68b94f88f02b8c06c
EBUILD opera-9.50_beta2_p2021.ebuild 5958 RMD160 70243479480faff6d2f3c97c668889e6c2789b86 SHA1 1f82475bed8dafed3d48cf3749703e23cad5358c SHA256 4cc66e44587c222be9c31fcd65324f507d3c5ec035265c255118c1b184bca48f
EBUILD opera-9.50_beta2_p2025.ebuild 5958 RMD160 eeccbf00cb02ecda5c14295ac54f063d21ed877b SHA1 dc59aa5c5bf34ec0c5cd6ce25e657555cb79ec6a SHA256 a225ee36520c17371d176a7d4d161ffe24bdf7cab60d553eb89ce9e0e5657666
-MISC ChangeLog 49582 RMD160 d8a4169f6a57c27e40157ba24c7bc9ba50401791 SHA1 626b5878408e28015e89636cec3e818889819526 SHA256 fb37a57bda578ea5e3e616905ea2b7f60b0c6e2ae0312b7d36940b865cf76972
+EBUILD opera-9.50_beta2_p2034.ebuild 5958 RMD160 7f3c2d4a1eb0ddc42226b07ba32678927a90dca0 SHA1 a74c8eb1b51421359bd4b1d4fe8e31f256f83ed1 SHA256 fdda56f4bcd464fcc8d558dbbca3c74f657724e987478ee0d333adb0c23e0449
+MISC ChangeLog 49804 RMD160 da6b7ee93d5a8868cfd0e74df339c91ffef5f7a8 SHA1 2f0e0146e051553d5eee7dcffae84d324ea04bf5 SHA256 e22571d15600cd1797398ef9cc9bc0e28b96b2636d448bcc7326b78dc9d357f0
MISC metadata.xml 371 RMD160 9ce4bac73fb1a6fb95290774b2a6a09e23be1998 SHA1 dde7f60d2a566274f7997a7d691922a1278a3558 SHA256 192dad9e5e302573e365663703055daac67ab3d40cb1e081cab9927bbc1ddbaa
diff --git a/www-client/opera/opera-9.50_beta2_p2034.ebuild b/www-client/opera/opera-9.50_beta2_p2034.ebuild
new file mode 100644
index 000000000000..ba90d6355ac5
--- /dev/null
+++ b/www-client/opera/opera-9.50_beta2_p2034.ebuild
@@ -0,0 +1,200 @@
+# 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_p2034.ebuild,v 1.1 2008/06/10 17:48:31 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"
+
+RESTRICT="mirror strip test"
+
+IUSE="elibc_FreeBSD gnome qt-static spell"
+MY_LINGUAS="be bg cs da de el en en-GB es-ES es-LA fi fr fr-CA fy hi
+hr hu it ja ka ko lt mk nb nl nn pl pt pt-BR ru sv tr zh-CN zh-TW"
+
+for MY_LINGUA in ${MY_LINGUAS}; do
+ IUSE="${IUSE} linguas_${MY_LINGUA/-/_}"
+done
+
+O_SUFF="2034"
+O_VER="${PN}-9.50-${O_SUFF}"
+O_URI="http://snapshot.opera.com/unix/snapshot-${O_SUFF}/"
+
+SRC_URI="
+ amd64? ( ${O_URI}x86_64-linux/${O_VER}.gcc4-shared-qt3.x86_64.tar.bz2 )
+ ppc? ( ${O_URI}ppc-linux/${O_VER}.gcc4-shared-qt3.ppc.tar.bz2 )
+ x86-fbsd? ( ${O_URI}intel-freebsd/${O_VER}.freebsd5-shared-qt3.i386.tar.bz2 )
+ qt-static? (
+ x86? ( ${O_URI}intel-linux/${O_VER}.gcc4-qt4.i386.tar.bz2 )
+ )
+ !qt-static? (
+ x86? ( ${O_URI}intel-linux/${O_VER}.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
+ !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
+
+ # 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 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
+}