From: Jeroen Roovers Date: Tue, 22 Nov 2011 16:31:58 +0000 (+0000) Subject: Old. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=93fb3b731044546c35a0244e9b900a64124c58da;p=gentoo.git Old. Package-Manager: portage-2.2.0_alpha77/cvs/Linux x86_64 --- diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 5c90c2d3fbdd..61799eded78e 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,10 @@ # 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.666 2011/11/22 16:30:37 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.667 2011/11/22 16:31:58 jer Exp $ + + 22 Nov 2011; Jeroen Roovers -opera-11.60.1134.ebuild, + -opera-11.60.1139.ebuild, -opera-11.60.1144.ebuild, -opera-11.60.1145.ebuild: + ^ *opera-11.60.1163 (22 Nov 2011) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index a2c606cc99d2..d326efadd3b4 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -4,18 +4,6 @@ Hash: SHA1 DIST opera-11.52-1100.i386.freebsd.tar.xz 11116644 RMD160 7692b599389e2d3e3e6f8c3ad8176d1d3bec6eff SHA1 4335431402fc0aea985c045c818dc23fbe00a6c4 SHA256 ae90c802ba9f1f487df71dddfb538af08265421341cc3146ac80ddfaa6b452d3 DIST opera-11.52-1100.i386.linux.tar.xz 11083092 RMD160 54252f6f655e2d7f38931ab3338c100e4ed49eca SHA1 3c4a7b36016aa9727cb7805db504d0159fe8ac6e SHA256 ccbfdcd0f9f5e35f64f6b71410b5af7b5e749f0976e530d1543d6cc58b989af9 DIST opera-11.52-1100.x86_64.linux.tar.xz 11860188 RMD160 dbeb3375eb9443559bbda05fc90a1e00f81df6cf SHA1 69eab27253f7dc9bb1e7ecf57983f0d675ec158e SHA256 9880b91733eddc17b85edba3eef0fe96c7e6a8fb3cc8c802b3719307214cb7a5 -DIST opera-11.60-1134.i386.freebsd.tar.xz 11376068 RMD160 6f2319a6881be04580391be2dca500e67d115ef9 SHA1 25297a7a34dfa7db871b5452e2cfdd0231e964e4 SHA256 83089cbb48f8ec9012c46a414d2df23fcfe7e43e47c7f424919d98fe6e371ded -DIST opera-11.60-1134.i386.linux.tar.xz 11354084 RMD160 850b0a2c856a330ae07f02ca306aa422eda8cf95 SHA1 57bb2502ef7cf669e16ba334554b1bdf14acc507 SHA256 84d8fc217151040f9339e32ef573d7f53f8ffe60db8b5e1a07dde9ff38bb3cdd -DIST opera-11.60-1134.x86_64.linux.tar.xz 12226704 RMD160 f7e6cad59b7bfce9dd03b6663c965cdd054319a4 SHA1 2dd4fae0107ecd5ba1e75cd758776b630711fccf SHA256 ce3e78400652a77162f9c9f10e559ba24693b3f5d9074a32932af8a25b6bb524 -DIST opera-11.60-1139.i386.freebsd.tar.xz 11586148 RMD160 40489c4b2105348a509e4029404cb35ad8cbbc8e SHA1 8e22861282cfae9c895a8642a0218a3744ce3a6b SHA256 4cc6a541fe0d67bf6b2789f3326dc1dab31c3c4afaa110d2f3a8184d2caf8a13 -DIST opera-11.60-1139.i386.linux.tar.xz 11554244 RMD160 5dfb938680e5e83c85179b0d0b8d80da000fc372 SHA1 0af2e2f00113a6435825085dc90fd18b71769b7d SHA256 9e0de4a17208f0ed89d61d07416edf413c40291235db804418d844eb1706430b -DIST opera-11.60-1139.x86_64.linux.tar.xz 12433644 RMD160 6d414883855eec378a7335631e41226aa96e262d SHA1 12b64c57f685be791d56dabfdd4bd1c619596952 SHA256 add6d45cd0a7e53422d2023f1fe9329b50397cf73943ded5ff90bc59fea2032d -DIST opera-11.60-1144.i386.freebsd.tar.xz 11593076 RMD160 2fdd708b21c5ecbbd02d351d472a3ef0931abecc SHA1 8d338fac23505ac7a5cf7b96574883357833b211 SHA256 a4c2d9d5ff0e024b58df50a2ee10eecd465fa585a1dc5c90f8dda6184e0c69e6 -DIST opera-11.60-1144.i386.linux.tar.xz 11577164 RMD160 5ccf119c4856ae3ed18e8879fca523e1a0cc8990 SHA1 b6c51bf6f27cb6406a9d8905089dc73bc92f4e2a SHA256 5910b00175eda29ab06f1119fb946d86407db64022b4b82ec2dbf7ee7ad1ff90 -DIST opera-11.60-1144.x86_64.linux.tar.xz 12460648 RMD160 2da55f12b5d80d69b3a1c1b3ad3d39b119054329 SHA1 51237800d286042eef5de146e4e78b8ec45921fc SHA256 59442a958e0be19c8d2507560592eb38669a60029f617d4c63028b77cc31d53b -DIST opera-11.60-1145.i386.freebsd.tar.xz 11514436 RMD160 be5a9134fc8d69ecfdec9bca83024d0baf6b7eb1 SHA1 1dbcaeda0b6addc6bb3e180484ef2d6d28f6caf6 SHA256 29be75ce825141cc6733961cf85af155a74d61327d2c6020f83d107038900289 -DIST opera-11.60-1145.i386.linux.tar.xz 11470368 RMD160 d9781ea2660acc3abaa81b3cfc75b606413bda67 SHA1 28fba00aea39efeb81ee0b61e56303902df84cfc SHA256 1ad8c2ae3f4b949307d61a94ad68d0c92e820938f84818571193f6db6802dbbb -DIST opera-11.60-1145.x86_64.linux.tar.xz 12320788 RMD160 443954b35acdb95b31afd6866e95f73b6d4f3c62 SHA1 966005e971b2f2258e68ffa93f2f2ad151633a79 SHA256 1898097aa8dc247eefb909489eb36d03ff8bd514ffd2ee652eb816ec62f63ae0 DIST opera-11.60-1147.i386.freebsd.tar.xz 11514556 RMD160 b5aeb9a2ba2f33d8c3d81351fbdd6e766c78950d SHA1 57271e201a2672fd0dec07e5dd52148274bb28d3 SHA256 f43343b184cfafa8c6347bad68a62b1fcd28775fce44a6304f78554cd3e24167 DIST opera-11.60-1147.i386.linux.tar.xz 11486472 RMD160 b8aa8f83398dbbf9df2a9d260d807e7500a6e966 SHA1 781abf2c1ae78ebd7f92af9cb4c0ee2b4b43a216 SHA256 62c9ff4ee7849c93b850e2456a2e7707af18a8f9943e8f873f48ca3812702e58 DIST opera-11.60-1147.x86_64.linux.tar.xz 12324564 RMD160 67c9627b18af59d16752464351224ea31de526ac SHA1 f75e87da34af426b0bc1c9fd5fcb6f9b89a09691 SHA256 1496d07cc58eec1b6209f01c2df6e315e45a1d755e54f2cd877eac89e79c48bc @@ -29,20 +17,16 @@ DIST opera-11.60-1163.i386.freebsd.tar.xz 11525448 RMD160 0a61c6364d9035895801bf DIST opera-11.60-1163.i386.linux.tar.xz 11512876 RMD160 3ccd88713ede44b0cad5db240ea28bf0d3856692 SHA1 2bc4bc9af8f0c3948033edb7dc2e0208a44c9a2d SHA256 01d1c8616b87ce092ca2072a7e7c2baf421c93dd7cde2eab1ee3e8ac72283d2c DIST opera-11.60-1163.x86_64.linux.tar.xz 12323920 RMD160 b16fc9cd51aae7aaeb1b6143070e66028e1b3121 SHA1 91e2bce33ee78ec9d53b30ece4d02790b8e0aff7 SHA256 ebf2e225c886718779e65913d4558ed1e07215a6ee07598419aeeffc4a9ac4ca EBUILD opera-11.52.1100.ebuild 5695 RMD160 7347ebe510e769a44dc494926ac33e5049561286 SHA1 65f1222bf21cce7524907d77c52d95c933da2678 SHA256 19126014c026a5ca4d89b5d999763c32b9f6ba54e403dc3ca8ea5fbd46d5ddb5 -EBUILD opera-11.60.1134.ebuild 5789 RMD160 60882f4ec70b9dc62fdab081ff427f6bc92d6eaf SHA1 083c80968c2c35f9665a2807bbdc302cf72c3196 SHA256 ba8f19bf568c37e3a56c3982fd4720b80c6b309c102b3c398e7c2bb9c57a93a2 -EBUILD opera-11.60.1139.ebuild 5916 RMD160 1a953d865c93702e66489bc533ba3af0b5c17df6 SHA1 7e08d403841d05c6f41a557c13c9654242b4483e SHA256 2a6008813cdeb9b446eef7cf61893d4633a0d77a5b5b71eaf273985fe50dcd7a -EBUILD opera-11.60.1144.ebuild 5965 RMD160 e48432c56477d9fe32add31f2f2c6c992360c8b9 SHA1 cb8c5c735c12d080a7e69e149dd1802e9de03cb3 SHA256 c19d0a6111cd7b1f9507b22da8b9dfdd481d1375a220669eff4412164dd2b438 -EBUILD opera-11.60.1145.ebuild 5961 RMD160 287bdbf78d71261c4235b005ab379d6e15a2bdea SHA1 4978ebee21bb8b60a5e478779090f58b1c680fdb SHA256 dc79a2199a944661a3d9e22a8275c4721c47329efac75ddd04620ca61bf0be98 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 EBUILD opera-11.60.1159.ebuild 5961 RMD160 5e596e8527c6c738806e94fe20abef0c7b6cf89b SHA1 f75c4f56762f1d6ed5c9acb66ae068d9a50abe5f SHA256 bef8fba39a773e9155e766e6148910d4edb14ec05b403c1cf9cb69f46abf2dff EBUILD opera-11.60.1163.ebuild 5960 RMD160 80fcdfee708d6cfbc235da51a16c8f2b981b1c25 SHA1 f19459a915959cb176c05286b40cc1c067a67f57 SHA256 3165a225ce5b8c0c71176f93bb952286675d2e2ff48fc9597dccdd11fec16021 -MISC ChangeLog 127099 RMD160 def9a0fd3b3d55d8923f716333e16e4e81eaeb9e SHA1 b52dc06ee5e3f85bb72a9451b2df765cd95f61dc SHA256 becdcb79de32909c53aa2352fa553458430009d5a043c0c9f9cfe0fca75d8f91 +MISC ChangeLog 127257 RMD160 4eb60406214502526654d6a7dd61591c397227b6 SHA1 5ee5ba83a33c1857e1c71913d468b867a9ac6132 SHA256 9301c4aa9364bf7a5f4894dd6dcbac9c951ac9e80c1d67babf714ece399cd2af MISC metadata.xml 732 RMD160 28acd15c216329d807150c88fb0861eb1383c61c SHA1 9ff443c6f422e8b018d29d21948da71eda6a4295 SHA256 bd388fb8f6b0aa2cd98fcfc290b677df712be3ef14537102e02665ea2f0d871a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk7LzjMACgkQVWmRsqeSphNi6wCePWw0vRVLty13Xfx/ZN/sz1ZA -MYIAn1AA30RxFoT8erSe846z3KqFhOuf -=6haG +iEYEARECAAYFAk7LzoMACgkQVWmRsqeSphOntwCeNRS3hDcxTHF6OM9hRG7L5S4X +IPEAn3r75igDbWgkCIeFPX1ynEnm9Arc +=Bp22 -----END PGP SIGNATURE----- diff --git a/www-client/opera/opera-11.60.1134.ebuild b/www-client/opera/opera-11.60.1134.ebuild deleted file mode 100644 index cce40ac71c5d..000000000000 --- a/www-client/opera/opera-11.60.1134.ebuild +++ /dev/null @@ -1,228 +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/opera-11.60.1134.ebuild,v 1.3 2011/11/12 15:43:21 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="chicken_${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 '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/opera-11.60.1139.ebuild b/www-client/opera/opera-11.60.1139.ebuild deleted file mode 100644 index c09171ed3e3f..000000000000 --- a/www-client/opera/opera-11.60.1139.ebuild +++ /dev/null @@ -1,233 +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/opera-11.60.1139.ebuild,v 1.2 2011/11/12 15:43:21 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="tunny_${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-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} ) - 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/opera-11.60.1144.ebuild b/www-client/opera/opera-11.60.1144.ebuild deleted file mode 100644 index 95a4b1d87aa0..000000000000 --- a/www-client/opera/opera-11.60.1144.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/opera-11.60.1144.ebuild,v 1.3 2011/11/12 15:43:21 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="fragrance_${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/opera-11.60.1145.ebuild b/www-client/opera/opera-11.60.1145.ebuild deleted file mode 100644 index 720378c97d15..000000000000 --- a/www-client/opera/opera-11.60.1145.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/opera-11.60.1145.ebuild,v 1.2 2011/11/12 15:43:21 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="opera_${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 -}