diff options
author | Jeroen Roovers <jer@gentoo.org> | 2008-04-03 15:14:14 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2008-04-03 15:14:14 +0000 |
commit | 03fc5eb34620e6707b25b0743279c5c784c48545 (patch) | |
tree | 819af1cc3363d1f7796559f45cd8bf95374e65b6 /www-client | |
parent | Version bump. Fixes bug #213641. (diff) | |
download | historical-03fc5eb34620e6707b25b0743279c5c784c48545.tar.gz historical-03fc5eb34620e6707b25b0743279c5c784c48545.tar.bz2 historical-03fc5eb34620e6707b25b0743279c5c784c48545.zip |
Version bump (bug #216022).
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/opera/Manifest | 11 | ||||
-rw-r--r-- | www-client/opera/opera-9.27.ebuild | 186 |
3 files changed, 202 insertions, 2 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 64524ff33f28..950d04539e51 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,11 @@ # 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.208 2008/03/28 17:25:17 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.209 2008/04/03 15:14:14 jer Exp $ + +*opera-9.27 (03 Apr 2008) + + 03 Apr 2008; Jeroen Roovers <jer@gentoo.org> +opera-9.27.ebuild: + Version bump (bug #216022). *opera-9.50_beta2_p1887 (28 Mar 2008) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index cc83772fa87f..a4fc1af311c4 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -10,6 +10,14 @@ DIST opera-9.26-20080215.1-static-qt.sparc-en.tar.bz2 6757856 RMD160 31ba17bac4f DIST opera-9.26-20080215.4-shared-qt.i386.freebsd-en.tar.bz2 5135201 RMD160 f763aa7255fdc95f83ef87aa3b1b8475062f9c52 SHA1 ea4f809223313dd6fffd9527488e8f87ab196233 SHA256 d0cdbe623b592092f86edc5f25e331c45931c454d744bf3dfc18d524e3bedd1f DIST opera-9.26-20080215.6-shared-qt.ppc-en.tar.bz2 5306251 RMD160 82fabd2d7c3b5b1fa8793cb96271f61c266f9a6c SHA1 b3bd842c7e950f575cee606cd5d3419d78cc641e SHA256 4e15386b9c776b2666c762dc3cf24badf2e5066763ae383a53a1c5bb63265356 DIST opera-9.26-20080218.6-shared-qt.i386-en.tar.bz2 5246181 RMD160 35c2e4a4d9f18c1c9954727e20d4a55291b4d773 SHA1 036cdd7202d4a946767d0d6309f00d2ec1765a3d SHA256 efe90b1d0f016a6a3bed07e527b187f7829cf32b6d048b07c83c4afed6efcb54 +DIST opera-9.27-20080331.1-static-qt.i386-en.tar.bz2 6813669 RMD160 353adab3fa9a401720264738ea7494c184b0df2e SHA1 4fee1c05b31be9e11fbe78c127809c3f550b775a SHA256 3f76e709ee4896abb8aa5dfc5ce7c1b75f476faf947c1f6bb8b125d0726bc031 +DIST opera-9.27-20080331.1-static-qt.i386.freebsd-en.tar.bz2 6561843 RMD160 14264eb3e249e4c23625f9a8d521a84d382077fd SHA1 8853366a874cb18a6eff86b7ce5c63923984e0a3 SHA256 ac695d429e859f2764d4c3d80798b0bcce9a8670c83ebe61ef568d197bd61aab +DIST opera-9.27-20080331.1-static-qt.ppc-en.tar.bz2 6860940 RMD160 5e109dabb20cc8d7afc6a2ef96e274f5e4eb973c SHA1 3a6e8d565ed3a2d0373be3e36324818a7e54fedb SHA256 f3dff4eae0092a55868aa778aa14000407a13e7909f0e493c1a38c58c2bdc56d +DIST opera-9.27-20080331.1-static-qt.sparc-en.tar.bz2 6758934 RMD160 b928a79da7f8d3f2c3df0dd4de6df4803f647691 SHA1 4b793bbce6136d9bc236fe05e40c81753bdd3b6a SHA256 74242143d1cd35268d93b355c02621c68398a83ae7b882aaeb2bdbd90d2e0672 +DIST opera-9.27-20080331.2-shared-qt.sparc-en.tar.bz2 4875912 RMD160 0cfddf76687d51fbae9b021c2882d32af7d9df96 SHA1 28ace256d59a015e16d51f4714666af3d338a4b6 SHA256 a9269b23aa4ebf765cf34ebb9373211031754ab3221a10bac687934313697e74 +DIST opera-9.27-20080331.4-shared-qt.i386.freebsd-en.tar.bz2 5137208 RMD160 c578844e0e2e9067a28e0a71772fafdd77f890d1 SHA1 451f38510de9043e2c9c5c486e34192b7b4ed814 SHA256 07b5ba9d9f012a281f76de272b06d7cb8c74fcd3a87f82ed3bde6cb42996017a +DIST opera-9.27-20080331.6-shared-qt.i386-en.tar.bz2 5244003 RMD160 bf288e1dae863261d8e72447dfb2b7626a2c5bc2 SHA1 86ec33375f3cf98a72c8bcdf4dc45bcbdfaf39ef SHA256 8466810e3c9cd20dc6c25bf152c9edd074b6181d86236a6b9d4ccd799fea9a36 +DIST opera-9.27-20080331.6-shared-qt.ppc-en.tar.bz2 5307364 RMD160 5e37c1eda646e7acc2c9d4515477f2cab6a5d33a SHA1 ed49b766113084fc6aaa6a33d3e8d34638469c60 SHA256 bbd69ca2610f729c0b3aa68c96f05f69f641a4ff6a1ffa01e8d442b7dc27e466 DIST opera-9.50-20071024.2-shared-qt.x86_64-1643.tar.bz2 6036762 RMD160 6c50a708f410709198c08b29145aeee7654b973f SHA1 de1b0044a2ea9fd665599383336eb4ca44dd64f0 SHA256 c662fbe906be9118885fe3ed3e5a593ea845658f18394b040d7f8fac50c861bf DIST opera-9.50-20080118.1-static-qt.sparc-1766.tar.bz2 7251035 RMD160 9294ad4c1869c3cc3628c9ed8d926b91b526417f SHA1 8057f4e93cec2682e0baaa2a3cf8955657b1c134 SHA256 526e2c6d632525ccc2d384e0ca582eeab8ce63778526ad8674407bef56315fdf DIST opera-9.50-20080118.2-shared-qt.sparc-1766.tar.bz2 5378332 RMD160 6e2e4ed876ddbaf1c1b2350ef1eaa4c904252cd6 SHA1 3041bc54de95876d2004227ee2cf44c00baa106f SHA256 f711cc13d3de5b06d401a76e759533c6e6239ded53ec98f204727c8797534139 @@ -67,6 +75,7 @@ DIST opera-9.50b-20071024.4-shared-qt.i386.freebsd-en.tar.bz2 5589042 RMD160 1a0 DIST opera-9.50b-20071024.6-shared-qt.i386-en.tar.bz2 5533621 RMD160 485999e2068ddafa623686013a862fd5000efd1b SHA1 1df8e3481c2b6ca449ab11291b1545a45bb84ac9 SHA256 4428d4413329e0858b686e6db2810e0beab0bb153d246887385c44271e274ed9 DIST opera-9.50b-20071024.9-static-qt.i386-en.tar.bz2 7762453 RMD160 10d877c4e7d98175e2a84881a4a5ff0bcde2d8dd SHA1 be62bedca170355dbd300ce94700369dda6507a6 SHA256 25e3366d63a2494706ca8d9238896da53709125974a0ef14d7985c4c4f203ec3 EBUILD opera-9.26.ebuild 5841 RMD160 d9553a54beef298cd9ca6dca36818ccb997d909d SHA1 c8472d619b677d6f92431ac0b1b1a36d517b8320 SHA256 1ff26ac7fad7ad2df51bb0f662aba5f857a42fc6e55ef1e95252633f44ce786f +EBUILD opera-9.27.ebuild 5866 RMD160 f9f5769369ea14aa51a3cf0ec894afe04b29617d SHA1 81b5c4e72d0ff6001539ba20d9120feaa5c70323 SHA256 ab87adf5fb34d52f90389a2be02937791a8ffbcdb9d57a3385a352d64c72bec0 EBUILD opera-9.50_beta1.ebuild 5895 RMD160 c901f78917d4159de6eada313f67c707e604eff1 SHA1 b6623366cb2f89abe90bf2a799fd8d1e06140723 SHA256 7918ae8eab27002f51a91ea4f9240edaf48619bf5610709a4aa1c6749bf055fc EBUILD opera-9.50_beta2_p1766.ebuild 5572 RMD160 9bf7db4ac524d41c6a37b3c7037843e45841e719 SHA1 211e23d9ee280df4dce539d558604a5c67aeb9d9 SHA256 e6c65523a3a4670ca680bacd8f4a5b0771f9d82a0fa3514f0f244019e3566e19 EBUILD opera-9.50_beta2_p1772.ebuild 5515 RMD160 82c16d057c76d0d65c8fdf0327b0344eeeb4eaa6 SHA1 63254df67b4c10e8adefb94bc898d3c08b3e7359 SHA256 1e6746ecec43182090b55051dc37c95ff3502c68b94bb95bdd4905386d6282ce @@ -76,5 +85,5 @@ EBUILD opera-9.50_beta2_p1823.ebuild 5470 RMD160 ea902595a806e851ffec55abdce7a89 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 EBUILD opera-9.50_beta2_p1887.ebuild 5454 RMD160 4504cf2e08171a7c3b6a07bb7339eff4e729d5a1 SHA1 ba3a583f9c03292f00228f16e7fb87b470dbb551 SHA256 1ce8efe83b6d70bb0d05a967d0cca44cbb1a31f9f96855dd2386a0859965776f -MISC ChangeLog 44594 RMD160 f5a7bb9b6d5ca8121f3dded0294c13fd89d58624 SHA1 d1d431833dc3eff6265bab3a37fb711130227283 SHA256 6cff75902121abc6b34f08cfdc44df769d4863e347f2da3cfb73b69817be3945 +MISC ChangeLog 44719 RMD160 ae7e4cf4d3bf3c41caedbeb30e593969fced315d SHA1 7efc65fbfb69ae2ced1ea955de2fa9543f12df0e SHA256 7f16018643a76c017b2363fcdf90f278720c9c0fe09601af857fa017b2165872 MISC metadata.xml 371 RMD160 9ce4bac73fb1a6fb95290774b2a6a09e23be1998 SHA1 dde7f60d2a566274f7997a7d691922a1278a3558 SHA256 192dad9e5e302573e365663703055daac67ab3d40cb1e081cab9927bbc1ddbaa diff --git a/www-client/opera/opera-9.27.ebuild b/www-client/opera/opera-9.27.ebuild new file mode 100644 index 000000000000..808e6bdd9198 --- /dev/null +++ b/www-client/opera/opera-9.27.ebuild @@ -0,0 +1,186 @@ +# 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.27.ebuild,v 1.1 2008/04/03 15:14:14 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 ~sparc ~x86 ~x86-fbsd" + +IUSE="qt-static spell gnome elibc_FreeBSD" +RESTRICT="strip mirror" + +O_LNG="en" +O_SUFF="709" +O_VER="9.27-20080331" +O_FTP="927/final/${O_LNG}" + +O_URI="mirror://opera/" +SRC_URI=" + qt-static? ( + amd64? ( ${O_URI}linux/${O_FTP}/i386/static/${PN}-${O_VER}.1-static-qt.i386-${O_LNG}.tar.bz2 ) + ppc? ( ${O_URI}linux/${O_FTP}/ppc/static/${PN}-${O_VER}.1-static-qt.ppc-${O_LNG}.tar.bz2 ) + sparc? ( ${O_URI}linux/${O_FTP}/sparc/static/${PN}-${O_VER}.1-static-qt.sparc-${O_LNG}.tar.bz2 ) + x86? ( ${O_URI}linux/${O_FTP}/i386/static/${PN}-${O_VER}.1-static-qt.i386-${O_LNG}.tar.bz2 ) + x86-fbsd? ( ${O_URI}unix/freebsd/${O_FTP}/static/${PN}-${O_VER}.1-static-qt.i386.freebsd-${O_LNG}.tar.bz2 ) + ) + !qt-static? ( + amd64? ( ${O_URI}linux/${O_FTP}/i386/shared/${PN}-${O_VER}.6-shared-qt.i386-${O_LNG}.tar.bz2 ) + ppc? ( ${O_URI}linux/${O_FTP}/ppc/shared/gcc-2.95/${PN}-${O_VER}.6-shared-qt.ppc-${O_LNG}.tar.bz2 ) + sparc? ( ${O_URI}linux/${O_FTP}/sparc/shared/gcc-2.95/${PN}-${O_VER}.2-shared-qt.sparc-${O_LNG}.tar.bz2 ) + x86? ( ${O_URI}linux/${O_FTP}/i386/shared/${PN}-${O_VER}.6-shared-qt.i386-${O_LNG}.tar.bz2 ) + x86-fbsd? ( ${O_URI}unix/freebsd/${O_FTP}/shared/${PN}-${O_VER}.4-shared-qt.i386.freebsd-${O_LNG}.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? ( qt-static? ( app-emulation/emul-linux-x86-xlibs ) + !qt-static? ( app-emulation/emul-linux-x86-qtlibs ) ) + !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/}-${O_SUFF} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/${PN}-9.00-install.patch" + + # bug #181300: + use elibc_FreeBSD || epatch "${FILESDIR}/${PN}-9.21-pluginpath.patch" + use elibc_FreeBSD && epatch "${FILESDIR}/${PN}-9.23-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. + if use amd64; then + linux32 ./install.sh --prefix="${D}"/opt/opera || die + else + ./install.sh --prefix="${D}"/opt/opera || die + fi + + # 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 images/opera.xpm + for res in 16x16 22x22 32x32 48x48 ; do + insinto /usr/share/icons/hicolor/${res}/apps/ + newins images/opera_${res}.png 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 + + # 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 elibc_FreeBSD; 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 +} |