diff options
author | Jeroen Roovers <jer@gentoo.org> | 2007-09-15 04:17:30 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2007-09-15 04:17:30 +0000 |
commit | 117e0b6b87df9f71a55b872b66e9c6196eedb921 (patch) | |
tree | 57be9c1979af113a5f2e0930b58a661fa81b9b98 /www-client/opera | |
parent | Stable for HPPA (bug #192572). (diff) | |
download | historical-117e0b6b87df9f71a55b872b66e9c6196eedb921.tar.gz historical-117e0b6b87df9f71a55b872b66e9c6196eedb921.tar.bz2 historical-117e0b6b87df9f71a55b872b66e9c6196eedb921.zip |
Version bump (still a snapshot).
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'www-client/opera')
-rw-r--r-- | www-client/opera/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/opera/Manifest | 20 | ||||
-rw-r--r-- | www-client/opera/files/digest-opera-9.50_alpha1581 | 15 | ||||
-rw-r--r-- | www-client/opera/opera-9.50_alpha1581.ebuild | 179 |
4 files changed, 216 insertions, 5 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index ef8c1757886d..2c3228a445ed 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/opera # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.135 2007/09/07 15:12:23 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.136 2007/09/15 04:17:30 jer Exp $ + +*opera-9.50_alpha1581 (15 Sep 2007) + + 15 Sep 2007; Jeroen Roovers <jer@gentoo.org> +opera-9.50_alpha1581.ebuild: + Version bump (still a snapshot). 07 Sep 2007; Jeroen Roovers <jer@gentoo.org> opera-9.50_alpha1567.ebuild: Remove temporary comment. diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 927f22997f94..4f9bf9b77c0c 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -34,6 +34,11 @@ DIST opera-9.50-20070903.2-shared-qt.x86_64-1567.tar.bz2 5948870 RMD160 59a2f8e8 DIST opera-9.50-20070903.4-shared-qt.i386.freebsd-1567.tar.bz2 5519387 RMD160 343a77d78d1a8e338de58da2ffffbfa20b0bd654 SHA1 3d951de46538a63bed47ef07e9d4ca07f7144972 SHA256 4d59955feb278fbadc97cd2799be32255db56911e044dcb6f91ec1c3f322459b DIST opera-9.50-20070903.6-shared-qt.i386-1567.tar.bz2 5453240 RMD160 19fe0393724f9a1c6180be1d56346cf127a16812 SHA1 03a11117416f27bdd3d7f243b95c99a6c6835e23 SHA256 cac425846b3d3c59ec9f6255e822fe91326cd7503acb305e082f399e9b685f70 DIST opera-9.50-20070903.9-static-qt.i386-1567.tar.bz2 7675902 RMD160 d10771b18d42a0cf6c621d5cb908ff5a800d3d1e SHA1 701bb0a4f02b7ec82bfc8bb7522dfbf8d4a15bbd SHA256 10f84c44bddec74a9915179a45d28bcd37423fd732cc0c2e7ed19f90756b4620 +DIST opera-9.50-20070914.2-shared-qt.x86_64-1581.tar.bz2 5973715 RMD160 b38b81e5a00243e46a6ffd3c6e5141d61fe8ff5a SHA1 7e655cda718290a04a817c4ced221409492e7a5e SHA256 d702c00e38fd4632bc93b23a76a57b8a4dbb2344575840b8aee4db1fe263805f +DIST opera-9.50-20070914.5-static-qt.i386.freebsd-1581.tar.bz2 7460233 RMD160 4d5158fd835721f054b14d2d98b67eb71c96b443 SHA1 38f7035b164bf7dfcdc72a87e513a387b520bf6d SHA256 6d90e09d31ccdd934cf7377609772090792d2729a6f1614bc05970cabd566917 +DIST opera-9.50-20070914.6-shared-qt.i386-1581.tar.bz2 5486093 RMD160 1b8b4deb4ef04289caad3a04053c85784ed54587 SHA1 cdf54056db5088593d165e1591e3454c85b98ebd SHA256 332918dbcac1566e9ffe1e04d7b7427cc26f303fbc3df5adc48e7701787998b8 +DIST opera-9.50-20070914.6-shared-qt.ppc-1581.tar.bz2 5528771 RMD160 20a53d8d62e8eebe31e64315949c7406bed6b33c SHA1 b8867db0771f9ac98162915f5b4786430a1bfddb SHA256 8396dfd24b0588ee9f97bcb7f2f0bdc7f88907112fb9974a7fed875a7a02af9a +DIST opera-9.50-20070914.9-static-qt.i386-1581.tar.bz2 7713880 RMD160 62fea4a57daec0c2d7194ce3f92332b343c9b818 SHA1 472f1d04104be4e30860c1394a875ca868c57c39 SHA256 4d6c649463b254d5e91339a945f06a21b956c55d6807c4883c79f2a95189070c EBUILD opera-9.23.ebuild 5778 RMD160 c8e7c1cf1513fc752e5c0373b6684bf0ecce245a SHA1 155331161bbcc5c66658899dcf9656dcc1842737 SHA256 47e2176671aa8f5879366616de4511c09567216b65fa0399ec73a6e90bf92d5a MD5 7a0fe53798073b725c0c37d371fd0bee opera-9.23.ebuild 5778 RMD160 c8e7c1cf1513fc752e5c0373b6684bf0ecce245a opera-9.23.ebuild 5778 @@ -42,10 +47,14 @@ EBUILD opera-9.50_alpha1567.ebuild 5521 RMD160 834de7a5f6ef3b7ee3f34519ef2c71c80 MD5 93fec061097f260796e1265851de82a8 opera-9.50_alpha1567.ebuild 5521 RMD160 834de7a5f6ef3b7ee3f34519ef2c71c801a1fbe2 opera-9.50_alpha1567.ebuild 5521 SHA256 c4699efccb6bf8670011ae4a13c436aa3209a6e81099c017cfd3f040656f9f46 opera-9.50_alpha1567.ebuild 5521 -MISC ChangeLog 32730 RMD160 11316311563cb4afc77db6a3c8c6283bbbceabfb SHA1 cda915e41f45baf89395605e1c6b163f4c3b2a14 SHA256 5359da6452d6801a19a6f258bc1843c4c773c485a37f1ca73602de5c5daaea7d -MD5 939f75f7e08f361d6ca10a99564407af ChangeLog 32730 -RMD160 11316311563cb4afc77db6a3c8c6283bbbceabfb ChangeLog 32730 -SHA256 5359da6452d6801a19a6f258bc1843c4c773c485a37f1ca73602de5c5daaea7d ChangeLog 32730 +EBUILD opera-9.50_alpha1581.ebuild 5528 RMD160 7c8cf1fc8130e5d2fa87d15dc574c5fe7e077483 SHA1 f7abe28115de198b72c660fa972a33b9e592dd99 SHA256 cd9ab9c6a1129cddaddd647b40351609dc727988da9c1162ef4fcdd6f819366e +MD5 0c2da4a9888df58bdb7c4ca16ce158e0 opera-9.50_alpha1581.ebuild 5528 +RMD160 7c8cf1fc8130e5d2fa87d15dc574c5fe7e077483 opera-9.50_alpha1581.ebuild 5528 +SHA256 cd9ab9c6a1129cddaddd647b40351609dc727988da9c1162ef4fcdd6f819366e opera-9.50_alpha1581.ebuild 5528 +MISC ChangeLog 32880 RMD160 5e4dbbaa3b3ed6f9a5169ae18feda15f0bfc4bef SHA1 2b4750802f7314ae6420504e0f17eac95e4a71bc SHA256 ea3759001a46355b53293787cdb548d8e9f938f9f6841ae31815df29c9740f28 +MD5 19a06343574937493fc6644bb1706184 ChangeLog 32880 +RMD160 5e4dbbaa3b3ed6f9a5169ae18feda15f0bfc4bef ChangeLog 32880 +SHA256 ea3759001a46355b53293787cdb548d8e9f938f9f6841ae31815df29c9740f28 ChangeLog 32880 MISC metadata.xml 252 RMD160 ed7e3d6637ec96975f17ce5c33628aa482dfd663 SHA1 ddd00321e20f4a53a140eeb56cb01b9fab24d657 SHA256 76fd24f00e95b2892ca60acdce02d8c85dfeff84fc89ca14ffdbc00b82de44b3 MD5 fbe6e8a03b222b84e9afcf23787c30dc metadata.xml 252 RMD160 ed7e3d6637ec96975f17ce5c33628aa482dfd663 metadata.xml 252 @@ -56,3 +65,6 @@ SHA256 0e5c6257c474cbae0213023c6ae8f81943f72a9d693b7a6c140b9ee479d7070c files/di MD5 954f19e0c4fb1057bb75d5bca4ec92ee files/digest-opera-9.50_alpha1567 2037 RMD160 37dbb717b0e1f42063d74c016b033a26a732c45c files/digest-opera-9.50_alpha1567 2037 SHA256 2810f6e44ebb6eb96c5925736bfaddf6008f6d4b4cd9ebd28fc88c326a20e093 files/digest-opera-9.50_alpha1567 2037 +MD5 675ce741485e784005cd852931ad6294 files/digest-opera-9.50_alpha1581 1682 +RMD160 8b56c736c0019d0a114ca6eebd938e7f8b90d1fe files/digest-opera-9.50_alpha1581 1682 +SHA256 62a42fcd525a08cd83c9a813241123cb6d857bac828cf9e3c1501489051ecff5 files/digest-opera-9.50_alpha1581 1682 diff --git a/www-client/opera/files/digest-opera-9.50_alpha1581 b/www-client/opera/files/digest-opera-9.50_alpha1581 new file mode 100644 index 000000000000..2fbdb0d8e765 --- /dev/null +++ b/www-client/opera/files/digest-opera-9.50_alpha1581 @@ -0,0 +1,15 @@ +MD5 aba2b015b2cfd9f6375809b42bc6463b opera-9.50-20070914.2-shared-qt.x86_64-1581.tar.bz2 5973715 +RMD160 b38b81e5a00243e46a6ffd3c6e5141d61fe8ff5a opera-9.50-20070914.2-shared-qt.x86_64-1581.tar.bz2 5973715 +SHA256 d702c00e38fd4632bc93b23a76a57b8a4dbb2344575840b8aee4db1fe263805f opera-9.50-20070914.2-shared-qt.x86_64-1581.tar.bz2 5973715 +MD5 82b84b2a48465dd998c9c1b9cff04c6a opera-9.50-20070914.5-static-qt.i386.freebsd-1581.tar.bz2 7460233 +RMD160 4d5158fd835721f054b14d2d98b67eb71c96b443 opera-9.50-20070914.5-static-qt.i386.freebsd-1581.tar.bz2 7460233 +SHA256 6d90e09d31ccdd934cf7377609772090792d2729a6f1614bc05970cabd566917 opera-9.50-20070914.5-static-qt.i386.freebsd-1581.tar.bz2 7460233 +MD5 d88323b05f90d8fffc472df3c0f89302 opera-9.50-20070914.6-shared-qt.i386-1581.tar.bz2 5486093 +RMD160 1b8b4deb4ef04289caad3a04053c85784ed54587 opera-9.50-20070914.6-shared-qt.i386-1581.tar.bz2 5486093 +SHA256 332918dbcac1566e9ffe1e04d7b7427cc26f303fbc3df5adc48e7701787998b8 opera-9.50-20070914.6-shared-qt.i386-1581.tar.bz2 5486093 +MD5 bf78062b679c81a2b6c4d98a587a3abe opera-9.50-20070914.6-shared-qt.ppc-1581.tar.bz2 5528771 +RMD160 20a53d8d62e8eebe31e64315949c7406bed6b33c opera-9.50-20070914.6-shared-qt.ppc-1581.tar.bz2 5528771 +SHA256 8396dfd24b0588ee9f97bcb7f2f0bdc7f88907112fb9974a7fed875a7a02af9a opera-9.50-20070914.6-shared-qt.ppc-1581.tar.bz2 5528771 +MD5 dfcade905778ce07f29a583c7bbeef8a opera-9.50-20070914.9-static-qt.i386-1581.tar.bz2 7713880 +RMD160 62fea4a57daec0c2d7194ce3f92332b343c9b818 opera-9.50-20070914.9-static-qt.i386-1581.tar.bz2 7713880 +SHA256 4d6c649463b254d5e91339a945f06a21b956c55d6807c4883c79f2a95189070c opera-9.50-20070914.9-static-qt.i386-1581.tar.bz2 7713880 diff --git a/www-client/opera/opera-9.50_alpha1581.ebuild b/www-client/opera/opera-9.50_alpha1581.ebuild new file mode 100644 index 000000000000..2e6e191bab37 --- /dev/null +++ b/www-client/opera/opera-9.50_alpha1581.ebuild @@ -0,0 +1,179 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-9.50_alpha1581.ebuild,v 1.1 2007/09/15 04:17:30 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" +RESTRICT="strip mirror" + +O_LNG="" +O_SUFF="1581" +O_VER="9.50-20070914" + +# opera-9.50-20070903.1-static-qt.ppc-1567.tar.bz2 + +O_URI="http://snapshot.opera.com/unix/snapshot-1581/" +SRC_URI=" + x86? ( qt-static? ( + ${O_URI}intel-linux/${PN}-${O_VER}.9-static-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 ) ) + x86? ( !qt-static? ( ${O_URI}intel-linux/${PN}-${O_VER}.6-shared-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 ) ) + amd64? ( !qt-static? ( ${O_URI}x86_64-linux/${PN}-${O_VER}.2-shared-qt.x86_64${O_LNG}-${O_SUFF}.tar.bz2 ) ) + ppc? ( ${O_URI}ppc-linux/${PN}-${O_VER}.6-shared-qt.ppc${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 )" + +# x86-fbsd? ( !qt-static? ( ${O_URI}intel-freebsd/${PN}-${O_VER}.4-shared-qt.i386.freebsd${O_LNG}-${O_SUFF}.tar.bz2 ) ) +# amd64? ( qt-static? ( ${O_URI}x86_64-linux/${PN}-${O_VER}.2-static-qt.i386${O_LNG}-${O_SUFF}.tar.bz2 ) ) +# sparc? ( ${O_URI}sparc-linux/${PN}-${O_VER}.1-static-qt.sparc${O_LNG}-${O_SUFF}.tar.bz2 ) + +DEPEND=">=sys-apps/sed-4" + +RDEPEND="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 + >=media-libs/fontconfig-2.1.94-r1 + !amd64? ( media-libs/libexif + spell? ( app-text/aspell ) + x86? ( !qt-static? ( =x11-libs/qt-3* ) ) + media-libs/jpeg ) + x86-fbsd? ( =virtual/libstdc++-3* + !qt-static? ( =x11-libs/qt-3* ) )" + +S=${WORKDIR}/${A/.tar.bz2/} + +src_unpack() { + unpack ${A} + cd ${S} + + epatch "${FILESDIR}/${PN}-9.00-install.patch" + epatch "${FILESDIR}/${PN}-9.50-pluginpath.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() { + local res + # 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 + 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 + insinto /usr/share/applications + doins ${FILESDIR}/opera.desktop + + # 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 x86-fbsd; 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 + + # symlink to libflash-player.so: + dosym /opt/netscape/plugins/libflashplayer.so \ + /opt/opera/lib/opera/plugins/libflashplayer.so + + # 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 x86-fbsd; then + elog + elog "To improve shared memory usage please set:" + elog "$ sysctl kern.ipc.shm_allow_removed=1" + fi +} + +pkg_postrm() { + use gnome && gnome2_pkg_postrm +} |