summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-11-01 15:33:26 +0000
committerJeroen Roovers <jer@gentoo.org>2012-11-01 15:33:26 +0000
commitb56c8a7209ba32e1219b1a496c2d08443aace635 (patch)
tree380b1200be82d825a13d4be776a2e69f7f64a542 /www-client
parentFix removal of python headers. (diff)
downloadhistorical-b56c8a7209ba32e1219b1a496c2d08443aace635.tar.gz
historical-b56c8a7209ba32e1219b1a496c2d08443aace635.tar.bz2
historical-b56c8a7209ba32e1219b1a496c2d08443aace635.zip
http://my.opera.com/desktopteam/blog/2012/11/01/opera-12-10-rc1
Package-Manager: portage-2.2.0_alpha142/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog7
-rw-r--r--www-client/opera/Manifest12
-rw-r--r--www-client/opera/opera-12.10.1647.ebuild219
3 files changed, 233 insertions, 5 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 4a1aa73f1dac..18347454d5c4 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.751 2012/10/20 14:57:11 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.752 2012/11/01 15:33:25 jer Exp $
+
+*opera-12.10.1647 (01 Nov 2012)
+
+ 01 Nov 2012; Jeroen Roovers <jer@gentoo.org> +opera-12.10.1647.ebuild:
+ http://my.opera.com/desktopteam/blog/2012/11/01/opera-12-10-rc1
*opera-12.02.1629 (20 Oct 2012)
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index d87ca15c96c5..abd488ce4473 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -9,16 +9,20 @@ DIST opera-12.02-1629.x86_64.linux.tar.xz 13266956 SHA256 4dd89d0f657b263073bb6f
DIST opera-12.10-1615.i386.freebsd.tar.xz 13427404 SHA256 376c325397b2169222aca0a94eb31b55b5e6ce98d965446211b5f6f002234434 SHA512 e7c771df9b7b6c1fa86344278130b10b23d33dbc3050dc3fc76e2e87c3ef0396564d93d154035b738540219e21bac955ac92cf01de2d05197ecf27548b114f15 WHIRLPOOL 13c39e5b138106860d3979d6a8f6fae51f2a76453897fccf25a4e2b6ca24ae1f36ba7aeb6181b1a8dc056e2eeefd2e48e6d588790e889504f079d7f81c0c56fe
DIST opera-12.10-1615.i386.linux.tar.xz 13512636 SHA256 681d4c78de82034595f9404595dcd8eb0dfc392f71058043d6871eecde39a2b3 SHA512 8470dcf77efd2fac80b43f82554e7480367243a4db2e388b0f28a37bbc887e8461edaccc68ae65efaa5c2c6bf146319c5fc927ef2008d1461ac8b141368a8c63 WHIRLPOOL e9fc5a27b519e8bb2ff7c1bf430733aa5960aea60c998e4b70044f2246137d6ed40b5a0998ae0196aad803519e0bcd96d92ca4ad6e191c443658c0c0164930cd
DIST opera-12.10-1615.x86_64.linux.tar.xz 13573052 SHA256 9d44d90c31e2715f68bc5f6875758117cc7fbc7c8fb071bfefb45644b47d546c SHA512 d52722e932703c65f45a49c4cdbceae399f031bb593f0d38049068714245709617ca741a640fe496d49d6809986c309d8fdb91906f6fdb48dea58c544b82803c WHIRLPOOL 7a69674e9a3ae74d39347ebb5fc87fb7f479196c725fcc36a8ea3c68a59ac5ec2d2daeebd5cf1cc340fe682dd9f1245ec31b4834c7752a201f54c1204c9dd7fb
+DIST opera-12.10-1647.i386.freebsd.tar.xz 13454016 SHA256 fe86403234e7bdd217f32072baf92fec630fae9317bc92b4b76eeb6afbad43b9 SHA512 79444af5c6a5ace283437c2a253b8d02f60cb3df600de8502f0a8e4244c6a4c4f5160d1c20a3f325707c3b7e78585694368bb0dd6e5ca5fadc104a4d96f9f618 WHIRLPOOL 21320d3fad28e14f9cf1ff8dc947307e4bc57129359c2190de70621ca774fabcd3be78787f15149f80173b83de196afa4e1de371d73dd0e8b09dc9d5bef4e158
+DIST opera-12.10-1647.i386.linux.tar.xz 13490300 SHA256 42e1b94d4a494c18f794475c3a823900c044dc85660295b49fdc9c86713f3115 SHA512 23d6869b5482c7a3b7421e985a5fb7bd2a3ad599b23512617dd7f9c250c8f01a4f6e92e87ef7573beb69f85fac01f8278a8578a3c7496b377f3ec8c4348d4eba WHIRLPOOL 6553a511336cd6e621ceb58eb7ce92b08862a2f027813824ba848466d25c156ad35e592be5edec1242839d582533202de3cdba193f5f3ea95bb30d547f239ed9
+DIST opera-12.10-1647.x86_64.linux.tar.xz 13610036 SHA256 9ba9f7ce5cb902616fc1d7f158d08e9176ddc1686da8a1b05e171fb7d3bd6daa SHA512 49cc6044588ebef3db5a9fde6f895009d18e3b5b873b4ed5967752976c576df812f7d1d6c061459bd349cb2da91a139cdf6b1024764eaf00a497a9ab6d92ea5b WHIRLPOOL 07e6c8eb4112afdc14ce56c5f8f8ebf9fe11b0cd27b85000c334311c2d4ba5c0eca6549a66792a9ad35c79c0921df9db2ec53710f99656501c3732b45c29309d
EBUILD opera-12.02.1578.ebuild 5542 SHA256 84795055aeb1d3c30277af19bf1d5e6fcc677061929ae5d3265384caaa8ce643 SHA512 5a373d790e1c28ba8fbbc1fe615307a21934860bd0e0a6f452853d6a8c10a8778dae7bcaad20597915c859b187b35d35db11d1fb59dcefae2638c9dae6fbf212 WHIRLPOOL 0d5cbe7c3fa057d3e75dda753ca212f3e2bd6a954e483e99a907a900c219a079125e00cd7ed0ec0e0410f550ff66639007390fbbbdb418ba629d30de9c6b4224
EBUILD opera-12.02.1629.ebuild 5471 SHA256 c034343ca6429a38ab6a742e6c310ae8ad1f5064917af9838dda82915e623d5e SHA512 31f4ed1d936c99d7ff9729b28216cf417a66edbc4cf02eb9fea0254dea26a7a5b23ed833c71ec0cbb52873e22ff212dac223bbbd5521405758075b26b9cad463 WHIRLPOOL 83365bb1197c692468db6dbc6b1dc77b83bd5d960d95a4ef92bb9647a533018942d34c3e9debf9178b076ee391bb0db328f2b0e8b3f87d42cafadd0eae6023ed
EBUILD opera-12.10.1615.ebuild 5546 SHA256 2549620593de115c76db273cfbfab4ad6efcf803c4ee1550246a22b2105cf468 SHA512 739bb536d2561b79ea7704e4ee43a1071e6c4595581575ff47cd03ea030a2ea6da239259f26d9edcfb364f2f164610457de28e5bd11d11ec7f1cd9508102dbc4 WHIRLPOOL 535e446643cbe49a4f96e605a62be4c8b9602db463063a6ed1116ced317412fe1b8c125f06623afa8bedf094a898529211327015d82dba23a3aa9ff70454ba73
-MISC ChangeLog 28752 SHA256 dc3ae59ed30d666d3b27300cc6e31c012aaed35e04a8ebab09679770f36b0640 SHA512 4475f5b52f2f4dee56f795fb7df97618efad077baa57c7c26116e97cc47773276cdc99db9a940e9e37e03a8e6ab828e28cfdeabe5a4759afbc85064efbfe5590 WHIRLPOOL fa50c6922ca87cc05216b42a7eda66624b082d600d2c66ceced3f234e8c6ebee3c49af624d79d91e1b30e16a9a966054379ecce7b26814e887e6ab809814f464
+EBUILD opera-12.10.1647.ebuild 5551 SHA256 103d902e5ee55a0cfc7690e3d767947079d0a588d7cda2cf32b113eb8836201b SHA512 03ffe9de047bfad0847abd6fdd549c9d2f6cbbadb9bcdadeda8c87d7d68d6f0b6105c1fed180584ffb3930f81ea8d55dbcc2a7ea613dbbf6a46b6c571ddd05a6 WHIRLPOOL 9a1437369c6dc5e54520c02a47d3ded547e7b17ee65f85fab2ae8faa057f72287f07568f28c6647881532f26a3862db6f6b61665fd19c913ab606aa1d3c3aab3
+MISC ChangeLog 28925 SHA256 f97bae27d8d8016fec7626647ce4454ffe1654ed21bd19b8bc155c57ffbe7042 SHA512 db4caf393c278fc44aef92d03f43641dd52db12817e1d01aaf92ad7098b752428067d6b48b89f8c9b42e7c56a5002adc6f82362775d9753044358fbe701dc71b WHIRLPOOL 702f1ffce61b55cc836b5bc02ab4aa12272f0aca132de7d8f589fb7f06219f17955b73238ba02a6fa9c83b4dd48cf7bcd3c4467a08e379da9b13fff661c3454b
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)
-iEYEAREIAAYFAlCCu8gACgkQVWmRsqeSphNOIgCfWBbEbGKiUO7yPolPKjIz7YBk
-LrYAnRZfN1QsoNVbBvlQQU3XT2ctPER+
-=312s
+iEYEAREIAAYFAlCSlkYACgkQVWmRsqeSphMCcQCbBXBuRIVTSus+aDC2N4FWeNl5
+284AnjK+qdoirPLR6/i3zltYv5Nt/rRL
+=HkHr
-----END PGP SIGNATURE-----
diff --git a/www-client/opera/opera-12.10.1647.ebuild b/www-client/opera/opera-12.10.1647.ebuild
new file mode 100644
index 000000000000..1b1053895c84
--- /dev/null
+++ b/www-client/opera/opera-12.10.1647.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.10.1647.ebuild,v 1.1 2012/11/01 15:33:25 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="sun_${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_FLAGS_IGNORED="${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
+}