summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-08-13 10:42:03 +0000
committerJeroen Roovers <jer@gentoo.org>2009-08-13 10:42:03 +0000
commit76c2127b4f564e4f37ab4b42cec6d942ecb1002d (patch)
treefc60165c44a07013afb6d11869291a66bb63bfa5
parentmasked >=startup-notification-0.10 on interix, requires xcb-util. (diff)
downloadhistorical-76c2127b4f564e4f37ab4b42cec6d942ecb1002d.tar.gz
historical-76c2127b4f564e4f37ab4b42cec6d942ecb1002d.tar.bz2
historical-76c2127b4f564e4f37ab4b42cec6d942ecb1002d.zip
Version bump <http://my.opera.com/unite/blog/show.dml/4239589>.
Package-Manager: portage-2.2_rc38/cvs/Linux i686
-rw-r--r--www-client/opera/ChangeLog7
-rw-r--r--www-client/opera/Manifest11
-rw-r--r--www-client/opera/opera-10.00_pre4538.ebuild240
3 files changed, 256 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index f3657276d5fe..9087bc059d61 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,11 @@
# 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.372 2009/08/12 08:55:50 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.373 2009/08/13 10:42:03 jer Exp $
+
+*opera-10.00_pre4538 (13 Aug 2009)
+
+ 13 Aug 2009; Jeroen Roovers <jer@gentoo.org> +opera-10.00_pre4538.ebuild:
+ Version bump <http://my.opera.com/unite/blog/show.dml/4239589>.
12 Aug 2009; Jeroen Roovers <jer@gentoo.org> -opera-10.00_pre4440.ebuild,
-opera-10.00_pre4449.ebuild, -opera-10.00_pre4453.ebuild,
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index fc8cb7ed94e9..1f629b727a52 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -40,6 +40,14 @@ DIST opera-10.00-4529.gcc4-qt4.x86_64.tar.bz2 10878490 RMD160 aefa0bc76cea73b396
DIST opera-10.00-4529.gcc4-shared-qt3.i386.tar.bz2 10036552 RMD160 9ea957d7e71b6c53730c1a98fb3a2c90c1d2f388 SHA1 35d8dee4988d3629fd6457c024021a9233bb14b3 SHA256 f0c08d97cac9690b8b220c8385cd86683bb46d4b9802b1fad573bd8ceb4417da
DIST opera-10.00-4529.gcc4-shared-qt3.ppc.tar.bz2 10249022 RMD160 0c9047116a413aa78d6c8563cd4fb12b41f47268 SHA1 8ff47dae805fd9bb3b179b42b577e0582a55641f SHA256 23399e88bbc94309a13181f300fd8a0d11c353296028f576b1fa31b045d2862d
DIST opera-10.00-4529.gcc4-shared-qt3.x86_64.tar.bz2 10879499 RMD160 d5e12cb80e85d0a1f49328a0a8b2cc2395abf2f3 SHA1 1c5558716c342afcc3a09f5a223ee9a86193bb1d SHA256 e3a4e5ff42a50fbc4ab1d60b0fc33cba977a6bb1413f0eba7df4ab0deba3607f
+DIST opera-10.00-4538.freebsd7-shared-qt3.i386.tar.bz2 10210146 RMD160 fd1c1ac1ddceed05c631a393cd7054293886c9f0 SHA1 2dc87e482bc32314a1d44def0ef2b640d69ed7e2 SHA256 4d5f2667db87e685443040c6f050db26b038ba45d2c931f81740993f1265121d
+DIST opera-10.00-4538.gcc4-bundled-qt4.i386.tar.bz2 14911807 RMD160 369a967c8c1df001576f68dc0a4caeaf9a81f9fb SHA1 b66efefa996c700229c5663cbde1d36bd5a7d127 SHA256 5e20961af2ee65e4eb99615bb726601f2a0a5e3e247519f04e9de143707890c7
+DIST opera-10.00-4538.gcc4-bundled-qt4.x86_64.tar.bz2 15586895 RMD160 4b3b39cf1c333cd4f59c0999d72d85f922019631 SHA1 88d0bc0c8f5dc488f7aa8dab407327381ddb129d SHA256 94f903dd1edf984db4af213a5d721a5bd42be8d9330dac6d0c5675f504de0109
+DIST opera-10.00-4538.gcc4-qt4.i386.tar.bz2 10095186 RMD160 59a5740d4e37713ba4096cff16a4ca2301410fb5 SHA1 879fc374f6a967121ba894e1eb735ca1579930e0 SHA256 6d33d2fbbe80718d9996e318eb85394d60f007621017888e1af5cf6362435c1c
+DIST opera-10.00-4538.gcc4-qt4.x86_64.tar.bz2 10838330 RMD160 225b63f9b1a202ee208dbed74fa4467b86d4af8c SHA1 62e5977e9e3f0da5a09c0d141b4b7a4b8e082329 SHA256 d2984327cac1d0ef0a5dd6e5b49400c8bc2864f1c3a4466ecfe833451152a810
+DIST opera-10.00-4538.gcc4-shared-qt3.i386.tar.bz2 9998071 RMD160 a7b27996a727501201633b2f4f6c952e8219eb17 SHA1 3876e68bfebd6d11f97fcfb078b2d74ff3509efd SHA256 c5e96be4108f511804ec15b92407e62a8577b725747a4cbe59999bb63bdd60f3
+DIST opera-10.00-4538.gcc4-shared-qt3.ppc.tar.bz2 10212359 RMD160 aa02624169cb37621eea82247e74822d7e7ed854 SHA1 c6a00e1bf0fcfae02b4019f1aaee05fe6c5e4346 SHA256 b16a753b76214ba134260aef26e095154ed1224069889bf692fc7c02bcf94815
+DIST opera-10.00-4538.gcc4-shared-qt3.x86_64.tar.bz2 10842347 RMD160 80889f6c7cd6752dae6dfe7db725b84b2853e2a1 SHA1 820a0c61e269d5cc220a7934f30e15b08ca995e4 SHA256 3a127323aadb1af7875db15aa9c6edd06f4017a3037b541dcdbefbc81d634985
DIST opera-10.00-b1-freebsd5-shared-qt3.i386.tar.bz2 6562405 RMD160 235ee2a570a05221c194bbb478bca3b1d8c1b3cb SHA1 ce618794f75438f0d7668b98a312855ea0e1f9ac SHA256 2554f6f68c2e180598ff1c6fc73c64fa1968a374ae62b1d2d540aaa6de6f0b56
DIST opera-10.00-b1-freebsd5-static-qt3.i386.tar.bz2 8491058 RMD160 7121dfee4c9e94b4d3d40fe0d55d6f4d06bd7a0d SHA1 d0244f6998ffab869baae7c552d774b3d7eec751 SHA256 700a758f14a293e51999a5cad53d30732b99073162672c36b40abc711dca93fb
DIST opera-10.00-b1.gcc4-bundled-qt4.i386.tar.bz2 11132463 RMD160 704d9df1c3dba8dc5c6a2ef08abc3a18e070d80d SHA1 37a79075d04c4c287ec138bb9def5ab3f791411c SHA256 adec320da74582c63dcd7267e8f6fcab787fab8a59dd00f54b59e4d6ec6d5be3
@@ -74,7 +82,8 @@ EBUILD opera-10.00_pre4493.ebuild 6880 RMD160 57f024e53b2dd1269e3e3a3e5c36c6e451
EBUILD opera-10.00_pre4502.ebuild 6880 RMD160 3fdf130ce9b1f8191779c5ac18a71dce85951876 SHA1 8cfba0261ce45b65388760078491d87e25e1c33c SHA256 db37555ddc2cda8af6ed250f54286a183a961ecdce4611903edc8321fa53b1c8
EBUILD opera-10.00_pre4520.ebuild 6880 RMD160 cc1330d2b75f9645abc285acc7ab76dcb25f0801 SHA1 36f8572a20fe8c0d323ca4fb969a4dd91e4b373e SHA256 af5db0e80377332ec617a31f8daa2ff8f0a339bac4315ceff6cb1f4989135d8a
EBUILD opera-10.00_pre4529.ebuild 6880 RMD160 20ffe2ae7d53bc0712662efe52dc7eb8ac3e0e73 SHA1 33e4b9fce12731400644d767c9cc537b33db1616 SHA256 d5a8f0c9c698aa5d40712de8a38bca31f451f67dd7ff0afdd0eb71331d2f3258
+EBUILD opera-10.00_pre4538.ebuild 6880 RMD160 414c406fffd76957e34764f4ac0a2c2c42a8f289 SHA1 addf340a2f40c3ce73fdc6101a2383efc15158ce SHA256 7cea2b31f57dd9c29fe4805d8d7a828dfa398b577eeca9441eb2836fe20a9a8a
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 72077 RMD160 7ecd67c323215198548852a135f4f1818d3f7e31 SHA1 2c755f4ab192602ec958929ab7e2be8d3060e900 SHA256 c6225f41572e1e941cdb619a8de30a5dafc11c160fd2a2bac74d230794066deb
+MISC ChangeLog 72256 RMD160 73c1d1ac01e3a956564bf6b512f207930b3d5709 SHA1 49ba396f6d8f95ab1c305e9d46824bf28cf58c00 SHA256 8be3279dc9ee675dfab3de290efe8cd3dd6952bcc3b6a5fa569fb278c34392d1
MISC metadata.xml 697 RMD160 704ad62aa31055fa9c677a77b86ae8aab2a919aa SHA1 809cd142def2fe81ecce28c5d9fb8d54abb52120 SHA256 e65a1cc3846a285fa12fa8a751722c21baa2df029fbdf15b4ec86581dd911657
diff --git a/www-client/opera/opera-10.00_pre4538.ebuild b/www-client/opera/opera-10.00_pre4538.ebuild
new file mode 100644
index 000000000000..46a876f6b253
--- /dev/null
+++ b/www-client/opera/opera-10.00_pre4538.ebuild
@@ -0,0 +1,240 @@
+# 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_pre4538.ebuild,v 1.1 2009/08/13 10:42:03 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-10.00"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+RESTRICT="mirror strip test"
+QA_DT_HASH="opt/${PN}/.*"
+
+IUSE="elibc_FreeBSD gnome ia32 qt3 qt-static"
+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 ro ru sk sr sv ta te tr uk zh-CN zh-HK zh-TW"
+
+for MY_LINGUA in ${MY_LINGUAS}; do
+ IUSE="${IUSE} linguas_${MY_LINGUA/-/_}"
+done
+
+O_U="http://snapshot.opera.com/unix/snapshot-${PV/*_pre}/"
+
+# 1) Please check for missing (qt3/qt-static) builds
+# 2) and only then update the build number manually
+OPERABUILD="4538"
+
+if [ "${PV/*_pre}" = "${OPERABUILD}" ]; then
+ O_P="${P/_pre*/}-${OPERABUILD}"
+else
+ O_P="SET_OPERABUILD_IN_THE_EBUILD"
+fi
+
+SRC_URI="
+ amd64? (
+ !ia32? (
+ qt-static? ( ${O_U}x86_64-linux/${O_P}.gcc4-bundled-qt4.x86_64.tar.bz2 )
+ !qt-static? (
+ qt3? ( ${O_U}x86_64-linux/${O_P}.gcc4-shared-qt3.x86_64.tar.bz2 )
+ !qt3? ( ${O_U}x86_64-linux/${O_P}.gcc4-qt4.x86_64.tar.bz2 )
+ )
+ )
+ ia32? (
+ qt-static? ( ${O_U}intel-linux/${O_P}.gcc4-bundled-qt4.i386.tar.bz2 )
+ !qt-static? (
+ 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 )
+ )
+ )
+ )
+ ppc? ( ${O_U}ppc-linux/${O_P}.gcc4-shared-qt3.ppc.tar.bz2 )
+ x86? (
+ qt-static? ( ${O_U}intel-linux/${O_P}.gcc4-bundled-qt4.i386.tar.bz2 )
+ !qt-static? (
+ 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 )
+ )
+ )
+ x86-fbsd? ( ${O_U}intel-freebsd/${O_P}.freebsd7-shared-qt3.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
+ amd64? (
+ ia32? (
+ qt-static? ( media-libs/nas )
+ !qt-static? (
+ qt3? ( =x11-libs/qt-3*[-immqt] )
+ !qt3? ( x11-libs/qt-core x11-libs/qt-gui )
+ )
+ )
+ !ia32? (
+ qt-static? ( media-libs/nas )
+ !qt-static? (
+ qt3? ( =x11-libs/qt-3*[-immqt] )
+ !qt3? ( x11-libs/qt-core x11-libs/qt-gui )
+ )
+ )
+ )
+ ppc? ( =x11-libs/qt-3*[-immqt] )
+ x86? (
+ qt-static? ( media-libs/nas )
+ !qt-static? (
+ qt3? ( =x11-libs/qt-3*[-immqt] )
+ !qt3? ( x11-libs/qt-core x11-libs/qt-gui )
+ )
+ )
+ x86-fbsd? ( =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
+}
+
+pkg_setup() {
+ elog "${WARN}If you seek support, please file a bug report at${NORMAL}"
+ elog "${WARN}https://bugs.gentoo.org and post the output of${NORMAL}"
+ elog "${WARN} \`emerge --info =${CATEGORY}/${P}'${NORMAL}"
+}
+
+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"
+}
+
+# These workarounds are sadly needed because gnome2.eclass doesn't check
+# whether a configure/Makefile script exists.
+src_configure() { :; }
+src_compile() { :; }
+
+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
+}