diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-05-12 14:20:31 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-05-12 14:20:31 +0000 |
commit | 26a854238e605bf026a1cad6c15b83a077ba8857 (patch) | |
tree | 46ec818545b9988180e2cb68378fddb80c15304e /www-client | |
parent | unmask dev-libs/udis86 test after adding patch to make yasm optional (diff) | |
download | historical-26a854238e605bf026a1cad6c15b83a077ba8857.tar.gz historical-26a854238e605bf026a1cad6c15b83a077ba8857.tar.bz2 historical-26a854238e605bf026a1cad6c15b83a077ba8857.zip |
Version bump <http://my.opera.com/desktopteam/blog/2010/05/12/unix-bug-fixes>.
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/ChangeLog | 8 | ||||
-rw-r--r-- | www-client/opera/Manifest | 7 | ||||
-rw-r--r-- | www-client/opera/opera-10.54_pre6336.ebuild | 171 |
3 files changed, 184 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index db96c784a7df..b1df8d8446fa 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-client/opera # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.473 2010/05/11 16:31:29 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.474 2010/05/12 14:20:31 jer Exp $ + +*opera-10.54_pre6336 (12 May 2010) + + 12 May 2010; Jeroen Roovers <jer@gentoo.org> +opera-10.54_pre6336.ebuild: + Version bump + <http://my.opera.com/desktopteam/blog/2010/05/12/unix-bug-fixes>. *opera-10.54_pre6335 (11 May 2010) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 7382632d6db1..a685cab9dd8a 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -25,11 +25,16 @@ DIST opera-10.54-6335.i386.freebsd.tar.bz2 13297637 RMD160 24dbcb320602919dd6cc0 DIST opera-10.54-6335.i386.linux.tar.bz2 13264925 RMD160 8d72fd1a118a9cddda81441f9e34aefdcbc1d507 SHA1 efc168775c9ca73a4b2611c3e5975a641fe6959e SHA256 f1ec9aa3500a876f8033636e39340c86ae42f94ca44c7c6b78468f60d679fdb5 DIST opera-10.54-6335.ppc.linux.tar.bz2 13572780 RMD160 d41658a87ce18856281d33ff521c4d4031519462 SHA1 b4f7db8d4289c098561f5be92cfb86848f5409be SHA256 edc0f54d4bc08901fb0cf5b0571855ef0130e546c9d9e6992f2b7ebdd93838c4 DIST opera-10.54-6335.x86_64.linux.tar.bz2 14236508 RMD160 c74e6928b04b2fc4825694527d1ff50c792aee74 SHA1 8e9dda3f89800c538339721682f24b5162d73503 SHA256 c31b87c0791238e62858da58546788b0c028e9cb9652a0998a51f926b7bfd2b2 +DIST opera-10.54-6336.i386.freebsd.tar.bz2 13299174 RMD160 837a17959df5cf71c9b64a44bbc6d8f322d5ed19 SHA1 d07682ae85c5b9531686d58fde66cb1ca2459d5a SHA256 6191a05b3acf26addd8a345bc5d917ad95effe2ed30c13b5154575383a81b530 +DIST opera-10.54-6336.i386.linux.tar.bz2 13268671 RMD160 5470d627638bfaa0a3ed9ab7b69557dcfe69f946 SHA1 8f7c3edd575c6e79b60c69e1fe3a6bb09e808c85 SHA256 70b3ae27599b09a9edb0ffe4f6985424728a84c966fe7f8e63bffc2bd5042c5c +DIST opera-10.54-6336.ppc.linux.tar.bz2 13576807 RMD160 df632c494fcf1968ca425321d092137fb2358ff0 SHA1 e372aa7d574dea1c6cfbcc1d73e00e44a8f04939 SHA256 7ac29643f67aa1b15798a5f4a945be04729415387be3b701933306985a20f3a0 +DIST opera-10.54-6336.x86_64.linux.tar.bz2 14239967 RMD160 5fb6d0c4682e8584acb531f47bc5b4da1af897e1 SHA1 744be6c1c401d9d0e4d541dbe5e2eb9907b1e542 SHA256 a7fa219e7d0098f4d8fce7e687d287b7de9a2f7ae951e93e017ef64a80d8d28c EBUILD opera-10.10-r1.ebuild 4893 RMD160 2733461c1ddbceae8a1177fb931693aedaaf8a2d SHA1 1c95510bf92b10420c5739c1e45cdf80aee07627 SHA256 36e9ec97cb0e8d5b01a0765e56ff7fda46f80e0590ca4342aaada9632bc62d3a EBUILD opera-10.10.ebuild 4893 RMD160 6691d79a5f95c3e3d0701b4129a481875399d587 SHA1 2bd8f1a8e97f79607afc1f2ad0edf8a4c80c7f62 SHA256 8dc65519c765759956195bad7bd25bade46c222bfeb10d9e5057bf4f7bb90565 EBUILD opera-10.53_pre6330.ebuild 4452 RMD160 2c3d32943320a121a6193fc8be04d72d13aba753 SHA1 d8459e063e0b2e03dfa852bb6689694fbb1eb18c SHA256 1aa7f5d05e1692445fef7eeec2a436d1c2af300ae664d8af22fb2a107e623b11 EBUILD opera-10.54_pre6331.ebuild 4452 RMD160 16c5a1f25f05ca56d3dc59b88b090f84a2b08102 SHA1 128a2c323aecdd90f727e4d2a30026d538e7f4a0 SHA256 22b0589dd3e3461505791557f29f654a982ad86fa68338a52179cec37a6eefa0 EBUILD opera-10.54_pre6333.ebuild 4452 RMD160 17d015ff20c7cf870b1261206f7168dfc77ce010 SHA1 34ca7f31498029a3b719c020bcb2d9ba2724bc0f SHA256 f386b12f72a45208c608b1aceb8e752541bbc35a0af9176215b06238b68f5b66 EBUILD opera-10.54_pre6335.ebuild 4452 RMD160 670d9aefb0f4fbd40a793189c0fa1232dcb70545 SHA1 459f08646cac2ccc5f0aba2542eef2d8bf112ca2 SHA256 2f6532e9abd7c8d13985aabc8d7051b05e2d067fe38c80195c953e93d0fdab04 -MISC ChangeLog 91745 RMD160 6d0c229d401d1345195e777bb512fb9681160b10 SHA1 d678fa2e680994fea36e253800eda66eb3f58965 SHA256 1c1eb3f747270a795a7a0e220961f4302dc94e1b84f728522082e00a5b5d58fd +EBUILD opera-10.54_pre6336.ebuild 4452 RMD160 25cd4355ff29a0b34a50060af3de3e5cc3a2902b SHA1 bac6fa060245ade5482e232733778cf31bf4f86e SHA256 f5ea20765d1393f86afdd73fea89d83c357f8721a789662c3035424d5ea47dba +MISC ChangeLog 91941 RMD160 b4da9800efb54ad7aca7e10de5902f4b21cbcff6 SHA1 b04a72a82b3ae85ee3cb2dafc3dbbae8fc1851a4 SHA256 1191b4d573fef5ba2a496d04e0147894b27f1d1650964b775083d355110f2554 MISC metadata.xml 547 RMD160 dabb86bc4db85881b0ce910ac05e63d16342e787 SHA1 9acc7ec7a62017ed7c9acfca301a3ea75e4e88d9 SHA256 9f70a9db124893d6a56a40615dbe8cccd015b836067d570a9638a9bd9ec6217a diff --git a/www-client/opera/opera-10.54_pre6336.ebuild b/www-client/opera/opera-10.54_pre6336.ebuild new file mode 100644 index 000000000000..34a6084f51bc --- /dev/null +++ b/www-client/opera/opera-10.54_pre6336.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-10.54_pre6336.ebuild,v 1.1 2010/05/12 14:20:31 jer Exp $ + +EAPI="2" + +OPREFIX="/usr/lib" + +inherit eutils + +DESCRIPTION="A standards-compliant graphical Web browser" +HOMEPAGE="http://www.opera.com/" + +SLOT="0" +LICENSE="OPERA-10.53 LGPL-2 LGPL-3" +KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" + +RESTRICT="mirror test" + +QA_DT_HASH="${OPREFIX}/${PN}/.*" +QA_PRESTRIPPED="${OPREFIX}/${PN}/.*" + +IUSE="elibc_FreeBSD" + +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 vi 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}/" +O_P="${P/_pre/-}" + +SRC_URI=" + amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 ) + ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 ) + x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 ) + x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 ) +" + +DEPEND=">=sys-apps/sed-4" + +RDEPEND=" + =x11-libs/gtk+-2* + dev-libs/atk + dev-libs/expat + dev-libs/glib + media-libs/fontconfig + media-libs/freetype + media-libs/glitz + media-plugins/gst-plugins-meta + media-libs/libpng + sys-apps/util-linux + sys-libs/zlib + virtual/opengl + x11-libs/cairo + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXt + x11-libs/libxcb + x11-libs/pango + x11-libs/pixman + x11-libs/xcb-util + " + +opera_linguas() { + # Remove unwanted LINGUAS: + local LINGUA + local LNGDIR="${D}usr/share/${PN}/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() { + echo -e \ + " ${GOOD}****************************************************${NORMAL}" + elog "If you seek support, please file a bug report at" + elog "https://bugs.gentoo.org and post the output of" + elog " \`emerge --info =${CATEGORY}/${P}'" + echo -e \ + " ${GOOD}****************************************************${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_install() { + # Remove "license directory" (bug #315473) + rm -rf "share/doc/opera" + + # We install into usr instead of opt as Opera does not support the latter + dodir /usr + mv lib/ share/ "${D}"/usr/ || die "mv lib/ share/ failed" + + # Unzip the man pages before sedding + gunzip "${D}"/usr/share/man/man1/* || die "gunzip failed" + + # Replace PREFIX and SUFFIX in various files + sed -i \ + -e "s:@@{PREFIX}:/usr:g" \ + -e "s:@@{SUFFIX}::g" \ + -e "s:@@{_SUFFIX}::g" \ + -e "s:@@{USUFFIX}::g" \ + "${D}"/usr/share/mime/packages/opera-widget.xml \ + "${D}"/usr/share/man/man1/* \ + "${D}"/usr/share/applications/opera-browser.desktop \ + "${D}"/usr/share/applications/opera-widget-manager.desktop || die "sed failed" + + # Install startup script + dobin ${PN}-widget-manager "${FILESDIR}"/opera || die "dobin failed" + + # Stop revdep-rebuild from checking opera binaries + dodir /etc/revdep-rebuild + echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${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}"${OPREFIX}/${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 + + [[ -z MY_LINGUAS ]] || opera_linguas +} + +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 /usr/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 +} |