diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-01-17 17:23:19 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-01-17 17:23:19 +0000 |
commit | f34df89eb06788005b11dc3d6eee11751d9b947a (patch) | |
tree | a988833d025ef6d6ce9961caf507f484ab151a8b /www-client/opera | |
parent | Mask =www-client/opera-12.13*. (diff) | |
download | historical-f34df89eb06788005b11dc3d6eee11751d9b947a.tar.gz historical-f34df89eb06788005b11dc3d6eee11751d9b947a.tar.bz2 historical-f34df89eb06788005b11dc3d6eee11751d9b947a.zip |
http://my.opera.com/desktopteam/blog/2013/01/17/twelvethirteen
Package-Manager: portage-2.2.0_alpha154/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'www-client/opera')
-rw-r--r-- | www-client/opera/ChangeLog | 9 | ||||
-rw-r--r-- | www-client/opera/Manifest | 12 | ||||
-rw-r--r-- | www-client/opera/opera-12.13_pre1721.ebuild | 238 |
3 files changed, 253 insertions, 6 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index f4563a5df5d3..ef98a376fca2 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.788 2012/12/28 16:03:33 jer Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.789 2013/01/17 17:23:15 jer Exp $ + +*opera-12.13_pre1721 (17 Jan 2013) + + 17 Jan 2013; Jeroen Roovers <jer@gentoo.org> +opera-12.13_pre1721.ebuild: + http://my.opera.com/desktopteam/blog/2013/01/17/twelvethirteen 28 Dec 2012; Jeroen Roovers <jer@gentoo.org> opera-12.12_p1707.ebuild: Set QA_PREBUILT in global scope (bug #442090). diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index a04a5088b345..1dd6e7022c8a 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -4,14 +4,18 @@ Hash: SHA256 DIST opera-12.12-1707.i386.freebsd.tar.xz 13517344 SHA256 04c4a3a8f780ab0c3b64e64af7c07402d329437eeb5b7d0daff2c252b77c1b0d SHA512 f0d23d15c73c64cf86cb614e4598f04c603e2378d12b8a42dbad05ef17fb88e02688b3e09e560066317fa195a920371288b93edcb5fe67b570bee65cbafc1ce9 WHIRLPOOL 192f5b7ad28ff198606da7f3fe9147be4ac2c6dd675795b0b8841aad089628f70457e586614208bb7bf5e87a0eea3fb3f9e5b175fb2b9762fe17f279ca77f4e0 DIST opera-12.12-1707.i386.linux.tar.xz 13522976 SHA256 7f766faa08d62be616ea43cf4bb026c8b6afb5a51fa8eae1227f16d5658779ca SHA512 676a58fb3006cacd6498c31f73ab0699fd6d75704a6f244326495bd5f7b20a0122c8ade0fb436e5c6f4fb7b655bf40a6dc877765fe20e95175425f4664600830 WHIRLPOOL 134d2f526be0379a96337f52baa3be1b3bd3e98d8de3c232ad36619b93c4be42128c5cca9d6d9a92dd58e6870e6d4fd06c02afe5c5f487170e0c630644e092f1 DIST opera-12.12-1707.x86_64.linux.tar.xz 13642760 SHA256 1ba428bd5acf4f17a8ef0f970fb9e1334477468abbf21612dd8c2eec5fff9129 SHA512 edde729b43fa317449928c03046c0206724559f95f9c7f6989322691d2e33b3517d47db35f24220f3af4a3a4725d007ca2c4216228068a6af083b61e3f2dc7a2 WHIRLPOOL 50528dd2e28e99d1cb8c72e35a2bb1b7da133de32561ca4188223e8ebf347f68e769a8def6f2ee42c45b7ea79851858588b10f2d9398fa49543ee642ec8c0378 +DIST opera-12.13-1721.i386.freebsd.tar.xz 13523504 SHA256 cecedd15f7dd73c4bcafa33c11c2914841641079cebb01ed4a07d82e7e178ece SHA512 298959086de06649fd6009e98f2601f9b957487d0c70e2b89a83a3f29153d1e9f73732e1d9f57d15630d5262dc23d5374f55b58ea4b40ec70e5d07f5282b5cf6 WHIRLPOOL 988e3121404db76721fe5c3ca766a6c2d7c153ab2c5e78812960cff912f8151828efcab96207e6d49c496340435d614d589862d75ca0f29337365f7e5ab89746 +DIST opera-12.13-1721.i386.linux.tar.xz 13596480 SHA256 cb3c42c9153004b8ff0fcb951389d39fbb618404af05c4ef2a12200ed1e00fdc SHA512 556df9eba8e588407637aef87722c2c2b34bd0b26321b8dd6be4885c16f1a41e9f538ac6c9ca79ddba0cf04207a28a1baa9f9493269d60ad7ade68c72196aa60 WHIRLPOOL 16d2459eadeab437fc1c0f3ae931c2e613113ded50ef54a4ea276b0604edff6b295d4e57191bd5aae6ba505e480830c7a19b2d1f20cfdfcddaaa6d859af7aca3 +DIST opera-12.13-1721.x86_64.linux.tar.xz 13675064 SHA256 37c04f945087b13a69382a46f98cb62e12a766fa2aebd0f1b4293594310885a1 SHA512 9022b8be35ca7c118abe0ffc5dd221678db2554ba4d0faeba22ea7cc7d92d9847691a6c3e45df1c79815c151db908c7aed9dabbe475f7ba091583f07de5f6038 WHIRLPOOL f7f49f6e0601f2d4e2a59091f57fed456a0eb15cc4ab5bdb9a2f31915ccd15a204ddb1c6b33f750a80c2efb412fe8befb64b0f35368d68e85eb5be327a7c9c64 EBUILD opera-12.12_p1707.ebuild 6145 SHA256 2b13d66a7810ebadf352cf968de1be20dc4387ee655fd4c3257ccc33bbbfbea1 SHA512 74826a16e4b1cbd14176b284e41b4b0180ad8be9641019137ad16f98fd576e4a73416193ccb38c681b3a81b285be3ca392be07c564489aecd33873f7e8a7e7e9 WHIRLPOOL c1eabc678445897468c556c9dae2b44313fd83401f31c1681e84fbe2b2ff4dbf016b0f11dcf4d5007cb1c8c6eedd3dd36b0510c5fe6767b4051e0998394439bf -MISC ChangeLog 34113 SHA256 df7f486a54b20e85d769c36405e8cc476931afe94401e4650732ada7853242bd SHA512 b0d6b578274d20b6a84c2d1ebf8264160d56282c600739dd437746999578d198cc371e9a9107fb609d0a814ed1e8ab928e1daeedb796ab796d550c7247cea90e WHIRLPOOL 0a233709afff9deec0151206c4dc63b30d8e8d549f5ed29ff5b41a0853c77d94e7c38295a9573d6d26f6750aded7b0076f63dca7d9ce401820b1d0bfb37d9e7f +EBUILD opera-12.13_pre1721.ebuild 6157 SHA256 131ae42d1888d5df86b87dc99c120953e3613603bcece42bfc8b8dc3d2cb9289 SHA512 d42387444b1b7a6bdbb52ac8cbd6ba3ae9c44c2fe6323e604ca16318725522d3df3e8fcb775b3025937dccaaffb7ba44efc3fee41dee70b01b7fac91a0b755cd WHIRLPOOL a71dded5bc5ea1186576a6b07488c8a4455e525f85895797092902e9f586d4727f73dc4ec900173b270749f9afdacce03921596592db54833e806ea2fbb3e270 +MISC ChangeLog 34291 SHA256 1ab19a35cc9f8f0f19bf39815b70d0cded558a3608fbb1b233a50b9f9d009da1 SHA512 3cd1981fcfdb825826e79eb78a635f4cb199660f3fd0924fb866e6429818b7f4cf5d5efb0c143c7d0ed6ecd58dade6905d2e1dcf17d9a9c6a21a10cf2c93529a WHIRLPOOL 058e41d3bb972174fbd0b98144d7d64ba1bda0f179c16cf5554404db0bcc9a26217141908b82de30181c7d5644243f28466b3247c830fd99b700f944e946d341 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) -iEYEAREIAAYFAlDdwtcACgkQVWmRsqeSphMtxgCfW2d3/wjv4xGkXciYqD9H6Opx -IhMAnA/TIQoZ8TxazIA1KG/e4Ym49OJk -=OAVi +iEYEAREIAAYFAlD4M4YACgkQVWmRsqeSphP+KwCeLAUbpgmjkNTfJu5D0guF/pWn +brQAmwRJyn/r3pwWQJzNsXJp3NfmGiQJ +=Dngn -----END PGP SIGNATURE----- diff --git a/www-client/opera/opera-12.13_pre1721.ebuild b/www-client/opera/opera-12.13_pre1721.ebuild new file mode 100644 index 000000000000..354a9ec3db29 --- /dev/null +++ b/www-client/opera/opera-12.13_pre1721.ebuild @@ -0,0 +1,238 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-12.13_pre1721.ebuild,v 1.1 2013/01/17 17:23:15 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 + +# == Variables that often change == +# All other variables should be accounted for by _pre/_p + +O_K="eXpl0dngR0botz" # The key to the snapshot URL + +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 +" # Supported linguas + +# == End of variables that often change == + +if [[ "pre${O_B/pre/}" = "${O_B}" ]]; then # snapshot: _pre + O_D="${O_K}_${O_V}-${O_B/pre}" # directory string + O_P="${PN}-${O_V}-${O_B/pre}" # package string + O_U="http://snapshot.opera.com/unix/" # base URI + + 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 ) + " +else # release: _p + O_D="${O_V/./}" # directory string + O_P="${PN}-${O_V}-${O_B/p}" # package string + O_U="mirror://opera/" # base URI + + SRC_URI=" + amd64? ( ${O_U}linux/${O_D}/${O_P}.x86_64.linux.tar.xz ) + x86? ( ${O_U}linux/${O_D}/${O_P}.i386.linux.tar.xz ) + x86-fbsd? ( ${O_U}unix/${O_D}/${O_P}.i386.freebsd.tar.xz ) + " +fi + +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:0.10 + media-libs/gstreamer:0.10 + media-plugins/gst-plugins-meta:0.10 +" +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} ) +" + +OPREFIX="/usr/$(get_libdir)" +QA_PREBUILT="*" + +src_unpack() { + unpack ${A} + mv -v ${PN}* "${S}" || die +} + +src_prepare() { + 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 +} |