diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-11-29 15:18:07 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-11-29 15:18:07 +0000 |
commit | 648966a3f194371be34ec3cd687c3b7e6f28383a (patch) | |
tree | 84cf02ceec3fb60bd173988134e9d0585d76f9af | |
parent | Version bump: 1.3.2 is released, now with true ARGB (Xrender transparency) (diff) | |
download | historical-648966a3f194371be34ec3cd687c3b7e6f28383a.tar.gz historical-648966a3f194371be34ec3cd687c3b7e6f28383a.tar.bz2 historical-648966a3f194371be34ec3cd687c3b7e6f28383a.zip |
http://my.opera.com/desktopteam/blog/2011/11/29/another-ragnarok-update
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
-rw-r--r-- | www-client/opera/ChangeLog | 7 | ||||
-rw-r--r-- | www-client/opera/Manifest | 12 | ||||
-rw-r--r-- | www-client/opera/opera-11.60.1177.ebuild | 235 |
3 files changed, 249 insertions, 5 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 147a347f3e03..272a9a3962ac 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for www-client/opera # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.669 2011/11/27 07:07:51 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.670 2011/11/29 15:18:07 jer Exp $ + +*opera-11.60.1177 (29 Nov 2011) + + 29 Nov 2011; Jeroen Roovers <jer@gentoo.org> +opera-11.60.1177.ebuild: + http://my.opera.com/desktopteam/blog/2011/11/29/another-ragnarok-update *opera-11.60.1173 (27 Nov 2011) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 52fdc305c5f2..4c8953462ac6 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -22,6 +22,9 @@ DIST opera-11.60-1169.x86_64.linux.tar.xz 12330148 RMD160 229fb6a2ae868b9777e03f DIST opera-11.60-1173.i386.freebsd.tar.xz 11605516 RMD160 df6c6ece5afac8a8894340a165f501ab33268fdd SHA1 9cd3d3d6323366d014f2e666780d7078ba241f76 SHA256 d8524634c11f6660d0d8f904b94e6a7bb4c04853a125680789d18eb9e843b7f5 DIST opera-11.60-1173.i386.linux.tar.xz 11563516 RMD160 e99fde38abe4fc0078373a43020eb5e5c42e0dee SHA1 99d726788044d8c702bb51414d6a601dd4e50665 SHA256 8c837e389d08a0a9281ad0cff1b282e412c46981ee90758dbcfade97be6913ba DIST opera-11.60-1173.x86_64.linux.tar.xz 12414692 RMD160 33d287705b2578de56e5fe32c53457c6749511e3 SHA1 73bf5833a78409467c0f411cf8497c6db4e0a1f9 SHA256 af93d54d667485642dc073d7f258e6f393775aecfc80427e179046000bf3e7d2 +DIST opera-11.60-1177.i386.freebsd.tar.xz 11661028 RMD160 dda6a6e7b428aa4b3cb88bdadf861eff2b209e11 SHA1 fcae279617030c228b57497ac14675e455f19d64 SHA256 1b528f5451c6facaa7dd3096d06efefd34c7ea744d8c946a880ee8c3b05f0509 +DIST opera-11.60-1177.i386.linux.tar.xz 11624272 RMD160 15f14ef1d0201b29f15785ae437cabd06aa01cc8 SHA1 5565480a4c7bbcd6ba8e744ea7b0193e5c5f0866 SHA256 8159e0d57f0dfe51d31e7b348700f5bed96ef4a0f1928f08fbc1878b63039abc +DIST opera-11.60-1177.x86_64.linux.tar.xz 12465816 RMD160 d90be5ce9cd8da97318f6c9c085f1b9e1fdc2889 SHA1 ebfa0710993208c98f95de2900f9472aaf734f29 SHA256 f2dff1f01125fc936fd1ef5788177e1878ce020046d0912e97a305f7027b2844 EBUILD opera-11.52.1100.ebuild 5695 RMD160 7347ebe510e769a44dc494926ac33e5049561286 SHA1 65f1222bf21cce7524907d77c52d95c933da2678 SHA256 19126014c026a5ca4d89b5d999763c32b9f6ba54e403dc3ca8ea5fbd46d5ddb5 EBUILD opera-11.60.1147.ebuild 5953 RMD160 990c2566e7fdf1113a487b307a73685c2c7829db SHA1 22ba59b36d0c6748526c1fe0bd452d2dbed19d00 SHA256 25aa07ce2db49091c5be8b686fafe2d016935369b3ec9ef844877ab720f73d5e EBUILD opera-11.60.1150.ebuild 5960 RMD160 549fa8ccdf45b068cb4da524941b787a3e73412c SHA1 18c469d6af4f731a7222fff5e8753941ec499926 SHA256 5ccdeae80e0dd81012c2b3c1544fda3a062dff5a064ded1d6fa8d8149cd9572d @@ -29,12 +32,13 @@ EBUILD opera-11.60.1159.ebuild 5961 RMD160 5e596e8527c6c738806e94fe20abef0c7b6cf EBUILD opera-11.60.1163.ebuild 5960 RMD160 80fcdfee708d6cfbc235da51a16c8f2b981b1c25 SHA1 f19459a915959cb176c05286b40cc1c067a67f57 SHA256 3165a225ce5b8c0c71176f93bb952286675d2e2ff48fc9597dccdd11fec16021 EBUILD opera-11.60.1169.ebuild 5961 RMD160 aab34961328f7a0fcf5738095956bb268f3e1b2d SHA1 8959ec0da57058cd4c46bd1b9823adb70faa6c03 SHA256 298547163dc27859964bc5a556d88d06beb62d34e0f40c9779d95505a1efc911 EBUILD opera-11.60.1173.ebuild 5959 RMD160 103f7fa81fb0312e281bf42fe731de890da16d9f SHA1 6a9f18746a32b0ee6995ac2773c332ae067649d8 SHA256 286f83bc1f72879206adf61f8add6cfe80db4f50ecfebd5226f48f0189f9c30c -MISC ChangeLog 127614 RMD160 2bf4ec3fc32ee759210eda4076ae512397f731b9 SHA1 f91ce44bd647ea57ac7e997fa87f373e97709bf2 SHA256 888f20e924b9a6f1f62ef59dbbf543e4497819c04a2ec2b89d5cd4fad30a256e +EBUILD opera-11.60.1177.ebuild 5962 RMD160 7f47cd1b1d3741bbb1c3429168287df18aec5113 SHA1 fe2dd91c5ae4c51e2d50a5f45853486e79f3a8c6 SHA256 021fe8020f6461152b4fa306cfdc8055cfc062e9f694cb2d5a25c9854d9d3ec1 +MISC ChangeLog 127795 RMD160 8d8e7322d636e23b1ca491fd56e60505c056e2da SHA1 5383b904cdd45dcea3194a8f5d7a504198dd7104 SHA256 3a2ecfaf01ed30573277c95ed1f3ede86a5ea3f649ab366b11cb37c103433a97 MISC metadata.xml 732 RMD160 28acd15c216329d807150c88fb0861eb1383c61c SHA1 9ff443c6f422e8b018d29d21948da71eda6a4295 SHA256 bd388fb8f6b0aa2cd98fcfc290b677df712be3ef14537102e02665ea2f0d871a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk7R4c0ACgkQVWmRsqeSphPeJQCeOGm5fjboNinTmieGXanss6vm -A7MAn1y0pHtntU1nGBmWses6p3oEHRin -=VxEK +iEYEARECAAYFAk7U+KYACgkQVWmRsqeSphNeNwCeLDgHCEOSbQfxe/tr6LLBdeh/ +Na8An04479T9iDt8vF8ZdB8SuEqSsc7L +=RQi3 -----END PGP SIGNATURE----- diff --git a/www-client/opera/opera-11.60.1177.ebuild b/www-client/opera/opera-11.60.1177.ebuild new file mode 100644 index 000000000000..847fc18e875f --- /dev/null +++ b/www-client/opera/opera-11.60.1177.ebuild @@ -0,0 +1,235 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.60.1177.ebuild,v 1.1 2011/11/29 15:18:07 jer Exp $ + +EAPI="4" + +inherit eutils fdo-mime gnome2-utils multilib pax-utils versionator + +DESCRIPTION="A fast and secure web browser and Internet suite" +HOMEPAGE="http://www.opera.com/" + +SLOT="0" +LICENSE="OPERA-11 LGPL-2 LGPL-3" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="elibc_FreeBSD gtk gtk3 kde +gstreamer" + +O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00 +O_B="$(get_version_component_range 3)" # Build version, i.e. 1156 + +O_D="sneeze_${O_V}-${O_B}" +O_P="${PN}-${O_V}-${O_B}" +O_U="http://snapshot.opera.com/unix/" + +SRC_URI=" + amd64? ( ${O_U}${O_D}/${O_P}.x86_64.linux.tar.xz ) + x86? ( ${O_U}${O_D}/${O_P}.i386.linux.tar.xz ) + x86-fbsd? ( ${O_U}${O_D}/${O_P}.i386.freebsd.tar.xz ) +" + +OPREFIX="/usr/$(get_libdir)" + +QA_DT_HASH="${OPREFIX}/${PN}/.*" +QA_PRESTRIPPED="${OPREFIX}/${PN}/.*" + +O_LINGUAS="af az be bg bn cs da de el en-GB es-ES es-LA et fi fr fr-CA fy gd hi +hr hu id it ja ka ko lt me mk ms nb nl nn pa pl pt pt-BR ro ru sk sr sv sw ta te +th tl tr uk uz vi zh-CN zh-TW zu" + +for O_LINGUA in ${O_LINGUAS}; do + IUSE="${IUSE} linguas_${O_LINGUA/-/_}" +done + +DEPEND=" + >=sys-apps/sed-4 + app-arch/xz-utils +" +GTKRDEPEND=" + dev-libs/atk + dev-libs/glib:2 + x11-libs/cairo + x11-libs/gdk-pixbuf + gtk? ( x11-libs/gtk+:2 ) + gtk3? ( x11-libs/gtk+:3 ) + x11-libs/pango + x11-libs/pixman +" +KDERDEPEND=" + kde-base/kdelibs + x11-libs/qt-core + x11-libs/qt-gui +" +GSTRDEPEND=" + dev-libs/glib:2 + dev-libs/libxml2 + media-libs/gst-plugins-base + media-libs/gstreamer + media-plugins/gst-plugins-meta +" +RDEPEND=" + media-libs/fontconfig + media-libs/freetype + sys-apps/util-linux + sys-libs/zlib + virtual/opengl + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft + x11-libs/libXrender + x11-libs/libXt + gtk? ( ${GTKRDEPEND} ) + gtk3? ( ${GTKRDEPEND} ) + kde? ( ${KDERDEPEND} ) + gstreamer? ( ${GSTRDEPEND} ) +" + +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} + mv -v ${PN}* "${S}" || die +} + +src_prepare() { + local LNGDIR="share/${PN}/locale" + + # Count linguas + count() { echo ${#}; } + local lingua_count=$(count ${O_LINGUAS} en) + local locale_count=$(count ${LNGDIR}/*) + [[ ${lingua_count} = ${locale_count} ]] \ + || die "Number of LINGUAS does not match number of locales" + unset count + + # Remove unwanted linguas + einfo "Keeping these locales (linguas): ${LINGUAS}." + for LINGUA in ${O_LINGUAS}; do + if ! use linguas_${LINGUA/-/_}; then + LINGUA=$(find "${LNGDIR}" -maxdepth 1 -type d -iname ${LINGUA/_/-}) + rm -r "${LINGUA}" || die "The list of linguas needs to be fixed" + fi + done + + # Remove doc directory but keep the LICENSE under another name (bug #315473) + mv share/doc/${PN}/LICENSE share/${PN}/defaults/license.txt + rm -rf share/doc + for locale in share/${PN}/locale/*; do + rm -f "${locale}/license.txt" + ln -sn /usr/share/${PN}/defaults/license.txt "${locale}/license.txt" \ + || die + done + + # Remove package directory + rm -rf share/${PN}/package + + # Optional libraries + if ! use gtk; then + rm lib/${PN}/liboperagtk2.so || die + fi + if ! use gtk3; then + rm lib/${PN}/liboperagtk3.so || die + fi + if ! use kde; then + rm lib/${PN}/liboperakde4.so || die + fi + if ! use gstreamer; then + rm -r lib/${PN}/gstreamer || die + fi + + # Unzip the man pages before sedding + gunzip share/man/man1/* || die + + # Replace PREFIX, SUFFIX and PN in various files + sed -i \ + -e "s:@@{PREFIX}:/usr:g" \ + -e "s:@@{SUFFIX}::g" \ + -e "s:@@{_SUFFIX}::g" \ + -e "s:@@{USUFFIX}::g" \ + -e "s:opera:${PN}:g" \ + share/man/man1/* \ + share/applications/${PN}-*.desktop \ + || die + + # Replace "Opera" with "Opera Next" + if [[ ${PN} = opera-next ]]; then + sed -i share/applications/${PN}-*.desktop \ + -e "/^Name=Opera\|^ Next/s:Opera:& Next:" || die + fi + + # Create /usr/bin/opera wrapper + echo '#!/bin/sh' > ${PN} + echo 'export OPERA_DIR="/usr/share/'"${PN}"'"' >> ${PN} + echo 'export OPERA_PERSONALDIR=${OPERA_PERSONALDIR:-"${HOME}/.'${PN}'"}' \ + >> ${PN} + echo 'export LD_PRELOAD="/usr/'$(get_libdir)'/libgtk-x11-2.0.so"' >> ${PN} + echo 'exec '"${OPREFIX}/${PN}/${PN}"' "$@"' >> ${PN} + + # Change libz.so.3 to libz.so.1 for gentoo/freebsd + if use elibc_FreeBSD; then + scanelf -qR -N libz.so.3 -F "#N" lib/${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 \ + "$i" \ + -e 's/libz\.so\.3/libz.so.1/g' + done + [[ "$SANITY_CHECK_LIBZ_FAILED" = "1" ]] && die + fi +} + +src_install() { + # We install into usr instead of opt as Opera does not support the latter + dodir /usr + mv lib/ "${D}/${OPREFIX}" || die + mv share/ "${D}/usr/" || die + + # Install startup scripts + dobin ${PN} + + # Stop revdep-rebuild from checking opera binaries + dodir /etc/revdep-rebuild + echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" \ + > "${D}"/etc/revdep-rebuild/90${PN} + + # Set PaX markings for hardened/PaX (bug #344267) + pax-mark m \ + "${D}/${OPREFIX}/${PN}/${PN}" \ + "${D}/${OPREFIX}/${PN}/operaplugincleaner" \ + "${D}/${OPREFIX}/${PN}/operapluginwrapper" +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + if use elibc_FreeBSD; then + elog + elog "To improve shared memory usage please set:" + elog "$ sysctl kern.ipc.shm_allow_removed=1" + fi + + # Update desktop file database and gtk icon cache (bug #334993) + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} + +pkg_postrm() { + # Update desktop file database and gtk icon cache (bug #334993) + gnome2_icon_cache_update + fdo-mime_desktop_database_update +} |