diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-09-01 09:36:37 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-09-01 09:36:37 +0000 |
commit | f498c224b909b4a21c620e8c23e7c71613eff20e (patch) | |
tree | 0a2ff31bce1e396970127a6768dd1741861ca037 /www-client/opera | |
parent | Bump to 5.7.2, fixes #281651. Thanks to Priit Laes for the ebuild patch. (diff) | |
download | historical-f498c224b909b4a21c620e8c23e7c71613eff20e.tar.gz historical-f498c224b909b4a21c620e8c23e7c71613eff20e.tar.bz2 historical-f498c224b909b4a21c620e8c23e7c71613eff20e.zip |
Version bump <http://my.opera.com/community/blog/2009/08/25/the-adventures-of-odd-even>.
Package-Manager: portage-2.2_rc40/cvs/Linux i686
Diffstat (limited to 'www-client/opera')
-rw-r--r-- | www-client/opera/ChangeLog | 9 | ||||
-rw-r--r-- | www-client/opera/Manifest | 11 | ||||
-rw-r--r-- | www-client/opera/opera-10.00.ebuild | 231 |
3 files changed, 249 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 371487f5b63c..cc0c0b7b2a7b 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.381 2009/08/29 17:11:52 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.382 2009/09/01 09:36:37 jer Exp $ + +*opera-10.00 (01 Sep 2009) + + 01 Sep 2009; Jeroen Roovers <jer@gentoo.org> +opera-10.00.ebuild: + Version bump + <http://my.opera.com/community/blog/2009/08/25/the-adventures-of-odd-even> + . 29 Aug 2009; Jeroen Roovers <jer@gentoo.org> opera-10.10_pre4563.ebuild, opera-10.10_pre4566.ebuild, +files/opera-localepath.patch: diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index a8f113ea8809..cffe56d0fc26 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -55,6 +55,14 @@ DIST opera-10.00-b3.gcc4-qt4.x86_64.tar.bz2 9249508 RMD160 57b9d98f882f52fd8047d DIST opera-10.00-b3.gcc4-shared-qt3.i386.tar.bz2 8446322 RMD160 87fa31411ff21e091b7778fb3985201019c48f15 SHA1 b6fd59a705c2a141efd1cda4b222a5d2c687a4d1 SHA256 53e1c8261373cea2e77822d4bfa093249cc15361a030cf24b8281967beebb39c DIST opera-10.00-b3.gcc4-shared-qt3.ppc.tar.bz2 8640588 RMD160 278a1c767f51b5e5b50a49ac51dce3a78a902156 SHA1 3000684b86000c434002eaba7c8185ea77482ddd SHA256 43afc04f379e290df04a89359da8136a0a730d30fa9eec008d447096e6b48319 DIST opera-10.00-b3.gcc4-shared-qt3.x86_64.tar.bz2 9251396 RMD160 04c667af14bf94c68e2fa5628ecb9bf5f24458d3 SHA1 5b43aac79d06652e993d92f0dde844dd3a90dea7 SHA256 c454db9f21bf387b436a212dfa64f74e1e62ecaabe82f8046543c6c685d66184 +DIST opera-10.00-freebsd7-shared-qt3.i386.tar.bz2 8603919 RMD160 5363074e160032704d66aec301e93a7efda57519 SHA1 432e71873bf5a13dd994f283ed05bb27fa20e28b SHA256 e54f3cb47bc67f461e37ecfea1cc7a0a919ec2c3df7b98972f859710134e41b1 +DIST opera-10.00.gcc4-bundled-qt4.i386.tar.bz2 13365053 RMD160 9ba9fc30f9539f61ae1d8065f2de1ac7cdedb50d SHA1 1e4b28240a38db924fb09145145b829892e1d4a3 SHA256 2983c89877dad49e6c11a9bed31ddb80a5144e699d8308ca993aad7e0cc8e9e0 +DIST opera-10.00.gcc4-bundled-qt4.x86_64.tar.bz2 14023511 RMD160 a261218d53987c4dd22af23951266a58a2b2638a SHA1 6b533adff40ffc78a4ff12f47487c455059a5f82 SHA256 9ddcb0eb52f6398a39bcacb70488d0b243457cf84a7a6f049192c3db6803b0c0 +DIST opera-10.00.gcc4-qt4.i386.tar.bz2 8550707 RMD160 50b8673bd5c2cff02e9424a3cbb030c568ffb6bd SHA1 46314ea5740c1579a723c3e25a6f8a6297a7978f SHA256 c1494f2b3e2a465915c6061b88f770b23824350800ef39accbbea2daf8e90624 +DIST opera-10.00.gcc4-qt4.x86_64.tar.bz2 9262414 RMD160 c1ed12f3f04b3a9ec6f9ef8fa2897d11a29f1202 SHA1 e8fb88d0ce37d24fa8c4ac3d022b1b76a37174a4 SHA256 d789068a677ddebc4b046e733cf3b527caac4e489212a1d63440148668c328b1 +DIST opera-10.00.gcc4-shared-qt3.i386.tar.bz2 8454441 RMD160 0ab448257f06d7621500b0966fb921be8eccbe0a SHA1 8c5d6e192ceb6966f3b9d15510156772e5c1dab6 SHA256 8a6436803a62fcd7eb8f2c7dc1e2a8592b08d7e5243e248c802287fc21236c4a +DIST opera-10.00.gcc4-shared-qt3.ppc.tar.bz2 8654506 RMD160 a7374a00e9f9d94bf3bd99d1f8face3e6cd60501 SHA1 e624409270a9eb3e28eda4fd6d953c32d828b228 SHA256 24c7ffd53929ebac285163d64449e9b9436ee31c2d5313c0b241b463dfddcf48 +DIST opera-10.00.gcc4-shared-qt3.x86_64.tar.bz2 9257745 RMD160 c83583dead3420b4679bf0f4127412ab6b5ad335 SHA1 d7ab678dd4457f7f44129f7d56a399c20ae7490e SHA256 68c6292c66dabb2a361449dd88616d06688616262aee9ab64d6d89b3aad49963 DIST opera-10.10-4563.freebsd7-shared-qt3.i386.tar.bz2 10243498 RMD160 a22e20007f393643445d0b33fb4179bb01a9697b SHA1 25fb778265b844638ca3a3111daa0be8ec18336f SHA256 a1d1f433276ed4d624e55237571d581bb0b4bbac0c41ece373280c779002eaae DIST opera-10.10-4563.gcc4-bundled-qt4.i386.tar.bz2 14941451 RMD160 18922c12304bd5fd880a9f0da53610522787c521 SHA1 8c3b296203606aaaa015d6aee9070bd67ec069c0 SHA256 e9b94eddcd45e58779076f62543120bd262d9b31147ae166d408ede4d68be880 DIST opera-10.10-4563.gcc4-bundled-qt4.x86_64.tar.bz2 15613456 RMD160 40cffaec18592c352bb622fd34968862b0d9cad6 SHA1 9fef876e7daf37fad2a1cfe5c6e5de227aa9bc91 SHA256 b5e6b130cc66cdb9600521fc8e4ca4eb72f0a8c8701e83f996d59bbf2192400e @@ -82,6 +90,7 @@ DIST opera-9.64.gcc4-shared-qt3.i386.tar.bz2 7346107 RMD160 f8f653ff28e161590a8c DIST opera-9.64.gcc4-shared-qt3.ppc.tar.bz2 7412197 RMD160 462de804d8d0227a9a7ffce38ed1cf594fa07ea2 SHA1 b3866c329f99e395f5468519acdfdce6b83b40d2 SHA256 1c3463507109a77600eb70bd09343958387445093bdd44f498080fad17f963c9 DIST opera-9.64.gcc4-shared-qt3.x86_64.tar.bz2 7977427 RMD160 190e22a742eeba7300871a8f25372ba2349c3a22 SHA1 1c8c406a9b64706d07cba999c2958ca1112603c4 SHA256 09597b25e351ff09c4f98cbf1b687ee11bc3a763816824375e1f6555ed6b2899 DIST opera-9.64.gcc4-static-qt3.i386.tar.bz2 9273212 RMD160 338c780de3d9495d3c27f6bba9b9122adb6b36e0 SHA1 3bbe6fd5ea852f6dae130ffad816034ebfb27e79 SHA256 056f3983497438878741c45ceade285387cd393d0b3469f0a8971223c1364dbf +EBUILD opera-10.00.ebuild 6627 RMD160 9e6204256367b813250367d994463e593912a951 SHA1 9f218c0da03c5c3a6895822b0efdac172a3111dc SHA256 ffb052c5a504f6c06106aa916b104583a44c93d148f5a98ed10e1873da032b94 EBUILD opera-10.00_pre4537.ebuild 6922 RMD160 5054701101cc377555637e144a97a870f53a9182 SHA1 5ae1677a97d41d7cf14b6936f3cfa323e0675419 SHA256 4c17fee0b0ad7665f979d4ee9a1e7d00cd6eac8b5cd573d9011ba6741b72ac88 EBUILD opera-10.00_pre4538.ebuild 6880 RMD160 414c406fffd76957e34764f4ac0a2c2c42a8f289 SHA1 addf340a2f40c3ce73fdc6101a2383efc15158ce SHA256 7cea2b31f57dd9c29fe4805d8d7a828dfa398b577eeca9441eb2836fe20a9a8a EBUILD opera-10.00_pre4546.ebuild 6780 RMD160 466be2c492a4a667e35f83a27eb046762d745669 SHA1 faf4d793413b3e2033f52c7283df2306608c190e SHA256 2c2efdb452db3d59ba636342e1133ea5627fb1bbce81fed399786944b8bc9938 @@ -92,5 +101,5 @@ EBUILD opera-10.10_pre4563.ebuild 6925 RMD160 8e7a25854d0f3b36a56f9590e371f422bb EBUILD opera-10.10_pre4566.ebuild 6825 RMD160 f3330f2a59ecfa4acdc9b15bdaa44aff9136800c SHA1 85ff96fd9e43cdb8ba79ce9bcd7d31f5f4100078 SHA256 6c1cda6062211fc5072ceb1d34db2582bfede24ca5d68efcb72d29275822c707 EBUILD opera-9.27.ebuild 6059 RMD160 a7039fa7189f982ad70819084fd6484fe8cc57ab SHA1 cea7764eac5c5aadd0adb850c4c4e3db2fca90e5 SHA256 e9ef717789ae7d7233cfe9795845724632817ac9a657d2a72d75093ed6c03dd1 EBUILD opera-9.64.ebuild 7902 RMD160 08d5562a596d80c82effa2433350f3cf94f91afc SHA1 b1f834e80e417c5483cfd1c67173a06c497cffa4 SHA256 077e1678c7047369d0166cf5a996fc116eb88a0f2f67f5846b240689f8831377 -MISC ChangeLog 74104 RMD160 c978d69deebd9cb6e50917b436c2f28a81e1d00e SHA1 501f1c2552949b10ba6697437e04bff1315eb558 SHA256 0f15051ea80ebc90ff1f220dd2a188314c4723b564434661a882fffd3fc550c0 +MISC ChangeLog 74297 RMD160 35c850da48330fc1175bdbaee0d9b93c01d97848 SHA1 c5cdb8856313b0f956bf697ba3ff9da66ab6a005 SHA256 57ccccd7771b474fa79867fe04336e5a4f3ff3f818c29bd378bc1af5e6097bcf MISC metadata.xml 697 RMD160 704ad62aa31055fa9c677a77b86ae8aab2a919aa SHA1 809cd142def2fe81ecce28c5d9fb8d54abb52120 SHA256 e65a1cc3846a285fa12fa8a751722c21baa2df029fbdf15b4ec86581dd911657 diff --git a/www-client/opera/opera-10.00.ebuild b/www-client/opera/opera-10.00.ebuild new file mode 100644 index 000000000000..19b9fe15b033 --- /dev/null +++ b/www-client/opera/opera-10.00.ebuild @@ -0,0 +1,231 @@ +# 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.ebuild,v 1.1 2009/09/01 09:36:37 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="mirror://opera/linux/1000/final/en/" +O_U="ftp://ftp.opera.com/pub/opera/linux/1000/final/en/" + +SRC_URI=" + amd64? ( + !ia32? ( + qt-static? ( ${O_U}x86_64/${P}.gcc4-bundled-qt4.x86_64.tar.bz2 ) + !qt-static? ( + qt3? ( ${O_U}x86_64/${P}.gcc4-shared-qt3.x86_64.tar.bz2 ) + !qt3? ( ${O_U}x86_64/${P}.gcc4-qt4.x86_64.tar.bz2 ) + ) + ) + ia32? ( + qt-static? ( ${O_U}i386/${P}.gcc4-bundled-qt4.i386.tar.bz2 ) + !qt-static? ( + qt3? ( ${O_U}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 ) + !qt3? ( ${O_U}i386/${P}.gcc4-qt4.i386.tar.bz2 ) + ) + ) + ) + ppc? ( ${O_U}ppc/shared/${P}.gcc4-shared-qt3.ppc.tar.bz2 ) + x86? ( + qt-static? ( ${O_U}i386/${P}.gcc4-bundled-qt4.i386.tar.bz2 ) + !qt-static? ( + qt3? ( ${O_U}i386/shared/${P}.gcc4-shared-qt3.i386.tar.bz2 ) + !qt3? ( ${O_U}i386/${P}.gcc4-qt4.i386.tar.bz2 ) + ) + ) + x86-fbsd? ( mirror://opera/unix/freebsd/1000/en/intel/shared/${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 +} |