diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-09-17 11:31:03 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-09-17 11:31:03 +0000 |
commit | 5ac323fc1dc715859426fb7c94b90f276392bc20 (patch) | |
tree | 332709c30223edf18b64dc86764daacd32e70fe2 /www-client | |
parent | unar bump (diff) | |
download | historical-5ac323fc1dc715859426fb7c94b90f276392bc20.tar.gz historical-5ac323fc1dc715859426fb7c94b90f276392bc20.tar.bz2 historical-5ac323fc1dc715859426fb7c94b90f276392bc20.zip |
http://my.opera.com/desktopteam/blog/2012/09/17/2-more-fixes-coming-your-way-before-beta
Package-Manager: portage-2.2.0_alpha128/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera-next/ChangeLog | 8 | ||||
-rw-r--r-- | www-client/opera-next/Manifest | 12 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.10.1597.ebuild | 219 |
3 files changed, 234 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index a035d6302ec3..98bf93cb41f9 100644 --- a/www-client/opera-next/ChangeLog +++ b/www-client/opera-next/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-client/opera-next # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.126 2012/09/14 16:18:54 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.127 2012/09/17 11:31:03 jer Exp $ + +*opera-next-12.10.1597 (17 Sep 2012) + + 17 Sep 2012; Jeroen Roovers <jer@gentoo.org> +opera-next-12.10.1597.ebuild: + http://my.opera.com/desktopteam/blog/2012/09/17/2-more-fixes-coming-your-way- + before-beta *opera-next-12.10.1594 (14 Sep 2012) diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index 64117e39b507..34a7f6165fff 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -10,19 +10,23 @@ DIST opera-next-12.10-1593.x86_64.linux.tar.xz 13496072 SHA256 229302d24f9fbed7b DIST opera-next-12.10-1594.i386.freebsd.tar.xz 13358756 SHA256 fa76b177a1704934021baaf39daee0cb874915ef963bf9e79f9ecab8de99f4f4 SHA512 a7dacd5f63f705850ea471b0465b8105a27ce54470097a88c1bdee2377c964221f9fdecdf65553ea894dda78f99913a256f687e2fd590f588174596256662d53 WHIRLPOOL 4aa7e1fbdcb9259481cd98f5b9a4d9c13436aba8ef304718c63b1f49f2875cdafe9613d6a4dbf15b404af79791bb9fc4133c9c2e03739d317d719f901b7e4a1c DIST opera-next-12.10-1594.i386.linux.tar.xz 13403804 SHA256 fc3b03559ec0d5e130fade0bd9c53f1692a7863bdbc6a7f0b7c59a47d2f9696a SHA512 86bcb14d53f2509d74d865790c671af02c3e5841d0bc4fcd994db8d8829774072291faef2af4680945445a3ff6abf9e77ebdf53b1e568ecd9644abcc025e1a46 WHIRLPOOL 45fc81a1b0b8476a86fe09e7c67ecc5b8dd1181324c1d2e3c981a04f93fd149a4cc1b36b5909c206bb1441a70cda9ebe60b8c832130529cea91b2e97e57934ae DIST opera-next-12.10-1594.x86_64.linux.tar.xz 13500520 SHA256 b477494dfe08e51cd0025674397155ed946dac34f56c35726970c88bcdf1f868 SHA512 728e7da599df330dac57dde82e58a5cb6c5a446a2ff87ab7a26d8adeead9716e7abb949766f235e153ff8721a87ba300c6cda68fbf3288d698be2c8b8f2d62c1 WHIRLPOOL 979e40750315b8573cd1ca8f5950229af958d44fcefd39286706fd838b095a7e8a0f7d0a04a3f12f3df711a0e7c82acfb88527ec3483d978621bd81af2002ecc +DIST opera-next-12.10-1597.i386.freebsd.tar.xz 13364360 SHA256 b717c37e984d5ddc2d34c130c6e8e28a08013d2222aa84a84c056a1da72f95d9 SHA512 f7462dd4a7d942de6369275325b49dcac9d395777a9aeb58d9fa6f0dffe528eaa8731cc25b69c19c01f5cce7b040540da24bed83dc3344aed40b121155368135 WHIRLPOOL bf303b099156f1afd42733f67a9d84d28fc91a6a78bd7bb5e7804163ce71993ffddf8a8e133e81c6af52138411d8b55911fcd104d16a6e32c884ed3f69a69dc8 +DIST opera-next-12.10-1597.i386.linux.tar.xz 13402020 SHA256 d091e6f86f13d4f1050a59591714d1d6b0520f29addd294f69332836d0fb6566 SHA512 83f84c409fb46888a1bc662673c40cb81486b99b4f799b83637206b9fd73d86a822ba131eb76a61b8d1fa12c066c14e1855d620e34e542d29973198fa6bc8ac2 WHIRLPOOL e31e2dd64aa34b62acf2df716fe81b278eb22a88dad20c00edc74fd187a17f24c43667b0654e82fc380c4bf47ca93ef5354055619eec5cc9fefd046f1d6d1e09 +DIST opera-next-12.10-1597.x86_64.linux.tar.xz 13496244 SHA256 03969fe013b829f42f7cdd7c7e68a879d3c444e838d0c26f852b4bae22ea6cd0 SHA512 ed14b99b6961e408e2fa321c8e09ed8a3b4cf101bd63d9f4f5f9a8c4a48dd84adf8e238c2c00024565a807a2239fd1867eb54a606ca2b1691baa61034f3a8833 WHIRLPOOL 403050e0c194da4e5041f1ca2cac301859704c8c793d2a009f452dca89a5ea7bdb6d301c1dcf2eed00a512a92a34e823f4b26f702bd9d288920aecd5925281cd DIST opera-next-12.50-1583.i386.freebsd.tar.xz 13365984 SHA256 5890c8fb9ac53fd039a7a9e46fbedc3cd86035c94a4b574c36f367b25fd025e2 SHA512 158794ff9018aa540d37916dd9823b02a3f2ff9b43266c4de5206fc155e3ce0f2fa3ef9d6edb0f2f2030568b2e22dcb58aa0e6c758c954616baf2c3fa9f21874 WHIRLPOOL e70d018025ce0a67d1f0f57f03b3c2cdccc94785c2d327c5a2e07fc0cfebdd76064377297c371dda7a2dd017bd89e471fc71763288ce4bac2064cff9d3606e6b DIST opera-next-12.50-1583.i386.linux.tar.xz 13486000 SHA256 c266419cf12e1968a87aae11275d51c343347d1bcc24ed01216c35c8bc680753 SHA512 073851b275d1cefa024b74801ea645759ac79a41855fb1569b3b4210517d3f43e93e823bbcd552a685011c1d111966b494a08c627fcbe26b7a2fcda64978aca5 WHIRLPOOL fa611abfb17bb12424705b89b13dad9479dda4e597ad0469103c12fa7f55454f52b8925d207d7c32a5812a8df8852a9c4feca546d23dd1c9db41f698ea841a9e DIST opera-next-12.50-1583.x86_64.linux.tar.xz 13645420 SHA256 be2b43eaf57f69c8433fc178bf8f62cf37ba8b4997c7476767feea3d426d7777 SHA512 c44de2d045dc8a83ab14eca8a63db4b4224e81a3db497714a9e8d31027afadd038fbc49c097701e7229e2ea570fc4e99ca303604e4818d5eedf11ebd8adb55ed WHIRLPOOL 295256515732f19907c6cb177c702c0476420ef42f61fe30219e804b37bcecdd4cf8966c7a1f5046893d452f8cf6a687adaf184d754c34a780606e4f02b5b4f5 EBUILD opera-next-12.10.1592.ebuild 5553 SHA256 96238942d28b84fd875fd6d3d4b6c2c628411a7ecc5512fe5eef5307e918b873 SHA512 d7be8a838c33d26fc10f268b88bbd72ec4d038b2bf8dfd10a5eeb720fbca943129fdfa2e3458499aa7542902f7c2ad171f888422d308f1c6681832489bea389a WHIRLPOOL 1773885d549d42875740118b627335c101d0c98e8cdc011099bed238a06a204c7fea1bbdc29092fbd5de04af69b0220246c08fe8cc07a4456ab894fe0c5e8754 EBUILD opera-next-12.10.1593.ebuild 5553 SHA256 53c3c2e12796ff3fc6676d584e735134a3e7151518feb53022186cce07a2172e SHA512 4e3610072f5aaa3d6cbec7678545edb477afc239bd42da3da466084bb63124dc0ba09430fb895a26e87a87797518d63cdb6710874715d7d1bdbe743b6ed1cf62 WHIRLPOOL 248553fb9d0658dabb4d721d49fc0f997396a8e703ee407d58ad8fd7285dc60759632cc5fa759af581f65fd87504d47988ea7eb477943bac282f2eecee75a2b5 EBUILD opera-next-12.10.1594.ebuild 5553 SHA256 8805979293faeba41c4d408c4a886ac7c77ae47d23845d88a024d530cac7d8e8 SHA512 dd8e06b39cb040cb035c5f1a449bee6d8b5afd5fd7659e0417e7c8ef1d8c0d68fb5b867b221e3b00c1940ae2bad3d66a8e632be89263054529a5510f0f6592cf WHIRLPOOL 19202776e8890d1fa18a82142219b37d2f848ef5d87d0db85954f3b6137b6ed4d7325e81bfe86721fbda09e2b89a5615b9559ed881fbc19315831dc98756d3f8 +EBUILD opera-next-12.10.1597.ebuild 5553 SHA256 a454f327f4d4c2602690c34deaa4d995ea867d5233747cdf01184a8cd2a4cd27 SHA512 670d49791642d61760d857ff7bbaeccd5a584dfadc57d61e536b0cb14bc54101e2a0fcfd30c0cdd4772df89531eb4f2f5f2f52053156aea9e28237cbe50c42ce WHIRLPOOL c4615537fb159c8fcf2a05c71f1932405a3fdfa73376403eca8ece6e92eb1db1bc6a44a85569fa4bdd2323e804b8859a7af2c75f21807f2316e75b54668af510 EBUILD opera-next-12.50.1583.ebuild 5554 SHA256 42348db5bf3310d9459e489cd20f210c1d0441cfc73e2752a27cb2a4b8179f0b SHA512 6b8654f072d80960a0960d9c1e59734345c26a747f6080654398b1801c24cb3d6d22c95ae2caa6949ac30df2c415a9ad9b859b10cc855a12a7c8a918a06da214 WHIRLPOOL d369c65a36688f1a6be3949d26837aa92619e849cdf578a6fbdeac0c05b750d272c84a530bd16777e0d6f7a37c48dc45c156af0f69b636c3a265926d17220b98 -MISC ChangeLog 25554 SHA256 544becc764c86346adde44ecc686b8983baff5dc78976d4fa4ba6719bf41c133 SHA512 782ba2316b6761b0d8528b57d572c233756236004e47a6b35b22a60d789f9e94aa837d33631f23a762b8d4702e0d53d06282ab27539b8f9c56718e503c3e6358 WHIRLPOOL fbf3ceb946d83bd5666a32476a312ce43aaf6b327dcd594016d88ceee1dc1b8926f149af60bcfc55d95f14bbacf94386f4750c35df67b8b294cb827fbef71bb9 +MISC ChangeLog 25765 SHA256 900b58e0e81a0ef60526e245094c1e0eb1452e3c7c4eb27b59781ee707db702a SHA512 b48671eed87c569235d7939569a8623d2a6f9850d71c1fc813b003d94ca6313eba4c7ee3ae57dee85313e639a8dd9438668c2322f16151bc821b940ba736e883 WHIRLPOOL 7aac56ca7313820587d811a7efde0c364e194f3153af6173cc1aa0c5283d269031f0bc36dd1b783160dff3361b4b0e425eecd5f54d8bf4c48db6b350dc33ccc9 MISC metadata.xml 1523 SHA256 425b559a6232d98e76a1dd960c7518aa27509021792868ffe3bd6928ec18d68b SHA512 b2d0a81b199eab70512105df691525d969865950e16f0f3646c1ef5307177391d34d157b02436fe6d156431b6727e4bb07cb7210e03a284abb531d22c8f723d7 WHIRLPOOL 7bbb0acf3ea48057939f6e652c2112d2a294030109bda2b0bab114a8922ecc67a5b9f807530ff0a2854225ad09dd98e90e3e8b510109b403cb51c1bf405f6d3e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlBTWPMACgkQVWmRsqeSphPG0ACdFI714Bm0eyPapbdYiX/7PeMH -SSIAn3Gz6/EnQ3o8hEG2kDxns+k0x7AX -=gzWh +iEYEAREIAAYFAlBXCf0ACgkQVWmRsqeSphPvvgCdFM9IGnkoX9kk0k5L7+DiZKlX +pQoAnjPd4pu1PUPgPRkPGWlLOT+SL6DU +=y3JX -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.10.1597.ebuild b/www-client/opera-next/opera-next-12.10.1597.ebuild new file mode 100644 index 000000000000..a198f7bcc9f0 --- /dev/null +++ b/www-client/opera-next/opera-next-12.10.1597.ebuild @@ -0,0 +1,219 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/opera-next-12.10.1597.ebuild,v 1.1 2012/09/17 11:31:03 jer Exp $ + +EAPI=4 +inherit eutils fdo-mime gnome2-utils multilib pax-utils versionator + +DESCRIPTION="A fast and secure web browser and Internet suite" +HOMEPAGE="http://www.opera.com/" + +SLOT="0" +LICENSE="OPERA-12 LGPL-2 LGPL-3" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="elibc_FreeBSD gtk kde +gstreamer multilib" + +O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00 +O_B="$(get_version_component_range 3)" # Build version, i.e. 1156 + +O_D="1015_${O_V}-${O_B}" +O_P="${PN}-${O_V}-${O_B}" +O_U="http://snapshot.opera.com/unix/" + +SRC_URI=" + amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz ) + x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz ) + x86-fbsd? ( ${O_U}${O_D}/${O_P}.i386.freebsd.tar.xz ) +" + +O_LINGUAS=" + af ar az be bg bn cs da de el en-GB es-ES es-LA et fa fi fr fr-CA fy gd he + hi hr hu id it ja ka kk ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr + sv sw ta te th tl tr uk ur uz vi zh-CN zh-TW zu +" + +for O_LINGUA in ${O_LINGUAS}; do + IUSE+=" linguas_${O_LINGUA/-/_}" +done + +DEPEND=" + >=sys-apps/sed-4 + app-arch/xz-utils +" +GTKRDEPEND=" + dev-libs/atk + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gdk-pixbuf + gtk? ( || ( x11-libs/gtk+:3 x11-libs/gtk+:2 ) ) + x11-libs/pango + x11-libs/pixman +" +KDERDEPEND=" + kde-base/kdelibs + x11-libs/qt-core:4 + x11-libs/qt-gui:4 +" +GSTRDEPEND=" + dev-libs/glib:2 + dev-libs/libxml2 + media-libs/gst-plugins-base + media-libs/gstreamer + media-plugins/gst-plugins-meta +" +RDEPEND=" + media-libs/fontconfig + media-libs/freetype + sys-apps/util-linux + sys-libs/zlib + virtual/opengl + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft + x11-libs/libXrender + x11-libs/libXt + gtk? ( ${GTKRDEPEND} ) + kde? ( ${KDERDEPEND} ) + gstreamer? ( ${GSTRDEPEND} ) +" +src_unpack() { + unpack ${A} + mv -v ${PN}* "${S}" || die +} + +src_prepare() { + export OPREFIX="/usr/$(get_libdir)" + export QA_DT_HASH="${OPREFIX}/${PN}/.*" + export QA_PRESTRIPPED="${OPREFIX}/${PN}/.*" + + local LNGDIR="share/${PN}/locale" + + # Count linguas + count() { echo ${#}; } + local lingua_count=$(count ${O_LINGUAS} en) + local locale_count=$(count ${LNGDIR}/*) + [[ ${lingua_count} = ${locale_count} ]] \ + || die "Number of LINGUAS does not match number of locales" + unset count + + # Remove unwanted linguas + for LINGUA in ${O_LINGUAS}; do + if ! use linguas_${LINGUA/-/_}; then + LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-}) + rm -r "${LINGUA}" || die "The list of linguas needs to be fixed" + fi + done + + # Remove doc directory but keep the LICENSE under another name (bug #315473) + mv share/doc/${PN}/LICENSE share/${PN}/defaults/license.txt + rm -rf share/doc + for locale in share/${PN}/locale/*; do + rm -f "${locale}/license.txt" + ln -sn /usr/share/${PN}/defaults/license.txt "${locale}/license.txt" \ + || die + done + + # Remove package directory + rm -rf share/${PN}/package + + # Optional libraries + if ! use gtk; then + rm lib/${PN}/liboperagtk2.so || die + rm lib/${PN}/liboperagtk3.so || die + fi + if ! use kde; then + rm lib/${PN}/liboperakde4.so || die + fi + if ! use gstreamer; then + rm -r lib/${PN}/gstreamer || die + fi + if use amd64 && ! use multilib; then + rm lib/${PN}/pluginwrapper/operapluginwrapper-ia32-linux || die + fi + + # Unzip the man pages before sedding + gunzip share/man/man1/* || die + + local OPERA_SUFFIX= OPERA__SUFFIX= OPERAU_SUFFIX= + if [[ ${PN} = opera-next ]]; then + OPERA_SUFFIX="-next" + OPERA__SUFFIX=" Next" + OPERA_USUFFIX="-NEXT" + fi + + # Replace PREFIX, SUFFIX and PN in various files + sed -i \ + -e "s:@@{PREFIX}:/usr:g" \ + -e "s:@@{SUFFIX}:${OPERA_SUFFIX}:g" \ + -e "s:@@{_SUFFIX}:${OPERA__SUFFIX}:g" \ + -e "s:@@{USUFFIX}:${OPERA_USUFFIX}:g" \ + share/man/man1/* \ + share/mime/packages/* \ + share/applications/${PN}-*.desktop \ + || die + + # Create /usr/bin/opera wrapper + echo '#!/bin/sh' > ${PN} + echo 'export OPERA_DIR="/usr/share/'"${PN}"'"' >> ${PN} + echo 'export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${HOME}/.'${PN}'"}' \ + >> ${PN} + echo 'exec '"${OPREFIX}/${PN}/${PN}"' "$@"' >> ${PN} + + # Change libz.so.3 to libz.so.1 for gentoo/freebsd + if use elibc_FreeBSD; then + scanelf -qR -N libz.so.3 -F "#N" lib/${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 \ + "$i" \ + -e 's/libz\.so\.3/libz.so.1/g' + done + [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die + fi +} + +src_install() { + # We install into usr instead of opt as Opera does not support the latter + dodir /usr + mv lib/ "${D}/${OPREFIX}" || die + mv share/ "${D}/usr/" || die + + # Install startup scripts + dobin ${PN} + + # Stop revdep-rebuild from checking opera binaries + dodir /etc/revdep-rebuild + echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" \ + > "${D}"/etc/revdep-rebuild/90${PN} + + # Set PaX markings for hardened/PaX (bug #344267) + pax-mark m $( list-paxables $( find "${D}"/${OPREFIX}/${PN}/ ) ) +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + if use elibc_FreeBSD; then + elog + elog "To improve shared memory usage please set:" + elog "$ sysctl kern.ipc.shm_allow_removed=1" + fi + + # Update desktop file database and gtk icon cache (bug #334993) + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + # Update desktop file database and gtk icon cache (bug #334993) + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} |