diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-12-01 17:08:54 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-12-01 17:08:54 +0000 |
commit | 914b4961b007ec32c9f0ae2bfe223109dbd00d2e (patch) | |
tree | dd459f3c438ebd67116ad478eb788438a759921a /www-client | |
parent | Version bump. (diff) | |
download | historical-914b4961b007ec32c9f0ae2bfe223109dbd00d2e.tar.gz historical-914b4961b007ec32c9f0ae2bfe223109dbd00d2e.tar.bz2 historical-914b4961b007ec32c9f0ae2bfe223109dbd00d2e.zip |
http://my.opera.com/desktopteam/blog/2011/12/01/plugins
Package-Manager: portage-2.2.0_alpha79/cvs/Linux x86_64
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/ChangeLog | 10 | ||||
-rw-r--r-- | www-client/opera/Manifest | 44 | ||||
-rw-r--r-- | www-client/opera/opera-11.60.1147.ebuild | 235 | ||||
-rw-r--r-- | www-client/opera/opera-11.60.1150.ebuild | 235 | ||||
-rw-r--r-- | www-client/opera/opera-11.60.1159.ebuild | 235 | ||||
-rw-r--r-- | www-client/opera/opera-11.60.1163.ebuild | 235 | ||||
-rw-r--r-- | www-client/opera/opera-11.60.1169.ebuild | 235 | ||||
-rw-r--r-- | www-client/opera/opera-11.60.1177.ebuild | 235 | ||||
-rw-r--r-- | www-client/opera/opera-11.60.1178.ebuild | 235 | ||||
-rw-r--r-- | www-client/opera/opera-11.60.1180.ebuild (renamed from www-client/opera/opera-11.60.1173.ebuild) | 4 |
10 files changed, 19 insertions, 1684 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 627168643e15..027fb7588f07 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,14 @@ # 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.671 2011/11/30 16:28:32 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.672 2011/12/01 17:08:54 jer Exp $ + +*opera-11.60.1180 (01 Dec 2011) + + 01 Dec 2011; Jeroen Roovers <jer@gentoo.org> -opera-11.60.1147.ebuild, + -opera-11.60.1150.ebuild, -opera-11.60.1159.ebuild, -opera-11.60.1163.ebuild, + -opera-11.60.1169.ebuild, -opera-11.60.1173.ebuild, -opera-11.60.1177.ebuild, + -opera-11.60.1178.ebuild, +opera-11.60.1180.ebuild: + http://my.opera.com/desktopteam/blog/2011/12/01/plugins *opera-11.60.1178 (30 Nov 2011) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index f8940c660efb..5316ecaa6816 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -4,45 +4,17 @@ 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-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 -DIST opera-11.60-1150.i386.freebsd.tar.xz 11518948 RMD160 82a734bf05b8feec8baff9ee01505261f93ba3f0 SHA1 e6402ac1ac09c37100b0b68f0fda70c59064d415 SHA256 e6f7212ba62736f15232960067604704f8cee899899d5b3bc9281a9ebc3f8e6d -DIST opera-11.60-1150.i386.linux.tar.xz 11465136 RMD160 62c7bcf4eb52c0ba3cb2adf2b4e85e256cae6c50 SHA1 3ff6d43f38ceec15b942c8636a9de5d14de5aa0a SHA256 08d020cb3ad8ddc3d47657f31bd40c53a665f6a991d4303b9afd9a80b06581b9 -DIST opera-11.60-1150.x86_64.linux.tar.xz 12323256 RMD160 874cdb4e87f75c33366133da068844d2e4ab3e85 SHA1 3e2f3157b085634f04e9795d7986561bcc41ee37 SHA256 8dd6416cdd324c2b037c8fd251c5c0618d3c8fd02f41f92860cf42243ead2209 -DIST opera-11.60-1159.i386.freebsd.tar.xz 11519324 RMD160 893b92098023111d4fb825032f4508bbd7a10a1a SHA1 06775020b49ffc535b0e1d134dd86300ac4ca37d SHA256 e9caf6668bb5e479e17ec4ae89e993c1da3ed55a343a272f85016012ffee9fe1 -DIST opera-11.60-1159.i386.linux.tar.xz 11478400 RMD160 99a2703f19fb37458f517ae68a8ba868b69ec08b SHA1 8069a5392225f9dedc568696db3943646639bf95 SHA256 5ec1515a8bd7b9a5dabf700fbbd3c13e91c66f9611968f9715ea63645159b713 -DIST opera-11.60-1159.x86_64.linux.tar.xz 12320240 RMD160 921dad23643dc4e0fba1e4d698ff316513318f54 SHA1 771c7bf98f272df0557bc90a7dfbb9b390863672 SHA256 3cab7a15e0b400db3d771726abb1ac7d384c71bd6d3d3a5a926f2d7e3bb9967d -DIST opera-11.60-1163.i386.freebsd.tar.xz 11525448 RMD160 0a61c6364d9035895801bfa040941078cca562f9 SHA1 eb4c5caff1a4df1f4c2ba7caaf3279967fbb42ad SHA256 e832a23e0513030de42fa3abe4ac060d7bd99919bb818d2d2ce12ae495347dfc -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 -DIST opera-11.60-1169.i386.freebsd.tar.xz 11525112 RMD160 f08796986af50b2bf22b43c337c95df03570c993 SHA1 36aee6af330b08aa66501152e63dece9f89b3462 SHA256 e868621402fbf2f75b2d84e6e7c0738bde61e7727cf47f8175bc98874f3fe300 -DIST opera-11.60-1169.i386.linux.tar.xz 11480228 RMD160 f53be92627268b0d34d8f7cb4d5b23538d117df9 SHA1 87cd13a330bbd5df4665de088f846daea61ebd4c SHA256 b0e8441fbe4b433ebd731202a5e3bd4ac014ebd17f6b237e9e975ed2ec4affbf -DIST opera-11.60-1169.x86_64.linux.tar.xz 12330148 RMD160 229fb6a2ae868b9777e03f02d2e350e38c9beca4 SHA1 47324d4ca8e39334aa8438f0f4f905cb44f566d6 SHA256 27b5c758383b371f031c6bee57b80150ddd77126a7761ab38b739e0cfe90bf7f -DIST opera-11.60-1173.i386.freebsd.tar.xz 11605516 RMD160 df6c6ece5afac8a8894340a165f501ab33268fdd SHA1 9cd3d3d6323366d014f2e666780d7078ba241f76 SHA256 d8524634c11f6660d0d8f904b94e6a7bb4c04853a125680789d18eb9e843b7f5 -DIST opera-11.60-1173.i386.linux.tar.xz 11563516 RMD160 e99fde38abe4fc0078373a43020eb5e5c42e0dee SHA1 99d726788044d8c702bb51414d6a601dd4e50665 SHA256 8c837e389d08a0a9281ad0cff1b282e412c46981ee90758dbcfade97be6913ba -DIST opera-11.60-1173.x86_64.linux.tar.xz 12414692 RMD160 33d287705b2578de56e5fe32c53457c6749511e3 SHA1 73bf5833a78409467c0f411cf8497c6db4e0a1f9 SHA256 af93d54d667485642dc073d7f258e6f393775aecfc80427e179046000bf3e7d2 -DIST opera-11.60-1177.i386.freebsd.tar.xz 11661028 RMD160 dda6a6e7b428aa4b3cb88bdadf861eff2b209e11 SHA1 fcae279617030c228b57497ac14675e455f19d64 SHA256 1b528f5451c6facaa7dd3096d06efefd34c7ea744d8c946a880ee8c3b05f0509 -DIST opera-11.60-1177.i386.linux.tar.xz 11624272 RMD160 15f14ef1d0201b29f15785ae437cabd06aa01cc8 SHA1 5565480a4c7bbcd6ba8e744ea7b0193e5c5f0866 SHA256 8159e0d57f0dfe51d31e7b348700f5bed96ef4a0f1928f08fbc1878b63039abc -DIST opera-11.60-1177.x86_64.linux.tar.xz 12465816 RMD160 d90be5ce9cd8da97318f6c9c085f1b9e1fdc2889 SHA1 ebfa0710993208c98f95de2900f9472aaf734f29 SHA256 f2dff1f01125fc936fd1ef5788177e1878ce020046d0912e97a305f7027b2844 -DIST opera-11.60-1178.i386.freebsd.tar.xz 11538216 RMD160 e5b84864a3722ba88e5f651298a7adf8be9803c6 SHA1 84edeca99ad8b4bbf8993a6c1f4e6cb7933d0d2b SHA256 0509333707bb4e5b019cb153576a92b5960c361ad67879e0fe4f10be768a74cb -DIST opera-11.60-1178.i386.linux.tar.xz 11501984 RMD160 db7527f0f8199caeb5f7a1bd18ca9913377c196e SHA1 346230a9e8a7bf4f01d41c151d49db71344c55f9 SHA256 09829740ce80075327e2b9650d64c364dea4b8ba7cfd7986ae1ce22d01e53c30 -DIST opera-11.60-1178.x86_64.linux.tar.xz 12341480 RMD160 334b98e26d3ea1b99c6bda6717f667a5e976d61a SHA1 e282a67e983411c6789005dda8f8f0a617cf7c99 SHA256 a7717fccec6fcfe025f42a91e6a6b0b391c82d39b2b362ea7f5955502828fb28 +DIST opera-11.60-1180.i386.freebsd.tar.xz 11537128 RMD160 f6abb4b00c101811bb7c37901c27b31f1b5da0a4 SHA1 adba1b7e121337e1f8ac09372166c2f24601d774 SHA256 21d16178ef8db3de80b8573ee1682884cc9cf9958cc0832ca13272c11883bc0f +DIST opera-11.60-1180.i386.linux.tar.xz 11502292 RMD160 ce9b17c6031d31858b474d69f7d4eaa751b400dd SHA1 acc5b2c128e94fd67cb198382c0b1d4cbd96c619 SHA256 9758c453ac992049f0b5fc6ed94da9b5c465f23f77ad16deedfbc46ebf4dc91f +DIST opera-11.60-1180.x86_64.linux.tar.xz 12345604 RMD160 b1663d8ed9079f20c263776e439811e107ae0088 SHA1 9ada1cd9342821cba025db7c2e7381f32167fb78 SHA256 05e60f9c5bd3d4524d99efa6d8ba772b0f6b2f5a24342d8b3109dc7a56a2ae2a EBUILD opera-11.52.1100.ebuild 5695 RMD160 7347ebe510e769a44dc494926ac33e5049561286 SHA1 65f1222bf21cce7524907d77c52d95c933da2678 SHA256 19126014c026a5ca4d89b5d999763c32b9f6ba54e403dc3ca8ea5fbd46d5ddb5 -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 -EBUILD opera-11.60.1169.ebuild 5961 RMD160 aab34961328f7a0fcf5738095956bb268f3e1b2d SHA1 8959ec0da57058cd4c46bd1b9823adb70faa6c03 SHA256 298547163dc27859964bc5a556d88d06beb62d34e0f40c9779d95505a1efc911 -EBUILD opera-11.60.1173.ebuild 5959 RMD160 103f7fa81fb0312e281bf42fe731de890da16d9f SHA1 6a9f18746a32b0ee6995ac2773c332ae067649d8 SHA256 286f83bc1f72879206adf61f8add6cfe80db4f50ecfebd5226f48f0189f9c30c -EBUILD opera-11.60.1177.ebuild 5962 RMD160 7f47cd1b1d3741bbb1c3429168287df18aec5113 SHA1 fe2dd91c5ae4c51e2d50a5f45853486e79f3a8c6 SHA256 021fe8020f6461152b4fa306cfdc8055cfc062e9f694cb2d5a25c9854d9d3ec1 -EBUILD opera-11.60.1178.ebuild 5959 RMD160 663e7ef5695de1583e42a1a6b4b36e0898c65f95 SHA1 b3d34820653c5acab4cfc4c33dcedcec92763c5c SHA256 22b3b40f7b825542a3af15f28850f51a6c739e33b91fad59beaf7b72bef4808f -MISC ChangeLog 127967 RMD160 b3d2c51764634785a4b39d231a2c42012dca261f SHA1 49100a1bc674c3fd909f0298bfd83038b302cc14 SHA256 33c73c6a96a8f053a563e5d65035a97146378b21ccbaa1cc487591659abf8e54 +EBUILD opera-11.60.1180.ebuild 5959 RMD160 c31d6c907b6529983e14550b5ac10e27010600ad SHA1 3f84fe8bc1181fb3fef7bb5de6b08b6255a3ec89 SHA256 dc4c7aabf69fc13f2f438aa7f95570aa458cef33e03db1807e0653d63faabdd9 +MISC ChangeLog 128346 RMD160 bc9d5ec989d5ac7248446c8a753def1e7a708c21 SHA1 50a81dba0260e65943072decc9cf998fe19344a7 SHA256 8a9823c8ac179ac267d5746d90a376d10d29a6a0b5d6c372b9afe28b4260994a MISC metadata.xml 732 RMD160 28acd15c216329d807150c88fb0861eb1383c61c SHA1 9ff443c6f422e8b018d29d21948da71eda6a4295 SHA256 bd388fb8f6b0aa2cd98fcfc290b677df712be3ef14537102e02665ea2f0d871a -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iEYEARECAAYFAk7WWbYACgkQVWmRsqeSphNspACfbSPLD/uuoTEGpqXT2iQPCGjh -/KAAn3qAXDRfgG/ZYV+kCW/AU1+cAya3 -=8u2h +iEYEARECAAYFAk7XtLQACgkQVWmRsqeSphOTZwCfUVwPLH5UEF9P0xc89cGjQqT4 +PwAAn3fdneBJfL2qx0SnTlEn8BhWYZZ0 +=WdTh -----END PGP SIGNATURE----- diff --git a/www-client/opera/opera-11.60.1147.ebuild b/www-client/opera/opera-11.60.1147.ebuild deleted file mode 100644 index 2197de9c2329..000000000000 --- a/www-client/opera/opera-11.60.1147.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.1147.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="${O_V/.}b1" -O_P="${PN}-${O_V}-${O_B}" -O_U="mirror://opera/" - -SRC_URI=" - amd64? ( ${O_U}linux/${O_D}/${O_P}.x86_64.linux.tar.xz ) - x86? ( ${O_U}linux/${O_D}/${O_P}.i386.linux.tar.xz ) - x86-fbsd? ( ${O_U}unix/${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.1150.ebuild b/www-client/opera/opera-11.60.1150.ebuild deleted file mode 100644 index 83f6184c978a..000000000000 --- a/www-client/opera/opera-11.60.1150.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.1150.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="huib_${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.1159.ebuild b/www-client/opera/opera-11.60.1159.ebuild deleted file mode 100644 index e7956fc15782..000000000000 --- a/www-client/opera/opera-11.60.1159.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.1159.ebuild,v 1.1 2011/11/17 16:08:50 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="china_${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.1163.ebuild b/www-client/opera/opera-11.60.1163.ebuild deleted file mode 100644 index 79456e180e0e..000000000000 --- a/www-client/opera/opera-11.60.1163.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.1163.ebuild,v 1.1 2011/11/22 16:30:37 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="fish_${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.1169.ebuild b/www-client/opera/opera-11.60.1169.ebuild deleted file mode 100644 index 2010c1f029a6..000000000000 --- a/www-client/opera/opera-11.60.1169.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.1169.ebuild,v 1.1 2011/11/24 17:15:54 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="furby_${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.1177.ebuild b/www-client/opera/opera-11.60.1177.ebuild deleted file mode 100644 index 847fc18e875f..000000000000 --- a/www-client/opera/opera-11.60.1177.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.1177.ebuild,v 1.1 2011/11/29 15:18:07 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="sneeze_${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.1178.ebuild b/www-client/opera/opera-11.60.1178.ebuild deleted file mode 100644 index aa97f9bd0897..000000000000 --- a/www-client/opera/opera-11.60.1178.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.1178.ebuild,v 1.1 2011/11/30 16:28:32 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="sky_${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.1173.ebuild b/www-client/opera/opera-11.60.1180.ebuild index 7c5427dd88a3..a24dfef866b2 100644 --- a/www-client/opera/opera-11.60.1173.ebuild +++ b/www-client/opera/opera-11.60.1180.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.60.1173.ebuild,v 1.1 2011/11/27 07:07:51 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.60.1180.ebuild,v 1.1 2011/12/01 17:08:54 jer Exp $ EAPI="4" @@ -17,7 +17,7 @@ IUSE="elibc_FreeBSD gtk gtk3 kde +gstreamer" O_V="$(get_version_component_range 1-2)" # Major version, i.e. 11.00 O_B="$(get_version_component_range 3)" # Build version, i.e. 1156 -O_D="sss_${O_V}-${O_B}" +O_D="man_${O_V}-${O_B}" O_P="${PN}-${O_V}-${O_B}" O_U="http://snapshot.opera.com/unix/" |