summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2010-09-08 00:09:50 +0000
committerJory Pratt <anarchy@gentoo.org>2010-09-08 00:09:50 +0000
commit2df3d02a7daaf5f1c30f7c65d5cd3bb54d84027f (patch)
tree564e7a16cce88f616d34204b6c3e5bf00720449f /mail-client/thunderbird
parentNew version (diff)
downloadhistorical-2df3d02a7daaf5f1c30f7c65d5cd3bb54d84027f.tar.gz
historical-2df3d02a7daaf5f1c30f7c65d5cd3bb54d84027f.tar.bz2
historical-2df3d02a7daaf5f1c30f7c65d5cd3bb54d84027f.zip
Fix bug 335477, security bump bug 336396
Package-Manager: portage-2.1.9.1/cvs/Linux x86_64
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/ChangeLog7
-rw-r--r--mail-client/thunderbird/Manifest50
-rw-r--r--mail-client/thunderbird/thunderbird-3.1.3.ebuild250
3 files changed, 305 insertions, 2 deletions
diff --git a/mail-client/thunderbird/ChangeLog b/mail-client/thunderbird/ChangeLog
index f51d90d524af..06bb46b9b3a1 100644
--- a/mail-client/thunderbird/ChangeLog
+++ b/mail-client/thunderbird/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-client/thunderbird
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird/ChangeLog,v 1.31 2010/09/05 16:49:45 anarchy Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird/ChangeLog,v 1.32 2010/09/08 00:09:50 anarchy Exp $
+
+*thunderbird-3.1.3 (08 Sep 2010)
+
+ 08 Sep 2010; Jory A. Pratt <anarchy@gentoo.org> +thunderbird-3.1.3.ebuild:
+ Fix bug 335477, security bump bug 336396
05 Sep 2010; Jory A. Pratt <anarchy@gentoo.org>
thunderbird-3.1.2-r1.ebuild:
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index aa0fc81b9b99..4b0bd4354a88 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -63,6 +63,7 @@ DIST thunderbird-3.0.5-zh-TW.xpi 208644 RMD160 14a2b34715bab0c5063c63ed1e71980f2
DIST thunderbird-3.0.5.source.tar.bz2 60574905 RMD160 a5ebfbf5444fe694cbd9bc7a7131460e404c5d40 SHA1 c51b6c6a9357578beb7440e4d3cf4594a61fd6a7 SHA256 1549d02f38a27c45f3b153ebf536f05bcfaacb1eb7eda170e721d7ef61c6eea2
DIST thunderbird-3.1-patches-0.7.tar.bz2 4050 RMD160 568d8f76d8cc9851d7230e25c4e92497513ebe77 SHA1 32dc5c87441cd3871d7eefe4e90e2037d42c4977 SHA256 e9ec7da5326418c923e8772229ca377cd8070bdcf3cd2123a1b2a9a6b362de07
DIST thunderbird-3.1-patches-1.0.tar.bz2 5147 RMD160 a49ee3e5f4ccb7e3596c448fd2738e5d79ca61cf SHA1 976b903b73b4df0d0e1a1afae3381f4d4c2fc9c0 SHA256 a0f923a30bf5dd4bcefce82b9f6165bda9ee75ef619d83e08650bbb432ae7bc9
+DIST thunderbird-3.1-patches-1.1.tar.bz2 3702 RMD160 24538a1db5256e33692181266704100071c66d74 SHA1 4a70aa3c8c21736c0d9588eca7c0bf50b5d5adfb SHA256 1b9358ba174180d64106d3656fa0623847fdb2197039de23a7f9cf63d9c764de
DIST thunderbird-3.1.1-af.xpi 210555 RMD160 75395ed45cd708fe0c93823d9bfdf71f19245bb0 SHA1 cd7f7ffab222d9bbf441128e1c03cad72b37256b SHA256 3414845a2f45fce647795d0f21f4d57f821863773d28987cf787786c70e1037d
DIST thunderbird-3.1.1-ar.xpi 230364 RMD160 a52dd11016766ad6df075997ddf7e3d421e96088 SHA1 457f858c48fa20b9913f4e9e445d6006950b7584 SHA256 22df2b9f05ba332f3b615c5ed5242d350dc91094db10ef557b3ab6b0dac8216f
DIST thunderbird-3.1.1-be.xpi 194405 RMD160 e4730190493ff926ce7744f2e536888e53054b2a SHA1 f61ba46adcf2438c3b9fd1e24ee48e3685a7eabd SHA256 8d89017a94f71071317b1789a37cf78dfd8543efc198a1e26f458996603b559d
@@ -155,9 +156,56 @@ DIST thunderbird-3.1.2-uk.xpi 244833 RMD160 b25722467ec748bad326c63c6fbc9077838f
DIST thunderbird-3.1.2-zh-CN.xpi 219648 RMD160 8d56ed876985e6904199b3eab96f30c5fca0bda2 SHA1 4c6e2f0a2396f6e2001da47057a28cfb296a7013 SHA256 2ac50a0e44a0e1d8061affc244ef245b778d2ee2f8930180930f35341f9dc8d0
DIST thunderbird-3.1.2-zh-TW.xpi 220488 RMD160 d5a23261c6cd57ec3e122ddb855bcec86814809b SHA1 e8b7d1c1ea0cfa56e83fdef90857d9b5cc13cacd SHA256 dd1e631f0475f44b20f0d4834fb2d62ff7320b316d8025cf3569798a03d1caff
DIST thunderbird-3.1.2.source.tar.bz2 65815909 RMD160 a32ddb73277821ceb5696c8798e99a2c1ed1fcc0 SHA1 645cb75a0e0b0ea38e25d54f970052bc02e7afe5 SHA256 ba82083e035427460041301a460b3c09a29f2b3f90343707bc2e5b64fc91490a
+DIST thunderbird-3.1.3-af.xpi 210549 RMD160 f88d77ef2f4a944854bfdac4fcf9c7486099bf69 SHA1 e5fb93f7dcd108422ab4cff6302e65c0819a5359 SHA256 f4538720be7a09fcce91078d1fe28fdb6b96ef38d94c8a3f32b7c9923af9ed69
+DIST thunderbird-3.1.3-ar.xpi 230361 RMD160 04457f700a1af63b6bfae7f1d0c4c9174fd69acb SHA1 362562c6c57e325f6f702eeb3ec0c55ed8a2d868 SHA256 eb484184656a36c832f29ec667a222a5253aa5e7a683be5389adabebbf05ee3d
+DIST thunderbird-3.1.3-be.xpi 194408 RMD160 5576adfa14a0cc77c2c2bffecfcf4920c26dfc88 SHA1 98cad3385c951a50b29f58aa14ffc7e09133ab5f SHA256 7ff412d829c7a310ff8dccfa71424ce0bcacbf76cad7db3795b6cff81232ada3
+DIST thunderbird-3.1.3-bg.xpi 235114 RMD160 01c7bd751782b0aafc87e476e73144142bec3b3f SHA1 3a92a09e39a8862e64a9ab4f2cd91ee05f739462 SHA256 faffeef8fd546874bcae872a76ea0698c04ecd449163f65fb33ecbb1dc148683
+DIST thunderbird-3.1.3-bn-BD.xpi 244841 RMD160 c22532394a778edb6dee3068a073609671934d35 SHA1 69cc6740847f0350c80947d5d318beaf3c94cf05 SHA256 2be0c4e876262aeb82886e69eda6641605161b3732372b5bd077c96302878d35
+DIST thunderbird-3.1.3-ca.xpi 219294 RMD160 f4af194ceac616c3401269f1709b0d80c4a17d8c SHA1 e032757e10ab3b6741ad73cfe5d6bac49d655785 SHA256 f87c8ce7cceda8af2372cdc244b375f9dc34bf6d68ae165dc1266a2151446ef0
+DIST thunderbird-3.1.3-cs.xpi 218185 RMD160 268c0d6aecc782a3facecf5414a33f4d6ed95bf3 SHA1 aa710c3b71cbdb6b7af2550a90dc98d187510704 SHA256 1b94ef049cf781e31b523c26e5f298eb135139e45212a081fc5a97367f0f2509
+DIST thunderbird-3.1.3-da.xpi 203176 RMD160 46bfd2c765866b0a154a4e36df001de198a32f7a SHA1 b65ea4bac6f0eeb1821dbdcd7341e792e35e6e7f SHA256 476b271f3c3dfba2e0a7cd43f312026e2ba6c41d084735b176f12cbf21b399c9
+DIST thunderbird-3.1.3-de.xpi 222778 RMD160 7c70d1de058c64d6f1b2991107c4afec0a08cfbe SHA1 8da0688f596740610df7b44607320b8b3dfb9a91 SHA256 dcb3f339734acf76d1ad94edddcbcc7bd4e6e02b2323f694f86437e68d03235d
+DIST thunderbird-3.1.3-el.xpi 210066 RMD160 45baecfd3bf4a384f530ea6c7d15c3b6f1fbd42d SHA1 7ffc1bc45150dbc03e1b52ddb8d62daf6859acc9 SHA256 d070a1d8a0242298460ba9f325db1228f9ef49ca4da6e45c67ac47ab6e8f87ec
+DIST thunderbird-3.1.3-en-GB.xpi 203618 RMD160 b9ce5fdac1ef10b95144a60b87c2ad6abc5afd0f SHA1 1a621132dc0e38d336ef7ed65661bd2a2ea9a1bf SHA256 f771a497c98b738f19e1a1ed19350cccfe4772cef46181a60f007d41e15166d2
+DIST thunderbird-3.1.3-es-AR.xpi 218582 RMD160 a6d86c0f13212da6b69b0338e64249e8a56809c6 SHA1 5bb144eedad56ab6365a5ba839c779e52aa5f477 SHA256 55d71031c913aad5ab4b507b15b22e7501ca502b48c95d1f8a24b881c1527665
+DIST thunderbird-3.1.3-es-ES.xpi 172926 RMD160 638166b1d80c66cb451ee70166358236c87743e1 SHA1 1e760fdbbceb9392e3592c49822049fdedcc72ff SHA256 c57e18594dd9d486fa47a6d5c62ea07f0138e103273c3124e3f1f0b8a27146d7
+DIST thunderbird-3.1.3-et.xpi 221755 RMD160 d176c0e654781fd83c9d6d8b71faca6b5a1a1f4e SHA1 7dc0301c886acae999456ca42d55bad7af9822ab SHA256 a34112f098d77ca3b8eac766382c90a9f78556f1e8dd22d042522b91f27f5ea6
+DIST thunderbird-3.1.3-eu.xpi 211333 RMD160 26d4ec87e25716c86948c5ec4f81382701ddf49c SHA1 e443ff7681fd1192fbd9c4ef02559a87474b10a1 SHA256 76f71eb47afcbb0507adbf78253f620cdacb0145ad781064a87fa90830937eb0
+DIST thunderbird-3.1.3-fi.xpi 219518 RMD160 c7c820f52f5393ee151c9ceaf125d286451d865e SHA1 9078b9784fd4f8d4f0eb6bd629d5f7bd176cf1dd SHA256 018388eea79191565b9dc0576fa0f382207ce969f4628638dd5b38ae010e6722
+DIST thunderbird-3.1.3-fr.xpi 221744 RMD160 52beafc69149b03bb40378e6ad77ad0eed7dfef1 SHA1 78591312af939a6ade5c82d305952b5a4f983d1c SHA256 51b6d087e9853c1e502c1455875aca7e1fb3ef861c33eeedcbdbbb5769841167
+DIST thunderbird-3.1.3-fy-NL.xpi 221061 RMD160 cad073cfdbc49fe4eb6bf887b30bbe70ee01523e SHA1 f2e32e565cbedc478c7df65f61eb63d08c741c75 SHA256 65d1aec252cfe1fc6ac63f3f90279692e8b2a58b8c5b2244582d8470a5787625
+DIST thunderbird-3.1.3-ga-IE.xpi 219491 RMD160 cd9b652c51fb29e29fb11df2e67706d0d788aa92 SHA1 092270f8485554e71617ae3edc6631ddbb05feb8 SHA256 a9f2ee028bb9d4d54c3bca4320cc098b9348db2e7f86e1b31eab6b3d25dfac19
+DIST thunderbird-3.1.3-he.xpi 204897 RMD160 1918272b4d486c94cc08e6d67f23af02f59b392a SHA1 cf333d34fb40a6e44bd9f0bdf336016d29616fa2 SHA256 844f59e049fd106a33b48cad1d4e13a49f06fd9e0fd5e71f673b3d296056f6b3
+DIST thunderbird-3.1.3-hu.xpi 226125 RMD160 7f5f6fe0ac4c7ecbbca0f28d535fcc5264e025f4 SHA1 d2b8d1589e4ff32622affc5b267d96e8ff210e1a SHA256 444021c7441ee9a0c589b0aa1200891de09a370d25cb7e5270af1cca592a0252
+DIST thunderbird-3.1.3-id.xpi 185886 RMD160 74f3ea4298e884e417b140f36880d527d50cbd42 SHA1 5db027baab52beb7a49faac67469157771c2d37d SHA256 970d49f83ab61b47123feffc42906717508cbf0311f91aeaf798dfcc41e8ae75
+DIST thunderbird-3.1.3-is.xpi 214026 RMD160 5c9d75694a1634410111015c9623de8d99e2dee5 SHA1 b3bf5838fae2fa1e3663f79a8eaaf25cc8d72aaa SHA256 52012cb63d55ce98d93be95ed77b99773a9251cd76cd0a7853a31c69c2de976f
+DIST thunderbird-3.1.3-it.xpi 171409 RMD160 54dc73f2b1633c4e0ec67d6c4601ca1430975e2a SHA1 ec119357d67f17e4d4bd0a198a1943da46790d48 SHA256 16ccd678548addd26cd44cd339f2fddf7e9c26bf2b72a2ab92bce6053697c4aa
+DIST thunderbird-3.1.3-ja.xpi 236533 RMD160 b1ed10b8d6651da22139c3671524ef5fcfead06d SHA1 7d337f48ad8724ffba39196c16803c630823d36c SHA256 bdce29c5b59820c51bdd2d26732f62671b19717b46af30767f6e80c34ff9227e
+DIST thunderbird-3.1.3-ko.xpi 194735 RMD160 cdcac8b6d067f6017e2a2fd5c53e674670e6b3cb SHA1 ed7329bd1892c7337de3ad3307fa3c9ec7bcf801 SHA256 4b64531d524f88cddb458eb1d25443d90c6e53ae34664756b835ee7587ebf3fd
+DIST thunderbird-3.1.3-lt.xpi 235297 RMD160 0326c474e0352b17c2664760f7905350a2bf42f4 SHA1 8eb71e3995c7185c84e5e6abd42a8d88fdcc54c4 SHA256 d4e2929df9d22e39bd7b5343ca53c2e98b74bfdab7aba0548ece0104758cc7c0
+DIST thunderbird-3.1.3-nb-NO.xpi 213924 RMD160 eec2d8be89e686b025d89f49cccfc0a69c390cf3 SHA1 b7f44e65a7f0b0a36972abbf7df86f15bcfb53f4 SHA256 ff840d14c075e46a65ccbd4bd2834f030e6061eeb14fce3822bedc1cd57ac7eb
+DIST thunderbird-3.1.3-nl.xpi 216641 RMD160 75a6e74d33a988cad4885f90670e7431ef7367c5 SHA1 1bba3d8e181af0473b33b51074c79f81c1b55c71 SHA256 4bdb534be347e5eeca4e10023406cd056384c730f6ea394b20acb1a350422934
+DIST thunderbird-3.1.3-nn-NO.xpi 215686 RMD160 eb4693be5dbcf2f6b624a121826c345b61db325d SHA1 a7b67001d5bfef5c0cd8de3cf4fb68e909d18058 SHA256 a54dc412357b7008d398a2ec704ae3477ae4d2c05cab44557181b2c9c0a5488e
+DIST thunderbird-3.1.3-pa-IN.xpi 241034 RMD160 483ec1ab522f59d3b5909b3bf2a7dc9cbc7581bb SHA1 5656c084be668c2d197f3d2aab4c2570c6874c7d SHA256 26c546cf3b280d0fffacffda6ee761924003ba15d714fb9f2eb269b3a297127f
+DIST thunderbird-3.1.3-pl.xpi 203952 RMD160 20b2f03411d76d7af0da78f3b7147b93357df06c SHA1 26b95cdff036665ed3ec4ec30da52975f9dabb3e SHA256 1546989865141c8bcccdc56e4d051ef6536df79403c267e1d157bd8ec819f2a6
+DIST thunderbird-3.1.3-pt-BR.xpi 215067 RMD160 0cb8c133d492cc0c9f9e9e642caa5c780126b454 SHA1 8e19780262a27486cf69c301dbc7a71afad571ef SHA256 2965d5a2dec39f025de612acd76b5e19830a960854f6611af4e46bcd5a4bfe16
+DIST thunderbird-3.1.3-pt-PT.xpi 214271 RMD160 7bbaa4dcad3b2599fb9b1d0a7ecdb93b53300e6b SHA1 a71d29d94d07d2215ae36004fb493ec87a34cedb SHA256 8cec352c471b4c3e9c9fb85631f7c9aaa50978b235b449470570b3d3a3485edf
+DIST thunderbird-3.1.3-ro.xpi 221254 RMD160 77ee2dd53f5468d0168bec5a5e9592af4c1e01c1 SHA1 1adb728a7c97c41e7a1a06140f45c601942b23cc SHA256 3dbb3b3a237f0571352fb1b3f9d98778b7197efc01e75a4a3f171b49ca662045
+DIST thunderbird-3.1.3-ru.xpi 198112 RMD160 b6cd4bbd8a6b89027d2888434aad4f57db469057 SHA1 f6e44b51191dc31bef2d185df1f7884ef963d376 SHA256 d461abb5d12a6f9e47be33f615702c764fca0139efef64bbf025ae8cce38c099
+DIST thunderbird-3.1.3-si.xpi 246154 RMD160 3557bed19dab1b3efb5705d988dafa2c07120747 SHA1 92b9feddc83cf2176a64f7b8522dd17133c4f71d SHA256 40f9a22ebf0ad5adb19a20604c5d2a07c70c17e7e7375078fef4756f633ab7ce
+DIST thunderbird-3.1.3-sk.xpi 224568 RMD160 7d65039fd3d1b70ba9716e89bdf14284123998cf SHA1 cde03616c45e80eec314d460dbd8461cbb260596 SHA256 85c600b8685794b4c8ecf2d4087a6920119ed01e449a44117bba3870c6866d09
+DIST thunderbird-3.1.3-sl.xpi 218479 RMD160 cb627005ab3ff8fd745b890065c277d51a9ab9a9 SHA1 61af1df41962526c5db91684f08a8eb9b469645f SHA256 8f0312aad03381225275b6d74f1f24673f20d683be6fb6f4d364ab23bbb5ec8b
+DIST thunderbird-3.1.3-sq.xpi 211229 RMD160 f648dedd75b386886ba37f3e85a1ab0246b5fcc8 SHA1 39fdb33141a34c7aaa8a01b14e05d89ee9c5f6b6 SHA256 2d80b4302de851cb016d20f7fa59412574b00a9d128e44895660cca2bde541a5
+DIST thunderbird-3.1.3-sv-SE.xpi 221229 RMD160 1e7e840dd0aba3399439521c52f3fa5300c52c74 SHA1 1285b5406d41036ea0c8a8e3acfbb35841f1954c SHA256 eef470c706dacdf5a476607dd8528636365793276d794b6e6ec90760e3742c42
+DIST thunderbird-3.1.3-tr.xpi 215758 RMD160 a34a34e6ec8a0c5c029992dcd0b2392022c102d3 SHA1 b0536a25575f9ddd936a0a26cfb53b5a3bb8f03c SHA256 32ce9e5505268d602eee0eade5d87b3dbd51e3b4095c3308f9e8dc985b9fd11b
+DIST thunderbird-3.1.3-uk.xpi 244873 RMD160 4570caa82ac99bdbda361f732df7ace57790c7dc SHA1 0d6985e86d984f837d63598246c19f1cfe9434ff SHA256 84479ecf9e884dc3f87f8235be272885720b1e8006daf159a60b5d6097744ddc
+DIST thunderbird-3.1.3-zh-CN.xpi 219655 RMD160 6c5463f71b4444b32a1e3ccdfc55cd3f35308381 SHA1 8d94d86b8a1509d78928db41efe90db0bfc931ac SHA256 e06e3b4521acfaa2e17d751c2079f80915d4c4445ca344e32b52985a59a3a774
+DIST thunderbird-3.1.3-zh-TW.xpi 220516 RMD160 e45508e22ac2a172333a4372979691a6b8c9216b SHA1 9b3944da46efc2b9d5eb65cd54fb996fb76cffb3 SHA256 6f10391cdf92aead97b795451a3fce73f5b768ca5ef6bb3e6cda365d6c8c006c
+DIST thunderbird-3.1.3.source.tar.bz2 65759283 RMD160 293f897303b0764650f41d6dcecd3620d2262a0b SHA1 7db61ceb804ba766b33babf92738b4e56ff6342a SHA256 06a42c0f2f5280f9d2951def2262294e055219b52b92d895a0faee566204caf2
EBUILD thunderbird-3.0.5.ebuild 7130 RMD160 e11f8ebb4e0772568f8e007e8e58e8ad35d9307d SHA1 3e04a0b53efafe0f8b5eb1ddd4f109e60c32b0bc SHA256 57e047f39eba42f92ddfd69457792319388aabd4984252588bef564161889b66
EBUILD thunderbird-3.1.1-r2.ebuild 7472 RMD160 0f2f3d4ae51a5648c525adb49edd61c952272664 SHA1 a7eee230b6ef74cc0700fac29731dbb3462e0df0 SHA256 deba5cca9cc8c0ea950b794cdd8b8f6704ad58ccc6d33629795d8de101131d7c
EBUILD thunderbird-3.1.1.ebuild 7526 RMD160 02530abf1682a4069a0fd903be81f5f1fbbbc1d5 SHA1 1f584f9f1a468066aaa29f4da6893f01defb280f SHA256 f1122e5339b2074ed9c5c7d71972347c8c33acdfc09e9b5260ac1499651a275f
EBUILD thunderbird-3.1.2-r1.ebuild 7561 RMD160 c9316016173d6f511b9e13eca482c92ed103bab6 SHA1 75c885c654e4df15942228d1ad106a73699aaf69 SHA256 279711f62f759b551a8784f0b2861e36aaee30978413994f1ddedd225871f7a1
-MISC ChangeLog 55326 RMD160 08949c18ea3e0977604fcdb0cf6322057745f80b SHA1 b0bc19904e6d472f43324b476745e1d1ed61b697 SHA256 32505b3523ae0eaed5259088a9ef56d6292a46b1370b4bcb3b876b392c2562bf
+EBUILD thunderbird-3.1.3.ebuild 7656 RMD160 0ca7ebabccca1a88e57f58eb216cfd087eaa878e SHA1 7d492a2af2e2c24ea0d0a8bc057e81af071e8002 SHA256 fba57e5bf62a491debcba6bba73cc11e1a01e040e8ae7331676b637ab2e0b000
+MISC ChangeLog 55481 RMD160 6f534941990992b8a180212d6b326e90a112cedb SHA1 f36ea26b3c2f7acb5c21c461a272bacae647c164 SHA256 069eec735572a836713fa80b7561a5f6cf8cb14e9befc2596787a05025fdb0b3
MISC metadata.xml 471 RMD160 dd596368f27518e6d32d724e878d8dfb0303fb68 SHA1 147c70ac08b477679be27a428679c4c06ce0c1f0 SHA256 8f3f2c2b7c204fa12ce8ab51e655985374ea469d3870680b6925d541dbf56ef3
diff --git a/mail-client/thunderbird/thunderbird-3.1.3.ebuild b/mail-client/thunderbird/thunderbird-3.1.3.ebuild
new file mode 100644
index 000000000000..3aa8fefc0725
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-3.1.3.ebuild
@@ -0,0 +1,250 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird/thunderbird-3.1.3.ebuild,v 1.1 2010/09/08 00:09:50 anarchy Exp $
+
+EAPI="3"
+WANT_AUTOCONF="2.1"
+
+inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib mozextension autotools
+
+# This list can be updated using get_langs.sh from the mozilla overlay
+LANGS="af ar be bg bn-BD ca cs da de el en en-GB en-US es-AR es-ES et eu fi fr \
+fy-NL ga-IE he hu id is it ja ko lt nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ro ru si \
+sk sl sq sv-SE tr uk zh-CN zh-TW"
+NOSHORTLANGS="en-GB es-AR pt-BR zh-TW"
+
+MY_PV="${PV/_rc/rc}"
+MY_P="${P/_rc/rc}"
+
+DESCRIPTION="Thunderbird Mail Client"
+HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/"
+
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+SLOT="0"
+LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
+IUSE="+alsa ldap +cups +crypt bindist libnotify +lightning mozdom system-sqlite wifi"
+PATCH="${PN}-3.1-patches-1.1"
+
+REL_URI="http://releases.mozilla.org/pub/mozilla.org/${PN}/releases"
+SRC_URI="${REL_URI}/${MY_PV}/source/${MY_P}.source.tar.bz2
+ http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.bz2"
+
+for X in ${LANGS} ; do
+ if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then
+ SRC_URI="${SRC_URI}
+ linguas_${X/-/_}? ( ${REL_URI}/${MY_PV}/linux-i686/xpi/${X}.xpi -> ${P}-${X}.xpi )"
+ fi
+ IUSE="${IUSE} linguas_${X/-/_}"
+ # english is handled internally
+ if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then
+ if [ "${X}" != "en-US" ]; then
+ SRC_URI="${SRC_URI}
+ linguas_${X%%-*}? ( ${REL_URI}/${MY_PV}/linux-i686/xpi/${X}.xpi -> ${P}-${X}.xpi )"
+ fi
+ IUSE="${IUSE} linguas_${X%%-*}"
+ fi
+done
+
+RDEPEND=">=sys-devel/binutils-2.16.1
+ >=dev-libs/nss-3.12.3
+ >=dev-libs/nspr-4.8
+ >=app-text/hunspell-1.2
+ x11-libs/cairo[X]
+ x11-libs/pango[X]
+ alsa? ( media-libs/alsa-lib )
+ libnotify? ( >=x11-libs/libnotify-0.4 )
+ system-sqlite? ( >=dev-db/sqlite-3.6.22-r2[fts3,secure-delete] )
+ wifi? ( net-wireless/wireless-tools )
+ cups? ( net-print/cups[gnutls] )
+ !x11-plugins/lightning"
+
+PDEPEND="crypt? ( >=x11-plugins/enigmail-1.1 )"
+
+S="${WORKDIR}"/comm-1.9.2
+
+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 ${PN} does not support the ${LANG} LINGUA"
+ done
+}
+
+pkg_setup() {
+ export BUILD_OFFICIAL=1
+ export MOZILLA_OFFICIAL=1
+
+ if ! use bindist; then
+ elog "You are enabling official branding. You may not redistribute this build"
+ elog "to any users on your network or the internet. Doing so puts yourself into"
+ elog "a legal problem with Mozilla Foundation"
+ elog "You can disable it by emerging ${PN} _with_ the bindist USE-flag"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+
+ linguas
+ for X in ${linguas}; do
+ # FIXME: Add support for unpacking xpis to portage
+ [[ ${X} != "en" ]] && xpi_unpack "${P}-${X}.xpi"
+ done
+ if [[ ${linguas} != "" && ${linguas} != "en" ]]; then
+ einfo "Selected language packs (first will be default): ${linguas}"
+ fi
+}
+
+src_prepare() {
+ # Apply our patches
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}"
+
+ # Allow user to apply any additional patches without modifing ebuild
+ epatch_user
+
+ eautoreconf
+
+ cd mozilla
+ eautoreconf
+ cd js/src
+ eautoreconf
+}
+
+src_configure() {
+ declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+ MEXTENSIONS="default"
+
+ ####################################
+ #
+ # mozconfig, CFLAGS and CXXFLAGS setup
+ #
+ ####################################
+
+ touch mail/config/mozconfig
+ mozconfig_init
+ mozconfig_config
+
+ # It doesn't compile on alpha without this LDFLAGS
+ use alpha && append-ldflags "-Wl,--no-relax"
+
+ mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
+ mozconfig_annotate '' --enable-application=mail
+ mozconfig_annotate '' --with-default-mozilla-five-home="${EPREFIX}${MOZILLA_FIVE_HOME}"
+ mozconfig_annotate '' --with-user-appdir=.thunderbird
+ mozconfig_annotate '' --with-system-nspr --with-nspr-prefix="${EPREFIX}"/usr
+ mozconfig_annotate '' --with-system-nss --with-nss-prefix="${EPREFIX}"/usr
+ mozconfig_annotate '' --with-sqlite-prefix="${EPREFIX}"/usr
+ mozconfig_annotate '' --x-includes="${EPREFIX}"/usr/include --x-libraries="${EPREFIX}"/usr/$(get_libdir)
+ mozconfig_annotate 'broken' --disable-crashreporter
+ mozconfig_annotate '' --enable-system-hunspell
+
+ # Use enable features
+ mozconfig_use_enable ldap
+ mozconfig_use_enable ldap ldap-experimental
+ mozconfig_use_enable libnotify
+ mozconfig_use_enable lightning calendar
+ mozconfig_use_enable wifi necko-wifi
+ mozconfig_use_enable system-sqlite
+ mozconfig_use_enable !bindist official-branding
+ mozconfig_use_enable alsa ogg
+ mozconfig_use_enable alsa wave
+ mozconfig_use_enable cups printing
+
+ # Bug #72667
+ if use mozdom; then
+ MEXTENSIONS="${MEXTENSIONS},inspector"
+ fi
+
+ # Finalize and report settings
+ mozconfig_final
+
+ ####################################
+ #
+ # Configure and build
+ #
+ ####################################
+
+ # Disable no-print-directory
+ MAKEOPTS=${MAKEOPTS/--no-print-directory/}
+
+ if [[ $(gcc-major-version) -lt 4 ]]; then
+ append-cxxflags -fno-stack-protector
+ fi
+
+ CPPFLAGS="${CPPFLAGS}" \
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
+ econf || die
+}
+
+src_compile() {
+ # Should the build use multiprocessing? Not enabled by default, as it tends to break
+ [ "${WANT_MP}" = "true" ] && jobs=${MAKEOPTS} || jobs="-j1"
+ emake ${jobs} || die
+}
+
+src_install() {
+ declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ if use lightning ; then
+ declare emid emd1 emid2
+
+ emid="{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}"
+ dodir ${MOZILLA_FIVE_HOME}/extensions/${emid}
+ cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid}
+ unzip "${S}"/mozilla/dist/xpi-stage/gdata-provider.xpi
+
+ emid1="calendar-timezones@mozilla.org"
+ dodir ${MOZILLA_FIVE_HOME}/extensions/${emid1}
+ cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid1}
+ unzip "${S}"/mozilla/dist/xpi-stage/calendar-timezones.xpi
+
+ emid2="{e2fda1a4-762b-4020-b5ad-a41df1933103}"
+ dodir ${MOZILLA_FIVE_HOME}/extensions/${emid2}
+ cd "${ED}"${MOZILLA_FIVE_HOME}/extensions/${emid2}
+ unzip "${S}"/mozilla/dist/xpi-stage/lightning.xpi
+ fi
+
+ linguas
+ for X in ${linguas}; do
+ [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P}-${X}"
+ done
+
+ if ! use bindist; then
+ newicon "${S}"/other-licenses/branding/thunderbird/content/icon48.png thunderbird-icon.png
+ domenu "${FILESDIR}"/icon/${PN}.desktop
+ else
+ newicon "${S}"/mail/branding/unofficial/content/icon48.png thunderbird-icon-unbranded.png
+ newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \
+ ${PN}.desktop
+
+ sed -i -e "s:Mozilla\ Thunderbird:Lanikai:g" \
+ "${D}"/usr/share/applications/${PN}.desktop
+
+ fi
+
+ # Warn user that remerging enigmail is neccessary on USE=crypt
+ use crypt && ewarn "Please remerge x11-plugins/enigmail after updating ${PN}."
+
+ # Enable very specific settings for thunderbird-3
+ cp "${FILESDIR}"/thunderbird-gentoo-default-prefs-1.js \
+ "${ED}/${MOZILLA_FIVE_HOME}/defaults/pref/all-gentoo.js" || \
+ die "failed to cp thunderbird-gentoo-default-prefs.js"
+}