summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog9
-rw-r--r--www-client/opera/Manifest7
-rw-r--r--www-client/opera/opera-10.00_pre4214.ebuild220
3 files changed, 234 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index ef99950d5664..325926203263 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-client/opera
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.328 2009/03/10 17:01:55 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.329 2009/03/13 19:46:56 jer Exp $
+
+*opera-10.00_pre4214 (13 Mar 2009)
+
+ 13 Mar 2009; Jeroen Roovers <jer@gentoo.org> +opera-10.00_pre4214.ebuild:
+ Version bump
+ <http://my.opera.com/desktopteam/blog/2009/03/13/opera-turbo-labs-release>
+ .
10 Mar 2009; Jeroen Roovers <jer@gentoo.org> opera-10.00_pre4205.ebuild:
Readd ~ppc. Remove redundant media-libs/libpng dependency.
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 8a7a1f76642f..e98dc4094048 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -36,6 +36,10 @@ DIST opera-10.00-4205.gcc4-shared-qt3.i386.tar.bz2 7946791 RMD160 7c972aca5aed32
DIST opera-10.00-4205.gcc4-shared-qt3.ppc.tar.bz2 8030734 RMD160 ebd627f42cee931ceb94847cdec630f020b4166b SHA1 7d8321da68647f8302c19ca8df2223b128b94763 SHA256 86f2541a45010aa4d42c6c3468ef09b6a70616aaecec08e461eb6f2cb6cd4977
DIST opera-10.00-4205.gcc4-shared-qt3.x86_64.tar.bz2 8618335 RMD160 eed8003276686563c12cb9b0f2c107b7e016627f SHA1 c6fe410267843a24e4b47b62939465665868c2c7 SHA256 c7d069e2ccf332fa961bada7d0b0f96b57f7c31f3a70016ca0b9996d6b6403ca
DIST opera-10.00-4205.gcc4-static-qt3.i386.tar.bz2 9848358 RMD160 b4c1bd51f8bb4e34517115dc936158b9bb1d220d SHA1 a35540c35aa120e2b1654c08910f1433132fe759 SHA256 513e777020a59444de3ad1727b3d4ea3afca1b137b962e5ac921df38451bbb82
+DIST opera-10.00-4214.gcc4-bundled-qt4.i386.tar.bz2 12753187 RMD160 e8177b4069e1cb8f58c7011f31b190a14f90bafb SHA1 3fe3b30863660d091c6e5483ffd4a989a76a2164 SHA256 70391f6bb57c52c85aadff0dd5f8c670cc3a5616efe1adf3e2db40fcd7867681
+DIST opera-10.00-4214.gcc4-qt4.i386.tar.bz2 7937227 RMD160 b0e80901a066c74b599d08b8b6d74603ca3860cd SHA1 0a939be31a8c6c663b94968f1aebf726f0a64c5e SHA256 8bb8cb9bd62e3b2319910b1fffa0d12eaa201cedbed9096ec4f151f4fb141aa3
+DIST opera-10.00-4214.gcc4-shared-qt3.i386.tar.bz2 7969230 RMD160 c925fbbd4efb2c2cc68a8e5771a97586b93571a3 SHA1 9c3ea5dec7e4796f419aa31f75929f772f6b30f3 SHA256 3c34ee75066ab0939f7c1c10ee081237a9c88c8b6a9ebf425c37003814589244
+DIST opera-10.00-4214.gcc4-shared-qt3.x86_64.tar.bz2 8645763 RMD160 aaaee3f10a777cca11ecd2f9d05f6713aeb935b0 SHA1 c4e9108246e951a21339f00ced7eba28d008c98e SHA256 ca92d75631cf1b77e9c11fc2936e3b770b885ab2d00c9ccbadf00f19f6b541ed
DIST opera-9.27-20080331.1-static-qt.i386-en.tar.bz2 6813669 RMD160 353adab3fa9a401720264738ea7494c184b0df2e SHA1 4fee1c05b31be9e11fbe78c127809c3f550b775a SHA256 3f76e709ee4896abb8aa5dfc5ce7c1b75f476faf947c1f6bb8b125d0726bc031
DIST opera-9.27-20080331.1-static-qt.i386.freebsd-en.tar.bz2 6561843 RMD160 14264eb3e249e4c23625f9a8d521a84d382077fd SHA1 8853366a874cb18a6eff86b7ce5c63923984e0a3 SHA256 ac695d429e859f2764d4c3d80798b0bcce9a8670c83ebe61ef568d197bd61aab
DIST opera-9.27-20080331.1-static-qt.ppc-en.tar.bz2 6860940 RMD160 5e109dabb20cc8d7afc6a2ef96e274f5e4eb973c SHA1 3a6e8d565ed3a2d0373be3e36324818a7e54fedb SHA256 f3dff4eae0092a55868aa778aa14000407a13e7909f0e493c1a38c58c2bdc56d
@@ -54,7 +58,8 @@ EBUILD opera-10.00_pre4126-r1.ebuild 6542 RMD160 717a529bd1b4d1fb25779b4f8a76a13
EBUILD opera-10.00_pre4126.ebuild 6610 RMD160 05c2d71748d52f635b22773c75fb8df693312bf5 SHA1 3f62cf36a909b32be36aadf0dbff59c63746b048 SHA256 86cdc3eddbd1eab134c394f4bf551670ff0c9f8ed37a25cfddd88b227fe3cdd1
EBUILD opera-10.00_pre4166.ebuild 6447 RMD160 8c7d7b04ec2bcd8a2c408f4d19837f64f5c2e303 SHA1 0d95b61183ec7b31752735198b948df48e940e11 SHA256 f988801322f8ac6714b0d7108273eb571b152f3b58d0ed25992b55c82d0ae639
EBUILD opera-10.00_pre4205.ebuild 6488 RMD160 4b9bef1c8d25078feb04be2f4be03ec29e7b9df6 SHA1 3324b15730135760b9eb9f96d73eba5fc26cb4b6 SHA256 dd8d616501ca9831dd2e1450d61cf894eece6b6be8f55487a94714193516306e
+EBUILD opera-10.00_pre4214.ebuild 6242 RMD160 9f4848fe667db7dfb3da920238fcef5f01e8a7a1 SHA1 f8b2ba0f09e83e373f1529cddb6a097adc7a1094 SHA256 e57b29016850f757dcb7bac7a45e3c1a7439708e4c03bde9c15a48f32d1e9af5
EBUILD opera-9.27.ebuild 5937 RMD160 fe418d4b5a2f34664f46bb6bcee56b27f3d182e0 SHA1 bda2f3ec16759f92c4227203a3a22927cd3b811e SHA256 fff41046fb4e6c58fc1c4cb73df98857c1c2ea89a9c6131aa03f3ce6aee19e98
EBUILD opera-9.64.ebuild 7742 RMD160 6da55d636cb1a838551114c43933d9716ac6aeef SHA1 904894164f726a11e18d5032a8f5b8fddedc08e5 SHA256 8c029dedc573770d7b86dbc8f210b12b0a0ab3567250810c0ad5599ac98c9e24
-MISC ChangeLog 63930 RMD160 486150ad7edfacc6b54d041b7fa29ea15dbb4522 SHA1 f7d2ee18408617c8b6078e93bfb22df8b7185304 SHA256 acdb36d0375968fdd383e895d1c31dc77096efbafae20368871cf05b114ab82c
+MISC ChangeLog 64139 RMD160 57bbcd8a4865153c40d583eeb06d4fe290941a4e SHA1 7eb8ab77369d5487d060ba30b4234842566275e2 SHA256 2f1b5a8dcc1de4ed8c906aa76c2bcd2077d0385eb39e2fe62cc4d0be84ddc614
MISC metadata.xml 697 RMD160 704ad62aa31055fa9c677a77b86ae8aab2a919aa SHA1 809cd142def2fe81ecce28c5d9fb8d54abb52120 SHA256 e65a1cc3846a285fa12fa8a751722c21baa2df029fbdf15b4ec86581dd911657
diff --git a/www-client/opera/opera-10.00_pre4214.ebuild b/www-client/opera/opera-10.00_pre4214.ebuild
new file mode 100644
index 000000000000..2415ce4c0b0e
--- /dev/null
+++ b/www-client/opera/opera-10.00_pre4214.ebuild
@@ -0,0 +1,220 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.00_pre4214.ebuild,v 1.1 2009/03/13 19:46:56 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 ~x86"
+
+RESTRICT="mirror strip test"
+
+IUSE="elibc_FreeBSD gnome ia32 qt-static qt3"
+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_U="http://snapshot.opera.com/unix/10-turbo/"
+O_P="${P/_pre/-}"
+
+SRC_URI="
+ qt-static? (
+ qt3? (
+ amd64? (
+ ia32? ( ${O_U}intel-linux/${O_P}.gcc4-bundled-qt4.i386.tar.bz2 )
+ !ia32? ( ${O_U}x86_64-linux/${O_P}.gcc4-shared-qt3.x86_64.tar.bz2 )
+ )
+ x86? ( ${O_U}intel-linux/${O_P}.gcc4-bundled-qt4.i386.tar.bz2 )
+ )
+ !qt3? (
+ amd64? (
+ ia32? ( ${O_U}intel-linux/${O_P}.gcc4-bundled-qt4.i386.tar.bz2 )
+ !ia32? ( ${O_U}x86_64-linux/${O_P}.gcc4-shared-qt3.x86_64.tar.bz2 )
+ )
+ x86? ( ${O_U}intel-linux/${O_P}.gcc4-bundled-qt4.i386.tar.bz2 )
+ )
+ )
+ !qt-static? (
+ qt3? (
+ amd64? (
+ ia32? ( ${O_U}intel-linux/${O_P}.gcc4-shared-qt3.i386.tar.bz2 )
+ !ia32? ( ${O_U}x86_64-linux/${O_P}.gcc4-shared-qt3.x86_64.tar.bz2 )
+ )
+ x86? ( ${O_U}intel-linux/${O_P}.gcc4-shared-qt3.i386.tar.bz2 )
+ )
+ !qt3? (
+ amd64? (
+ ia32? ( ${O_U}intel-linux/${O_P}.gcc4-qt4.i386.tar.bz2 )
+ !ia32? ( ${O_U}x86_64-linux/${O_P}.gcc4-shared-qt3.x86_64.tar.bz2 )
+ )
+ x86? ( ${O_U}intel-linux/${O_P}.gcc4-qt4.i386.tar.bz2 )
+ )
+ )
+ "
+
+DEPEND=">=sys-apps/sed-4"
+
+RDEPEND="
+ media-libs/jpeg
+ media-libs/libexif
+ >=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? ( !qt3? ( x11-libs/libXinerama media-libs/nas ) )
+ x86? ( !qt-static? (
+ qt3? ( =x11-libs/qt-3* )
+ !qt3? ( =x11-libs/qt-core-4* =x11-libs/qt-gui-4* )
+ )
+ )
+ amd64? (
+ ia32? ( app-emulation/emul-linux-x86-qtlibs )
+ !ia32? ( =x11-libs/qt-3* )
+ )
+ "
+
+opera_cd() {
+ cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
+ S="$(pwd)"
+ einfo "Working in ${S}"
+}
+
+opera_linguas() {
+ # 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
+}
+
+src_unpack() {
+ unpack ${A}
+ opera_cd
+
+ 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:\(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
+
+ # 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
+
+ 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
+
+ [[ -z MY_LINGUAS ]] || opera_linguas
+}
+
+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 languages other than English, do:"
+ elog " emerge app-dicts/myspell-[your language]"
+ elog " mkdir \${HOME}/.opera/dictionaries"
+ elog " cd \${HOME}/.opera/dictionaries"
+ elog " ln -s /usr/share/myspell/*.{aff,dic} ."
+ elog "A future release of Opera 10 should remedy this inconvenience."
+
+ if use elibc_FreeBSD; then
+ elog
+ elog "To improve shared memory usage please set:"
+ elog "$ sysctl kern.ipc.shm_allow_removed=1"
+ fi
+
+ elog
+ 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
+}