summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-12-15 16:31:49 +0000
committerJeroen Roovers <jer@gentoo.org>2010-12-15 16:31:49 +0000
commit161654d2b71bfc7ab356f645ee62dd1a5f895198 (patch)
tree32cee08dc16cd7fadfaad96cdd00403db7b91992 /www-client
parentx86 stable wrt bug #348473 (diff)
downloadhistorical-161654d2b71bfc7ab356f645ee62dd1a5f895198.tar.gz
historical-161654d2b71bfc7ab356f645ee62dd1a5f895198.tar.bz2
historical-161654d2b71bfc7ab356f645ee62dd1a5f895198.zip
http://my.opera.com/desktopteam/blog/2010/12/15/opera-11-00-release-candidate-3
Package-Manager: portage-2.2.0_alpha8/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog8
-rw-r--r--www-client/opera/Manifest5
-rw-r--r--www-client/opera/opera-11.00_pre1156.ebuild205
3 files changed, 216 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index ef3a4f706dfb..0099b84f66b5 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,12 @@
# 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.574 2010/12/15 15:45:33 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.575 2010/12/15 16:31:49 jer Exp $
+
+*opera-11.00_pre1156 (15 Dec 2010)
+
+ 15 Dec 2010; Jeroen Roovers <jer@gentoo.org> +opera-11.00_pre1156.ebuild:
+ http://my.opera.com/desktopteam/blog/2010/12/15/opera-11-00-release-candidate
+ -3
*opera-11.00_pre1152 (15 Dec 2010)
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 80a53a3b497b..fb80751f07ca 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -8,8 +8,11 @@ DIST opera-11.00-1149.x86_64.linux.tar.bz2 12743993 RMD160 acf8a38633956f197c892
DIST opera-11.00-1152.i386.freebsd.tar.bz2 11292823 RMD160 ce8bf59e797356cc67d825b049859700b47e8056 SHA1 2663a4987506263aa2cd5215085673a378df1f78 SHA256 17482af1fd0924ba49c8129f68e14aa9121ea438bdae1cbed4ea45a40b24e0ac
DIST opera-11.00-1152.i386.linux.tar.bz2 11549377 RMD160 4b83f0109860b62308cb901610413807b8f77b63 SHA1 b1bdc38afee5fe9f4a93ed30051fe7ccdef3049f SHA256 bfd5bdd62178e4ec9a1f42f352ab95f711ab9f2fad4b9806b74cecd846b0332d
DIST opera-11.00-1152.x86_64.linux.tar.bz2 12789343 RMD160 c3ef486147e2a06667d87f40c8dd85552008e3d9 SHA1 361ce32d38d0608c169289e873827d9ba8e3456d SHA256 a6cf54434059ca735acd695caaed24133e631d588a2681131fb27546fae2b461
+DIST opera-11.00-1156.i386.linux.tar.bz2 11625554 RMD160 3955e17bbcb5be3244803a154cc1147fdfc0bb94 SHA1 e28f416a18b04248e9a1e9a99fd8b373df3d0499 SHA256 951a5ed3f2ff5095533ade447ad4046265899b13256cbe46fdb2054795edbf65
+DIST opera-11.00-1156.x86_64.linux.tar.bz2 12858732 RMD160 2d06fcd4f8ff3e03ebdfd982d17d436c74d5448c SHA1 53d001dd5e9afad32da78c158913d83ac027650f SHA256 46e6055369703acbab6ffebef321ca327e339d5f9a5dcd7e7ad909aa72d7b1c8
EBUILD opera-10.63.ebuild 5100 RMD160 a6524c149d2192b731de126a6965612ca9a6ef88 SHA1 e888db3f3378bd9f51307e2070a35f4cc69aea61 SHA256 cdcc5332914bfca888b55532ba7aa4dffe3b739983e3a1f61baea2293e12ad0c
EBUILD opera-11.00_pre1149.ebuild 5332 RMD160 e6a0ab026b4439ac0ad24229237a868887635dfc SHA1 b10e2af5bab9ff4642009a384b96eb744da0c680 SHA256 2b4c556dc1af5f6c3144d9e69d7dc1785b1ee0fc9408f9dd0fd85dc2d1ad4229
EBUILD opera-11.00_pre1152.ebuild 5328 RMD160 7210f9bbb499b25a9e576bcad3e06ee2350772f6 SHA1 1d57fa22355c4e237f3f1107a7ac6ca1e3322393 SHA256 b399da54977c7c9c37c221b2c47d2af86277f2c8ae14c3fac6cf5442eada2394
-MISC ChangeLog 111175 RMD160 ed024c1aa4c35b0ef06b4903fd1373bd86ebbfc0 SHA1 0585ce80f382b7d8cafb88a645efeeeb9b0e2009 SHA256 fab44649cc4cb44ccad26d1e1b3012d06a1c5fa4bcbd110d8853100772ffe454
+EBUILD opera-11.00_pre1156.ebuild 5267 RMD160 d1eb183a1b1693c1cfa75754d073b0a887b00b6f SHA1 0d90e59c23d0871243175e1c96a096f18ebc382a SHA256 1962585a5e63515dfa0c6368d05ffcd3a3189bae9523641a74ef9d2d9fda8662
+MISC ChangeLog 111373 RMD160 e0c985ca290219641a352743a7a29fb16a802ce6 SHA1 fa689e236edee7ae72ec59e87d606cf9e0394497 SHA256 2bcbe2bb6012f96dd2cbd5dd3001886d36ffd7179e0da2e966a76d62d4d723a6
MISC metadata.xml 651 RMD160 5b15e2f22dc49ee158b4c76f4760219c1f85c096 SHA1 1de6dff612ef2667f194ed57d352e09a0879fbc1 SHA256 84accea33d9ad1436d9a425ddf5de328d31af559b7c9764d54546d3b357c7a10
diff --git a/www-client/opera/opera-11.00_pre1156.ebuild b/www-client/opera/opera-11.00_pre1156.ebuild
new file mode 100644
index 000000000000..4cca514c892e
--- /dev/null
+++ b/www-client/opera/opera-11.00_pre1156.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_pre1156.ebuild,v 1.1 2010/12/15 16:31:49 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"
+IUSE="elibc_FreeBSD gtk kde +gstreamer"
+
+RESTRICT="test"
+
+O_PWD="rc3"
+O_V="${PV/_pre/-}"
+O_P="${PN}-${O_V}"
+O_HTTP="http://snapshot.opera.com/"
+O_U="${O_HTTP}unix/${O_PWD}_${O_V}/"
+
+SRC_URI="
+ amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 )
+ x86? ( ${O_U}${O_P}.i386.linux.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 '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
+}