From 9a7d16da93007fe050970723754244f93b1c6e6b Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 7 Dec 2011 16:20:37 +0000 Subject: [PATCH] http://my.opera.com/desktopteam/blog/2011/12/07/wahoo-tunny Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64 --- www-client/opera-next/ChangeLog | 9 +- www-client/opera-next/Manifest | 24 +- .../opera-next/opera-next-12.00.1105.ebuild | 227 ----------------- .../opera-next/opera-next-12.00.1155.ebuild | 235 ------------------ ...16.ebuild => opera-next-12.00.1191.ebuild} | 4 +- 5 files changed, 18 insertions(+), 481 deletions(-) delete mode 100644 www-client/opera-next/opera-next-12.00.1105.ebuild delete mode 100644 www-client/opera-next/opera-next-12.00.1155.ebuild rename www-client/opera-next/{opera-next-12.00.1116.ebuild => opera-next-12.00.1191.ebuild} (98%) diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index 5b29fcddae08..f87f7795e196 100644 --- a/www-client/opera-next/ChangeLog +++ b/www-client/opera-next/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-client/opera-next # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.55 2011/11/28 19:34:19 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.56 2011/12/07 16:20:37 jer Exp $ + +*opera-next-12.00.1191 (07 Dec 2011) + + 07 Dec 2011; Jeroen Roovers -opera-next-12.00.1105.ebuild, + -opera-next-12.00.1116.ebuild, -opera-next-12.00.1155.ebuild, + +opera-next-12.00.1191.ebuild: + http://my.opera.com/desktopteam/blog/2011/12/07/wahoo-tunny *opera-next-12.00.1174 (28 Nov 2011) diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index 4392e3628773..a66f002ff936 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -1,28 +1,20 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -DIST opera-next-12.00-1105.i386.freebsd.tar.xz 11416100 RMD160 c04a986ac5a8103934201a0100935dfcc483b506 SHA1 1d73447dbd724caa2f0e2bfc4eda5e0dca1078a7 SHA256 fe36ceb0f0347bb03b1a4433ed969510885ce3a8f22b16818abe20e4266a83e9 -DIST opera-next-12.00-1105.i386.linux.tar.xz 11451408 RMD160 b526d43e2ae7b148e76dc4f1bd48faa4cdbdbcf7 SHA1 26396e5a23359d14a12b6bd1f89f9d3249a647b0 SHA256 55005a86dd262abc1f6778951dd417dc905d317ffc725c6dbb37a6ac25127dad -DIST opera-next-12.00-1105.x86_64.linux.tar.xz 12283792 RMD160 d68fe56fad56a97b4be439db80adcdec8b26aacd SHA1 2dd6581b791e15cb5b71d8c210ccd707c4445381 SHA256 5dd664027011a58997e8acf435668f20c2058e18c0ed87d1ebc150bcbfe53b04 -DIST opera-next-12.00-1116.i386.freebsd.tar.xz 11421756 RMD160 2724e280b8d13744981bb6a8c08d0d7f7cd40946 SHA1 61ad2b3303976ea4ae3a418a4e78b4194a4e10bc SHA256 66d0fdbc85cf91d3f033c9b820340274c944a7a568156b5f585e0df3d0b0c13f -DIST opera-next-12.00-1116.i386.linux.tar.xz 11441244 RMD160 79081f12b6a188a4b9127c45cc143d35980dbcf0 SHA1 6a6ba2e599e9807e8c2ba0b6a8c59a56cb77587e SHA256 3cf161689f6aba7d880c31f642f88242de0bd89c3f05ac401bc5c252ecd4bb2f -DIST opera-next-12.00-1116.x86_64.linux.tar.xz 12262800 RMD160 d86d24f921275d6bdd2aab803284f33c33ed06ca SHA1 806633092025b929d2a9d06e570439e0ac618f5b SHA256 8f6b5516fed0e5743123be36c34a7fedaf2d5e4210de5c2fb58bd794c56b3231 -DIST opera-next-12.00-1155.i386.freebsd.tar.xz 11675104 RMD160 c98dbd25bd2356de71bbffa637af163c948f555a SHA1 62980e51997eb4541166c8c144887727f21f0c81 SHA256 efd2049595ed05ca04cadcb9bf1d72797f436fcf2c8638efd3ba6c5b226bac44 -DIST opera-next-12.00-1155.i386.linux.tar.xz 11679532 RMD160 c0c304e31017c03152086a65828b3fe7afb3cb53 SHA1 5a16b54d8fbfef05a70623492b1871150ef5115e SHA256 2dc151c006357c7dc232fb43fc59e367ff86dca2b1fba0453ce7f394d42636af -DIST opera-next-12.00-1155.x86_64.linux.tar.xz 12528336 RMD160 7118054a20159d29e36bc746a582da673e256b52 SHA1 e13351714accf8c2ddb879d518a1905ec2d1cf27 SHA256 1c1d0561225b47f31d72e7d90673c58005f50bf4de1ebb3527dd15f6bfd32415 DIST opera-next-12.00-1174.i386.freebsd.tar.xz 11797008 RMD160 98be901be59a5724c3dcd6350fd506da397b1580 SHA1 f8309afbf132c43329d885a6089a82b4a36f73e1 SHA256 c3568720607f178a012b51c8739912fa9d83c45c4063639397e123306fa84515 DIST opera-next-12.00-1174.i386.linux.tar.xz 11799364 RMD160 6ba396354997c0f90d95cff0a08ea780e0378546 SHA1 7cc0070e71a50bff87f151e0c01f4dfcb09d51a1 SHA256 b67fc99a23d83f5aac435aaf37ee10a11248d57dad9d959babd7004f9e7182b6 DIST opera-next-12.00-1174.x86_64.linux.tar.xz 12635968 RMD160 bd91ae22ee1683432b2c16f8bdb37805c7018c40 SHA1 27382a8287f052a903c71d1b009d161722ef9c74 SHA256 2d530e081b560eef65e1fdfd422ebb951e2e4e3d231572c4ce01ef9911db7eb8 -EBUILD opera-next-12.00.1105.ebuild 5717 RMD160 321e023fded49af24e03f148a33b948135d09f65 SHA1 855d6cf6b7250b8a7b7ed645a8cbf5c13d44a4bc SHA256 bbebd2e50831e3ef4d6ffc1fd9de361a3dd680ddce021f68c2d9fd3c21e62609 -EBUILD opera-next-12.00.1116.ebuild 5971 RMD160 0390e61dce8598afb0252fd76642d6a8d0ed8089 SHA1 28a1a7b16c9293ebd131f559364a8ba63907d019 SHA256 b83b229a1c88ba98186a1cd79bd13a8aaf9f42c596a191db1c5d82d7e1db1d59 -EBUILD opera-next-12.00.1155.ebuild 5969 RMD160 6de95530f4e4430f1f146ffa61b52604f24396fd SHA1 784e89366065959176e18035c696918bf673d41f SHA256 a949ba0c69e14621223ec264093df9343a7a776f3b62ce90544902ce18616a45 +DIST opera-next-12.00-1191.i386.freebsd.tar.xz 11676048 RMD160 f52abb73c5ac211653da3aa482a43d74590e70db SHA1 5e8a07b72febf09ef06a0a271de1d57fa4658b15 SHA256 483e7f0ac191332d57d5aec5f95484c2fb543bf5953798ebe20452ac37e2e2cc +DIST opera-next-12.00-1191.i386.linux.tar.xz 11676256 RMD160 c2ac25f7a1e7a4732fe17707ef19258ea7f99b5e SHA1 8d98423569cb1b147daa6a94213964e6b5fcfb66 SHA256 9e48ec6918787a3b7afe83cb32ddccfe1fd91abeda649d3d3253416282655522 +DIST opera-next-12.00-1191.x86_64.linux.tar.xz 12514172 RMD160 c25f436eb7d0df94033a971e9bc868fe9616c82f SHA1 d1ac9604c959e27453fe42c06221b11a6c7ede15 SHA256 2dd3b65f2c329b47c83f96e11af158199f79e7dae3476d3dbbcb2561109c0270 EBUILD opera-next-12.00.1174.ebuild 5970 RMD160 b6ae0cd793f531f34213e4bdfca40f05df7ab0bc SHA1 9f5e9cb55ca48190a57d7db2f5babb4acabe7259 SHA256 041505b816cbd1d799453aadcf53b876c6ddcd299cd4cb0654304e7b6f3d11e4 -MISC ChangeLog 11206 RMD160 d4e1fc917c5f517397039840dd42d588e6f0a4a1 SHA1 e50a11eb943bb01128237d5a745f79d257378fd1 SHA256 1c2d124cc509a22553e294a07dbe9359fcde9487b101b5dd1c30390d9dbdf7aa +EBUILD opera-next-12.00.1191.ebuild 5974 RMD160 2b606751f1bf078fd2f9fcc571ee55cdbce5e2e0 SHA1 90f2a4a66d8f0e9f62d266848b3e590b6365b270 SHA256 a16c73ddb2d8aa534309cfe4668e9b672b0ea9adeece85adb52203eacac936a2 +MISC ChangeLog 11482 RMD160 169f8260f23d1acce34924e79a968e4f6d980571 SHA1 eb4278064add7276b070e02ad768f3bf49ed3797 SHA256 2f1a58252adb2e3d0d7c212f1a7216f716b9d7cbb34cedd7952b9ae8e4d083a3 MISC metadata.xml 1638 RMD160 17ef00f7f0515dd445244bda48ddb4f3a8829597 SHA1 32894ca5e0efb115e4f98f27e46f547199e3dd74 SHA256 1479bc1f748e8186b8141d8a0eb7d45930c67f3fafd746527215e2ef1070be8a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk7T4kEACgkQVWmRsqeSphNHkACdFStasLYtV7UQLHR/utZkCYIf -t4gAnipBifGgLHSfu/0Inviq8FqRCADl -=j6hT +iEYEARECAAYFAk7fkmIACgkQVWmRsqeSphOinwCfaIByxgtdCmJBJ/55lLkS3VOn +pEwAn2WB5pcE6iQprqbgbwiTvfottkQN +=UJLL -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.00.1105.ebuild b/www-client/opera-next/opera-next-12.00.1105.ebuild deleted file mode 100644 index d875b9bf1996..000000000000 --- a/www-client/opera-next/opera-next-12.00.1105.ebuild +++ /dev/null @@ -1,227 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/opera-next-12.00.1105.ebuild,v 1.3 2011/11/12 15:44:11 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 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="alpha_${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 - x11-libs/gtk+:2 - 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-plugins/gst-plugins-meta - media-libs/gstreamer -" -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 - gtk? ( ${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 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-next/opera-next-12.00.1155.ebuild b/www-client/opera-next/opera-next-12.00.1155.ebuild deleted file mode 100644 index c376188b63f3..000000000000 --- a/www-client/opera-next/opera-next-12.00.1155.ebuild +++ /dev/null @@ -1,235 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/opera-next-12.00.1155.ebuild,v 1.1 2011/11/15 16:09:45 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="hwa_${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 -} diff --git a/www-client/opera-next/opera-next-12.00.1116.ebuild b/www-client/opera-next/opera-next-12.00.1191.ebuild similarity index 98% rename from www-client/opera-next/opera-next-12.00.1116.ebuild rename to www-client/opera-next/opera-next-12.00.1191.ebuild index 0d342b83db86..758c23cd8c11 100644 --- a/www-client/opera-next/opera-next-12.00.1116.ebuild +++ b/www-client/opera-next/opera-next-12.00.1191.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/opera-next-12.00.1116.ebuild,v 1.4 2011/11/12 15:44:11 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/opera-next-12.00.1191.ebuild,v 1.1 2011/12/07 16:20:37 jer Exp $ EAPI="4" @@ -17,7 +17,7 @@ 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="quack_${O_V}-${O_B}" +O_D="kisskiss_${O_V}-${O_B}" O_P="${PN}-${O_V}-${O_B}" O_U="http://snapshot.opera.com/unix/" -- 2.26.2