diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-11-22 17:30:24 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-11-22 17:30:24 +0000 |
commit | a28ffd77697da64914347a228c4ef30d67c4b0b3 (patch) | |
tree | 87966b6036bedaa2381f9004ff4c0abbf49245bb /www-client | |
parent | Stable for HPPA (bug #390753). (diff) | |
download | historical-a28ffd77697da64914347a228c4ef30d67c4b0b3.tar.gz historical-a28ffd77697da64914347a228c4ef30d67c4b0b3.tar.bz2 historical-a28ffd77697da64914347a228c4ef30d67c4b0b3.zip |
Old.
Package-Manager: portage-2.2.0_alpha77/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera-next/ChangeLog | 8 | ||||
-rw-r--r-- | www-client/opera-next/Manifest | 32 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1054.ebuild | 232 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1060.ebuild | 232 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1065.ebuild | 232 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1076.ebuild | 225 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1085.ebuild | 225 | ||||
-rw-r--r-- | www-client/opera-next/opera-next-12.00.1090.ebuild | 225 |
8 files changed, 11 insertions, 1400 deletions
diff --git a/www-client/opera-next/ChangeLog b/www-client/opera-next/ChangeLog index 3e90ed858170..e6795d168917 100644 --- a/www-client/opera-next/ChangeLog +++ b/www-client/opera-next/ChangeLog @@ -1,6 +1,12 @@ # 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.53 2011/11/15 16:09:44 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera-next/ChangeLog,v 1.54 2011/11/22 17:30:24 jer Exp $ + + 22 Nov 2011; Jeroen Roovers <jer@gentoo.org> -opera-next-12.00.1054.ebuild, + -opera-next-12.00.1060.ebuild, -opera-next-12.00.1065.ebuild, + -opera-next-12.00.1076.ebuild, -opera-next-12.00.1085.ebuild, + -opera-next-12.00.1090.ebuild: + Old. *opera-next-12.00.1155 (15 Nov 2011) diff --git a/www-client/opera-next/Manifest b/www-client/opera-next/Manifest index eef09deb892b..51c1db34f04e 100644 --- a/www-client/opera-next/Manifest +++ b/www-client/opera-next/Manifest @@ -1,24 +1,6 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -DIST opera-next-12.00-1054.i386.freebsd.tar.xz 11276900 RMD160 df6534d3b93efa550c841c8fb2db7bf7c1dd4a90 SHA1 21a43e43316bb4d192827a2248395f877ab90830 SHA256 73e037a1cd713bfd1e6e01419d4eb83fa623eed4514453e9c883fe29e2673e10 -DIST opera-next-12.00-1054.i386.linux.tar.xz 11201764 RMD160 224fbb3b76cd2459e836a21d7da336be4ca076e2 SHA1 d4d50dc2516185104169bd1f58433207d1986122 SHA256 607b6fb0a873d24701fe0571abda2bc711b53174795f00aeffc214a4f3e8ab24 -DIST opera-next-12.00-1054.x86_64.linux.tar.xz 11969604 RMD160 2b97f58673d3c4dbe8a61e45f4b3def06858d910 SHA1 af8676a26fa80ac19c11648f86f41748f7c3081b SHA256 ca1f5bcd6d5149ee6f3810d0c3495605ca11bb43ffe35f72c9f014478742a5a6 -DIST opera-next-12.00-1060.i386.freebsd.tar.xz 11271208 RMD160 cdf28e0d0be1845974d9017fd50ada8309c5fd4b SHA1 05666f641ae1f97bba0975133e5372cf963c382c SHA256 311927b08e351f5eeee9a5bc2587c4d21d780238f912c8858f1b3ef0ec15c37b -DIST opera-next-12.00-1060.i386.linux.tar.xz 11192364 RMD160 3e10d30c2a3bcd5e0c3a057269c21ea2d6d76ead SHA1 2d5617d617801c3fbd7ec0486fc6f00cccc1ebfd SHA256 74ec2e48e2bbed0c79a7f5149033129227ef8895a366ac631695b98f85d88e04 -DIST opera-next-12.00-1060.x86_64.linux.tar.xz 11981612 RMD160 2e34bfd855379347c4b24ca6e1cf82b0f5cd6470 SHA1 4d1869902468439b6d84ecfca871594c161371e0 SHA256 8f3e6f0655910c371fabdffc260696f3711bdc71a755d1a0197b3e09a8230a27 -DIST opera-next-12.00-1065.i386.freebsd.tar.xz 11262156 RMD160 4d5974ae898bc2ff488e929d1630470acf7db099 SHA1 66a3fb657b257a36df24395c290900781bc581c9 SHA256 05086d1ade5458483eceb70d3bcc60ba47edda03e0eddf414ac21371362a69da -DIST opera-next-12.00-1065.i386.linux.tar.xz 11238140 RMD160 a6821243cf66b337b053bb61f5dac1c5149572c6 SHA1 3118f53812ca21b19656df98b7396f8232c10e49 SHA256 9fc7fd7b06c7ea83a8b516448a4775d82bd08430392e4f26ac8148ff1a0dcc54 -DIST opera-next-12.00-1065.x86_64.linux.tar.xz 12023324 RMD160 e06e8438ea3d0d094d2c0ca9b1a6539868c94364 SHA1 04d3d7c2d4731eb74e4898ef055b2d5e57a86c2d SHA256 3b8b2210ea3a8abd86e768d215ae020f30f31bb55d2ec3da6842b1f5dc6d7286 -DIST opera-next-12.00-1076.i386.freebsd.tar.xz 11261516 RMD160 d55850e712427b8e2acf75e79d0a6b5f89ff47ee SHA1 d275b8be3b776c5d294a352b89ddfa897088695b SHA256 cda79b33851eb753c489f47a2b335f49967c8d5eb9f5dd1dfbbac46fbeac8f1b -DIST opera-next-12.00-1076.i386.linux.tar.xz 11243972 RMD160 3f86a0665cf52cd9f6af4ece47aacf92f664a38a SHA1 266735a70ff8047512ff799ab6a2119e733218bb SHA256 ad6a7e0f388cc59f1164942200dc98c1ac8a0bd93f51da90f841b4514b920a24 -DIST opera-next-12.00-1076.x86_64.linux.tar.xz 12018828 RMD160 f8586c02f794336b6c03fe33ab7d5ec2d44038e5 SHA1 37bf1e8ce425e09e187949db4f1118653a15aa74 SHA256 b913e1db8e096d6c10cc844bce25641568e87ca8f400c1a53daf1398ed8a2bea -DIST opera-next-12.00-1085.i386.freebsd.tar.xz 11453760 RMD160 b9b27b7b2c6b133a5d2d11c3c5747e56af937539 SHA1 84c815e0faacdc3cf2ad18758434744b290a3f62 SHA256 ad97126c88574b12502c52ab35b733e821cdb6e8800ab4f3ed5685df74abbc66 -DIST opera-next-12.00-1085.i386.linux.tar.xz 11449132 RMD160 dfd98084df91323dbc0edd9cfe1c8b81a99a902d SHA1 6c90ac901ffd5cf824a62f67e25854d8644fccdc SHA256 af5f4095464de3a8c00edde6ec3f60d1f9eb00d4ff3dfcb6d7bcfcf47e9b3df5 -DIST opera-next-12.00-1085.x86_64.linux.tar.xz 12249256 RMD160 f9b6dd9a5dc25518a9b886b8c1dae84bebe7a786 SHA1 0066487cae9a09ef456c5bf7a7f7984a1aa57547 SHA256 d416417d48f94bf5552058f0d36c1fababb7006fe74c2b8c345013204be609af -DIST opera-next-12.00-1090.i386.freebsd.tar.xz 11285220 RMD160 594b8db0e9b222ae1540ea9a6d085350fdfdf2ba SHA1 be52b66dd98b1e9439329622ac9f335a37aff3a9 SHA256 dd8aebeb485d7137c97749ad79b5492f9bc6d91f58a5dad5a6249859b7cbe642 -DIST opera-next-12.00-1090.i386.linux.tar.xz 11253452 RMD160 28a40fb6075c65a3ef4cbe579d9bcd02e4b1a7d4 SHA1 5157f09b5ca5aeebe5aa573cfb595049a56a327b SHA256 0587902b7a0aef92f2f9cd945c4dc23347e128e86479d1bca83484b1d61ff1df -DIST opera-next-12.00-1090.x86_64.linux.tar.xz 12079884 RMD160 c993bdcf9301bb0807a820c4e45c22253961aa44 SHA1 2b6bbdcbded513b4f33dec8d7ab8bc2d1776970e SHA256 8b0e71a89803e3a822e7a6a04c7fa26b04866730c05c0b9ff31ee756e5f92765 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 @@ -28,21 +10,15 @@ DIST opera-next-12.00-1116.x86_64.linux.tar.xz 12262800 RMD160 d86d24f921275d6bd 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 -EBUILD opera-next-12.00.1054.ebuild 6070 RMD160 fba576f62cdd9bd5ed13b55556a6a12c6cd2e26e SHA1 86057006720c00ef718c2e1f511bf60c71db890d SHA256 b813b8717f2371cc5d8944bc1b5d580069bc726eb72b74744849aa231c7a5f65 -EBUILD opera-next-12.00.1060.ebuild 6066 RMD160 98513b129b4fab73d552e3be0f70a539e969aa89 SHA1 1f49bc8b646ca01c3551bc9534f6dc87880127da SHA256 8ebcf1a89704766cd1d3264400ac3731a1aa08ebef72d29e8366241721335194 -EBUILD opera-next-12.00.1065.ebuild 6067 RMD160 f0f467805748382d9b2ef5bbfd0a4fd98a0f57bc SHA1 9c6066697654f724963709d00175d8a2ceaa3cc7 SHA256 47661f286f8dc938bde3323fdcda45f7d0822bb9b36f1f9a64f150d646c8f02d -EBUILD opera-next-12.00.1076.ebuild 5866 RMD160 7d3c3156e3b86d9f36052245bd6a33d961570682 SHA1 122d8abd621e848d177330713b4548072691d7a2 SHA256 6bb85b0455078b82c10226a8500e5258023491598dc66a21325a7e7349f49269 -EBUILD opera-next-12.00.1085.ebuild 5864 RMD160 93d6c8cf57fe25c0b270768ef9328f9f628fc019 SHA1 05ff08b7ffa3bed7e9469dd96449d9ba679b5dcf SHA256 932c65a99b0a9f1ba13d5329fc21f9fcb5e6103380f50cd7a42e674d82d55729 -EBUILD opera-next-12.00.1090.ebuild 5868 RMD160 5366700aff73cf14dbd102a425098c28ce1c3a6b SHA1 40841b6639e5127e71f050fa2bcf7c12132184f3 SHA256 60a21099766530f8cb32774291ae23e8bce5e3e4462d0d87710d8fc9abe41f34 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 -MISC ChangeLog 10773 RMD160 fd6d41dc81ff0abc596da4a34afcb3ae3bac5db4 SHA1 2891d960a1b844109a2216dc2c18306f5f655e2b SHA256 386171951348a2af2431de63c733ecafb5fdb343621c0e4afb58c657e5354549 +MISC ChangeLog 11020 RMD160 95442cca3ad1aa95119d33a6f2a50453c003a840 SHA1 99a7e9f6a150beb63e97db3a948c63674e21274a SHA256 864413a8017f537b1a4e9b955fb99172887a27d4a4be15598c716aa135c56b39 MISC metadata.xml 1638 RMD160 17ef00f7f0515dd445244bda48ddb4f3a8829597 SHA1 32894ca5e0efb115e4f98f27e46f547199e3dd74 SHA256 1479bc1f748e8186b8141d8a0eb7d45930c67f3fafd746527215e2ef1070be8a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk7Cjs8ACgkQVWmRsqeSphO2YACfaIanOULGpnshnQKrjJ6qf2Kp -zXkAn08LCkxXuzBc0HTM50gIcCb95dOg -=qGt6 +iEYEARECAAYFAk7L3DYACgkQVWmRsqeSphObqwCdFxbzvxyDULJ184I3qqwFQ9I9 +H9cAnjVsgviQ2/o6zUycj1vyb0TykEIA +=haJj -----END PGP SIGNATURE----- diff --git a/www-client/opera-next/opera-next-12.00.1054.ebuild b/www-client/opera-next/opera-next-12.00.1054.ebuild deleted file mode 100644 index 5651b97b83b1..000000000000 --- a/www-client/opera-next/opera-next-12.00.1054.ebuild +++ /dev/null @@ -1,232 +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.1054.ebuild,v 1.2 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="twelvereturns_${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 "ln -sn license.txt" - done - - # Remove package directory - rm -rf share/${PN}/package - - # Leave libopera*.so only if the user chooses - if ! use gtk; then - rm lib/${PN}/liboperagtk2.so || die "rm liboperagtk.so failed" - fi - if ! use kde; then - rm lib/${PN}/liboperakde4.so || die "rm liboperakde4.so failed" - fi - - # Unzip the man pages before sedding - gunzip share/man/man1/* || die "gunzip failed" - - # 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 "sed failed" - - # 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} - - # Fix libdir in defaults/pluginpath.ini - sed -i \ - share/${PN}/defaults/pluginpath.ini \ - -e "s|/usr/lib32|${OPREFIX}|g" \ - -e '/netscape/{s|[0-1]|2|g}' \ - || die "sed pluginpath.ini failed" - - # 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 "failed to change libz.so.3 to libz.so.1" - 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 lib/ failed" - mv share/ "${D}/usr/" || die "mv share/ failed" - - # 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.1060.ebuild b/www-client/opera-next/opera-next-12.00.1060.ebuild deleted file mode 100644 index 8092711ad1f9..000000000000 --- a/www-client/opera-next/opera-next-12.00.1060.ebuild +++ /dev/null @@ -1,232 +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.1060.ebuild,v 1.2 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="extending_${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 "ln -sn license.txt" - done - - # Remove package directory - rm -rf share/${PN}/package - - # Leave libopera*.so only if the user chooses - if ! use gtk; then - rm lib/${PN}/liboperagtk2.so || die "rm liboperagtk.so failed" - fi - if ! use kde; then - rm lib/${PN}/liboperakde4.so || die "rm liboperakde4.so failed" - fi - - # Unzip the man pages before sedding - gunzip share/man/man1/* || die "gunzip failed" - - # 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 "sed failed" - - # 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} - - # Fix libdir in defaults/pluginpath.ini - sed -i \ - share/${PN}/defaults/pluginpath.ini \ - -e "s|/usr/lib32|${OPREFIX}|g" \ - -e '/netscape/{s|[0-1]|2|g}' \ - || die "sed pluginpath.ini failed" - - # 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 "failed to change libz.so.3 to libz.so.1" - 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 lib/ failed" - mv share/ "${D}/usr/" || die "mv share/ failed" - - # 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.1065.ebuild b/www-client/opera-next/opera-next-12.00.1065.ebuild deleted file mode 100644 index 2c1efb63192a..000000000000 --- a/www-client/opera-next/opera-next-12.00.1065.ebuild +++ /dev/null @@ -1,232 +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.1065.ebuild,v 1.2 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="coffeecode_${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 "ln -sn license.txt" - done - - # Remove package directory - rm -rf share/${PN}/package - - # Leave libopera*.so only if the user chooses - if ! use gtk; then - rm lib/${PN}/liboperagtk2.so || die "rm liboperagtk.so failed" - fi - if ! use kde; then - rm lib/${PN}/liboperakde4.so || die "rm liboperakde4.so failed" - fi - - # Unzip the man pages before sedding - gunzip share/man/man1/* || die "gunzip failed" - - # 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 "sed failed" - - # 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} - - # Fix libdir in defaults/pluginpath.ini - sed -i \ - share/${PN}/defaults/pluginpath.ini \ - -e "s|/usr/lib32|${OPREFIX}|g" \ - -e '/netscape/{s|[0-1]|2|g}' \ - || die "sed pluginpath.ini failed" - - # 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 "failed to change libz.so.3 to libz.so.1" - 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 lib/ failed" - mv share/ "${D}/usr/" || die "mv share/ failed" - - # 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.1076.ebuild b/www-client/opera-next/opera-next-12.00.1076.ebuild deleted file mode 100644 index 792061a57f93..000000000000 --- a/www-client/opera-next/opera-next-12.00.1076.ebuild +++ /dev/null @@ -1,225 +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.1076.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="turret_${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 "ln -sn license.txt" - done - - # Remove package directory - rm -rf share/${PN}/package - - # Leave libopera*.so only if the user chooses - if ! use gtk; then - rm lib/${PN}/liboperagtk2.so || die "rm liboperagtk.so failed" - fi - if ! use kde; then - rm lib/${PN}/liboperakde4.so || die "rm liboperakde4.so failed" - fi - - # Unzip the man pages before sedding - gunzip share/man/man1/* || die "gunzip failed" - - # 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 "sed failed" - - # 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 "failed to change libz.so.3 to libz.so.1" - 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 lib/ failed" - mv share/ "${D}/usr/" || die "mv share/ failed" - - # 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.1085.ebuild b/www-client/opera-next/opera-next-12.00.1085.ebuild deleted file mode 100644 index 140451abc141..000000000000 --- a/www-client/opera-next/opera-next-12.00.1085.ebuild +++ /dev/null @@ -1,225 +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.1085.ebuild,v 1.2 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="rock_${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 "ln -sn license.txt" - done - - # Remove package directory - rm -rf share/${PN}/package - - # Leave libopera*.so only if the user chooses - if ! use gtk; then - rm lib/${PN}/liboperagtk2.so || die "rm liboperagtk.so failed" - fi - if ! use kde; then - rm lib/${PN}/liboperakde4.so || die "rm liboperakde4.so failed" - fi - - # Unzip the man pages before sedding - gunzip share/man/man1/* || die "gunzip failed" - - # 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 "sed failed" - - # 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 "failed to change libz.so.3 to libz.so.1" - 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 lib/ failed" - mv share/ "${D}/usr/" || die "mv share/ failed" - - # 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.1090.ebuild b/www-client/opera-next/opera-next-12.00.1090.ebuild deleted file mode 100644 index 1cc63a6a4bb8..000000000000 --- a/www-client/opera-next/opera-next-12.00.1090.ebuild +++ /dev/null @@ -1,225 +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.1090.ebuild,v 1.2 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="feathers_${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 "ln -sn license.txt" - done - - # Remove package directory - rm -rf share/${PN}/package - - # Leave libopera*.so only if the user chooses - if ! use gtk; then - rm lib/${PN}/liboperagtk2.so || die "rm liboperagtk.so failed" - fi - if ! use kde; then - rm lib/${PN}/liboperakde4.so || die "rm liboperakde4.so failed" - fi - - # Unzip the man pages before sedding - gunzip share/man/man1/* || die "gunzip failed" - - # 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 "sed failed" - - # 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 "failed to change libz.so.3 to libz.so.1" - 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 lib/ failed" - mv share/ "${D}/usr/" || die "mv share/ failed" - - # 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 -} |