diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-12-10 16:34:51 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-12-10 16:34:51 +0000 |
commit | 020f67576436f41e64fd9c405bd889238e1911e0 (patch) | |
tree | e749dd13670f86e27f3e5eb2d0df5e084e1cf3c7 /www-client | |
parent | Remove old, possibly broken, versions. Fix bug #347992 by linking to libstdc+... (diff) | |
download | historical-020f67576436f41e64fd9c405bd889238e1911e0.tar.gz historical-020f67576436f41e64fd9c405bd889238e1911e0.tar.bz2 historical-020f67576436f41e64fd9c405bd889238e1911e0.zip |
http://my.opera.com/desktopteam/blog/2010/12/10/friday-morning-improvements http://my.opera.com/desktopteam/blog/2010/12/10/friday-evening-improvements
Package-Manager: portage-2.1.9.25/cvs/Linux i686
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium/Manifest | 31 | ||||
-rw-r--r-- | www-client/opera/ChangeLog | 10 | ||||
-rw-r--r-- | www-client/opera/Manifest | 10 | ||||
-rw-r--r-- | www-client/opera/opera-11.00_pre1136.ebuild | 206 | ||||
-rw-r--r-- | www-client/opera/opera-11.00_pre1140.ebuild | 206 |
5 files changed, 435 insertions, 28 deletions
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest index 8eab58e368fc..614c52155d0d 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -1,40 +1,19 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX chromium-gconf-optional-r0.patch 4115 RMD160 98749269423c881f91a0e5f30957eb7627eaf3ae SHA1 0f179f989620d3b0f6f32cea82675fea197a89b5 SHA256 e56e7546ceebd6eb55e57d0d419c6d735616ebdd2ea488ca3927d693ea799a35 AUX chromium-gecko-mediaplayer-r0.patch 590 RMD160 8b01e801ef4a8d3aaa842ab217929e71ebb70a87 SHA1 916ecd1c7a405fc12de579538c07c42cd9e84ecc SHA256 491cfaa353ad965a0cbfe2fc6370e4df5d1cd55398698b838996053f9e46f12c -AUX chromium-gnome-keyring-r0.patch 2842 RMD160 1ac9a6e2785954a7a4f7f60988c8d7c101ad6db8 SHA1 44ee90f3c6632bcad9843cce22865c9c39fd6c8a SHA256 237d85599270b7cc1f83e58e27712f3d65609c325318b0b28ac277d630574c96 AUX chromium-launcher.sh 648 RMD160 d9331083750789d5c514c0fa1843037337ac476a SHA1 015efb2faacfc000c23644323c56795acfb7bc7e SHA256 3ae91f5bee0107adf3511205a062465901c7daaa13e3758ae970a6da4f0fa12c AUX chromium-locale-glib-r0.patch 14967 RMD160 4764e11584bc796004acdfb6f997b01d5045ad8f SHA1 aba8d20bff1753303749f7e1c710529de8077c18 SHA256 afdc118a01b0ca7ba6d524d8e30fde8f6bf2cb2ec29959a788e5636066a53b06 AUX chromium-locale-glib-r1.patch 14823 RMD160 78159c294e953941b35346fc3b228ccbdd988b0d SHA1 b6de887cc67e3db01edb22ccd2eec3048f34df87 SHA256 71b1c2c3cd7382938e1cb4097428ded1dd019b8ef6be3ed6e882647e8e65b2f6 -AUX chromium-make-3.82-compatibility-r0.patch 867 RMD160 d6fd01bcd32460678e1503ca9fbeb78ed16e8213 SHA1 9964cbe8063140312dd1217327f3648dfaf71284 SHA256 339f8022d0a2ff733d779ba8c4a3cf09a28633afccc0106d86289ef497f2f401 -AUX chromium-plugins-path-r0.patch 1043 RMD160 698a8562c866e046b1adf8553894ee08afb53a10 SHA1 0c41adad38478c4a12970af774e782ebb208a048 SHA256 3ba3bf1c3184fb2a0c7f493947d620fd1678efdd3661ac36be3d1cb00146d108 -AUX chromium-system-icu-r0.patch 705 RMD160 88ace1e61e1da871fec979e23b0242e8e5ba6cd2 SHA1 40af48ef29ff8bd533181bf0c172cc67b3237157 SHA256 5e5b884e499b4dc97563bb4cb87ea770542cd044b99f26c7f82e38b89b40de69 AUX chromium-system-icu-r1.patch 735 RMD160 d3fabb98c3de79afd87f4dad2fd842eac31b0167 SHA1 6f2d38dcd26dbd948237a3a6185e2dfff753fb5a SHA256 f37bcb4938d7600a1c56fd6494fa8680ff19749a3a50df82b5c88b8c996e2185 -AUX chromium-system-sqlite-r0.patch 1802 RMD160 7e796e63a2415b98b7192f466481ea00d86d5ddf SHA1 13bb913c620b813f5a5436864a002374b2da9b7b SHA256 c34e65648c1593d3c693db643d342c192056d2bf5c19b45129ac29ea2862ccf0 -AUX chromium-system-ssl-r0.patch 460 RMD160 50a5a212ed859d9987d2c59bc1d2a6c2e56a7bad SHA1 b1336a7a42b784515ea45bcfe4480580f4345b97 SHA256 374897ac710e37e8ff63de78a751d4078aeb438845541ce294291ab58687984b -AUX chromium-system-vpx-r0.patch 2429 RMD160 718a25b6a86cf67f7a9229f800d6515ffba65880 SHA1 ad2efdd21ae22c884a3cbebca52f09c229980060 SHA256 eb937a617cbcdaeb5955e46855cda28cd18d3fc6c844126cbc5f46c7e72afb56 AUX chromium-system-vpx-r1.patch 2171 RMD160 7b5e5e624084a0a63c15e7e783676a9365ad211f SHA1 68142ca461ec721f8134af2e9cf45ff18093da10 SHA256 684a88573c33bb5c987f7e08611b4a3a019eac9ea9ec14fe60f79141e75763c5 +AUX chromium-tests-r0.patch 555 RMD160 6f26a053196f15924e939d1d84b959ccae68eb8d SHA1 be5c142e2a36dcc5eb7be1a619528be41cb1c293 SHA256 a7f1fd8b31491401420705d89e38f0e4811a92066ede1d6019275c46360d6711 AUX chromium.xml 390 RMD160 6b2f901da76555a7112f71a6f9dae6e2e3307324 SHA1 81148a0b094bc697ff2c9d33efe976b1bffb72a3 SHA256 a81c6257346eaa4f6389fc9ea8834fd2dd3b006cf4e9e999028aca812d76fe9a AUX extract_v8_version.py 731 RMD160 71b134c9b88902259cb20ec232b8da6c3d8a15de SHA1 3dc5d6f9437f4b0ffb584395e19663450384b53a SHA256 4011f1e2f44bd18ad1266dffc1d3fbc13a6430afade2b19240b31ee9437dcbda AUX v8.gyp 2602 RMD160 2949c9e2d8e2297182130e5984fb5f114c260a81 SHA1 7d32a04a7a921f30b0c3ed33a5593f1059832c96 SHA256 bc5342501d71754f23bd87914bb11841a7487330ba2f0462611dd1b0f99a2a43 -DIST chromium-7.0.517.44.tar.bz2 132976535 RMD160 ed7664c7cdf1c4b36c43540d22b4668caccfcef7 SHA1 feeaaa0f26965c9572723b1902ef062cb9cc0ac4 SHA256 ca10b1df650f790e7b6952c1cdc2e968ec0e1f02556dbe9bcb7b4cbcf1bef9dc -DIST chromium-8.0.552.210.tar.bz2 135974389 RMD160 05a16d31c35ac8d0c8739711bfb9d04a6d99961e SHA1 32bae7776aa209420bae727c7a2cbc96ae71a286 SHA256 a2a20d7cd55bdc2da4bc23798f1a32d513a5c8a4eedd3a2a832a9e58949878b6 DIST chromium-8.0.552.215.tar.bz2 135971053 RMD160 fd971365dc103e227a50743877068705d6097e1c SHA1 fc039b5cb6a75dd967e152d9b5ab3274d5e94b46 SHA256 fb34f28446ef6835f54f2b0749c040dedf95646858c27a72031dae39b500a44f -DIST chromium-9.0.587.0.tar.bz2 141861341 RMD160 7a65886c90fe1b005889b7530e398453869e5c68 SHA1 41158935dc181e43c90ba834bf0f1a3e5b52112f SHA256 e5760aafd04ecf0783c91bcebb8d4320820fcafc809f0b5cccd9025b382e1646 DIST chromium-9.0.597.0.tar.bz2 142457016 RMD160 39deb1321d35d80ef7d7a0eab9b5456ebb6064c0 SHA1 819608b9fad4c6971b0a852979e9552e7510d7a1 SHA256 f913af88393395012d67e454376e081d6ea3bfa384fa684ba9503d813f70053d -EBUILD chromium-7.0.517.44.ebuild 7185 RMD160 31b2bf4af67c42ee3b9982ba6a893ff81703c37e SHA1 2b9ae7887c02d3044fe8f2677bf69db95a3775a5 SHA256 927eb1bab33abaf99bf9ad3a4400b584cea8bce3e5f4a25c6bd4f328d6773cf6 -EBUILD chromium-8.0.552.210.ebuild 8610 RMD160 2bb7fb52424c546d6130f5685c3bc4594fc06a74 SHA1 830693433f838edd88a8462b4fb73efe17432c1b SHA256 e7464565b2ff41ed0aa4ba163409c536af1720df1ef5d722c8d3dff465f93510 +DIST chromium-9.0.597.15.tar.bz2 141687970 RMD160 2e9918d697ab134360844cb8a49ee99729b10d9a SHA1 04192b56900043fa42f65a3cf69608625e4f4324 SHA256 ffc906690a433af01b74795a250a69821341b0713e1ad287e82811a2a8655c6a EBUILD chromium-8.0.552.215.ebuild 8603 RMD160 5e9da9d8720bcbdea61e7b88098a8954a7c96241 SHA1 3c0e72fdb99230bae9b248d5643540a6294e1d5d SHA256 f8f0ff88c24a9cc3c6a39ff58bbe535bf7ad78b91fa8f1042cc85847c860a4c5 -EBUILD chromium-9.0.587.0-r1.ebuild 9322 RMD160 30df7928e90f46a65ce85c1dc809f0aaa9b8fced SHA1 3136b608a7402ca15f5d61998e773ebedb4d136b SHA256 5546df2ab0703101075c8a5c3c79fcea87e07fee1b35c4d27b4df05d0691446f EBUILD chromium-9.0.597.0.ebuild 9322 RMD160 d524d3b395a61716d37e91ddc5af3b6e4e8e659b SHA1 d7f1b334287cd3c18932e288390710f74d4b386b SHA256 6d48c2388ef5d6dd322e67e54b7ef5c12080dbbc4aa5eb4d863436c361435b51 -EBUILD chromium-9999.ebuild 11021 RMD160 54fbd8bafb0c60c763e95a9bc29d8a5e1f7820fe SHA1 22d562ed9928f14c46baebf40eeb223a5b6fb2c6 SHA256 3f00db89cc0cd2295b9db85451397c4c69c307add03a1532dd8356fbc84f8a82 -MISC ChangeLog 51754 RMD160 e69934fced3cb7a9997ba03d5386950b9f06796e SHA1 95dffe0a35633019128a4338287bc5a426c2fb64 SHA256 2f5209af7b319f129a150d0ea6e4c7f08dd43aa760e58f1ce5be21ab32ba4adb +EBUILD chromium-9.0.597.15.ebuild 9762 RMD160 93e12008869bd65d2709f944e62c6eaeacd7e2c5 SHA1 640a453dc3bd652feb34229baa9f342e74f80018 SHA256 d083965eae9bb8e8d61f2a6015b8bc80892cce747365ef39789d9db3aa08bfe5 +EBUILD chromium-9999.ebuild 11460 RMD160 cc0dcd74d757e1378fdfa6fa07a0bb6f10b4722a SHA1 618c6c732afaaa1f555539c4270bed52b6a87a6a SHA256 fd5e9d183821ad518da8f83bd4449682b0083cdffef3a58cb388b18d72bedb76 +MISC ChangeLog 52501 RMD160 d42b8b9ee2674b421464234d328d0bb0a282708b SHA1 fc4fdb2507e8b3c8c16b486e03c4d910a0c3d546 SHA256 d7c1242cbee70f42444ae9355657fce17a79b1104570505473705ee95a7aa2ea MISC metadata.xml 607 RMD160 98f163b667c92c149e6ad82352ff5a1ea076361f SHA1 0d7d96013e31288c37a0e245cf2b538af1a46eaf SHA256 1d94b496c34342ce43cf7b1c6887d90930c0531e903e512d2d132e79e1d0d27d ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.16 (GNU/Linux) - -iEYEARECAAYFAk0BAFsACgkQG4/rWKZmVWm4rwCbBTuxF2ON6W+Jchn1k08DJ4nR -ZokAn1Dk4PLeMuOJWLc+FNUlN4V1NBeU -=F98y ------END PGP SIGNATURE----- diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog index 102cdae4b83a..0009e6a03342 100644 --- a/www-client/opera/ChangeLog +++ b/www-client/opera/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for www-client/opera # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.570 2010/12/09 17:28:13 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.571 2010/12/10 16:34:51 jer Exp $ + +*opera-11.00_pre1140 (10 Dec 2010) +*opera-11.00_pre1136 (10 Dec 2010) + + 10 Dec 2010; Jeroen Roovers <jer@gentoo.org> +opera-11.00_pre1136.ebuild, + +opera-11.00_pre1140.ebuild: + http://my.opera.com/desktopteam/blog/2010/12/10/friday-morning-improvements + http://my.opera.com/desktopteam/blog/2010/12/10/friday-evening-improvements 09 Dec 2010; Jeroen Roovers <jer@gentoo.org> opera-10.63.ebuild, opera-11.00_pre1128.ebuild, opera-11.00_pre1133.ebuild: diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 05bfa9f1cad4..e4a3dce5b481 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -7,8 +7,16 @@ DIST opera-11.00-1128.x86_64.linux.tar.bz2 12471952 RMD160 bb8b47338832051107a6b DIST opera-11.00-1133.i386.freebsd.tar.bz2 11127572 RMD160 050d7b6a5c341994ada7706de094965adb0482d1 SHA1 a7c26b9ceca2082c9ccc896bf4bb3fca090d0723 SHA256 a063d7258651c5f867f35d5b72fec4a7dae4ca5febf15ccd177bbe5a42cf2836 DIST opera-11.00-1133.i386.linux.tar.bz2 11320972 RMD160 76c26c7fe2cb6306c3f2e5604adddafa9674b5c8 SHA1 4a19bfc8091cc21f91bd26d0d48ffd44728138aa SHA256 3e00ea0a3f93875a64d3c50943e2b7319b776af6be4267aa0832f37d0505607a DIST opera-11.00-1133.x86_64.linux.tar.bz2 12577425 RMD160 6a0172ce8da343baf3e8e11e852e33a8a174a017 SHA1 054db9ca98ee5079719a854ce009972e98d00348 SHA256 d673b91e438d433f351ee10c2bedbc9f11c5fbeb0c3d29fdd13f1036305e8ffe +DIST opera-11.00-1136.i386.freebsd.tar.bz2 10752773 RMD160 dc7f7364cd64be677810ea79f7ec88b258f737e3 SHA1 6ab1a2c305bc28b1bd6aad26fb137e0a0c0d0c06 SHA256 4f5064028cb8d2e87efa688bc3bc7920de42ec5fc31c4023523f03dca7958210 +DIST opera-11.00-1136.i386.linux.tar.bz2 11326999 RMD160 78b68d451101144a7bba073a79e56e9fa4c86d5a SHA1 7f2d5a0dbe7dd0de0c2c6ed485540b83ff9376f1 SHA256 0aa89668f6de80668ea1c9a6305b29b9b84dd3552cfb6718665f78744f7d5694 +DIST opera-11.00-1136.x86_64.linux.tar.bz2 12616564 RMD160 9af2e2281a28d8d51f7587c713537bd879a887cc SHA1 1ad8625c8025bea81c57a3b0fde0400a134ec687 SHA256 dcc5437ece3b0e1eb2c1dab937a51331675437804386ba8d1a2446de38ccb909 +DIST opera-11.00-1140.i386.freebsd.tar.bz2 10755885 RMD160 c69f2f692832661973b15f79f8652f43835ee969 SHA1 d8a1894248ea8bdd4679bbbe426a4d36a73f4576 SHA256 84d2da11c1866a4b1361af5a8417b0d4b8d7934531a0a93fa9021b2c603b9d3b +DIST opera-11.00-1140.i386.linux.tar.bz2 11331938 RMD160 83e75e95eaa8853ab2bf8fc4bff6e01eb0dbb33c SHA1 ddfc584a6abeae79f0a77d3fd16ab6b344add884 SHA256 07b5f615f0fa1b8d6373b9d4458243ca1cab06d7e07634862e586920ec29df22 +DIST opera-11.00-1140.x86_64.linux.tar.bz2 12621834 RMD160 fd031ccbf15059b2bd2ebd198eb9f4b933b1c5f0 SHA1 54e1d4d51491438811ab179f91b2dceb993c8eae SHA256 f6129a94d5caf4a54e82a14086ce20fa9bbff01abcfe6a94f2306f432565acc2 EBUILD opera-10.63.ebuild 5100 RMD160 a6524c149d2192b731de126a6965612ca9a6ef88 SHA1 e888db3f3378bd9f51307e2070a35f4cc69aea61 SHA256 cdcc5332914bfca888b55532ba7aa4dffe3b739983e3a1f61baea2293e12ad0c EBUILD opera-11.00_pre1128.ebuild 5270 RMD160 36100e5416422e41dd6dcd0186a93bbc47f3d22e SHA1 8999a918df4ffcf155d178ab69892d34a47990c0 SHA256 8b4fc1a7f3188b0b0a157f2d2041fbe9b8b580d622083859933125f8d67320d2 EBUILD opera-11.00_pre1133.ebuild 5326 RMD160 a4149b9005af363192a75fab38562f54544c7c07 SHA1 4c84845c177270cff2261320e9ae691fdfe3be71 SHA256 ff1bbffe7b3f529a8bd357778f3115840b3187e2759372c6cfa4203ba569287d -MISC ChangeLog 110142 RMD160 4ca17fd72314f2ee90b471aa08b8b1919a089169 SHA1 f38c0c8ef8a84b9933c58cf5289dac9b5e2a842a SHA256 cb3141ef30758d5fd72918588c28e5603d9e1a381aee901546cab0902d607089 +EBUILD opera-11.00_pre1136.ebuild 5332 RMD160 c1d8705a2bfa60e27d515a1f6193d82da7eccf77 SHA1 a4164e089935fe3ecb52d148c876d25014f5d97c SHA256 95fb927f99d1c48d28e13d41612737371b3b29c13aa562784c3e787a37ad0acc +EBUILD opera-11.00_pre1140.ebuild 5326 RMD160 dde2bbfbc8c7a573f13a028b1f655315eabd2ad1 SHA1 34edc7b4d9bf2591a259afec6b0cdf49315055e4 SHA256 dd0a698d84ad61e523534bc362eae673466b4d59a47a3f6a558da2a368cf25cc +MISC ChangeLog 110477 RMD160 5598bd68e1ad83e96d0b60034475f5ea9417c620 SHA1 695d66c289b5137631f04c8e07255ef8028c186a SHA256 f4785cbc56bd18b592d6bc9084ee5be80ac57b3bfae5cfe42a2f2f4e1f839da0 MISC metadata.xml 651 RMD160 5b15e2f22dc49ee158b4c76f4760219c1f85c096 SHA1 1de6dff612ef2667f194ed57d352e09a0879fbc1 SHA256 84accea33d9ad1436d9a425ddf5de328d31af559b7c9764d54546d3b357c7a10 diff --git a/www-client/opera/opera-11.00_pre1136.ebuild b/www-client/opera/opera-11.00_pre1136.ebuild new file mode 100644 index 000000000000..447bcc82c04f --- /dev/null +++ b/www-client/opera/opera-11.00_pre1136.ebuild @@ -0,0 +1,206 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.00_pre1136.ebuild,v 1.1 2010/12/10 16:34:51 jer Exp $ + +EAPI="2" + +inherit eutils multilib + +DESCRIPTION="A standards-compliant graphical Web browser" +HOMEPAGE="http://www.opera.com/" + +SLOT="0" +LICENSE="OPERA-10.53 LGPL-2 LGPL-3" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="elibc_FreeBSD gtk kde +gstreamer" + +RESTRICT="test" + +O_PWD="partytime" +O_V="${PV/_pre/-}" +O_P="${PN}-${O_V}" +O_HTTP="http://snapshot.opera.com/" +O_U="${O_HTTP}unix/${O_PWD}_${O_V}/" + +SRC_URI=" + amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 ) + x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 ) + x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 ) +" + +OPREFIX="/usr/$(get_libdir)" + +QA_DT_HASH="${OPREFIX}/${PN}/.*" +QA_PRESTRIPPED="${OPREFIX}/${PN}/.*" + +O_LINGUAS=" + be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id it ja ka + ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK + zh-TW +" + +for O_LINGUA in ${O_LINGUAS}; do + IUSE="${IUSE} linguas_${O_LINGUA/-/_}" +done + +DEPEND=">=sys-apps/sed-4" + +RDEPEND=" + gtk? ( + =x11-libs/gtk+-2* + dev-libs/atk + dev-libs/glib + x11-libs/cairo + x11-libs/pango + x11-libs/pixman + ) + kde? ( + kde-base/kdelibs + ) + dev-libs/expat + media-libs/fontconfig + media-libs/freetype + gstreamer? ( media-plugins/gst-plugins-meta ) + sys-apps/util-linux + sys-libs/zlib + virtual/opengl + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXt + x11-libs/libxcb + x11-libs/xcb-util +" + +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} + if [[ ! -d ${S} ]]; then + cd "${WORKDIR}"/${PN}* || die "failed to enter work directory" + S="$(pwd)" + einfo "Setting WORKDIR to ${S}" + fi +} + +src_prepare() { + # Remove doc directory but keep the LICENSE under another name (bug #315473) + mv share/doc/opera/LICENSE share/opera/defaults/license.txt + rm -rf share/doc + for license in share/opera/locale/*/license.txt; do + rm -v "${license}" + ln -svn /usr/share/opera/defaults/license.txt "${license}" \ + || die "mv license" + done + + # Remove package directory + rm -rf share/opera/package + + # Leave libopera*.so only if the user chooses + if ! use gtk; then + rm lib/opera/liboperagtk.so || die "rm liboperagtk.so failed" + fi + if ! use kde; then + rm lib/opera/liboperakde4.so || die "rm liboperakde4.so failed" + fi + + # Unzip the man pages before sedding + gunzip share/man/man1/* || die "gunzip failed" + + # Replace PREFIX and SUFFIX in various files + sed -i \ + -e "s:@@{PREFIX}:/usr:g" \ + -e "s:@@{SUFFIX}::g" \ + -e "s:@@{_SUFFIX}::g" \ + -e "s:@@{USUFFIX}::g" \ + share/mime/packages/opera-widget.xml \ + share/man/man1/* \ + share/applications/opera-browser.desktop \ + share/applications/opera-widget-manager.desktop \ + || die "sed failed" + + # Create /usr/bin/opera wrapper + echo '#!/bin/bash' > opera + echo 'export OPERA_DIR=/usr/share/opera' >> opera + echo 'exec '"${OPREFIX}"'/opera/opera "$@"' >> opera + + # Fix libdir in defaults/pluginpath.ini + sed -i \ + share/opera/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() { + # Remove unwanted linguas + LNGDIR="share/${PN}/locale" + einfo "Installing 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}" + fi + done + + # 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} ${PN}-widget-manager || die "dobin failed" + + # Stop revdep-rebuild from checking opera binaries + dodir /etc/revdep-rebuild + echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera +} + +pkg_postinst() { + elog "To change the UI language, choose [Tools] -> [Preferences], open the" + elog "[General] tab, click on [Details...] then [Choose...] and point the" + elog "file chooser at /usr/share/opera/locale/, then enter the" + elog "directory for the language you want and [Open] the .lng file." + + if use elibc_FreeBSD; then + elog + elog "To improve shared memory usage please set:" + elog "$ sysctl kern.ipc.shm_allow_removed=1" + fi +} diff --git a/www-client/opera/opera-11.00_pre1140.ebuild b/www-client/opera/opera-11.00_pre1140.ebuild new file mode 100644 index 000000000000..95e7238cfca9 --- /dev/null +++ b/www-client/opera/opera-11.00_pre1140.ebuild @@ -0,0 +1,206 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.00_pre1140.ebuild,v 1.1 2010/12/10 16:34:51 jer Exp $ + +EAPI="2" + +inherit eutils multilib + +DESCRIPTION="A standards-compliant graphical Web browser" +HOMEPAGE="http://www.opera.com/" + +SLOT="0" +LICENSE="OPERA-10.53 LGPL-2 LGPL-3" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" +IUSE="elibc_FreeBSD gtk kde +gstreamer" + +RESTRICT="test" + +O_PWD="lol" +O_V="${PV/_pre/-}" +O_P="${PN}-${O_V}" +O_HTTP="http://snapshot.opera.com/" +O_U="${O_HTTP}unix/${O_PWD}_${O_V}/" + +SRC_URI=" + amd64? ( ${O_U}${O_P}.x86_64.linux.tar.bz2 ) + x86? ( ${O_U}${O_P}.i386.linux.tar.bz2 ) + x86-fbsd? ( ${O_U}${O_P}.i386.freebsd.tar.bz2 ) +" + +OPREFIX="/usr/$(get_libdir)" + +QA_DT_HASH="${OPREFIX}/${PN}/.*" +QA_PRESTRIPPED="${OPREFIX}/${PN}/.*" + +O_LINGUAS=" + be bg cs da de el en-GB es-ES es-LA et fi fr fr-CA fy hi hr hu id it ja ka + ko lt mk nb nl nn pl pt pt-BR ro ru sk sr sv ta te tr uk vi zh-CN zh-HK + zh-TW +" + +for O_LINGUA in ${O_LINGUAS}; do + IUSE="${IUSE} linguas_${O_LINGUA/-/_}" +done + +DEPEND=">=sys-apps/sed-4" + +RDEPEND=" + gtk? ( + =x11-libs/gtk+-2* + dev-libs/atk + dev-libs/glib + x11-libs/cairo + x11-libs/pango + x11-libs/pixman + ) + kde? ( + kde-base/kdelibs + ) + dev-libs/expat + media-libs/fontconfig + media-libs/freetype + gstreamer? ( media-plugins/gst-plugins-meta ) + sys-apps/util-linux + sys-libs/zlib + virtual/opengl + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXt + x11-libs/libxcb + x11-libs/xcb-util +" + +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} + if [[ ! -d ${S} ]]; then + cd "${WORKDIR}"/${PN}* || die "failed to enter work directory" + S="$(pwd)" + einfo "Setting WORKDIR to ${S}" + fi +} + +src_prepare() { + # Remove doc directory but keep the LICENSE under another name (bug #315473) + mv share/doc/opera/LICENSE share/opera/defaults/license.txt + rm -rf share/doc + for license in share/opera/locale/*/license.txt; do + rm -v "${license}" + ln -svn /usr/share/opera/defaults/license.txt "${license}" \ + || die "mv license" + done + + # Remove package directory + rm -rf share/opera/package + + # Leave libopera*.so only if the user chooses + if ! use gtk; then + rm lib/opera/liboperagtk.so || die "rm liboperagtk.so failed" + fi + if ! use kde; then + rm lib/opera/liboperakde4.so || die "rm liboperakde4.so failed" + fi + + # Unzip the man pages before sedding + gunzip share/man/man1/* || die "gunzip failed" + + # Replace PREFIX and SUFFIX in various files + sed -i \ + -e "s:@@{PREFIX}:/usr:g" \ + -e "s:@@{SUFFIX}::g" \ + -e "s:@@{_SUFFIX}::g" \ + -e "s:@@{USUFFIX}::g" \ + share/mime/packages/opera-widget.xml \ + share/man/man1/* \ + share/applications/opera-browser.desktop \ + share/applications/opera-widget-manager.desktop \ + || die "sed failed" + + # Create /usr/bin/opera wrapper + echo '#!/bin/bash' > opera + echo 'export OPERA_DIR=/usr/share/opera' >> opera + echo 'exec '"${OPREFIX}"'/opera/opera "$@"' >> opera + + # Fix libdir in defaults/pluginpath.ini + sed -i \ + share/opera/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() { + # Remove unwanted linguas + LNGDIR="share/${PN}/locale" + einfo "Installing 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}" + fi + done + + # 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} ${PN}-widget-manager || die "dobin failed" + + # Stop revdep-rebuild from checking opera binaries + dodir /etc/revdep-rebuild + echo "SEARCH_DIRS_MASK=\"${OPREFIX}/${PN}\"" > "${D}"/etc/revdep-rebuild/90opera +} + +pkg_postinst() { + elog "To change the UI language, choose [Tools] -> [Preferences], open the" + elog "[General] tab, click on [Details...] then [Choose...] and point the" + elog "file chooser at /usr/share/opera/locale/, then enter the" + elog "directory for the language you want and [Open] the .lng file." + + if use elibc_FreeBSD; then + elog + elog "To improve shared memory usage please set:" + elog "$ sysctl kern.ipc.shm_allow_removed=1" + fi +} |