diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-09-19 09:10:13 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-09-19 09:10:13 +0000 |
commit | 9d9db872eaf50991b06112a5789a978a8a3ef173 (patch) | |
tree | 446bddfd9c58fbb05bbb1a89eb3acfa6a4d1b6c9 /www-client | |
parent | Cleanup for security bug #192818 (diff) | |
download | gentoo-2-9d9db872eaf50991b06112a5789a978a8a3ef173.tar.gz gentoo-2-9d9db872eaf50991b06112a5789a978a8a3ef173.tar.bz2 gentoo-2-9d9db872eaf50991b06112a5789a978a8a3ef173.zip |
Version bump
(Portage version: 2.1.3.9)
Diffstat (limited to 'www-client')
3 files changed, 283 insertions, 1 deletions
diff --git a/www-client/mozilla-firefox-bin/ChangeLog b/www-client/mozilla-firefox-bin/ChangeLog index 09930e4cfdb5..2104070cfa99 100644 --- a/www-client/mozilla-firefox-bin/ChangeLog +++ b/www-client/mozilla-firefox-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for www-client/mozilla-firefox-bin # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/ChangeLog,v 1.101 2007/08/05 18:19:15 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/ChangeLog,v 1.102 2007/09/19 09:10:13 armin76 Exp $ + +*mozilla-firefox-bin-2.0.0.7 (19 Sep 2007) + + 19 Sep 2007; Raúl Porcel <armin76@gentoo.org> + +mozilla-firefox-bin-2.0.0.7.ebuild: + Version bump 05 Aug 2007; Raúl Porcel <armin76@gentoo.org> -mozilla-firefox-bin-2.0.0.5.ebuild: diff --git a/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-2.0.0.7 b/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-2.0.0.7 new file mode 100644 index 000000000000..1ad5e1f977fe --- /dev/null +++ b/www-client/mozilla-firefox-bin/files/digest-mozilla-firefox-bin-2.0.0.7 @@ -0,0 +1,132 @@ +MD5 064cf81cc245c18de545f139e3e795fc firefox-2.0.0.7.tar.gz 9671863 +RMD160 b098d2d40e8c899ece96230f0f5b88615c14728b firefox-2.0.0.7.tar.gz 9671863 +SHA256 3e79016028d72d569088d2b22f4ebf26f95b2579920bd632922ce02bf167edc5 firefox-2.0.0.7.tar.gz 9671863 +MD5 97ad350c5f5cd4dbcec10a28bd436713 mozilla-firefox-2.0.0.7-af.xpi 148044 +RMD160 42f37aaeb3dc0da1c0fb12003665824649044bc4 mozilla-firefox-2.0.0.7-af.xpi 148044 +SHA256 a6c82681518e9e205a8e819d75d906aa2b903cf5618b1ca75bbe60a06260b9a9 mozilla-firefox-2.0.0.7-af.xpi 148044 +MD5 f5851b7a42733c9afa0dc59e51fe2e90 mozilla-firefox-2.0.0.7-ar.xpi 159726 +RMD160 ac82615178ab86e73afdd6654000505b68ddc105 mozilla-firefox-2.0.0.7-ar.xpi 159726 +SHA256 1e0b77448c03094d697bebcfdca86c91c5dbc8d8701a79a416c47e3527708799 mozilla-firefox-2.0.0.7-ar.xpi 159726 +MD5 00493596daa747c5dc6f38589a23b863 mozilla-firefox-2.0.0.7-be.xpi 161163 +RMD160 ea5510f31362883d6dd536409f6d80935d25fd01 mozilla-firefox-2.0.0.7-be.xpi 161163 +SHA256 c79dad0c69b7b9e004079e34f5998b56efbe144c54efcf8606f9427f4872a068 mozilla-firefox-2.0.0.7-be.xpi 161163 +MD5 43ef88870c7992f190e660c63f1ce79f mozilla-firefox-2.0.0.7-bg.xpi 169651 +RMD160 5e8f80652f4fdb54eaefcceaf560f3ff7b6638c7 mozilla-firefox-2.0.0.7-bg.xpi 169651 +SHA256 d8c5c25f8cddb87ffe9d291422785ae5343d92b700c33d8f0fb2a887efea6832 mozilla-firefox-2.0.0.7-bg.xpi 169651 +MD5 0e4c8e74b0ce3b72a3daf8f3154ebe2f mozilla-firefox-2.0.0.7-ca.xpi 170691 +RMD160 a58e173b8e37541c7b3507cddab1ef21dc0dabb7 mozilla-firefox-2.0.0.7-ca.xpi 170691 +SHA256 e4cbc309e498965af2e90880909106099cf5a8794de24c60fa7e2fb2991972e3 mozilla-firefox-2.0.0.7-ca.xpi 170691 +MD5 584a8dc2a0830b72a2aa8c836abc446d mozilla-firefox-2.0.0.7-cs.xpi 167974 +RMD160 b992d9bb5b1b6a6ff79c038fc45465728053c80a mozilla-firefox-2.0.0.7-cs.xpi 167974 +SHA256 1f4e9ac65cd437dd42c51d12c2627ee8f83b169680170894ae9dc1ce336ba5ff mozilla-firefox-2.0.0.7-cs.xpi 167974 +MD5 e169066a1349d8a6f0a32fc1a89c2b3c mozilla-firefox-2.0.0.7-da.xpi 152108 +RMD160 57cb75ebdf2f1ca978b05adc7a2086849060ef59 mozilla-firefox-2.0.0.7-da.xpi 152108 +SHA256 cf21503888de2aefc81a935b40f3242583a7662f606b411fdf2aed70b6d92076 mozilla-firefox-2.0.0.7-da.xpi 152108 +MD5 f03ec3dd44963b6e64900cab6be50b19 mozilla-firefox-2.0.0.7-de.xpi 152531 +RMD160 08111f9924a09b62b14f8418f4e07c74e2bd5759 mozilla-firefox-2.0.0.7-de.xpi 152531 +SHA256 63909560aa25400d87d3254b46923cf708723798353281df8dbac4353f1b21e1 mozilla-firefox-2.0.0.7-de.xpi 152531 +MD5 7c54912c82bb7a8b336440128091724b mozilla-firefox-2.0.0.7-el.xpi 169725 +RMD160 baa955b67f52c22fb6d9476153ee1df1528b31a8 mozilla-firefox-2.0.0.7-el.xpi 169725 +SHA256 90dbdc96509085e75837db1079a88126817d9ff9511aae1d1bd3ffe312f0beb2 mozilla-firefox-2.0.0.7-el.xpi 169725 +MD5 75df2be6db66669fe0bcbeedc904062f mozilla-firefox-2.0.0.7-en-GB.xpi 156165 +RMD160 81574f1611bbd61f198f832d58b37d6c5b8f04ce mozilla-firefox-2.0.0.7-en-GB.xpi 156165 +SHA256 1e909769f888364a79f244e7589d06982839e103a921fff53c9df4baf13332b3 mozilla-firefox-2.0.0.7-en-GB.xpi 156165 +MD5 66f418ce2eee5fe4a7991fb197256d90 mozilla-firefox-2.0.0.7-es-AR.xpi 156153 +RMD160 915e68c270c26d42ac6249d73e4c0e82020346d6 mozilla-firefox-2.0.0.7-es-AR.xpi 156153 +SHA256 b3c0b95cb1fc6e933b9ed7b96817df2a6a2d65065520cf5f5437c61f819a522d mozilla-firefox-2.0.0.7-es-AR.xpi 156153 +MD5 e42d75b9c2c68fb6942f351393696b3f mozilla-firefox-2.0.0.7-es-ES.xpi 143591 +RMD160 129d630e918a4ca035fa733b09151daafa87d9e0 mozilla-firefox-2.0.0.7-es-ES.xpi 143591 +SHA256 4f2bc86c74e2c40084b5c7266af58bdafc5d0f06928d956faf6e31637417c808 mozilla-firefox-2.0.0.7-es-ES.xpi 143591 +MD5 cf1c07ecd005935daadd9cacaa6cb1c7 mozilla-firefox-2.0.0.7-eu.xpi 153657 +RMD160 5e5f15284e0380bf734419c33f7a49c5fd8605a6 mozilla-firefox-2.0.0.7-eu.xpi 153657 +SHA256 c813eb664b211fe99895b1ffabfac40cce70e8cabab05bf532df9ea0e803c0af mozilla-firefox-2.0.0.7-eu.xpi 153657 +MD5 006b3288adaa047fc8c2be32a1487bb1 mozilla-firefox-2.0.0.7-fi.xpi 155415 +RMD160 ffe972f85d8b00155970a195ff00b1e304fa4842 mozilla-firefox-2.0.0.7-fi.xpi 155415 +SHA256 6c63b4cf7bf5e820665ffa4aad29f5b75a96d4e16becef1146875c01043ca99b mozilla-firefox-2.0.0.7-fi.xpi 155415 +MD5 c33ea3092a87a2fc0df4f66bb1651315 mozilla-firefox-2.0.0.7-fr.xpi 173827 +RMD160 a191d9db3454d3681dda7cdc6488b1f619db3818 mozilla-firefox-2.0.0.7-fr.xpi 173827 +SHA256 a06c0108177d7d4ab6fbe2221c1ba1f4201f90b8d8a2081d9fbfe2cd7cf5877a mozilla-firefox-2.0.0.7-fr.xpi 173827 +MD5 ae80b53b04f965cebddfa494af9baa12 mozilla-firefox-2.0.0.7-fy-NL.xpi 167165 +RMD160 39aef4b700f763d8205cee80fbc659699a179770 mozilla-firefox-2.0.0.7-fy-NL.xpi 167165 +SHA256 16c11ce28e8b89d490df79cdfb3329f22fc748481c06fe89e02961105ee002e2 mozilla-firefox-2.0.0.7-fy-NL.xpi 167165 +MD5 ba9670bee7e67eb98b97409c4096b4db mozilla-firefox-2.0.0.7-ga-IE.xpi 151754 +RMD160 bb648d6db0c8a6d1019b893d245cd3b340fc1b93 mozilla-firefox-2.0.0.7-ga-IE.xpi 151754 +SHA256 1aed205da557dc717dfec20a5ac9605c9f11efed727649c5af44eb107daeea89 mozilla-firefox-2.0.0.7-ga-IE.xpi 151754 +MD5 f198ff31a603fd88194dbaad561a8c6d mozilla-firefox-2.0.0.7-gu-IN.xpi 172672 +RMD160 c9b002444374b38eaf99359fdf5495f00c1a0c30 mozilla-firefox-2.0.0.7-gu-IN.xpi 172672 +SHA256 a2921d36d5a3ddd5f42a8207e77f884f1f551d8d51c624057837230def59ada6 mozilla-firefox-2.0.0.7-gu-IN.xpi 172672 +MD5 f2cfba3d76a3935f2007f67b7f2f828b mozilla-firefox-2.0.0.7-he.xpi 150303 +RMD160 71c6c84118eca309f52a11190d5c51a529ea4b83 mozilla-firefox-2.0.0.7-he.xpi 150303 +SHA256 284c9abf6921f8f23f4a26366ff9ecf332c2a8e230a9ff67b994bfd1914e9b21 mozilla-firefox-2.0.0.7-he.xpi 150303 +MD5 9703cc8456744071ce7dcd540006f35c mozilla-firefox-2.0.0.7-hu.xpi 163754 +RMD160 e13a036245b8ea179c2bd0408e9161e5c2a44704 mozilla-firefox-2.0.0.7-hu.xpi 163754 +SHA256 f470aeb330b713d5cf2f5a4a9e2952acda2d9d10aa1775afd31e6f940c52e904 mozilla-firefox-2.0.0.7-hu.xpi 163754 +MD5 8b92653a52a998d2f31a77fcc73761d7 mozilla-firefox-2.0.0.7-it.xpi 144821 +RMD160 c529c0693725c1c0f30828cfc08af7dddb6cfafb mozilla-firefox-2.0.0.7-it.xpi 144821 +SHA256 bbaaded1e643eda45dbd5b5e3f762ed1c9c99c3682e7f0cd6a78650ce36f77c8 mozilla-firefox-2.0.0.7-it.xpi 144821 +MD5 02412c495f706e0b7065a2ef1fa725c7 mozilla-firefox-2.0.0.7-ja.xpi 163308 +RMD160 fdceed39dee5380add9a4b80e7bf020d39f38b22 mozilla-firefox-2.0.0.7-ja.xpi 163308 +SHA256 5055ab68a2ed7e2414df1c59a661b9e78bae80477fb7b6984eb3bdb7aaa7e4cd mozilla-firefox-2.0.0.7-ja.xpi 163308 +MD5 fecbc16efe15b0afd29003624c8ed351 mozilla-firefox-2.0.0.7-ka.xpi 177906 +RMD160 57a736af619f8b53451cba3ef9934dfb7f2778dc mozilla-firefox-2.0.0.7-ka.xpi 177906 +SHA256 2f8ed517e622bd7ad2f749c6bb05aaf7ab37bb0dbbfcc59d8deeab24e07cf343 mozilla-firefox-2.0.0.7-ka.xpi 177906 +MD5 f05efbf28df369ce07d660ce1e3b02e7 mozilla-firefox-2.0.0.7-ko.xpi 148116 +RMD160 959a12fd9e20d5243c18ebbf5414e4ae487381b4 mozilla-firefox-2.0.0.7-ko.xpi 148116 +SHA256 56b7beef80d3c943437b4bdb1c9f468d24ce32708cba04306f4f7571ae1a8aa8 mozilla-firefox-2.0.0.7-ko.xpi 148116 +MD5 7df6c65efd6406f18a95a892a5f48726 mozilla-firefox-2.0.0.7-ku.xpi 153156 +RMD160 b0be0e92335f869603f64a63f5804dbbdddc4469 mozilla-firefox-2.0.0.7-ku.xpi 153156 +SHA256 538cf3430f39f36592cad4d1467e65cb103e15051a3ac216d6ff873aff09a54f mozilla-firefox-2.0.0.7-ku.xpi 153156 +MD5 6d3ec18e65bd4bfffea9341232d33e12 mozilla-firefox-2.0.0.7-lt.xpi 164583 +RMD160 0e820b4c6c8223509224e8fb848e367e301f30d3 mozilla-firefox-2.0.0.7-lt.xpi 164583 +SHA256 b357cc967b69148b6c7dc84bdd1fa6293f9c6fd3ac158de191dbec695e556dae mozilla-firefox-2.0.0.7-lt.xpi 164583 +MD5 6345592780fc3315a2e67860ecce2c21 mozilla-firefox-2.0.0.7-mk.xpi 159966 +RMD160 9ff1945e1d888a7d2c0635b2f58f47b899406d0c mozilla-firefox-2.0.0.7-mk.xpi 159966 +SHA256 523204cd3c2666f9b560c66da02747253d5dee9b1be86c7ca537778a1714d3eb mozilla-firefox-2.0.0.7-mk.xpi 159966 +MD5 00fc31f26a9ddb031e3495b4bf8efb3a mozilla-firefox-2.0.0.7-mn.xpi 160148 +RMD160 eb78a60f964c0b5b491c5163c472d624b2fd7adb mozilla-firefox-2.0.0.7-mn.xpi 160148 +SHA256 ecd0763d5babf3a7b40a686a4dfe3f57b67b722a9543759023dae79a15ac92b5 mozilla-firefox-2.0.0.7-mn.xpi 160148 +MD5 d7d65ea2e7adce0845bd4502d094e0c7 mozilla-firefox-2.0.0.7-nb-NO.xpi 163721 +RMD160 e30699bf7915ff93c0429fd135736beeb0a2b5d7 mozilla-firefox-2.0.0.7-nb-NO.xpi 163721 +SHA256 9ed6b3ccbd507553c476c85ac75f573054d3b1d3c7ee35710d5abc417b56b86f mozilla-firefox-2.0.0.7-nb-NO.xpi 163721 +MD5 b8efd916b93c1f1ffd9d38b627f02edf mozilla-firefox-2.0.0.7-nl.xpi 170026 +RMD160 f6b60b06d7f1d7524c4fa067b7cd3b7578bc825f mozilla-firefox-2.0.0.7-nl.xpi 170026 +SHA256 e4047f935bb6026a8a79446bb85f65589839e06a6d5c306b2d74be54077a893e mozilla-firefox-2.0.0.7-nl.xpi 170026 +MD5 a446a54e333014be9a439764cba9e312 mozilla-firefox-2.0.0.7-nn-NO.xpi 160689 +RMD160 d7b5fa907e88aecd8b1a15ae91c7ddbf6551fb5e mozilla-firefox-2.0.0.7-nn-NO.xpi 160689 +SHA256 eff2b6fd4570aa8113f37afcce7a0a40f82883af1cd259be5acc1d72542a3615 mozilla-firefox-2.0.0.7-nn-NO.xpi 160689 +MD5 176ae5678740623015ebb56eb6ab6725 mozilla-firefox-2.0.0.7-pa-IN.xpi 161691 +RMD160 9cf61f8ad35fedfe6d3a3595d3dcaf42097b476f mozilla-firefox-2.0.0.7-pa-IN.xpi 161691 +SHA256 59fcf130f8f83790bdf75602f7bdd02c5a01ae207e6e5883126a472628cb6ee0 mozilla-firefox-2.0.0.7-pa-IN.xpi 161691 +MD5 22515fc8c96234b27eee285e70f8987c mozilla-firefox-2.0.0.7-pl.xpi 170976 +RMD160 0660c5eac7b2bd41fa7f80f7ea603f0c62469ea9 mozilla-firefox-2.0.0.7-pl.xpi 170976 +SHA256 e0a3cebb4ccbc879f67b3e1f7e4c448216a77295ae17f9cb593209ca7cc919f4 mozilla-firefox-2.0.0.7-pl.xpi 170976 +MD5 516017cd438a5f081027a32a42845422 mozilla-firefox-2.0.0.7-pt-BR.xpi 153289 +RMD160 09adaee3748f10aa69a52a5fadd256d46021c906 mozilla-firefox-2.0.0.7-pt-BR.xpi 153289 +SHA256 7f489c346e866203a8e9d9f611d8017c70df92e209500b3c17a81665dbd786b3 mozilla-firefox-2.0.0.7-pt-BR.xpi 153289 +MD5 a1c63354c48e56d9568bc30731e16e7b mozilla-firefox-2.0.0.7-pt-PT.xpi 153534 +RMD160 e927b4e43b5bec11900c0140e6d6a19c7a847723 mozilla-firefox-2.0.0.7-pt-PT.xpi 153534 +SHA256 b2dde59d4c334adba574058dcdc471e1beb21f9ca6fc3a39b34b420d65890e64 mozilla-firefox-2.0.0.7-pt-PT.xpi 153534 +MD5 3d32cbfa64889582a42f5278d74bbd9e mozilla-firefox-2.0.0.7-ro.xpi 159204 +RMD160 f691b22fb64f2f8522c1f1e0d3db8d81a69863aa mozilla-firefox-2.0.0.7-ro.xpi 159204 +SHA256 80144e9987b1207bedf4814728ebebd2c64ead2f6152e3ee26c28761ab93eaaf mozilla-firefox-2.0.0.7-ro.xpi 159204 +MD5 2ced833ba6ebace7cff8bcbdfcff1504 mozilla-firefox-2.0.0.7-ru.xpi 167716 +RMD160 47d9780e8f8d388fbf44f395252df37106daea08 mozilla-firefox-2.0.0.7-ru.xpi 167716 +SHA256 4a4474e67bc31a693767a2dd8a47a112b6f29328828eb8999e937cdf1a07c979 mozilla-firefox-2.0.0.7-ru.xpi 167716 +MD5 7872ca7a84511b82e19c24f99963bd18 mozilla-firefox-2.0.0.7-sk.xpi 164901 +RMD160 9a100861eb0925cfeb8e67ce6d1bce069246f2fc mozilla-firefox-2.0.0.7-sk.xpi 164901 +SHA256 3db91d8ed891e2cab78511d051acc873cf7af682906f81b2d425284290b1dd7d mozilla-firefox-2.0.0.7-sk.xpi 164901 +MD5 143499669e25e82a1e2ef944e6eb8f5b mozilla-firefox-2.0.0.7-sl.xpi 154978 +RMD160 70bd605bbf51eace9469bd7688184da012201463 mozilla-firefox-2.0.0.7-sl.xpi 154978 +SHA256 275bf86bec85abf9338f30e0d778064208d892fd3d5c649c661817d01b86de64 mozilla-firefox-2.0.0.7-sl.xpi 154978 +MD5 3eddffe462177f56fc4bf4bd30cd8347 mozilla-firefox-2.0.0.7-sv-SE.xpi 165898 +RMD160 0e7d760f78ce664d70243da7bea2b2ef5438b2d5 mozilla-firefox-2.0.0.7-sv-SE.xpi 165898 +SHA256 2a3cf03dad3255cc26cfa004c26774bf6ecf0e09ca29e8067305da6d44ed36f1 mozilla-firefox-2.0.0.7-sv-SE.xpi 165898 +MD5 419c737a5fd64c984768adf0b4b62d79 mozilla-firefox-2.0.0.7-tr.xpi 148656 +RMD160 5efa12c19622c79370208aa68da4c56a68185d0e mozilla-firefox-2.0.0.7-tr.xpi 148656 +SHA256 8ad6fa89ea93f1c1738c147f2f3f6c03c020f0caced51ee55fe9eeac8b047271 mozilla-firefox-2.0.0.7-tr.xpi 148656 +MD5 d96ed17860bb51f23ad780107183cdff mozilla-firefox-2.0.0.7-zh-CN.xpi 139265 +RMD160 d5e237094491c7d7165f38715f1f8ff800b37555 mozilla-firefox-2.0.0.7-zh-CN.xpi 139265 +SHA256 e47a49834fa29100dcffa4f9fe2cd6cb235a08558a9084b8df01bcb566d313d4 mozilla-firefox-2.0.0.7-zh-CN.xpi 139265 +MD5 d95797eb74d856834c83ddc67aa37557 mozilla-firefox-2.0.0.7-zh-TW.xpi 141995 +RMD160 742cc532e78c3728e5fd53dbfe1e6fc5e24f680e mozilla-firefox-2.0.0.7-zh-TW.xpi 141995 +SHA256 f216af85b9d9e987cc879b75a26cc2815852418165e6cb600e66d0428fa85712 mozilla-firefox-2.0.0.7-zh-TW.xpi 141995 diff --git a/www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.7.ebuild b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.7.ebuild new file mode 100644 index 000000000000..87f4a0a01649 --- /dev/null +++ b/www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.7.ebuild @@ -0,0 +1,144 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox-bin/mozilla-firefox-bin-2.0.0.7.ebuild,v 1.1 2007/09/19 09:10:13 armin76 Exp $ + +inherit eutils mozilla-launcher multilib mozextension + +LANGS="af ar be bg ca cs da de el en-GB es-AR es-ES eu fi fr fy-NL ga-IE gu-IN he hu it ja ka ko ku lt mk mn nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ro ru sk sl sv-SE tr zh-CN zh-TW" +NOSHORTLANGS="en-GB es-AR pt-BR zh-TW" + +DESCRIPTION="Firefox Web Browser" +SRC_URI="http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/linux-i686/en-US/firefox-${PV}.tar.gz" +HOMEPAGE="http://www.mozilla.com/firefox" +RESTRICT="strip" + +KEYWORDS="-* ~amd64 ~x86" +SLOT="0" +LICENSE="MPL-1.1 GPL-2 LGPL-2.1" +IUSE="restrict-javascript" + +for X in ${LANGS} ; do + SRC_URI="${SRC_URI} + linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )" + IUSE="${IUSE} linguas_${X/-/_}" + # english is handled internally + if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then + SRC_URI="${SRC_URI} + linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )" + IUSE="${IUSE} linguas_${X%%-*}" + fi +done + +DEPEND="app-arch/unzip" +RDEPEND="x11-libs/libXrender + x11-libs/libXt + x11-libs/libXmu + x86? ( + >=x11-libs/gtk+-2.2 + =virtual/libstdc++-3.3 + ) + amd64? ( + >=app-emulation/emul-linux-x86-baselibs-1.0 + >=app-emulation/emul-linux-x86-gtklibs-1.0 + app-emulation/emul-linux-x86-compat + ) + >=www-client/mozilla-launcher-1.41" + +PDEPEND="restrict-javascript? ( x11-plugins/noscript )" + +S="${WORKDIR}/firefox" + +pkg_setup() { + # This is a binary x86 package => ABI=x86 + # Please keep this in future versions + # Danny van Dyk <kugelfang@gentoo.org> 2005/03/26 + has_multilib_profile && ABI="x86" +} + +linguas() { + local LANG SLANG + for LANG in ${LINGUAS}; do + if has ${LANG} en en_US; then + has en ${linguas} || linguas="${linguas:+"${linguas} "}en" + continue + elif has ${LANG} ${LANGS//-/_}; then + has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}" + continue + elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then + for X in ${LANGS}; do + if [[ "${X}" == "${LANG}-"* ]] && \ + [[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then + has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}" + continue 2 + fi + done + fi + ewarn "Sorry, but mozilla-firefox does not support the ${LANG} LINGUA" + done +} + +src_unpack() { + unpack firefox-${PV}.tar.gz + + linguas + for X in ${linguas}; do + [[ ${X} != "en" ]] && xpi_unpack "${P/-bin/}-${X}.xpi" + done + if [[ ${linguas} != "" ]]; then + einfo "Selected language packs (first will be default): ${linguas}" + fi +} + +src_install() { + declare MOZILLA_FIVE_HOME=/opt/firefox + + # Install firefox in /opt + dodir ${MOZILLA_FIVE_HOME%/*} + touch ${S}/extensions/talkback@mozilla.org/chrome.manifest + mv ${S} ${D}${MOZILLA_FIVE_HOME} + + linguas + for X in ${linguas}; do + [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P/-bin/}-${X}" + done + + local LANG=${linguas%% *} + if [[ -n ${LANG} && ${LANG} != "en" ]]; then + elog "Setting default locale to ${LANG}" + dosed -e "s:general.useragent.locale\", \"en-US\":general.useragent.locale\", \"${LANG}\":" \ + "${MOZILLA_FIVE_HOME}"/defaults/pref/firefox.js \ + "${MOZILLA_FIVE_HOME}"/defaults/pref/firefox-l10n.js || \ + die "sed failed to change locale" + fi + + # Create /usr/bin/firefox-bin + install_mozilla_launcher_stub firefox-bin ${MOZILLA_FIVE_HOME} + + # Install icon and .desktop for menu entry + doicon ${FILESDIR}/icon/${PN}-icon.png + domenu ${FILESDIR}/icon/${PN}.desktop + + # revdep-rebuild entry + insinto /etc/revdep-rebuild + doins ${FILESDIR}/10firefox-bin + + # install ldpath env.d + doenvd ${FILESDIR}/71firefox-bin +} + +pkg_preinst() { + declare MOZILLA_FIVE_HOME=/opt/firefox + + # Remove entire installed instance to prevent all kinds of + # problems... see bug 44772 for example + rm -rf ${ROOT}${MOZILLA_FIVE_HOME} +} + +pkg_postinst() { + use amd64 && einfo "NB: You just installed a 32-bit firefox" + update_mozilla_launcher_symlinks +} + +pkg_postrm() { + update_mozilla_launcher_symlinks +} |