summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-02-04 19:59:48 +0000
committerJeroen Roovers <jer@gentoo.org>2013-02-04 19:59:48 +0000
commit1ead5666ebfe141a7849f1cf9690beac875086d8 (patch)
tree3679b81152547f8361bd2de0b4647268be31c19b
parentMask www-client/opera-12.14. (diff)
downloadhistorical-1ead5666ebfe141a7849f1cf9690beac875086d8.tar.gz
historical-1ead5666ebfe141a7849f1cf9690beac875086d8.tar.bz2
historical-1ead5666ebfe141a7849f1cf9690beac875086d8.zip
http://my.opera.com/desktopteam/blog/2013/02/04/12-14-rc-crashloop-fix
Package-Manager: portage-2.2.0_alpha161/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
-rw-r--r--www-client/opera/ChangeLog7
-rw-r--r--www-client/opera/Manifest12
-rw-r--r--www-client/opera/opera-12.14_pre1737.ebuild239
3 files changed, 253 insertions, 5 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 89ffe0ff2e80..633f0ad67560 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/opera
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.797 2013/01/31 01:54:17 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.798 2013/02/04 19:59:46 jer Exp $
+
+*opera-12.14_pre1737 (04 Feb 2013)
+
+ 04 Feb 2013; Jeroen Roovers <jer@gentoo.org> +opera-12.14_pre1737.ebuild:
+ http://my.opera.com/desktopteam/blog/2013/02/04/12-14-rc-crashloop-fix
31 Jan 2013; Jeroen Roovers <jer@gentoo.org> -opera-12.12_p1707.ebuild:
Old.
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 136e86b364d6..3ee004558cc7 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -4,14 +4,18 @@ Hash: SHA256
DIST opera-12.13-1734.i386.freebsd.tar.xz 13517848 SHA256 71c3c2adee33917e165fd80ea4df71960da8e680f117ecdf3bff54fca2bce19a SHA512 f345d542d87a1547a82f47a0452ace8a8458b2ba33a17575296f6bef800b524c0ddc005113e5ec1164906293a47121e3fceb56fe047a1c305e946e18f079c24f WHIRLPOOL 53960e5b70d41f8a16d0407e709ebd4c04c61a14e8236ab51edfa7e6662d819338e714cfbfa88e857d6a6afaf24e5d9ed4af2feab259157c38050d41a0fbff56
DIST opera-12.13-1734.i386.linux.tar.xz 13561780 SHA256 8f5d825ad95122c79bb612fa252732f59fd9f97417d976f9503753dda37ef1b4 SHA512 6f705efd7b74ba4c365452637138d930966d36d80230d6a280c0619745e404910a24b0e6f6ced9ee052fbb532044cae32ee226e29accbe62823773cac9693369 WHIRLPOOL ccacdb2009d2419d363c1d8515a1654762c9bc8e2a8056b7d60e4bf8cf97a07606673501c7ca76082dfb844abf7852fd7d61d4f46e55992bf3542089beca600c
DIST opera-12.13-1734.x86_64.linux.tar.xz 13697376 SHA256 d980e7e2a362d89c712022b1a1e2822bf4fcc16d7858c1b9111c2d579ef9c2c9 SHA512 f259cde1ba82775ee5ceaaabe569dc6a45fd26ee5d9fb6d4cfe240d472103757a370d6d21294526735993f694aa2714e5daa0f3f18e719453b50395fc28da389 WHIRLPOOL b5fd239b47bc7551ae3b17218bc6a708b6f2756282ace1e1a64e463cffd3cb9c842f2982d6dafdb1d29944c6ba9c23e66ebede7c29e1372b00a5166456958a46
+DIST opera-12.14-1737.i386.freebsd.tar.xz 13517800 SHA256 bc302adee7f7013927d492912a7b11f54c7d7527c2184a388bb5c30628913f4e SHA512 c8e83372b08ae8eccbb2602b8f902a6409faf69beb4c66e4eaf9232ac89a8f2ec700b08ff817e8656bcc3509e451a77fed73e4ed41fb13dd426a9758471cf76c WHIRLPOOL 2f3bad401743f5221af318d1bb936b73947661b38390c5cceef12fd7f69c501280f460a83226900405b17e64fe410b6aa5c785849847f1a02d2ef37232aea7c2
+DIST opera-12.14-1737.i386.linux.tar.xz 13559008 SHA256 c3bf538c18a900f4af32140f63846e1ed5c6108101791ce6d9e605a4763e9a41 SHA512 549a5b763fa790d6a342e51be367f8511e0edc67e79785ab43a74bb24b75f056f2e3091095cc327a52a300681477dc578c87113853b08a46f249fa38b95e3e23 WHIRLPOOL 5a26e505e139a7ab515b3a791e75d71077a1b2e2dce7f544cb5d75fa4f2a0b23348095c227be5634a73cb6e518cae9828954746524ac1d6e04f747db7f6c15e2
+DIST opera-12.14-1737.x86_64.linux.tar.xz 13674008 SHA256 fc6d7e6ba3a1ef47721cd7bfd6b201f72d319388ab6fae363dd54c8cd3bd6fb2 SHA512 77f3bb900d77f59ebd8bb0e860216f3472b9f10c5a5469a9b388ca0aeb93d33278f1b6204beb80cf42a81531f64e57ef66591cf565181b145881d0bd92660358 WHIRLPOOL 02e579cb493683fd54453640f1d2a5667ec2c95d0e1f9790d208ffd1175501c47e41360b142e411c3ea970b9676b70c440b183439ea5d931393e464dd9e7aabe
EBUILD opera-12.13_p1734.ebuild 6184 SHA256 68e8e9bf36a32a0fec9bf1bff779b45b9af3e0db818460b68c0854678275c346 SHA512 01ffbd42d5ea7e7a008c81a9dbb933b439355a7c2f709d07a6940c59a9ba499b955dbff198ab860afac2988d5d0bc684a448ca941240413fd60d4789dec9f709 WHIRLPOOL d8c6bd7bade2b2e7b7a5bdf109800a2d47d60d03d61885d116a2c2ee075fe72d114b27188df4a650b364d23dafc630d5092107cb4d7e4a6b63fc3aa4e182d622
-MISC ChangeLog 35388 SHA256 b277d36157ddd738ce86eeea675946b2d7fd437c0f5ba89cddbbd6708f008a3c SHA512 0ec4d99438f9bd4b90074f079e1a067bdcbab0518d5a3ff52b006bcf31979c0b1aa0a8b75dd71c335eaf9e5ed29aff5798dd29eb61236c28a71431335abe6aa7 WHIRLPOOL 8d72d8aaa5fb33afb0274b8904999a73cc398445ae208aa43c94b31a1f37f44d091d66c149bf6c285f4fe73e2161778d81500f5e288a0cf701f3577a2d42aa23
+EBUILD opera-12.14_pre1737.ebuild 6194 SHA256 9bf62854a9a3077e740e78504e989c47545b7cc63ec25bf0cb1d1f3cbd9f13bd SHA512 a28f680d3354c3ddf3bd5c6aa15a3bd7f191773487db8b1c7b824dde4d93ddb9fbfd25b74c9cbd4ffcd527cceb75a494ba5f9332576a4c499808159e5a8b9981 WHIRLPOOL 548b113a06c0c3681e0e300fd0febe9a0f8191fa70c5cf9a32987976656d74920172b94919049f64800fcebfb41077163f06d326efec201c54c08a8838d33e65
+MISC ChangeLog 35574 SHA256 0587801993815597fd01820aad6be34226249447229c39b138a4cf01f78056c5 SHA512 6cfd44d83fb787d1e860f0687183b7531ec75c7ac5862be7c659c48c2be21de5ea66b038d0686da4e60d1882e1eb95c824c6a576e57b8e901be522bf23c6590d WHIRLPOOL 567854e31faf4f223156f6753797f463f5286f975225c7e80275c3f5b319f9a1b5827ff8140a5aea36ec1754cc53b5644f144bf00fb04962788cfccd67a978a1
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)
-iEYEAREIAAYFAlEJzsoACgkQVWmRsqeSphOxMgCePh6ByuQ22epQUJln2kkB+HqX
-QCIAn2W7S56N9/MxN9AV33YmvuP+67RX
-=kvkD
+iEYEAREIAAYFAlEQEzQACgkQVWmRsqeSphOaSwCeMj6vLyV123JXFUbcvK8a35+D
+168An0F0zriMSrQVpYvmDt8kBYFh4/8p
+=39rh
-----END PGP SIGNATURE-----
diff --git a/www-client/opera/opera-12.14_pre1737.ebuild b/www-client/opera/opera-12.14_pre1737.ebuild
new file mode 100644
index 000000000000..723dcd7400dc
--- /dev/null
+++ b/www-client/opera/opera-12.14_pre1737.ebuild
@@ -0,0 +1,239 @@
+# 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.14_pre1737.ebuild,v 1.1 2013/02/04 19:59:46 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="BlackOoops" # 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
+ rm -f lib/opera/opera_autoupdatechecker
+ 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
+}