diff options
author | Jeroen Roovers <jer@gentoo.org> | 2008-04-17 18:03:11 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2008-04-17 18:03:11 +0000 |
commit | 68cd3d8877bdd6471dbd0a367869c17a3dc8e316 (patch) | |
tree | 130719e4f08e093f6d5e30bcae0c4db1c2126b68 /www-client | |
parent | Stable on ppc wrt bug 217627 (diff) | |
download | historical-68cd3d8877bdd6471dbd0a367869c17a3dc8e316.tar.gz historical-68cd3d8877bdd6471dbd0a367869c17a3dc8e316.tar.bz2 historical-68cd3d8877bdd6471dbd0a367869c17a3dc8e316.zip |
Version bump <http://my.opera.com/desktopteam/blog/2008/04/17/beta-2-is-coming>.
Package-Manager: portage-2.1.5_rc3
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/ChangeLog | 9 | ||||
-rw-r--r-- | www-client/opera/Manifest | 8 | ||||
-rw-r--r-- | www-client/opera/opera-9.50_beta2_p1929.ebuild | 182 |
3 files changed, 197 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 16bb864a385e..3b5ba3545220 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,13 @@ # 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.215 2008/04/09 16:53:03 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.216 2008/04/17 18:03:11 jer Exp $ + +*opera-9.50_beta2_p1929 (17 Apr 2008) + + 17 Apr 2008; Jeroen Roovers <jer@gentoo.org> + +opera-9.50_beta2_p1929.ebuild: + Version bump + <http://my.opera.com/desktopteam/blog/2008/04/17/beta-2-is-coming>. *opera-9.50_beta2_p1904 (09 Apr 2008) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 43bf34adb523..7f240fef0f4e 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -66,6 +66,11 @@ DIST opera-9.50-20080408.5-static-qt.i386.freebsd-1904.tar.bz2 7736605 RMD160 5a DIST opera-9.50-20080408.6-shared-qt.i386-1904.tar.bz2 5697408 RMD160 1a7b8744bc6dc7215c6a92609977b7d2d0e9def3 SHA1 fa68a30f17e55eb9c9ee7e6157e5a9b0266c69f8 SHA256 2571a531920b8e8f296cea7c1287de50b4edca7947dbcb172a266ae298f201e8 DIST opera-9.50-20080408.6-shared-qt.ppc-1904.tar.bz2 5758964 RMD160 91aa9caed707d6b4a9bb980af876cdb43abf9c13 SHA1 81603008eb5ea4b3e0e6e7943c5ddf073d11779d SHA256 9f995df90aec361ab5d7b094989baa9e88d5ce9564736d680adafb20c39c4f5e DIST opera-9.50-20080408.9-static-qt.i386-1904.tar.bz2 7934111 RMD160 771a30e04763ac00d83867d3fcab1cbc208ec3be SHA1 e7bafea6fa4073342a73a75cf858d0a0de86a89d SHA256 3c4053f6a860fa152ded66b5af8e4bc4bde29d2fc2fa1c61fba1104a4e625bd0 +DIST opera-9.50-20080417.2-shared-qt.x86_64-1929.tar.bz2 6297048 RMD160 0d64ce69a9af1cff66f3019c154387f1a4507b92 SHA1 b5757d08f5356d2aa618ba829b88b353466d2c34 SHA256 33e689d210ee96e0334b86509d40f6a2e1bcdf0378677250829a5d274332ca6c +DIST opera-9.50-20080417.4-shared-qt.i386.freebsd-1929.tar.bz2 5793782 RMD160 b8a734d566907da26c47e01a785dc77b1d579940 SHA1 8b5abc0fa33a619ff704e17a62c82690c3cfeca9 SHA256 8d3acd3a98070cdee700b24e60c2f07d3abe230dfac21536d4dd902f4acca670 +DIST opera-9.50-20080417.6-shared-qt.i386-1929.tar.bz2 5663186 RMD160 dece826e1aa14ad5d6134149323dc01df0f52f4d SHA1 8342ee6620d7c37dba42c799969ac078fd57b424 SHA256 c66be20593009d1cdcc39e1aa33681039bcf809177bea657efd03ff62b4f053e +DIST opera-9.50-20080417.6-shared-qt.ppc-1929.tar.bz2 5745209 RMD160 470338686eb55024e16448a7c1700fd184c65a98 SHA1 1b04f10cc5115977b948554bcf9d414bcff45865 SHA256 51fc8c609fbd3e19f680651a1e838a4696b1a5ec422e0664936e98508b1f931a +DIST opera-9.50-20080417.9-static-qt.i386-1929.tar.bz2 7937288 RMD160 fbe5b6e90c770553f492b863d2d276557e601205 SHA1 257b8610de7e4fc0e181c7e7e07012a3922966d9 SHA256 2129bb31d5320c2e8ead0112f8412800a1980ddd49e32b458a7a51701f5e9a94 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 @@ -83,5 +88,6 @@ EBUILD opera-9.50_beta2_p1834.ebuild 5470 RMD160 91fd1555b21253bf34e0b0350ca5880 EBUILD opera-9.50_beta2_p1875.ebuild 5365 RMD160 4156df14dcc1ba4e06b25b068c5f1cadeeebba23 SHA1 0671ee79ec404c48d0dd8c02b7e09403fba07255 SHA256 40bab76f52d1e50946b35ff6e4dddbbae0853e8a88ec9693f5468a8d0c4b8434 EBUILD opera-9.50_beta2_p1887.ebuild 5454 RMD160 4504cf2e08171a7c3b6a07bb7339eff4e729d5a1 SHA1 ba3a583f9c03292f00228f16e7fb87b470dbb551 SHA256 1ce8efe83b6d70bb0d05a967d0cca44cbb1a31f9f96855dd2386a0859965776f EBUILD opera-9.50_beta2_p1904.ebuild 5515 RMD160 d2041099fb34dff82f1db395bf15e9d1ab591e0f SHA1 8a5c276e3c15f0813bd4908805bbc04505b075df SHA256 b6cdf3f8c61f4b76d95a36a8a9e6abca1ad8d10e6080405b03634eedad9c101c -MISC ChangeLog 45565 RMD160 9d33496a274def529144c54095af1f1344d4475e SHA1 8329bec39d533d0b404edd7ca0600a01640405a2 SHA256 e1bfd8863bcb102fcec757b763821a1ef368556ff213af78a3fc8e28be33476a +EBUILD opera-9.50_beta2_p1929.ebuild 5365 RMD160 f848fb233e598724c551fddb2d287d2492fb83fb SHA1 f0a08ba5fde44abb275e86a5d7cf90e89cb05323 SHA256 016d42d77fafdb78859ecd0dc41e8142992d20adbb4cfded08879a4fdf040366 +MISC ChangeLog 45771 RMD160 6002d654a382366ac1d94a9d496b6002f6a26bfa SHA1 ff5e91dd4a665544c8bba9a0461101d0c6e24cbe SHA256 7c4545de060eead0149c14d20e18ebe571de6bfef6e7a5a15f0bf55c38203af1 MISC metadata.xml 371 RMD160 9ce4bac73fb1a6fb95290774b2a6a09e23be1998 SHA1 dde7f60d2a566274f7997a7d691922a1278a3558 SHA256 192dad9e5e302573e365663703055daac67ab3d40cb1e081cab9927bbc1ddbaa diff --git a/www-client/opera/opera-9.50_beta2_p1929.ebuild b/www-client/opera/opera-9.50_beta2_p1929.ebuild new file mode 100644 index 000000000000..e375ad922891 --- /dev/null +++ b/www-client/opera/opera-9.50_beta2_p1929.ebuild @@ -0,0 +1,182 @@ +# 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_p1929.ebuild,v 1.1 2008/04/17 18:03:11 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="1929" +O_VER="9.50-20080417" + +O_URI="http://snapshot.opera.com/unix/snapshot-${O_SUFF}/" + +SRC_URI=" + amd64? ( ${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}.4-shared-qt.i386.freebsd${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 ) + ) + !qt-static? ( + x86? ( ${O_URI}intel-linux/${PN}-${O_VER}.6-shared-qt.i386${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? ( =x11-libs/qt-3* =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 +} |