From c08ed165afa8a6ad921804028f7244dadca65cf8 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sun, 11 Dec 2011 23:33:56 +0000 Subject: [PATCH] Old. Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64 --- www-client/opera-next/ChangeLog | 5 +- www-client/opera-next/Manifest | 12 +- .../opera-next/opera-next-12.00.1174.ebuild | 235 ------------------ 3 files changed, 8 insertions(+), 244 deletions(-) delete mode 100644 www-client/opera-next/opera-next-12.00.1174.ebuild diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index f87f7795e196..e69a7a3ee8d6 100644 --- a/www-client/opera-next/ChangeLog +++ b/www-client/opera-next/ChangeLog @@ -1,6 +1,9 @@ # 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.56 2011/12/07 16:20:37 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.57 2011/12/11 23:33:56 jer Exp $ + + 11 Dec 2011; Jeroen Roovers -opera-next-12.00.1174.ebuild: + Old. *opera-next-12.00.1191 (07 Dec 2011) diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index a66f002ff936..624db6525854 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -1,20 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -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 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 EBUILD opera-next-12.00.1191.ebuild 5974 RMD160 2b606751f1bf078fd2f9fcc571ee55cdbce5e2e0 SHA1 90f2a4a66d8f0e9f62d266848b3e590b6365b270 SHA256 a16c73ddb2d8aa534309cfe4668e9b672b0ea9adeece85adb52203eacac936a2 -MISC ChangeLog 11482 RMD160 169f8260f23d1acce34924e79a968e4f6d980571 SHA1 eb4278064add7276b070e02ad768f3bf49ed3797 SHA256 2f1a58252adb2e3d0d7c212f1a7216f716b9d7cbb34cedd7952b9ae8e4d083a3 +MISC ChangeLog 11568 RMD160 e8d71e6e4a78fca1d726230f8d22898532d42bb3 SHA1 4a00b931152445f5dbfd39f1d335214af16b67b8 SHA256 d6f9bba78fe802d02bd4fd6e3a23afaa0e61d097e5251c0ae4072918094e7ade MISC metadata.xml 1638 RMD160 17ef00f7f0515dd445244bda48ddb4f3a8829597 SHA1 32894ca5e0efb115e4f98f27e46f547199e3dd74 SHA256 1479bc1f748e8186b8141d8a0eb7d45930c67f3fafd746527215e2ef1070be8a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk7fkmIACgkQVWmRsqeSphOinwCfaIByxgtdCmJBJ/55lLkS3VOn -pEwAn2WB5pcE6iQprqbgbwiTvfottkQN -=UJLL +iEYEARECAAYFAk7lPeoACgkQVWmRsqeSphPrYACaAr6YxcKrVXc3l+lhu0Yds3x7 +vf4An2cbxwxtEVrqY+tPhR5/lXFYSZUs +=7QnI -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.00.1174.ebuild b/www-client/opera-next/opera-next-12.00.1174.ebuild deleted file mode 100644 index 85b91fc9964e..000000000000 --- a/www-client/opera-next/opera-next-12.00.1174.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.1174.ebuild,v 1.1 2011/11/28 19:34:19 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="3784_${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 -} -- 2.26.2