summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-11-23 10:20:11 +0000
committerJeroen Roovers <jer@gentoo.org>2010-11-23 10:20:11 +0000
commita3f0212aff56c2813128c829a3088f4ae3738abd (patch)
treed88f11288c766e5f9ac7e94d8c0c354da4630b1d /www-client
parentVersion bump. Add support for btrfs, fix some crashers on start and when movi... (diff)
downloadhistorical-a3f0212aff56c2813128c829a3088f4ae3738abd.tar.gz
historical-a3f0212aff56c2813128c829a3088f4ae3738abd.tar.bz2
historical-a3f0212aff56c2813128c829a3088f4ae3738abd.zip
http://my.opera.com/desktopteam/blog/tab-stacking-is-here
Package-Manager: portage-2.2.0_alpha4/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog7
-rw-r--r--www-client/opera/Manifest6
-rw-r--r--www-client/opera/opera-11.00_pre1111.ebuild205
3 files changed, 216 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 15144d33654c..0afa9dc2fe15 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/opera
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.566 2010/11/21 14:59:31 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.567 2010/11/23 10:20:11 jer Exp $
+
+*opera-11.00_pre1111 (23 Nov 2010)
+
+ 23 Nov 2010; Jeroen Roovers <jer@gentoo.org> +opera-11.00_pre1111.ebuild:
+ http://my.opera.com/desktopteam/blog/tab-stacking-is-here
*opera-11.00_pre1104 (21 Nov 2010)
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 92b7f56fbfd6..c7dc16493e94 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -10,9 +10,13 @@ DIST opera-11.00-1094.x86_64.linux.tar.bz2 12395842 RMD160 a172a9fda893bafa5c439
DIST opera-11.00-1104.i386.freebsd.tar.bz2 10873715 RMD160 75ab7e7b3fac56dd8f2fd55dd0ab53599c187954 SHA1 f81fd512b9d6259270e54198786077f376a7fc2c SHA256 79d759c9fb9c03c4d1bbe2b4ba834a7c4f2292650b9ca5636e31c268d588d0d7
DIST opera-11.00-1104.i386.linux.tar.bz2 11109614 RMD160 dbc9eb136b08702579dd919a3a7883d15943c002 SHA1 a180f3bdb043823bb63ae5657d28537da0cd28d4 SHA256 a78063a79764d116a1bc533d65a51b57690606eae9722b645fbf0ed9fe99a2ae
DIST opera-11.00-1104.x86_64.linux.tar.bz2 12398291 RMD160 d6b2b7b5c18948718752971b6d66b81526bd488c SHA1 559bb7dbc73a81103e09b7d0e959d416513df3b7 SHA256 9908a174586b6c02809e641b3eed508d4c7e11d49ffa7273bc0483ac38780e11
+DIST opera-11.00-1111.i386.freebsd.tar.bz2 10634204 RMD160 72be39494c204382e719858962213eb7b410ee13 SHA1 26c5faf64e8ac8270a4fb014881a337707abdf43 SHA256 346c4d458ae1fd4006bea00e903e02d8ab4e87443ec316228a7436e2fb5a2d0c
+DIST opera-11.00-1111.i386.linux.tar.bz2 11150206 RMD160 22778dec0d9e3ee44f54e38caf3aa8de3aff6725 SHA1 d50668718091c8c73813292f467d7e34a9585089 SHA256 79d6d094655f7d65bd00ba2a0bab7088505399a3d40362e9d5339228ca858823
+DIST opera-11.00-1111.x86_64.linux.tar.bz2 12455563 RMD160 f2b1fbfe1d75fccb5cafa7dbb2a8648668bd3de5 SHA1 561ebde67fe23d20a8fcf03fe2d6242cba61f940 SHA256 bf8b94aeb64b391eacb1d83aa4a392ed5adc3aa35442b78154830ea80d62a55b
EBUILD opera-10.63.ebuild 5159 RMD160 de74c805b540f56adfd2f03d5653ff437284d62b SHA1 d4c39729161a7c586f34cb2a97ef3bdd2c2cd3a3 SHA256 f3e068d1949e6be6ac925a4f7e2439a719d7d80983ec0127821b35e929dc689c
EBUILD opera-11.00_pre1085.ebuild 5330 RMD160 21ea179bb89ea22c96caf2a409dd3b1cb88b51ef SHA1 5d7ba4ec667eda022fdb5ae0128cea6e25e3ab39 SHA256 d362a5c94ca1ec9d6cc5c0b191398c26e90544a914adc83256f7fd706b8470d8
EBUILD opera-11.00_pre1094.ebuild 5389 RMD160 28b7036550d33067ebfe3915c8a9d0c6d6054bc9 SHA1 e2bac5a2259b3902a66ab2a42b2d9e2da74a5778 SHA256 493ea41ff195fa31ba9c9a5e5eb28f01c747120f9bb883d9105d6e3af204fca2
EBUILD opera-11.00_pre1104.ebuild 5403 RMD160 b545fdf5c33ce339c8c40227482c902459b16481 SHA1 4a53804e8f1049b60297fb0eda52a30d29d87739 SHA256 fe0d5f58e339899e6b985b13771ae0815b6d600b758e1f892ca5b0df85c627ec
-MISC ChangeLog 109242 RMD160 43a295b352149b8454e278372df0cdb1d75e4c70 SHA1 ade3875bdfa5ca84fcba3b5e3c18d8a297e3c6ee SHA256 b862959f15c4e70c7f8a7d923570da0dd8c75f7bc0663211f1a643e408febebd
+EBUILD opera-11.00_pre1111.ebuild 5353 RMD160 783ea7f462af5b100d07239a15183db7b36033ad SHA1 b500030f8f4386d7b146001c9911710d7e0b0b78 SHA256 848050a2efc051dc783540eb6704bece49eb9463dc259b910d82382d8a73a421
+MISC ChangeLog 109415 RMD160 edeff737b8e4246ae1b934759565cb5820b97d1f SHA1 c5aa05a1928297d3e3a5f96ce9c178149dd2c16d SHA256 e6519c04fe4f6389c1c361a77f85e3908eac165469aa40e1a6a1cfcc3aad11a2
MISC metadata.xml 651 RMD160 5b15e2f22dc49ee158b4c76f4760219c1f85c096 SHA1 1de6dff612ef2667f194ed57d352e09a0879fbc1 SHA256 84accea33d9ad1436d9a425ddf5de328d31af559b7c9764d54546d3b357c7a10
diff --git a/www-client/opera/opera-11.00_pre1111.ebuild b/www-client/opera/opera-11.00_pre1111.ebuild
new file mode 100644
index 000000000000..e51b7360a5dd
--- /dev/null
+++ b/www-client/opera/opera-11.00_pre1111.ebuild
@@ -0,0 +1,205 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.00_pre1111.ebuild,v 1.1 2010/11/23 10:20:11 jer Exp $
+
+EAPI="2"
+
+inherit eutils multilib
+
+DESCRIPTION="A standards-compliant graphical Web browser"
+HOMEPAGE="http://www.opera.com/"
+
+SLOT="0"
+LICENSE="OPERA-10.53 LGPL-2 LGPL-3"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+IUSE="elibc_FreeBSD gtk kde +gstreamer"
+
+RESTRICT="test"
+
+O_V="1100b1"
+O_P="${P/_pre/-}"
+O_H="mirror://opera/"
+
+SRC_URI="
+ amd64? ( ${O_H}linux/${O_V}/${O_P}.x86_64.linux.tar.bz2 )
+ x86? ( ${O_H}linux/${O_V}/${O_P}.i386.linux.tar.bz2 )
+ x86-fbsd? ( ${O_H}unix/${O_V}/${O_P}.i386.freebsd.tar.bz2 )
+"
+
+OPREFIX="/usr/$(get_libdir)"
+
+QA_DT_HASH="${OPREFIX}/${PN}/.*"
+QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
+
+O_LINGUAS="
+ be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id it ja ka
+ ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK
+ zh-TW
+"
+
+for O_LINGUA in ${O_LINGUAS}; do
+ IUSE="${IUSE} linguas_${O_LINGUA/-/_}"
+done
+
+DEPEND=">=sys-apps/sed-4"
+
+RDEPEND="
+ gtk? (
+ =x11-libs/gtk+-2*
+ dev-libs/atk
+ dev-libs/glib
+ x11-libs/cairo
+ x11-libs/pango
+ x11-libs/pixman
+ )
+ kde? (
+ kde-base/kdelibs
+ )
+ dev-libs/expat
+ media-libs/fontconfig
+ media-libs/freetype
+ gstreamer? ( media-plugins/gst-plugins-meta )
+ sys-apps/util-linux
+ sys-libs/zlib
+ virtual/opengl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXau
+ x11-libs/libXcomposite
+ x11-libs/libXcursor
+ x11-libs/libXdamage
+ x11-libs/libXdmcp
+ x11-libs/libXext
+ x11-libs/libXfixes
+ x11-libs/libXi
+ x11-libs/libXmu
+ x11-libs/libXrandr
+ x11-libs/libXrender
+ x11-libs/libXt
+ x11-libs/libxcb
+ x11-libs/xcb-util
+"
+
+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}
+ if [[ ! -d ${S} ]]; then
+ cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
+ S="$(pwd)"
+ einfo "Setting WORKDIR to ${S}"
+ fi
+}
+
+src_prepare() {
+ # Remove doc directory but keep the LICENSE under another name (bug #315473)
+ mv share/doc/opera/LICENSE share/opera/defaults/license.txt
+ rm -rf share/doc
+ for license in share/opera/locale/*/license.txt; do
+ rm -v "${license}"
+ ln -svn /usr/share/opera/defaults/license.txt "${license}" \
+ || die "mv license"
+ done
+
+ # Remove package directory
+ rm -rf share/opera/package
+
+ # Leave libopera*.so only if the user chooses
+ if ! use gtk; then
+ rm lib/opera/liboperagtk.so || die "rm liboperagtk.so failed"
+ fi
+ if ! use kde; then
+ rm lib/opera/liboperakde4.so || die "rm liboperakde4.so failed"
+ fi
+
+ # Unzip the man pages before sedding
+ gunzip share/man/man1/* || die "gunzip failed"
+
+ # Replace PREFIX and SUFFIX in various files
+ sed -i \
+ -e "s:@@{PREFIX}:/usr:g" \
+ -e "s:@@{SUFFIX}::g" \
+ -e "s:@@{_SUFFIX}::g" \
+ -e "s:@@{USUFFIX}::g" \
+ share/mime/packages/opera-widget.xml \
+ share/man/man1/* \
+ share/applications/opera-browser.desktop \
+ share/applications/opera-widget-manager.desktop \
+ || die "sed failed"
+
+ # Create /usr/bin/opera wrapper
+ echo '#!/bin/bash' > opera
+ echo 'export OPERA_DIR=/usr/share/opera' >> opera
+ echo 'export OPERA_PERSONALDIR="${HOME}/.opera"' >> opera
+ echo 'exec '"${OPREFIX}"'/opera/opera "$@"' >> opera
+
+ # Fix libdir in defaults/pluginpath.ini
+ sed -i \
+ share/opera/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() {
+ # Remove unwanted linguas
+ LNGDIR="share/${PN}/locale"
+ einfo "Installing 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}"
+ fi
+ done
+
+ # 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} ${PN}-widget-manager || die "dobin failed"
+
+ # Stop revdep-rebuild from checking opera binaries
+ dodir /etc/revdep-rebuild
+ echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera
+}
+
+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/opera/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
+}