summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-05-27 16:31:10 +0000
committerJeroen Roovers <jer@gentoo.org>2009-05-27 16:31:10 +0000
commitd4fc3106e1123a08db54ea1a88a3177717313e6e (patch)
treea24fe6c85ceaffb70e320bd2936031e5e5b3a954
parentVersion bump. (diff)
downloadhistorical-d4fc3106e1123a08db54ea1a88a3177717313e6e.tar.gz
historical-d4fc3106e1123a08db54ea1a88a3177717313e6e.tar.bz2
historical-d4fc3106e1123a08db54ea1a88a3177717313e6e.zip
Version bump <http://my.opera.com/desktopteam/blog/2009/05/27/snapshot-build-with-preview-of-the-new-skin>.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
-rw-r--r--www-client/opera/ChangeLog9
-rw-r--r--www-client/opera/Manifest8
-rw-r--r--www-client/opera/opera-10.00_pre4394.ebuild228
3 files changed, 243 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 4918f5e75cdd..6c9fb6307e8c 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for www-client/opera
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.344 2009/05/16 13:14:55 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.345 2009/05/27 16:31:10 jer Exp $
+
+*opera-10.00_pre4394 (27 May 2009)
+
+ 27 May 2009; Jeroen Roovers <jer@gentoo.org> +opera-10.00_pre4394.ebuild:
+ Version bump
+ <http://my.opera.com/desktopteam/blog/2009/05/27/snapshot-build-with-previ
+ ew-of-the-new-skin>.
16 May 2009; Jeroen Roovers <jer@gentoo.org> opera-9.64.ebuild:
Always install default locale (bug #266280).
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 8f48b1448bef..af9f2627fae0 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -32,6 +32,11 @@ DIST opera-10.00-4345.gcc4-shared-qt3.i386.tar.bz2 7916342 RMD160 c68b3419da329e
DIST opera-10.00-4345.gcc4-shared-qt3.ppc.tar.bz2 7996057 RMD160 42998dde167fced54bc22fce15729fc0ea9b0680 SHA1 fe9c9bf523c7aab2aaf46b813e17aa56d72dbba6 SHA256 09a1d4be9a9443e9df12267cf919e4646fb7131eed7a3166b2927fd2f8e3e297
DIST opera-10.00-4345.gcc4-shared-qt3.x86_64.tar.bz2 8576054 RMD160 0003404cdce43f4cfaf8f859e2d2a1770bcb76ce SHA1 d3d74f10c1161b5d1507ae1b67494c3c920f1ca0 SHA256 98a26a73380754095219bfc94dce90eb7d3c014072eeba5870ef5ef731dd2b67
DIST opera-10.00-4345.gcc4-static-qt3.i386.tar.bz2 9820822 RMD160 4cd7ab13fb6cda667c5fed03a111631ee7fe247d SHA1 922f518b82275c5ef6512f086bc9c23b21d2ecda SHA256 dafff18e7d51d8464d67d1538b09a60aac6e4c3974d6be59b30544e72841ce3f
+DIST opera-10.00-4394.gcc4-qt4.i386.tar.bz2 10202166 RMD160 a49a400dbed88232d5915f8e1a8418f3c56d4cb5 SHA1 5c9a0a4848e968512988be86929c452b1400c912 SHA256 2f7f089027b9f1c45b8cf1994dc2bb4e564155c20198daa6e3b40c1e1b8a265e
+DIST opera-10.00-4394.gcc4-shared-qt3.i386.tar.bz2 7967423 RMD160 49e891777decd4f4f010dffc0131f38c08b78c39 SHA1 57c1ea848eb53177b35af7dd33eb0e2352efdeca SHA256 9ba954b54019b638ee696fff8d4a422553bb774ea2e8cd6bd7bc68a8a3b0233e
+DIST opera-10.00-4394.gcc4-shared-qt3.ppc.tar.bz2 8044122 RMD160 6a2fee957296d9da1882630c89037fc468d8abba SHA1 41a99e4ce6f38b7083370816398633d5dbab5ade SHA256 96cc5e38cfa678142d70cf10db53782a3007dde9a58c072882d2b76c83e2e99b
+DIST opera-10.00-4394.gcc4-shared-qt3.x86_64.tar.bz2 8626279 RMD160 62dba7fe1f6f8c15ddc21e2e36129d5d3a9e03e8 SHA1 584523cc6ef612b22f764097bfaaf76a449c376e SHA256 6d6c4538458c5c6114c38e372fbfcd11a86514d98ff0566dd8dc9bce3be8cc3c
+DIST opera-10.00-4394.gcc4-static-qt3.i386.tar.bz2 9876602 RMD160 c21700d44500cb35c549c60578445f17f53c8714 SHA1 f14a0db2b77b50c4b9362d721e947da8c0de0b95 SHA256 ae625865de120a97d4d49b4958c2345fc28d0763d77a005d175f596cdad5ec0a
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
@@ -49,7 +54,8 @@ EBUILD opera-10.00_pre4214.ebuild 6385 RMD160 6871d5e3eb5f559d28a48743a4770958de
EBUILD opera-10.00_pre4268.ebuild 5622 RMD160 1152070b9fba506204fbbc1f84a3bc1ff8a18f44 SHA1 14ee4de9c777d8c3e5dd717fc4565ac2dc804fb0 SHA256 ffda48829587681a27f431c683112dfef35f9f25ec660eec6fa3a208984c24b8
EBUILD opera-10.00_pre4340.ebuild 6449 RMD160 a3cb684d1ec9038f1d77d913f46eac8ee762789d SHA1 6593a3361f7d77d1aca87adb4fbacc27d75be85c SHA256 dae4cc7e8183d9997ab3f57103531aa18cbc85eb4a8729fa58076bc925485542
EBUILD opera-10.00_pre4345.ebuild 6361 RMD160 32e809e38f8d64279e4b692ab26c6284173158ba SHA1 61edccab7580e142840b1a6a1e674e4f53c35856 SHA256 b4cf9e3204c216368eb307b5f727b793382e86fddbc283f150818e767d8cdac0
+EBUILD opera-10.00_pre4394.ebuild 6361 RMD160 21748c1fe2f791d921df91047da54571a5979f80 SHA1 f2acb12b7a228d07e4259edc27e0be118aa864a3 SHA256 5ac0e7ea325d29085a9c97a5c19a721aa3536225c6b3477b1af2f23a8d48962c
EBUILD opera-9.27.ebuild 6053 RMD160 fa86d79c0a1beae6d3605467122c2a5451b21bff SHA1 32d8ea747f757e99ce0af0c456c4aed71a660689 SHA256 4b0d2bb5bbbdc1eb4cee89f717d6bdc556337fb4d7e7973c216292d1f4cd8fee
EBUILD opera-9.64.ebuild 7896 RMD160 0c981a40e72c64929e06cb3643e0a04ab538202d SHA1 64fcac7617e01be342ac7b0c2c65a38b9a867d92 SHA256 6eb45e59ecf811df18afc8ff52cb48d3608060a5c76c883abfa8772388dd7806
-MISC ChangeLog 66762 RMD160 38963225a1108bc1865eb792b8df6cfd71ede1da SHA1 1d3012e04d565be8280e9990a4c52481995e082e SHA256 a27f3f28502d864eb4f61f66001789bd7ba0956565a856aebfa372d9c836c28c
+MISC ChangeLog 66990 RMD160 d93e28782b320d5641ad017fe66577d33ca33430 SHA1 5451ede0edfe0f8efb3f82bfe523ce9d5f5f8e7d SHA256 64f31c44a9eb2e9e8150986bf888175eca852edd9fa002d0bf87edcdc133b5fc
MISC metadata.xml 697 RMD160 704ad62aa31055fa9c677a77b86ae8aab2a919aa SHA1 809cd142def2fe81ecce28c5d9fb8d54abb52120 SHA256 e65a1cc3846a285fa12fa8a751722c21baa2df029fbdf15b4ec86581dd911657
diff --git a/www-client/opera/opera-10.00_pre4394.ebuild b/www-client/opera/opera-10.00_pre4394.ebuild
new file mode 100644
index 000000000000..434cdd7848d6
--- /dev/null
+++ b/www-client/opera/opera-10.00_pre4394.ebuild
@@ -0,0 +1,228 @@
+# 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_pre4394.ebuild,v 1.1 2009/05/27 16:31:10 jer Exp $
+
+EAPI="2"
+
+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"
+
+RESTRICT="mirror strip test"
+
+IUSE="elibc_FreeBSD gnome ia32 qt-static qt3"
+MY_LINGUAS="be bg cs da de el 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/snapshot-${P##*_pre}/"
+O_P="${P/_pre/-}"
+
+SRC_URI="
+ qt-static? (
+ ppc? ( ${O_U}ppc-linux/${O_P}.gcc4-shared-qt3.ppc.tar.bz2 )
+ x86? (
+ qt3? ( ${O_U}intel-linux/${O_P}.gcc4-static-qt3.i386.tar.bz2 )
+ !qt3? ( ${O_U}intel-linux/${O_P}.gcc4-qt4.i386.tar.bz2 )
+ )
+ amd64? (
+ ia32? (
+ qt3? ( ${O_U}intel-linux/${O_P}.gcc4-static-qt3.i386.tar.bz2 )
+ !qt3? ( ${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 )
+ )
+ )
+ !qt-static? (
+ ppc? ( ${O_U}ppc-linux/${O_P}.gcc4-shared-qt3.ppc.tar.bz2 )
+ x86? (
+ qt3? ( ${O_U}intel-linux/${O_P}.gcc4-shared-qt3.i386.tar.bz2 )
+ !qt3? ( ${O_U}intel-linux/${O_P}.gcc4-qt4.i386.tar.bz2 )
+ )
+ amd64? (
+ ia32? (
+ qt3? ( ${O_U}intel-linux/${O_P}.gcc4-shared-qt3.i386.tar.bz2 )
+ !qt3? ( ${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 )
+ )
+ )
+ "
+
+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
+ x86? (
+ qt-static? (
+ !qt3? ( x11-libs/qt-core x11-libs/qt-gui )
+ )
+ !qt-static? (
+ qt3? ( =x11-libs/qt-3*[-immqt] )
+ !qt3? ( x11-libs/qt-core x11-libs/qt-gui )
+ )
+ )
+ ppc? ( =x11-libs/qt-3*[-immqt] )
+ amd64? (
+ ia32? (
+ qt-static? (
+ !qt3? ( x11-libs/qt-core x11-libs/qt-gui )
+ )
+ !qt-static? ( =x11-libs/qt-3*[-immqt] )
+ )
+ !ia32? ( =x11-libs/qt-3*[-immqt] )
+ )
+ "
+
+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}
+ if [[ ! -d ${S} ]]; then
+ cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
+ S="$(pwd)"
+ einfo "Setting WORKDIR to ${S}"
+ fi
+}
+
+src_prepare() {
+ 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}-10.00-pluginpath-fbsd.patch"
+ else
+ epatch "${FILESDIR}/${PN}-10.00-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_configure() {
+ # This workaround is sadly needed because gnome2.eclass doesn't check
+ # whether a configure script exists.
+ true
+}
+
+src_compile() {
+ # This workaround is sadly needed because gnome2.eclass doesn't check
+ # whether a 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
+
+ # 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
+
+ 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 "www-plugins/adobe-flash. See also https://bugs.gentoo.org/198162"
+}
+
+pkg_postrm() {
+ use gnome && gnome2_pkg_postrm
+}