summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-02-24 15:42:33 +0000
committerJeroen Roovers <jer@gentoo.org>2010-02-24 15:42:33 +0000
commit58f511b65cceab04b1433b960ae252ee85ae4dae (patch)
treec74d6f13d6b48a9855c2a62dc54e361f306bde4e /www-client
parentold with repoman issues (diff)
downloadhistorical-58f511b65cceab04b1433b960ae252ee85ae4dae.tar.gz
historical-58f511b65cceab04b1433b960ae252ee85ae4dae.tar.bz2
historical-58f511b65cceab04b1433b960ae252ee85ae4dae.zip
Version bump <http://my.opera.com/desktopteam/blog/2010/02/23/new-build-for-you-guys>.
Package-Manager: portage-2.2_rc63/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog8
-rw-r--r--www-client/opera/Manifest6
-rw-r--r--www-client/opera/opera-10.50_pre6232.ebuild161
3 files changed, 173 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 491b13a71eda..33a963c34665 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.450 2010/02/19 17:32:50 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.451 2010/02/24 15:42:33 jer Exp $
+
+*opera-10.50_pre6232 (24 Feb 2010)
+
+ 24 Feb 2010; Jeroen Roovers <jer@gentoo.org> +opera-10.50_pre6232.ebuild:
+ Version bump
+ <http://my.opera.com/desktopteam/blog/2010/02/23/new-build-for-you-guys>.
*opera-10.50_pre6225 (19 Feb 2010)
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 9934438a2476..ea78d98ec03d 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -19,10 +19,14 @@ DIST opera-10.50-6219.x86_64.linux.tar.bz2 13163541 RMD160 f75b4b21d8eee179ebc39
DIST opera-10.50-6225.i386.freebsd.tar.bz2 13498855 RMD160 9afeea6dd6b67e672876d804adb08231bc9c7041 SHA1 0d367b34aa35b82ccd1dd65cc8eecfe772ae2663 SHA256 c43ee0f33fc9cc3c6896dfda9397c1f57e745b2eb3b91728d57d2900270308dc
DIST opera-10.50-6225.i386.linux.tar.bz2 13336546 RMD160 cbd2a2abb7e8ffee1e83dca46747df9fd0954ed0 SHA1 57432a6dbd173f58dbece3465a2ca5dc976111ae SHA256 19649e9353fcc81d9caf251a9fb5ee92537938e2aad293943d6a2d9162c94b23
DIST opera-10.50-6225.x86_64.linux.tar.bz2 14303450 RMD160 967511b558108c72dfc3301508ff9219ba640997 SHA1 4a6ea80b8e8f5e1ba73a7e5861473ee2a3fdf85e SHA256 8bd307cf14bd2621c17062144c592f30d541aa7145a5f9da744d6cb70ec7b9ea
+DIST opera-10.50-6232.i386.freebsd.tar.bz2 12158039 RMD160 d7619fc01e186ec6a287aa2a50542ac4b159c909 SHA1 60f65d2d84dce5058075c02b20e22a3f7938daf1 SHA256 5a996d4cdcb333dcdf0bbba4674981bef11e4938125ae1c1b9de95911d94b9cd
+DIST opera-10.50-6232.i386.linux.tar.bz2 12070457 RMD160 069400de29086a8df06a548699b6278424c41c78 SHA1 f4c7131cc8f31008c79b291d22204c30ea47d565 SHA256 1a60369b3428803b1212bc6bef5f49ea3494afbd2b500a389902685c77367ff8
+DIST opera-10.50-6232.x86_64.linux.tar.bz2 13067915 RMD160 4799b45ea51e02420ec00adb030df21efdd7820d SHA1 9e77dae8eec1704425dae7e09fe1c5e6d9049fe7 SHA256 7833a51774b0f3ac86e8f9e92dd3a6c316174149066bf236e72ee2f9edf06227
EBUILD opera-10.10-r1.ebuild 4893 RMD160 2733461c1ddbceae8a1177fb931693aedaaf8a2d SHA1 1c95510bf92b10420c5739c1e45cdf80aee07627 SHA256 36e9ec97cb0e8d5b01a0765e56ff7fda46f80e0590ca4342aaada9632bc62d3a
EBUILD opera-10.10.ebuild 4893 RMD160 6691d79a5f95c3e3d0701b4129a481875399d587 SHA1 2bd8f1a8e97f79607afc1f2ad0edf8a4c80c7f62 SHA256 8dc65519c765759956195bad7bd25bade46c222bfeb10d9e5057bf4f7bb90565
EBUILD opera-10.20_pre4744.ebuild 5082 RMD160 3345df94e66946bde58d0f52aaae9c22346b87bf SHA1 d7a61c4f9c74fa64a2d0ea4e80307f62daf706a6 SHA256 86a87fd4fe4a30a1abd2a60031ef8632fe1e7d6afebeb0c27d4d3b5d244a89de
EBUILD opera-10.50_pre6219.ebuild 3968 RMD160 224cf6f4b995d0cdcbe6dc27f36a148c509111a1 SHA1 f554b2921778e98ee36de456fb1afb975fb9d18e SHA256 ed748b90acaae928f75d0a180b37903a5ba24fd3f9d23955f448c81252baaa51
EBUILD opera-10.50_pre6225.ebuild 4014 RMD160 f583d6550879d38be44b85eca3739a1459caff72 SHA1 4d487ec1f3b3c870c8fb6dc584f7be0dd531a048 SHA256 8e08823db14bc96af309d18d6e90d012a719547f92df2e00fcf2671448199146
-MISC ChangeLog 86213 RMD160 f08e3a1303176b4a612fdada57d95c963fdcec4d SHA1 cdc2496c2e628de2a9d25a3743fce0ffe574c1b1 SHA256 f5a0197d2da613db2bfd5ce64d3a257b66e8f1114c25b62f34acb18150df1f29
+EBUILD opera-10.50_pre6232.ebuild 4014 RMD160 f0f2c0e7d1ec71b5ca88b816021a81a7fe46ca39 SHA1 8679cbd77c6cd4702815e72984f1e40a325656f2 SHA256 a9eedf647034b51b221462828f51bf405e6ed60801f08045dccff0a6cc87b2e5
+MISC ChangeLog 86417 RMD160 7c14c1ce05be169d0a28228c999619d742ecf4c7 SHA1 a614ee19d493aefd8cc2d388e91ce690bf2d2e2d SHA256 5b898cc591eea79a492343aa3f6cbfbfcc4fd685330fae631ceb06f43570f957
MISC metadata.xml 547 RMD160 dabb86bc4db85881b0ce910ac05e63d16342e787 SHA1 9acc7ec7a62017ed7c9acfca301a3ea75e4e88d9 SHA256 9f70a9db124893d6a56a40615dbe8cccd015b836067d570a9638a9bd9ec6217a
diff --git a/www-client/opera/opera-10.50_pre6232.ebuild b/www-client/opera/opera-10.50_pre6232.ebuild
new file mode 100644
index 000000000000..309242594c74
--- /dev/null
+++ b/www-client/opera/opera-10.50_pre6232.ebuild
@@ -0,0 +1,161 @@
+# 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.50_pre6232.ebuild,v 1.1 2010/02/24 15:42:33 jer Exp $
+
+EAPI="2"
+
+OPREFIX="/usr/lib"
+
+inherit eutils
+
+DESCRIPTION="A standards-compliant graphical Web browser"
+HOMEPAGE="http://www.opera.com/"
+
+SLOT="0"
+LICENSE="OPERA-10.10 LGPL-2"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+
+RESTRICT="mirror test"
+
+QA_DT_HASH="${OPREFIX}/${PN}/.*"
+QA_PRESTRIPPED="${OPREFIX}/${PN}/.*"
+
+IUSE="elibc_FreeBSD"
+
+MY_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 zh-CN zh-HK zh-TW
+"
+
+for MY_LINGUA in ${MY_LINGUAS}; do
+ IUSE="${IUSE} linguas_${MY_LINGUA/-/_}"
+done
+
+O_U="http://snapshot.opera.com/unix/snapshot-${PV/*_pre}/"
+O_P="${P/_pre/-}"
+
+SRC_URI="
+ amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 )
+ x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 )
+ x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 )
+"
+
+DEPEND=">=sys-apps/sed-4"
+
+RDEPEND="
+ =x11-libs/gtk+-2*
+ dev-libs/atk
+ dev-libs/expat
+ dev-libs/glib
+ media-libs/fontconfig
+ media-libs/freetype
+ media-libs/glitz
+ media-plugins/gst-plugins-meta
+ media-libs/libpng
+ sys-apps/util-linux
+ sys-libs/zlib
+ virtual/opengl
+ x11-libs/cairo
+ 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/pango
+ x11-libs/pixman
+ x11-libs/xcb-util
+ "
+
+opera_linguas() {
+ # Remove unwanted LINGUAS:
+ local LINGUA
+ local LNGDIR="${D}usr/share/${PN}/locale"
+ einfo "Keeping these locales: ${LINGUAS}."
+ for LINGUA in ${MY_LINGUAS}; do
+ if ! use linguas_${LINGUA/-/_}; then
+ LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-})
+ rm -r "${LINGUA}"
+ fi
+ done
+}
+
+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() {
+ sed -i opera \
+ -e 's|=usr/lib/opera|=/usr/lib/opera|g' \
+ -e '6a\OPERA_DIR=/usr/share/opera' \
+ || die "sed opera script failed"
+ epatch "${FILESDIR}"/${PN}-10.50-paths.patch
+}
+
+src_install() {
+ # This alpha build hardcodes /usr as prefix
+ mv etc/ usr/ "${D}"/ || die "mv etc/ usr/ failed"
+
+ make_desktop_entry ${PN} Opera ${PN} # TODO
+
+ # Install startup script
+ 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/90opera
+
+ # Change libz.so.3 to libz.so.1 for gentoo/freebsd
+ if use elibc_FreeBSD; then
+ scanelf -qR -N libz.so.3 -F "#N" "${D}"${OPREFIX}/${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 -e 's/libz\.so\.3/libz.so.1/g' "$i"
+ done
+ [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die "failed to change libz.so.3 to libz.so.1"
+ fi
+
+ [[ -z MY_LINGUAS ]] || opera_linguas
+}
+
+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 ${OPREFIX}/opera/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
+}