diff options
author | 2012-02-02 15:18:40 +0000 | |
---|---|---|
committer | 2012-02-02 15:18:40 +0000 | |
commit | 7dc7dc837ff11b67f676de47395a88cd7264e0b3 (patch) | |
tree | b81573e73f19a75cc48d274bd445dccf9e1fec02 /www-client | |
parent | Version bump (diff) | |
download | historical-7dc7dc837ff11b67f676de47395a88cd7264e0b3.tar.gz historical-7dc7dc837ff11b67f676de47395a88cd7264e0b3.tar.bz2 historical-7dc7dc837ff11b67f676de47395a88cd7264e0b3.zip |
http://my.opera.com/desktopteam/blog/2012/02/02/11-62-snapshot
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/ChangeLog | 9 | ||||
-rw-r--r-- | www-client/opera/Manifest | 13 | ||||
-rw-r--r-- | www-client/opera/opera-11.62.1273.ebuild | 222 | ||||
-rw-r--r-- | www-client/opera/opera-11.62.1274.ebuild | 221 |
4 files changed, 460 insertions, 5 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 854220e10a88..f93656720732 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-client/opera # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.689 2012/01/24 13:53:04 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.690 2012/02/02 15:18:40 jer Exp $ + +*opera-11.62.1274 (02 Feb 2012) +*opera-11.62.1273 (02 Feb 2012) + + 02 Feb 2012; Jeroen Roovers <jer@gentoo.org> +opera-11.62.1273.ebuild, + +opera-11.62.1274.ebuild: + http://my.opera.com/desktopteam/blog/2012/02/02/11-62-snapshot 24 Jan 2012; Jeroen Roovers <jer@gentoo.org> -opera-11.60.1185.ebuild: Old. diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index a8e028f1d0e1..d02d47500e59 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -4,14 +4,19 @@ Hash: SHA1 DIST opera-11.61-1250.i386.freebsd.tar.xz 11542444 RMD160 985a7bf4e82b09e8da3cb529019df78f227bac21 SHA1 154e73851169f1a1150bcf0256529c6b05cce42e SHA256 36edb035a3b77ca1a4e63d54eb9d3aa05579443f29390bdfdb87f136bf5d1b8b DIST opera-11.61-1250.i386.linux.tar.xz 11490920 RMD160 7715b98548457260a838944b30b8e16de6915cec SHA1 504f05eeab4e2ef07b82ce8090c30bf49d108237 SHA256 cc4b814cd23c20e076a579b74ade72eb49c3b5e236ebd3cd95ca04251a2c853d DIST opera-11.61-1250.x86_64.linux.tar.xz 12319616 RMD160 36b8fe9df9717673a1252b0a1ecd72c18d36ad0f SHA1 32256a638430a8298fea12fd909c773431063430 SHA256 e5a7de9bc0092fcd8213e50d887c127b0933127dcc167d1848720f07d4085f91 +DIST opera-11.62-1273.i386.freebsd.tar.xz 11546652 RMD160 b8d44291c12aff22f6f9611781363631498dcb1b SHA1 2b8d87f09db682014714e12c5933ed9ef557eeb4 SHA256 8ee11f6df48420b3df96ff3a8280421c35c667dbce30a6a2e67b30cb5b6bb6bb +DIST opera-11.62-1273.i386.linux.tar.xz 11488708 RMD160 54f146d25fe7375fbb697f8242281ad40b77bae1 SHA1 055e62ab24f9d9153ffc56c687d6f6438d85fc75 SHA256 243c95a39ccd7d5f2bf69d117ac5aca72fde8ceb0b18de0671fcc4581e8040fc +DIST opera-11.62-1274.x86_64.linux.tar.xz 12317696 RMD160 7f8938ebf8185e8fadb8d93325dd286e00f03f8e SHA1 9641eee4a56e45a7eca9d80b8df8e809e810d81a SHA256 29d1a4fb2dac26ab051e430aaf21785ef377ef938d2a06d59844f5f8e5e8c7d8 EBUILD opera-11.61.1250.ebuild 5530 RMD160 a7967b605f241058eba71d8262de635afc6e66a1 SHA1 7b4ab3b197f60d0380a7e1f5bd9a86c6dfd4128b SHA256 94eb05d343c537902134689df28bc482cff15f0f4d807cf153e3fd4c773ae379 -MISC ChangeLog 18787 RMD160 57b758d9bd4ecf0688a28bf767e630efe8333ba7 SHA1 63d35c7951310e1ec9d4adb23acda5c9909015b7 SHA256 0cc3ad4f52078aac73fcaae46f1ae750f55d4576ed84b91f0697630be7d3d807 +EBUILD opera-11.62.1273.ebuild 5480 RMD160 57c83f46f9a89ee3e78ed6c266a78660b8adf308 SHA1 ab3b87d555652dc486384ad6110a28b064e42691 SHA256 bf9ce8dd1f16f4e24ad1a20146d2ba8e23cca34fbda26eb4a0a609d3f0f3cfc2 +EBUILD opera-11.62.1274.ebuild 5421 RMD160 f1bc2384317793eaf6e3d9225dce8914699e8044 SHA1 1b23a9e3b482dcc0696d0b262d57949a8d843f9b SHA256 c93bebe9209b9d1b9ba46f238aa4936445635d2a231b0f4f1051072f27a19988 +MISC ChangeLog 19019 RMD160 b328d52bed6b01105f08f0f9051031d1703fd8fc SHA1 1b85d973d926c864dd8e1865cd1688cb6108ed30 SHA256 632060f7afcb790e195e3741709cd983985aadf22d3b92c8dc45e242fb118906 MISC ChangeLog-2010 112299 RMD160 e786fcfeb4ac57db285ff420ccd9705b7c1f298c SHA1 09aef1136180ae363fd3c6bdbd3eb27f996f80c5 SHA256 5c3b5c58119b4a6b1911d840892c42234f25dae57452287fb0a9e6cca78ed171 MISC metadata.xml 732 RMD160 28acd15c216329d807150c88fb0861eb1383c61c SHA1 9ff443c6f422e8b018d29d21948da71eda6a4295 SHA256 bd388fb8f6b0aa2cd98fcfc290b677df712be3ef14537102e02665ea2f0d871a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk8et8YACgkQVWmRsqeSphNVEwCfYpzMo5nvEcnrPhSQ0ZnPM9Nh -40UAnRNi/xRvB4GVbF9FUMWJq1Uywfo5 -=TOn1 +iEYEARECAAYFAk8qqWAACgkQVWmRsqeSphP8cACfaYCOjaeQjjc2b4mSI1nqPPfM +C/UAnRkdRekq67EjBqkw3iPL+Sn6o70O +=pP3h -----END PGP SIGNATURE----- diff --git a/www-client/opera/opera-11.62.1273.ebuild b/www-client/opera/opera-11.62.1273.ebuild new file mode 100644 index 000000000000..dabbdb8230eb --- /dev/null +++ b/www-client/opera/opera-11.62.1273.ebuild @@ -0,0 +1,222 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.62.1273.ebuild,v 1.1 2012/02/02 15:18:40 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="~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="ook_${O_V}-${O_B}" +O_P="${PN}-${O_V}-${O_B}" +O_U="http://snapshot.opera.com/unix/" + +SRC_URI=" + 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} ) +" +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 '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 +} diff --git a/www-client/opera/opera-11.62.1274.ebuild b/www-client/opera/opera-11.62.1274.ebuild new file mode 100644 index 000000000000..5527605b2925 --- /dev/null +++ b/www-client/opera/opera-11.62.1274.ebuild @@ -0,0 +1,221 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.62.1274.ebuild,v 1.1 2012/02/02 15:18:40 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" +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="ook_${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 ) +" + +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} ) +" +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 '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 +} |