diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-11-16 15:35:03 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-11-16 15:35:03 +0000 |
commit | b615cd4cd6040528ed4e2661e8f24d58964ec22b (patch) | |
tree | b2a9d5f75f5d630323e8b021682fb8b88c262d30 /www-client/opera | |
parent | Version bump. (diff) | |
download | historical-b615cd4cd6040528ed4e2661e8f24d58964ec22b.tar.gz historical-b615cd4cd6040528ed4e2661e8f24d58964ec22b.tar.bz2 historical-b615cd4cd6040528ed4e2661e8f24d58964ec22b.zip |
http://my.opera.com/desktopteam/blog/2012/11/16/opera-12-11-rc2
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'www-client/opera')
-rw-r--r-- | www-client/opera/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/opera/Manifest | 12 | ||||
-rw-r--r-- | www-client/opera/opera-12.11.1661.ebuild | 219 |
3 files changed, 233 insertions, 5 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 189858e9b4c2..d35a4de3019a 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/opera # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.768 2012/11/16 07:44:26 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.769 2012/11/16 15:35:02 jer Exp $ + +*opera-12.11.1661 (16 Nov 2012) + + 16 Nov 2012; Jeroen Roovers <jer@gentoo.org> +opera-12.11.1661.ebuild: + http://my.opera.com/desktopteam/blog/2012/11/16/opera-12-11-rc2 *opera-12.11.1659 (16 Nov 2012) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 80198b5d5933..f9095b5502c0 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -16,18 +16,22 @@ DIST opera-12.11-1658.x86_64.linux.tar.xz 13637052 SHA256 b9439e1a8c063f41476330 DIST opera-12.11-1659.i386.freebsd.tar.xz 13476544 SHA256 9b9a6aece5e6fd6281d1ca9eb32e9415e8e0ae09bdbec1357f064a5e8c70ae25 SHA512 a731e8a61666aca0b5a94419786347b7f700104d6951d07761b15515f0062d4b28a0c6b0b080c925d791d43092eb89fbe02c82031eb4454fa6d385c4d817d324 WHIRLPOOL eea24507911181595fa83379e6804462ada0af2445ddb4a6ed894c052259b05d2b8eded6459ad5792ef8d87b9ece2716aa9fefed19fcde08c7003ca72b92770a DIST opera-12.11-1659.i386.linux.tar.xz 13550032 SHA256 02031be7adf197ccfd9cb1962f97fcc59897e48b12e479d3631ff3349b86ba21 SHA512 b69108fb06aa4a34402288784cb04c6d2c9588ee5d5127b63715446ac35a63ddcf17a8e4a5955d7642f4e577e6f5dbdc00e1462a6083dc8473c4c30d5e3f7b8a WHIRLPOOL b0d56a1de36e379890f09a13a0c91e5ded6bace8137e6ca1c5ea51de80e84103fc25707c4b3861910c2bd1d258c391a4f8689fea850625231179777f6d63c81f DIST opera-12.11-1659.x86_64.linux.tar.xz 13634280 SHA256 3ae08c335ee1f739b22e29da271f37a97375e1479f94db896a2cff1fd1bbf4bc SHA512 08a7771bc2c732f486de6207bbd6f32ff3d9779705117b7add13fe71ebdf50672e300ca28815ab816955eb4e565b891c358a43987c8b5991a3d670e7a58316cf WHIRLPOOL 89e4453a78731db64ac84ad24157ae4fb6a8d0bbacc8ffc94efa1b5590c597e017dc3fe4330cde7e1ab7b48da5d076192c86904a09728272f3ace3ffeb17123e +DIST opera-12.11-1661.i386.freebsd.tar.xz 13472248 SHA256 de0675401defd2caa3b40525fdf4a3cd793308017ba0545ff4a6b3fc24b5938b SHA512 48c74f9747c1b653cbdc608c852401b4d335063e7e986d2fcaca722506b9f9a9b8666e51b2a4ddab7905ee3e138c947dd45d05e6dff47534f0b44c2a58d35892 WHIRLPOOL f73ae96392525f6878059c8c2d3f6086e97e138a0eb074d87734d2fe587821a5064db0ef0ccde17e9573e6c473d4edeb9d24bb11aa45a6b6b97b9ea33bf82c34 +DIST opera-12.11-1661.i386.linux.tar.xz 13552952 SHA256 735299d288c4cf55bfde50e02a685f8adb365494ec2566ca776741402d9ba22b SHA512 e051b37fccd1015ed82eff85d80c04a314ba51ec79f01d2503227f192489a31e292a1e81bb80c05b49035907b59be84cb2f0e99209c5c2ab50dcfc7373637f2b WHIRLPOOL 7b6482d7198d2f1fc5eab5770a3b481c4005fe6afb5800d840f21bbc174a23ff8184cd2b6172572171fbd692130c7f2d15b62d28aca184118485fe44b100e464 +DIST opera-12.11-1661.x86_64.linux.tar.xz 13634672 SHA256 773584d3fad92516f1d22a83607cf08e7d7f63a3d999378fa8356bd52669cade SHA512 df5d1194a598428c9ec348dc815081244115f469d8c684bec624a412d18695542447298f10692dd42a5f162040c965d89f2462705d7155d0dd22f6a8a35b5111 WHIRLPOOL b4d10ece15045a2117b9439be2c7dc8b8e2c638aef3516d99f901da78060c76453ff62e4754782a5ff35ddc7ad0650ce66999730625e9a79e2429ffa61770461 EBUILD opera-12.10.1652.ebuild 5530 SHA256 c20598d66c8fa17c1caac68ad4bd2a3f7e7a28b809fa0345fd8edf25b79fa491 SHA512 f3a2d9aa19bab6aa03eac16da295a0f5df609839564329bcee07bc19fec8894b5412f4c3bc04f344841f06e1377e757ce73693aa18992c8f64b85c1e69cfd752 WHIRLPOOL c53fbe548c5ef1f07591d61f76a75643222d391ad11e63689eff063e8b6889db4f61ed7f00cd7727c51cc74cca844e8cd56a47286f8d2ceaaea3639519d410f7 EBUILD opera-12.11.1655.ebuild 5541 SHA256 d29286644533d772b611ce14487fba7ed9636ffb11de1781e25bb438b119dfd5 SHA512 997541ce689f6d852b260a77847457d7b014bc90e0649894dc2cb15ad48ed2b88a54c0e109a2dd27d6530a5b1d30339837f681a7b092146dc2b289c6845bacb8 WHIRLPOOL 6ad1a6877cfb3635f76fee68906b7f8dc495b7ea4ab14bf9643a19a589fea0840ef373c3dbaacf9b04859a48686700823360b81e742bf57d63d073c6967d16e8 EBUILD opera-12.11.1657.ebuild 5556 SHA256 8c54c87a0fac594d0c21fc261fc19d8201c31499bbcfec2d508b6a87b67c8206 SHA512 fe0cf83836d63428e1d1a1bdba691a7cd3e0c72df0baf33b6d04f5d57d8f0a8d8ce5c6910e4f0a6ecf83fce2fae3135f395db23f26b0a480618836af89462ad2 WHIRLPOOL f472b2d8016bdd180851edd5ccf7b3503ccb6a808269b4de095483846f9629a8ab68058a69e090a8384d63de4c8ca79cb4bbfeb7680ed50e31dae90ec84bf9bb EBUILD opera-12.11.1658.ebuild 5545 SHA256 ed8fc00e14c4a123794c1a17f81e33a26b43ab69a1cecbc2d7c4101038e584a0 SHA512 6c5b0f89e862afd7c467cb0e07734652533c18acb58843467097dfe8a7d27ea4c8909474942078a888704568ffe336b8f68fbdd5189a888f39e5020d9f6b191d WHIRLPOOL b5dc9723a44c446ae70509538e242c7b11aa54e6460c2fb1e5eb4b721d008808a321de44713a35bd0314800ea421206c42ccb0f61e77254ac0bb7a0c2cbf415e EBUILD opera-12.11.1659.ebuild 5543 SHA256 01f69d2741bb1343339b81a180bff608a06e941f80bbd8a875a02eb4fbfb72df SHA512 abae90a599595a9d836586b7d41f362495cd77778187d4757de21ede7d4040b6d48f568895f629f60f7843f6c63589ac6a9198825e349a876fbea5d4c7216102 WHIRLPOOL 26ac65a2664c2af53ff2a95d125993ecdf6587eafc4db8f82f9084c859870095781b1f29adeaec0f6c19b5a06176ca89a8ae55005dcbb4b2354db4a4c49b10e1 -MISC ChangeLog 31368 SHA256 5cc4eec25a3093f3214efc23a2c45a081384f6279510ad7d8f1fa4281240d366 SHA512 b7867bbe668af13b8d81632fdf712ec2541f2718b42db0811522b454b02a9ffc4f712f7a5dad3915e7f8e5f65c22612e9d3fc200ba8b7554c43e8b6c272980f5 WHIRLPOOL 46a1f3a92c1b35e4c60dad73b71c0bd0c4a222ffb7fb92ae00a68f286ca2db97589340bc283fed32eaf7b946d551253699933a072a60ceb2e8c0e29b49e94647 +EBUILD opera-12.11.1661.ebuild 5539 SHA256 53603054f0033b22ff97bcd49fc0fddf598f2e5b14850613d0feb5f859ab5fb3 SHA512 de81958f9b26ab9124846cc3c7d43c69a4efeffca0f27499e8ca91bbbfcbf4f48c852bb6105638b10f23da602ec102e391ce1c2a1f8f99b258e630c904bc4321 WHIRLPOOL b1af50a16bfb4412ce50fe3a8f5d74c49e22b132fd92188cf2b9d47ac2362fb416ff2d51af7a7cf4a9738f9ceb0f27b13cfdef27f9ebce3ba9695a7a5493ab2d +MISC ChangeLog 31541 SHA256 9a616319c29336083c59cb9e2a75ede83d321195fcfb46cf83ba2ba93c0aee71 SHA512 3a4aa957e64c28e879cc177fcc87439c97d8ba325dc7e777f701c00156c1598648195b9b051ae40b9c5c71674f55f4482deca28927b42d650a3526407de950ac WHIRLPOOL 661ea23c89a723c472181acad4eaf8bd62ec2f1c6ff32ac904c0e86777fa67712cff1d139689c7f78f2231376a04475b579c6568739675a9d8a561892ae2e416 MISC ChangeLog-2010 112299 SHA256 5c3b5c58119b4a6b1911d840892c42234f25dae57452287fb0a9e6cca78ed171 SHA512 9dc4dc7e7508bb1621c390837ec2e47d9e96075906b2060be419ee64e505c8f0da9e4d3a8bc7cc2de66c6efc383f026afb8fa5e886afa15da6349514a93c9edb WHIRLPOOL edaf1c2e810e91d37b2d90847640900374b447a12e2e0e927654966cc18c3a14f332ce6daa07c5a0049da06f5e89bfd0daddb5f73a4d79b334ded4397349cf7a MISC metadata.xml 672 SHA256 3fdb3d81bfb1c469bdf86811329eb4888ce909cce63d2aa71257b91a6f8f012e SHA512 4aae9fbf8a753b30b7ef5868b0084c1eb55ed34cc9e1ece8814db13230e07b455f45be936c810bc8a9426ce6c9eaa7449612ac50b47aad253dcae57a683b5b6a WHIRLPOOL 9dc490f6cffad6c3ff1beb27a74818fc66a194856b7d5a84972d387a6bcdf81cda95bb2d1f2b5cb9d58f47cf898bcede39b2a68fdaa5405c5efbffaa51986f3d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlCl7tsACgkQVWmRsqeSphMXiQCeIldzsxaJAL/A5ZocWqhn/yjw -fcgAnioPohBj2NJEpAu4gaaBqThhh4s+ -=yKvG +iEYEAREIAAYFAlCmXScACgkQVWmRsqeSphOSsQCeLnM+d1WbSqnjm/RHbOZhObh0 +eYQAn20Zyr796BL4EiszgV2Z8PtwOYhA +=CMPP -----END PGP SIGNATURE----- diff --git a/www-client/opera/opera-12.11.1661.ebuild b/www-client/opera/opera-12.11.1661.ebuild new file mode 100644 index 000000000000..800ab312f558 --- /dev/null +++ b/www-client/opera/opera-12.11.1661.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/opera-12.11.1661.ebuild,v 1.1 2012/11/16 15:35:02 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)" # Version, i.e. 11.00 +O_B="$(get_version_component_range 3)" # Build number, i.e. 1156 + +O_D="rvt_${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 lv 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_PREBUILT="${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 +} |