summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-10-08 14:02:18 +0000
committerJeroen Roovers <jer@gentoo.org>2010-10-08 14:02:18 +0000
commit044e82984da073606214eb4e8f1c38ed1be3e4e2 (patch)
tree9e6188fb27179e0163d4c7b4d1f349ea24eec9a5 /www-client
parentUnmask opera 10.63. (diff)
downloadhistorical-044e82984da073606214eb4e8f1c38ed1be3e4e2.tar.gz
historical-044e82984da073606214eb4e8f1c38ed1be3e4e2.tar.bz2
historical-044e82984da073606214eb4e8f1c38ed1be3e4e2.zip
http://my.opera.com/desktopteam/blog/2010/10/08/opera-10-63-release-candidate-2
Package-Manager: portage-2.2_rc90/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog8
-rw-r--r--www-client/opera/Manifest7
-rw-r--r--www-client/opera/opera-10.63_pre6450.ebuild202
3 files changed, 215 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index fc80b788a1ca..25e6b651d821 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.550 2010/10/05 13:48:47 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.551 2010/10/08 14:02:18 jer Exp $
+
+*opera-10.63_pre6450 (08 Oct 2010)
+
+ 08 Oct 2010; Jeroen Roovers <jer@gentoo.org> +opera-10.63_pre6450.ebuild:
+ http://my.opera.com/desktopteam/blog/2010/10/08/opera-10-63-release-candid
+ ate-2
*opera-10.63_pre6447 (05 Oct 2010)
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index b6c7f3d0b670..a40e6761e9ab 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -11,6 +11,10 @@ DIST opera-10.63-6447.i386.freebsd.tar.bz2 12748666 RMD160 2b8e3a9dc86f45cb465e5
DIST opera-10.63-6447.i386.linux.tar.bz2 12670178 RMD160 90367a0a5a727a62ed835f6e7590ea93d8277200 SHA1 8a1febf7f8674a6685ea3946019bd567d42fe628 SHA256 3e86386e51a4f936e95f0092c344c7773925be454d74de3e28e788fe6303e13a
DIST opera-10.63-6447.ppc.linux.tar.bz2 13009574 RMD160 da31b0511060e48c24af8dab3d75a5fb4d4d02ae SHA1 f0061d82e1385bdb1832be48c55a2c640d1f2af7 SHA256 35445a35791f2ea4bbf8a35c4218cd68f090e9be0df2e99342157ef9e6617418
DIST opera-10.63-6447.x86_64.linux.tar.bz2 13799788 RMD160 c5e83b866de9118f0931c5bfd1c2ca660c2a4058 SHA1 8e3b8e2961369b36494651c10f8eda6a565d032d SHA256 041ab318f8713f3f44aa8763c58792a94d79f255d502103f8dc9eb84e491c40b
+DIST opera-10.63-6450.i386.freebsd.tar.bz2 12748677 RMD160 abfbe4c691bf0b3b27397d0787e750d0724399ae SHA1 4177afa40905ebb7ea7a399af12a4dd195ba728f SHA256 a516146542349f648f367b20f0febe0672f89bca5f026e3919da8935634cde20
+DIST opera-10.63-6450.i386.linux.tar.bz2 12669974 RMD160 874d658b884dd3c864429bb8fe1063e2794ee7fa SHA1 54c32fa2a4061ee21113c766a144f324432bdd36 SHA256 dd105d602a4b8897749a4cb9610f8bfe2d07d4f4cc9bf3905930c65592737259
+DIST opera-10.63-6450.ppc.linux.tar.bz2 13011405 RMD160 dc4147ccc051bfd45d02657f3203f6544ff0f5c8 SHA1 25804227a78c57fd6b56c8256ab4aa05e393d1c2 SHA256 a4255fcf362c6b05f3bec05425a644947842bf5de1b67c7246d7139b282d9e0d
+DIST opera-10.63-6450.x86_64.linux.tar.bz2 13801811 RMD160 e4770898d08bf3f42d571034290cdd66419577c7 SHA1 1982bcde8dcf272b8c1e14c20f44478815a1f7b9 SHA256 da8ae14cf317364ab0295102220246b205bf30c59c00cadb571395c90dda7c74
DIST opera-10.70-9047.i386.freebsd.tar.bz2 12773707 RMD160 9fcd2f1d385f01bed1d3dbacb53a19954f566385 SHA1 162a6777efd0a01126a4424631eff32c9f234895 SHA256 68189f99fa60b5333717de2faaed916a555c6291ac8dfab952ff2c95c90aa79c
DIST opera-10.70-9047.i386.linux.tar.bz2 12715768 RMD160 6e5eefb7451c6d4538bd66e252dc21a378de2867 SHA1 aed41a8d8a0f466e3ad8946344f6e1746e86bac8 SHA256 0af3a86f8d876709695eb1424e38b9cddfe6842c5e1192a5c2106975119a1f5e
DIST opera-10.70-9047.x86_64.linux.tar.bz2 13894839 RMD160 0b5549c452dfa4ca03245ace85ad496f0f04adaf SHA1 32d182e9d0128b7848f8f7abd861a8d3210200e5 SHA256 f52b6414834fcc1ae78ac52d95c61aa65432060436c5d5e2971e3071e03272d2
@@ -23,8 +27,9 @@ DIST opera-10.70-9053.x86_64.linux.tar.bz2 13893652 RMD160 6dab049b87edc428f57f8
EBUILD opera-10.61.ebuild 5080 RMD160 5c3dd262c642c215b5fcd68343b16b1651cc337e SHA1 bdf3baffd399f9bc75a9d4578946e8027a829eda SHA256 c78872128d7332823a68cedbeafe33d835ba4b5e74866ec8a693f4dc7daea6fd
EBUILD opera-10.62.ebuild 5176 RMD160 ff24120059ba8cad32bf5fc5bfbc9ff8d8ac727a SHA1 5e328a3a6ce4abdfba2b49987f6e6e13ef188961 SHA256 11b595042cf2c96f3887e0304e05885a75184397733b676d1c926a4018fec31e
EBUILD opera-10.63_pre6447.ebuild 5185 RMD160 d236eab98187704c141fd760d3aed81d6fe19f33 SHA1 3883bfc1bbcd217209b0589aecc09585cd269c49 SHA256 07024500018ff3f59af43ed849c2f9bebc19d950873c4431f49cbc92db751453
+EBUILD opera-10.63_pre6450.ebuild 5191 RMD160 c1eb15c8fd158f810f99154eb8b9cfdce0fa1832 SHA1 f8f6904c3c9297028295ed88c47672a1bb61ba4f SHA256 8cfe286ff6970445b76e67263988ba364a2dd4ecba81dc78078042f141406a63
EBUILD opera-10.70_pre9047.ebuild 5139 RMD160 edcd77aa694b04b57d37500712c4ee16bfb11cdc SHA1 b01e4756bc5e187a7a83834895cbfc87bfe4ca1a SHA256 296066dcf2c2bd9754a15611c530f3313a667fbe6b10223e405172b5165678bd
EBUILD opera-10.70_pre9050.ebuild 5144 RMD160 72cdc93fca659989f420c69f931b7593c5baef28 SHA1 f07be24d54b35d5e81269f0b7eec6f707fb93a8f SHA256 c6e268a8471fecaa3092e2195142d526665c4bf376bc68ea2a2fa891bc291afc
EBUILD opera-10.70_pre9053.ebuild 5138 RMD160 6609eba4c9d6caff37f0cdee1a3193942a03bca2 SHA1 31e11518e8141af950a13b9c0e9dfb18bae19a5c SHA256 38fd2590a666ea5186446305da0a18131bd02865d4b3baab12bc726aaf75b6ea
-MISC ChangeLog 106076 RMD160 b1f0b1c2c4f05c5a1a4dabbc97c6c9611deeb7cc SHA1 33c19ed5944b43549970bd28c8b6415e2305c7f0 SHA256 75ad3adaeadc7de9bbd768905e42b09793e22ebce5361e6bd1ab4f039c62eccb
+MISC ChangeLog 106274 RMD160 7c3a21892c6ff5a521315e8bb2d8521afd224e59 SHA1 9ea9792232b260b4d691f941d9ea91f6110fe1a4 SHA256 5d15cbb65762aac555e3160e401c66197df87c30596a456935b106d493de2e04
MISC metadata.xml 651 RMD160 5b15e2f22dc49ee158b4c76f4760219c1f85c096 SHA1 1de6dff612ef2667f194ed57d352e09a0879fbc1 SHA256 84accea33d9ad1436d9a425ddf5de328d31af559b7c9764d54546d3b357c7a10
diff --git a/www-client/opera/opera-10.63_pre6450.ebuild b/www-client/opera/opera-10.63_pre6450.ebuild
new file mode 100644
index 000000000000..16183a4db3fb
--- /dev/null
+++ b/www-client/opera/opera-10.63_pre6450.ebuild
@@ -0,0 +1,202 @@
+# 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-10.63_pre6450.ebuild,v 1.1 2010/10/08 14:02:18 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 ~ppc ~x86 ~x86-fbsd"
+IUSE="elibc_FreeBSD gtk kde +gstreamer"
+
+RESTRICT="mirror test"
+
+O_PWD="almostthere"
+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 )
+ ppc? ( ${O_U}${O_P}.ppc.linux.tar.bz2 )
+ x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 )
+ x86-fbsd? ( ${O_U}${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 "license directory" (bug #315473)
+ rm -rf share/doc/opera
+
+ # 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
+}