summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2008-03-28 17:25:17 +0000
committerJeroen Roovers <jer@gentoo.org>2008-03-28 17:25:17 +0000
commit33dfe57bd899999c4f4a1577bd964dd2dcf7ca8f (patch)
tree7183e5d8a50e43028124f8596b76829d17da5b4b /www-client
parentSparc stable, part of Bug #215149. (diff)
downloadhistorical-33dfe57bd899999c4f4a1577bd964dd2dcf7ca8f.tar.gz
historical-33dfe57bd899999c4f4a1577bd964dd2dcf7ca8f.tar.bz2
historical-33dfe57bd899999c4f4a1577bd964dd2dcf7ca8f.zip
Version bump <http://my.opera.com/desktopteam/blog/2008/03/28/painting-performance-fixes>.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog10
-rw-r--r--www-client/opera/Manifest9
-rw-r--r--www-client/opera/opera-9.50_beta2_p1887.ebuild183
3 files changed, 200 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 40b9e979c198..64524ff33f28 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for www-client/opera
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.207 2008/03/19 06:43:03 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.208 2008/03/28 17:25:17 jer Exp $
+
+*opera-9.50_beta2_p1887 (28 Mar 2008)
+
+ 28 Mar 2008; Jeroen Roovers <jer@gentoo.org>
+ +opera-9.50_beta2_p1887.ebuild:
+ Version bump
+ <http://my.opera.com/desktopteam/blog/2008/03/28/painting-performance-fixes>
+ .
*opera-9.50_beta2_p1875 (19 Mar 2008)
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 24410c9b97a1..cc83772fa87f 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -54,6 +54,12 @@ DIST opera-9.50-20080318.4-shared-qt.i386.freebsd-1875.tar.bz2 5753120 RMD160 64
DIST opera-9.50-20080318.6-shared-qt.i386-1875.tar.bz2 5661352 RMD160 f9b058d2dd6428b2a91d196c4876612c5254aff1 SHA1 4a385d885c8b811a2f3f11487a1e8858ecbc8fa7 SHA256 7724b7a2950857ce6e6106db7f1b96338762b2d878e2cee1bbf3b81aa267f0db
DIST opera-9.50-20080318.6-shared-qt.ppc-1875.tar.bz2 5727720 RMD160 7fa7089fabb8a182f73c752bad19c333dfa81c43 SHA1 b7ceddf1ff05e492002cc04f03df3ca9126cc600 SHA256 f75852729a70b3ecba9e173991f06579e4fbfea3928bf84150badf676775264d
DIST opera-9.50-20080318.9-static-qt.i386-1875.tar.bz2 7900852 RMD160 402016c7f875faa5eb1c72091c90dd4c7f47c2ac SHA1 0ffb5c52ba5d577d0ff703a5388cc402adea5d41 SHA256 e3193c40ea5962d626868b23ebe564ec19179bd7f91aa55214a0dd158a993a7f
+DIST opera-9.50-20080327.2-shared-qt.x86_64-1887.tar.bz2 6256547 RMD160 b758b85e5e22a67ac99a3d2c1eb88c872fcef216 SHA1 c0aca2d7a3d5fea54dd8ca5cc95260dd829ff792 SHA256 c23392408a57276fdb1d98c2daf06dfbea8d2682cb250fcbc17681b534c1735d
+DIST opera-9.50-20080327.3-shared-qt.i386.freebsd-1887.tar.bz2 5752471 RMD160 999c897263802a9feecb0fbae9c7acf70e405b93 SHA1 8b29770314d1d3d1e6b363db8c6664900d56eac7 SHA256 bc183e15c79cf214b2b59a8d25a6598b634fc83e7f66e672c3d1da55eed3c0c9
+DIST opera-9.50-20080327.5-static-qt.i386.freebsd-1887.tar.bz2 7698629 RMD160 f3473b79df6b675a6b62f761c0c3b0e95fb24621 SHA1 4b0bcf8f9aa65de66abf8a28a6097e2fc512bcb8 SHA256 40e88649d75c09a5cc369461d218ce275e384a09ddfaa92c81722bd5f5af8add
+DIST opera-9.50-20080327.6-shared-qt.i386-1887.tar.bz2 5666072 RMD160 1aafc08a49eed20864f488bbecd7dd3b8687ae6f SHA1 75d870f7d3cece313cd30eb8c763ba6b9c0f9d92 SHA256 bb774e5d513659061bd34dcee925df22724934c73cfdd6c88ba27fc796178adf
+DIST opera-9.50-20080327.6-shared-qt.ppc-1887.tar.bz2 5736155 RMD160 5fda808ad1775b58730abdcf6eacef9888658ab3 SHA1 b896edd80872dba54353228e96178609e8ea69c3 SHA256 436d31032f82b76cc56ef35fc1fdd8099742678f444a2d3fd7ccc4e1f157868e
+DIST opera-9.50-20080327.9-static-qt.i386-1887.tar.bz2 7903713 RMD160 8cadaa582bade51ac1015db2740b0b9d3d81b8d1 SHA1 35dc3bb7ae780d3093073a5338e5376c18058d00 SHA256 31d54b1a233a4bce5e5baaa3fa6db9be79e1b4e185ba1da2c7ffa611a477ed62
DIST opera-9.50b-20071024.1-static-qt.i386.freebsd-en.tar.bz2 7517641 RMD160 311a905c23b4f670d3617e2f22050aa86c0c369d SHA1 a75f01fb6904280b87e847741d532d05def0fa5d SHA256 9632efd8f839c4cca16a929c63ab0d03b15c21a22b23be0c75e5c8440764a940
DIST opera-9.50b-20071024.1-static-qt.ppc-en.tar.bz2 7236901 RMD160 6df43be8cd93ee45d60113894e4daf3ae41ee6b6 SHA1 83d2b0f00784ebffb3ac03e5883884908c10023a SHA256 2f29336bd986e0ee4e25df0815b95cdae13661aad05af542aeb65ac7dc89531d
DIST opera-9.50b-20071024.3-shared-qt.ppc-en.tar.bz2 5752913 RMD160 7114895d497478d403a6c874ce99a2c4caa0ba0d SHA1 de0a5f42c33aba74797079d529b908d16efdf057 SHA256 a0e57f4d719d74e805b184cec9bdc35ef2eb054bf143b85d91ecf03d3d8b44af
@@ -69,5 +75,6 @@ EBUILD opera-9.50_beta2_p1800.ebuild 5365 RMD160 6602d77f6f607709cc60d5a8c4cb7e8
EBUILD opera-9.50_beta2_p1823.ebuild 5470 RMD160 ea902595a806e851ffec55abdce7a8911dc3d2a7 SHA1 11be6637f473180abdafbf65fdbcff1ac233208b SHA256 172eb2e2adb5b7955c7d096deb5c422c583652b597afc13e4c5882e9ac511fee
EBUILD opera-9.50_beta2_p1834.ebuild 5470 RMD160 91fd1555b21253bf34e0b0350ca588031b2d4a51 SHA1 178f62271cbc0bcf6c7eee6e0497893b53a54388 SHA256 5bcccaefa25ea021ce847e8e669219f1c9ae42d57d12b63bd4f3c0da74814e7a
EBUILD opera-9.50_beta2_p1875.ebuild 5365 RMD160 4156df14dcc1ba4e06b25b068c5f1cadeeebba23 SHA1 0671ee79ec404c48d0dd8c02b7e09403fba07255 SHA256 40bab76f52d1e50946b35ff6e4dddbbae0853e8a88ec9693f5468a8d0c4b8434
-MISC ChangeLog 44375 RMD160 af8c62424738f8479297b912970c6d0678cca238 SHA1 2e92f69af7bd1792c0d4e0c315b1e1f8c890670d SHA256 bc51aa61f23fa6d5b9d19a5b7197ae73607c3bd07b7cf0f93038af4373bda7a1
+EBUILD opera-9.50_beta2_p1887.ebuild 5454 RMD160 4504cf2e08171a7c3b6a07bb7339eff4e729d5a1 SHA1 ba3a583f9c03292f00228f16e7fb87b470dbb551 SHA256 1ce8efe83b6d70bb0d05a967d0cca44cbb1a31f9f96855dd2386a0859965776f
+MISC ChangeLog 44594 RMD160 f5a7bb9b6d5ca8121f3dded0294c13fd89d58624 SHA1 d1d431833dc3eff6265bab3a37fb711130227283 SHA256 6cff75902121abc6b34f08cfdc44df769d4863e347f2da3cfb73b69817be3945
MISC metadata.xml 371 RMD160 9ce4bac73fb1a6fb95290774b2a6a09e23be1998 SHA1 dde7f60d2a566274f7997a7d691922a1278a3558 SHA256 192dad9e5e302573e365663703055daac67ab3d40cb1e081cab9927bbc1ddbaa
diff --git a/www-client/opera/opera-9.50_beta2_p1887.ebuild b/www-client/opera/opera-9.50_beta2_p1887.ebuild
new file mode 100644
index 000000000000..5a222f82a443
--- /dev/null
+++ b/www-client/opera/opera-9.50_beta2_p1887.ebuild
@@ -0,0 +1,183 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.50_beta2_p1887.ebuild,v 1.1 2008/03/28 17:25:17 jer Exp $
+
+GCONF_DEBUG="no"
+
+inherit eutils gnome2
+
+DESCRIPTION="Opera web browser"
+HOMEPAGE="http://www.opera.com/"
+
+SLOT="0"
+LICENSE="OPERA-9.0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+IUSE="qt-static spell gnome elibc_FreeBSD"
+RESTRICT="mirror strip test"
+
+O_LNG=""
+O_SUFF="1887"
+O_VER="9.50-20080327"
+
+O_URI="http://snapshot.opera.com/unix/snapshot-${O_SUFF}/"
+
+SRC_URI="
+ ppc? ( ${O_URI}ppc-linux/${PN}-${O_VER}.6-shared-qt.ppc${O_LNG}-${O_SUFF}.tar.bz2 )
+ amd64? ( ${O_URI}x86_64-linux/${PN}-${O_VER}.2-shared-qt.x86_64${O_LNG}-${O_SUFF}.tar.bz2 )
+ qt-static? (
+ x86? ( ${O_URI}intel-linux/${PN}-${O_VER}.9-static-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 )
+ x86-fbsd? ( ${O_URI}intel-freebsd/${PN}-${O_VER}.5-static-qt.i386.freebsd${O_LNG}-${O_SUFF}.tar.bz2 )
+ )
+ !qt-static? (
+ x86? ( ${O_URI}intel-linux/${PN}-${O_VER}.6-shared-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 )
+ x86-fbsd? ( ${O_URI}intel-freebsd/${PN}-${O_VER}.3-shared-qt.i386.freebsd${O_LNG}-${O_SUFF}.tar.bz2 )
+ )
+ "
+
+DEPEND=">=sys-apps/sed-4"
+
+RDEPEND="media-libs/libexif
+ media-libs/jpeg
+ >=media-libs/fontconfig-2.1.94-r1
+ x11-libs/libXrandr
+ x11-libs/libXp
+ x11-libs/libXmu
+ x11-libs/libXi
+ x11-libs/libXft
+ x11-libs/libXext
+ x11-libs/libXcursor
+ x11-libs/libX11
+ x11-libs/libSM
+ x11-libs/libICE
+ !qt-static? ( =x11-libs/qt-3* )
+ amd64? ( =x11-libs/qt-3* )
+ ppc? ( =x11-libs/qt-3* )
+ spell? ( app-text/aspell )
+ x86-fbsd? ( =virtual/libstdc++-3* )"
+
+S="${WORKDIR}/${A/.tar.bz2/}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-9.00-install.patch"
+
+ # bug #181300:
+ use elibc_FreeBSD || epatch "${FILESDIR}/${PN}-9.50-pluginpath.patch"
+ use elibc_FreeBSD && epatch "${FILESDIR}/${PN}-9.50-pluginpath-fbsd.patch"
+
+ sed -i -e "s:config_dir=\"/etc\":config_dir=\"${D}/etc/\":g" \
+ -e "s:/usr/share/applnk:${D}/usr/share/applnk:g" \
+ -e "s:/usr/share/pixmaps:${D}/usr/share/pixmaps:g" \
+ -e "s:/usr/share/icons:${D}/usr/share/icons:g" \
+ -e "s:/etc/X11:${D}/etc/X11:g" \
+ -e "s:/usr/share/gnome:${D}/usr/share/gnome:g" \
+ -e "s:/opt/gnome/share:${D}/opt/gnome/share:g" \
+ -e 's:#\(OPERA_FORCE_JAVA_ENABLED=\):\1:' \
+ -e 's:#\(export LD_PRELOAD OPERA_FORCE_JAVA_ENABLED\):\1:' \
+ -e 's:read str_answer:return 0:' \
+ -e "s:/opt/kde:${D}/usr/kde:" \
+ -e "s:\(str_localdirplugin=\).*$:\1/opt/opera/lib/opera/plugins:" \
+ install.sh || die "sed failed"
+
+}
+
+src_compile() {
+ # This workaround is sadly needed because gnome2.eclass doesn't check
+ # whether a configure script or Makefile exists.
+ true
+}
+
+src_install() {
+ # Prepare installation directories for Opera's installer script.
+ dodir /etc
+
+ # Opera's native installer.
+ ./install.sh --prefix="${D}"/opt/opera || die "install.sh failed"
+
+ einfo "It is safe to ignore warnings about failed checksums"
+ einfo "and about files that would be ignored ..."
+ einfo "Completing the installation where install.sh abandoned us ..."
+
+ # java workaround
+ sed -i -e 's:LD_PRELOAD="${OPERA_JAVA_DIR}/libawt.so":LD_PRELOAD="$LD_PRELOAD"\:"${OPERA_JAVA_DIR}/libawt.so":' "${D}"/opt/opera/bin/opera
+
+ dosed /opt/opera/bin/opera
+ dosed /opt/opera/share/opera/java/opera.policy
+
+ # Install the icons
+ insinto /usr/share/pixmaps
+ doins usr/share/pixmaps/opera.xpm
+
+ local res
+ for res in 16x16 22x22 32x32 48x48 ; do
+ insinto /usr/share/icons/hicolor/${res}/apps
+ doins usr/share/icons/hicolor/${res}/apps/opera.png
+ done
+
+ # Install the menu entry
+ make_desktop_entry opera Opera /usr/share/pixmaps/opera.xpm 'Network;WebBrowser;Email;FileTransfer;IRCClient'
+
+ # Install a symlink /usr/bin/opera
+ dodir /usr/bin
+ dosym /opt/opera/bin/opera /usr/bin/opera
+
+ # fix plugin path
+ echo "Plugin Path=/opt/opera/lib/opera/plugins" >> "${D}"/etc/opera6rc
+
+ # enable spellcheck
+ if use spell; then
+ if use qt-static; then
+ DIR=$O_VER.1
+ else
+ use sparc && DIR=$O_VER.2 || DIR=$O_VER.5
+ fi
+ echo "Spell Check Engine=/opt/opera/lib/opera/${DIR}/spellcheck.so" >> "${D}"/opt/opera/share/opera/ini/spellcheck.ini
+ fi
+
+ dodir /etc/revdep-rebuild
+ echo 'SEARCH_DIRS_MASK="/opt/opera/lib/opera/plugins"' > "${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}"/opt/${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
+
+ # Add the Opera man dir to MANPATH:
+ insinto /etc/env.d
+ echo 'MANPATH="/opt/opera/share/man"' >> "${D}"/etc/env.d/90opera
+}
+
+pkg_postinst() {
+ use gnome && gnome2_pkg_postinst
+
+ elog "For localized language files take a look at:"
+ elog " http://www.opera.com/download/languagefiles/index.dml"
+ elog
+ elog "To use the spellchecker (USE=spell) for non-English simply do"
+ elog "$ emerge app-dicts/aspell-[your language]."
+
+ if use elibc_FreeBSD; then
+ elog
+ elog "To improve shared memory usage please set:"
+ elog "$ sysctl kern.ipc.shm_allow_removed=1"
+ fi
+
+ elog "The Opera betas may still have issues with plugins, notably"
+ elog "net-www/netscape-flash. See also https://bugs.gentoo.org/198162"
+}
+
+pkg_postrm() {
+ use gnome && gnome2_pkg_postrm
+}