diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-10-02 03:41:16 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-10-02 03:41:16 +0000 |
commit | b00806b04248e02842d5dddbd0735ba94872b6ba (patch) | |
tree | d82dd025012677bbef6e9f286b8427c32d208e99 /www-client | |
parent | Remove excessive preserve_old_lib on detailed library version that is not pre... (diff) | |
download | historical-b00806b04248e02842d5dddbd0735ba94872b6ba.tar.gz historical-b00806b04248e02842d5dddbd0735ba94872b6ba.tar.bz2 historical-b00806b04248e02842d5dddbd0735ba94872b6ba.zip |
Version bump <http://my.opera.com/desktopteam/blog/2009/10/01/more-unite-builds-2>.
Package-Manager: portage-2.2_rc42/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/ChangeLog | 8 | ||||
-rw-r--r-- | www-client/opera/Manifest | 10 | ||||
-rw-r--r-- | www-client/opera/opera-10.10_pre4644.ebuild | 230 |
3 files changed, 246 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 145202c98503..39b419279bea 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,12 @@ # 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.398 2009/09/25 16:42:51 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.399 2009/10/02 03:41:16 jer Exp $ + +*opera-10.10_pre4644 (02 Oct 2009) + + 02 Oct 2009; Jeroen Roovers <jer@gentoo.org> +opera-10.10_pre4644.ebuild: + Version bump + <http://my.opera.com/desktopteam/blog/2009/10/01/more-unite-builds-2>. *opera-10.10_pre4632 (25 Sep 2009) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 9e7543c15988..08e5c2a6e13d 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -43,10 +43,18 @@ DIST opera-10.10-4632.gcc4-qt4.x86_64.tar.bz2 10867601 RMD160 1d9f8650f43eb20173 DIST opera-10.10-4632.gcc4-shared-qt3.i386.tar.bz2 10053910 RMD160 51c4bf3a0f1016e80ddb82f8e0912aac68b9dc27 SHA1 32e296f590546847208937d6cb81dbb532f1a903 SHA256 63baa3b7e788299a3bf42ef6f1510df3fefff6837391ad1f0a2e652143a490ac DIST opera-10.10-4632.gcc4-shared-qt3.ppc.tar.bz2 10212666 RMD160 35ecbe3c81af51bc0dad78957ec1af50cd4f08a1 SHA1 ce1fd8e65ac60f607200299e87ecdfa9d012e1f3 SHA256 c072863fd2a9503835f5e0d5c3e2d83bc4f995fafd1a7aa606006328bdab0849 DIST opera-10.10-4632.gcc4-shared-qt3.x86_64.tar.bz2 10865322 RMD160 113234c53eac5f4eecbbedb523b8931368539b8e SHA1 f8586872c7e23439251219c5e86aef8d55cc6f35 SHA256 95a44bbd055f794a2892af0dc43b91f49227bbba57fd95202bf2f040a521b63b +DIST opera-10.10-4644.freebsd7-shared-qt3.i386.tar.bz2 10328036 RMD160 36033da39ef439a6787f4f9b8b72728a223613e9 SHA1 85bb1c5af672a01353fa29c2ff014bd654607da8 SHA256 aee2b432668e11761d1015e6cf3679a4917783371a1fa92c02ecd597c8b38389 +DIST opera-10.10-4644.gcc4-bundled-qt4.i386.tar.bz2 15129889 RMD160 5dad396f45811e2f1d73887875e423c6afd7c619 SHA1 a58412d3f8250ae2c3585bca60962115615d278d SHA256 1169836e1a7974458065099ae70a681b9171b1a03dcb72c4a4b24c429485f97c +DIST opera-10.10-4644.gcc4-bundled-qt4.x86_64.tar.bz2 15881830 RMD160 83c517786927fb04371bf619957a31511081e128 SHA1 41a51f9297f93d193ac58d6526e70781d56a6a33 SHA256 6ede279523fb2937b2a5099aeda8b364abbb6c7eb9148b2f4f639145a5bfb1f7 +DIST opera-10.10-4644.gcc4-qt4.i386.tar.bz2 10298564 RMD160 0702b72e6ee0c3e8b91046a9845aea901025636e SHA1 30acf299b4d9dd69c9a1e536c85eed2842815d46 SHA256 cb1a99008398b3f378a4e74b7d5287b1137982ae4cf595d4033593303d7e9bc1 +DIST opera-10.10-4644.gcc4-qt4.x86_64.tar.bz2 11133877 RMD160 e0f7a2fe0837773f5e0a9d891ca78fcf5714d5e3 SHA1 ca125150b822612ebad7adfb40690658d4804d96 SHA256 fc3d361f5e796c6aaebf320c0842fb67a8f2f3eadcd9237fd601de8a7526195a +DIST opera-10.10-4644.gcc4-shared-qt3.i386.tar.bz2 10314329 RMD160 7b4221139b28b2eb7af9645858dacac93bffd5fd SHA1 100b093ec2b5037ba4a07666f3bbefb57849c411 SHA256 ae83856ec02c491c7670bb45f4c48c8446ab979b74b3d2d39d534a6b29bab728 +DIST opera-10.10-4644.gcc4-shared-qt3.x86_64.tar.bz2 11127494 RMD160 f95fec40dc89457de867f73d89bc97bfbfbdc5dd SHA1 ebb2f0479ec85802382b18a6cdedf2b12bb32f2e SHA256 9584a604d72499fd6fde5ba79ebffa9aced26fb2bb1f6b9be84282e5b1dc1891 EBUILD opera-10.00.ebuild 6227 RMD160 c0a66989bc2cdc6b925335086f58c2aee11a8f95 SHA1 27dd09d6ef9861f159399ed652cbd0b62abfff11 SHA256 74b345e2922e67184bf87786a80fda987716c990cad1beec1bb3a4273a8fe125 EBUILD opera-10.10_pre4594.ebuild 6437 RMD160 b94ea568f7eaade30d0ba19791907b5337361f10 SHA1 d4d2e0a8ea40d7a6c680125bd4903a3ec9474cc5 SHA256 6a9559c64feba222f3c6ccc808616c61f400ab78015c18dceb94d87d4d45c3d9 EBUILD opera-10.10_pre4609.ebuild 6537 RMD160 c8c06e6ac8c7c5acbdd1b86369d3749c898e0274 SHA1 2115f92dae2e95570ddbed9c90b7e717bddaf74c SHA256 cca886d37f9eba3cccb988c7dd252d2419bcaae902deecee0ed2323f26bf74eb EBUILD opera-10.10_pre4624.ebuild 6537 RMD160 f3fc2e7f6aa30cc152ac1751faea4493340b9932 SHA1 f56da0740ea40d9bc27b22b67cfe8360215758a2 SHA256 5cf6edb116927b4d888defc26210dfb1ca6f113098f08ae9b92663a1fb09378e EBUILD opera-10.10_pre4632.ebuild 6537 RMD160 f0519f0ff71ac4ce4d304ca07de102e0e6e19ff6 SHA1 9f23c8df4d6532349bcbd9dda2c99c8389fb8d16 SHA256 ceb89bd0f69615b0f608259fbe69618746eae7e2d367775f92bcc61d843eebe6 -MISC ChangeLog 76884 RMD160 1a115965556b224dafce016d125f2f5d34d6c6cc SHA1 22b4826a77e12210c44e9c2cae7c2f492e97fcad SHA256 68ad66e22431d042ff459c6b08defe8bd81b180b7f9025201cc2a30b7d0e77fe +EBUILD opera-10.10_pre4644.ebuild 6437 RMD160 98bbd5ae97fb4e736fd050d1bf38c7397e96515b SHA1 8c836e81d4fc3c1c8333a423cfc0c5063942ccd0 SHA256 96a5ba33063b553ecdb2714097113acda8df07f7ed541879bd51c884531cb4dc +MISC ChangeLog 77085 RMD160 54b25ec92f68227b0490fc94a6d2bca48428fe62 SHA1 28ab765baf98426445c963f5eda3cc78112979ac SHA256 0e2aaf36620486588a75b428a7e7e12a3d9f7670a783c365cf5d2bd62a5b52cb MISC metadata.xml 623 RMD160 b931e2f0fde75fc6d06f1c4d50306f9290953672 SHA1 2983627e32312dd3a625f0b418057341da220403 SHA256 e35d04f13c0c9a659a804ff0bd241b503fdf153e343bd566422317ddd5f90cdd diff --git a/www-client/opera/opera-10.10_pre4644.ebuild b/www-client/opera/opera-10.10_pre4644.ebuild new file mode 100644 index 000000000000..9b264d0822f4 --- /dev/null +++ b/www-client/opera/opera-10.10_pre4644.ebuild @@ -0,0 +1,230 @@ +# 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.10_pre4644.ebuild,v 1.1 2009/10/02 03:41:16 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 ~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="4644" + +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 ) + ) + ) + ) + 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 ) + ) + ) + ) + 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." + + 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 +} |