summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-06-26 10:33:30 +0000
committerJeroen Roovers <jer@gentoo.org>2011-06-26 10:33:30 +0000
commitffea50315ca5f14639d2cec7a2860d4ad1fccfd9 (patch)
treeda44d73a912c8d9772db010842e096abf4deaff1 /www-client
parentBumped EAPI (diff)
downloadhistorical-ffea50315ca5f14639d2cec7a2860d4ad1fccfd9.tar.gz
historical-ffea50315ca5f14639d2cec7a2860d4ad1fccfd9.tar.bz2
historical-ffea50315ca5f14639d2cec7a2860d4ad1fccfd9.zip
http://my.opera.com/desktopteam/blog/2011/06/26/swordfish-release-candidate-4
Package-Manager: portage-2.2.0_alpha41/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera-next/ChangeLog7
-rw-r--r--www-client/opera-next/Manifest12
-rw-r--r--www-client/opera-next/opera-next-11.50.1073.ebuild231
3 files changed, 245 insertions, 5 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog
index 6d3018eccd6c..9e3d28d561da 100644
--- a/www-client/opera-next/ChangeLog
+++ b/www-client/opera-next/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/opera-next
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.26 2011/06/25 13:40:49 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.27 2011/06/26 10:33:30 jer Exp $
+
+*opera-next-11.50.1073 (26 Jun 2011)
+
+ 26 Jun 2011; Jeroen Roovers <jer@gentoo.org> +opera-next-11.50.1073.ebuild:
+ http://my.opera.com/desktopteam/blog/2011/06/26/swordfish-release-candidate-4
*opera-next-11.50.1071 (25 Jun 2011)
diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest
index 1ab371a6ab7f..b6dcbe829c89 100644
--- a/www-client/opera-next/Manifest
+++ b/www-client/opera-next/Manifest
@@ -40,6 +40,9 @@ DIST opera-next-11.50-1068.x86_64.linux.tar.xz 11672084 RMD160 e9328e66acf377103
DIST opera-next-11.50-1071.i386.freebsd.tar.xz 11164016 RMD160 b16b955d95927f0e30230573cb1f2fe11e9065f5 SHA1 4c90982cad50598b9a00a9330a7f290c22632507 SHA256 8f9b15b542164f332658cc8110ae6c454155d380f6ef5c8982df6d678d81c7c0
DIST opera-next-11.50-1071.i386.linux.tar.xz 11091880 RMD160 1609df8dd73a957bbbb9778a46af6b5851a98346 SHA1 5bfba16c39531d75a66d7645fb1bb6783c91cc8d SHA256 8a86eea299161b122949d8df98c5978bed61433f93cf3154afa78264840cef26
DIST opera-next-11.50-1071.x86_64.linux.tar.xz 11841424 RMD160 e6a8abbb17d7f7a8bad251f64dbd4333fff0d18a SHA1 3255a0a9343a8181913de22fa090c0869fb60621 SHA256 9f2ee2a21883da94b39742a83aeb7c2e1e517a2a490e533560e830b8f24bdb5d
+DIST opera-next-11.50-1073.i386.freebsd.tar.xz 11157836 RMD160 96e79571b57e55b195c3bbb337312a79dd86f3fd SHA1 f4e5bed4a37415b6eff0f6140ca03178a380389e SHA256 101d9adc862bee99ec1d3ab97dd676e39bff375e40cae672eb4a1e038d1a9d75
+DIST opera-next-11.50-1073.i386.linux.tar.xz 11097376 RMD160 9b553a8b5baf82e0fe3affd857c8d520cba0c20d SHA1 c613a2647b75f7eee09f728bc9cdc839aa8bd874 SHA256 e1316180dd52d0b7c3bb3189c14f65f862fb27bef362ca890b2379ba9e323c77
+DIST opera-next-11.50-1073.x86_64.linux.tar.xz 11845504 RMD160 b7edeff37afa37a95e78f13951b9f24a20c6b637 SHA1 52274558ee8ae1750ab3a71379bfe45a3a173273 SHA256 88155cb1374b240c4f9e1906a46b1634608f9e2b95574fd493bf38c7d4dac4de
EBUILD opera-next-11.50.1027.ebuild 5938 RMD160 365cffea47d27c23f37d02590da7ebeef7d2b132 SHA1 19f9197f18a11e0a63f4da3ce9c2beb4aac0e164 SHA256 91e13980bff1c670560b828dfac95cec27e6b5d667fea0f2b68e8bb64c1ae38a
EBUILD opera-next-11.50.1031.ebuild 6197 RMD160 bfa4cc0a6ea5804dfe28d2511d867ce8ad3ccaef SHA1 88c237a903bde66607e808bf469640c13bba6bba SHA256 e9e5fcdb8330552beab75a8b38b839f344f6a41f796353217dccdd6ebeef8386
EBUILD opera-next-11.50.1035.ebuild 6195 RMD160 d039a248078cb351911758f8facac0d909fb603d SHA1 7882b3e5ab1bbd9e325e51870c4f61b312eb3a7f SHA256 ea11842045c8f6dce62e8a507941f27d62fb83482e0e583fcfb33a4b4be27ef6
@@ -53,12 +56,13 @@ EBUILD opera-next-11.50.1065.ebuild 6192 RMD160 23777ba5d4fda29438bebf88491b5327
EBUILD opera-next-11.50.1067.ebuild 6199 RMD160 5c521be3da70631d81b8fd48b5611c6689b0fbae SHA1 14f10dd57b1836eca1cc7c4ee32da9991975d0d9 SHA256 c2725bb20e95e2254955476f9fbd935efb99ac59721079b6a6a82ab4a62c4feb
EBUILD opera-next-11.50.1068.ebuild 6188 RMD160 6a820d323dcfdbac6c1db3345e1386234b95be49 SHA1 710b55bbf843c88325bdc15fae53cfd393bcf0ab SHA256 fb066457347a4186e597cbf286d8f03896bd334f01dc61293c3b8d0ab16baa03
EBUILD opera-next-11.50.1071.ebuild 6199 RMD160 19b6d9c4516b2e020f4faf23355f5d8194439f64 SHA1 31dbd398d1ab20e8539b95e4177447be7c864180 SHA256 5a8e05fe5ed734dc3f6ee136e0357f77e3ab97a3818041f10387b56421ef23a8
-MISC ChangeLog 4859 RMD160 4ea95994eabc43768a6cb3f2dcd72d0cb841aa63 SHA1 fe5330c1cc028eb6abbfd18b85e1a2f7b357bb0d SHA256 148ad0e0c5ed9fd8c487e0b71f6d476861e33eda093d0847258158dfa312eb19
+EBUILD opera-next-11.50.1073.ebuild 6199 RMD160 b448dd734aa9beba9f81319e8f94f5ae3eb25dde SHA1 8afb390ecfab3e8e371f918aebadc226a6e90815 SHA256 5f51eccb4fb2edc689cb463e400b1028f9a498bd2ffd92f9649738e499e45a7b
+MISC ChangeLog 5056 RMD160 739b8a100e7c2357d94597cc8ee37a2accfe9e7a SHA1 54e57df66965970d23a1e3ef2e8af65872815e50 SHA256 0b7bfb68384c2030ee42a4829284685f8abf81c83d332f82c2e70ad8a3269fb3
MISC metadata.xml 1547 RMD160 465d146bcfdb6553f7f0ab2dddd68c4dcb2e7731 SHA1 1afb7e0ccc0833ba0eb73be38b282b66ad629ff6 SHA256 5cfc6e7cbf3c454d563eb407b4569f0f5a9b3ce7770026d6055f27211d481915
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk4F5WYACgkQVWmRsqeSphO4IACfRGTawAV9rEAupt8qsSR9VR/2
-WeEAn3XaNfCdEsVEqArvWUrbw9EggMA4
-=2rmb
+iEYEARECAAYFAk4HCwAACgkQVWmRsqeSphPxXQCeM0DdvcGXrTs///ed1y7zenKX
+g9oAnia3V7fR6r1nfQlE6o4Wzzh6Z069
+=8LI6
-----END PGP SIGNATURE-----
diff --git a/www-client/opera-next/opera-next-11.50.1073.ebuild b/www-client/opera-next/opera-next-11.50.1073.ebuild
new file mode 100644
index 000000000000..700b14a34ab5
--- /dev/null
+++ b/www-client/opera-next/opera-next-11.50.1073.ebuild
@@ -0,0 +1,231 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/opera-next-11.50.1073.ebuild,v 1.1 2011/06/26 10:33:30 jer Exp $
+
+EAPI="3"
+
+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-11 LGPL-2 LGPL-3"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="elibc_FreeBSD gtk kde +gstreamer"
+
+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="rc4_${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 )
+"
+
+OPREFIX="/usr/$(get_libdir)"
+
+QA_DT_HASH="${OPREFIX}/${PN}/.*"
+QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
+
+O_LINGUAS="af az be bg bn cs da de el en-GB es-ES es-LA et fi fr fr-CA fy gd hi
+hr hu id it ja ka 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 uz vi zh-CN zh-TW zu"
+
+for O_LINGUA in ${O_LINGUAS}; do
+ IUSE="${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
+ x11-libs/gtk+:2
+ x11-libs/pango
+ x11-libs/pixman
+"
+KDERDEPEND="
+ kde-base/kdelibs
+ x11-libs/qt-core
+ x11-libs/qt-gui
+"
+GSTRDEPEND="
+ dev-libs/glib
+ dev-libs/libxml2
+ media-plugins/gst-plugins-meta
+ media-libs/gstreamer
+"
+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
+ gtk? ( ${GTKRDEPEND} )
+ kde? ( ${KDERDEPEND} )
+ gstreamer? ( ${GSTRDEPEND} )
+"
+
+pkg_setup() {
+ echo -e \
+ " ${GOOD}****************************************************${NORMAL}"
+ elog "If you seek support, please file a bug report at"
+ elog "https://bugs.gentoo.org and post the output of"
+ elog " \`emerge --info =${CATEGORY}/${P}'"
+ echo -e \
+ " ${GOOD}****************************************************${NORMAL}"
+}
+
+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
+ einfo "Keeping these locales (linguas): ${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 "ln -sn license.txt"
+ done
+
+ # Remove package directory
+ rm -rf share/${PN}/package
+
+ # Leave libopera*.so only if the user chooses
+ if ! use gtk; then
+ rm lib/${PN}/liboperagtk.so || die "rm liboperagtk.so failed"
+ fi
+ if ! use kde; then
+ rm lib/${PN}/liboperakde4.so || die "rm liboperakde4.so failed"
+ fi
+
+ # Unzip the man pages before sedding
+ gunzip share/man/man1/* || die "gunzip failed"
+
+ # Replace PREFIX, SUFFIX and PN in various files
+ sed -i \
+ -e "s:@@{PREFIX}:/usr:g" \
+ -e "s:@@{SUFFIX}::g" \
+ -e "s:@@{_SUFFIX}::g" \
+ -e "s:@@{USUFFIX}::g" \
+ -e "s:opera:${PN}:g" \
+ share/man/man1/* \
+ share/applications/${PN}-browser.desktop \
+ || die "sed failed"
+
+ # 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}
+
+ # Fix libdir in defaults/pluginpath.ini
+ sed -i \
+ share/${PN}/defaults/pluginpath.ini \
+ -e "s|/usr/lib32|${OPREFIX}|g" \
+ -e '/netscape/{s|[0-1]|2|g}' \
+ || die "sed pluginpath.ini failed"
+
+ # 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 "failed to change libz.so.3 to libz.so.1"
+ 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 lib/ failed"
+ mv share/ "${D}/usr/" || die "mv share/ failed"
+
+ # Install startup scripts
+ dobin ${PN} || die "dobin failed"
+
+ # 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 \
+ "${D}/${OPREFIX}/${PN}/${PN}" \
+ "${D}/${OPREFIX}/${PN}/operaplugincleaner" \
+ "${D}/${OPREFIX}/${PN}/operapluginwrapper"
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ elog "To change the UI language, choose [Tools] -> [Preferences], open the"
+ elog "[General] tab, click on [Details...] then [Choose...] and point the"
+ elog "file chooser at /usr/share/${PN}/locale/, then enter the"
+ elog "directory for the language you want and [Open] the .lng file."
+
+ 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
+}