summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2011-07-01 12:51:21 +0000
committerJory Pratt <anarchy@gentoo.org>2011-07-01 12:51:21 +0000
commit41dc93c5b54a2381e0cc184b781e72caad20619b (patch)
treea19fc14cdbbc7aac5c9847eb22b5420455c4153c /mail-client
parentDepend on avahi[dbus] for required avahi-client, bug #373659 thank Antonio Qu... (diff)
downloadhistorical-41dc93c5b54a2381e0cc184b781e72caad20619b.tar.gz
historical-41dc93c5b54a2381e0cc184b781e72caad20619b.tar.bz2
historical-41dc93c5b54a2381e0cc184b781e72caad20619b.zip
Version Bump
Package-Manager: portage-2.1.10.3/cvs/Linux x86_64
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/thunderbird/ChangeLog7
-rw-r--r--mail-client/thunderbird/Manifest62
-rw-r--r--mail-client/thunderbird/thunderbird-5.0.ebuild277
3 files changed, 330 insertions, 16 deletions
diff --git a/mail-client/thunderbird/ChangeLog b/mail-client/thunderbird/ChangeLog
index 8e392346ca9c..41055445f9b0 100644
--- a/mail-client/thunderbird/ChangeLog
+++ b/mail-client/thunderbird/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for mail-client/thunderbird
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird/ChangeLog,v 1.82 2011/06/23 14:08:54 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird/ChangeLog,v 1.83 2011/07/01 12:51:21 anarchy Exp $
+
+*thunderbird-5.0 (01 Jul 2011)
+
+ 01 Jul 2011; Jory A. Pratt <anarchy@gentoo.org> +thunderbird-5.0.ebuild:
+ Version bump
*thunderbird-3.1.11 (23 Jun 2011)
diff --git a/mail-client/thunderbird/Manifest b/mail-client/thunderbird/Manifest
index acd0c939dd09..0ea3403a9903 100644
--- a/mail-client/thunderbird/Manifest
+++ b/mail-client/thunderbird/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA1
AUX 1001-xulrunner_fix_jemalloc_vs_aslr.patch 1936 RMD160 4edd9e5ab5082f86cb66ad1fc158e4c105f861ce SHA1 20df285bac8e0704559c0479f7dfe02f030afa8a SHA256 0beb08f2b3fc504897b1024caabcf2887b55fae31c021341c66d3491dc63e32b
AUX 1002_fix-system-hunspell-dict-detections.patch 3466 RMD160 f8fa846e5d7c80a15d0abf0c6aedb7302ead1f83 SHA1 091febd913c09c86c9242b1be8960fb012ee7c8d SHA256 7ce51cae6bbd6655c8bc543365370627e37d2fc5aa7f7e1270671f7482df344a
@@ -20,6 +20,7 @@ AUX thunderbird-gentoo-default-prefs.js 494 RMD160 9eed5d9ac1f7953bb563354176a36
AUX thunderbird-respect-ldflags.patch 1640 RMD160 889a63b2fb04878e99b2a14d47713e47621ab334 SHA1 fec674ca325de52a547af336864b66e113fb2df7 SHA256 3db9aea0cdfc77c6c7de20591a44b92eecb9636fdb6c45676a173905a8bd7ae1
AUX thunderbird-xul-1.9.2-arm-fixes.patch 603 RMD160 952db59f2c3d526b04323fec830cf04c28dfb84d SHA1 b1e2f12c0b204bf2c6434303c0638750dcb1b73d SHA256 19d230805cb5d62a99fef32dfc373661dcc3361bf8d1f6077854120a5e9a9821
AUX xulrunner-1.9.2-gtk+-2.21.patch 679 RMD160 060d514faa98768312d047985c81934342935745 SHA1 d672469ce9f8271a4788639a7fa36c7d606ef442 SHA256 25432a427c70fcaf929e45312ff9e4a617d709d59efa89932a77b42c3f7b0230
+DIST enigmail-1.2.tar.gz 1326482 RMD160 868c73aa28566895d4b6c6b9cbf4602d75df0a73 SHA1 05fb80a99544f95bfa2531e6cd5cac8cf1e78780 SHA256 e5e51685d09eb5a87bd21f80b4b64eeb8d75d6424b21cfeaea7b9c16723c9cc4
DIST enigmail-1.2a1-20110316.tar.bz2 905604 RMD160 57bb867f70f6b37ee11d426a8e155f2ccf5d56d2 SHA1 371e3c8bd7157ed8aee7648a271df591db75f8c2 SHA256 113db06ab1621328635c5394174afe02bef9c154c46b62ea7c605ac0a0b2beba
DIST thunderbird-3.1-patches-1.2.tar.bz2 3427 RMD160 354d9003e8132e0aaf7069aec84459ff28237f61 SHA1 36ad5f9af77eaacc02c7df744b5d2563fb54bed8 SHA256 6586cf569b035bd1b9179036678a0cbedbf3def88ca7d69852451542b52693a0
DIST thunderbird-3.1.10-af.xpi 210557 RMD160 6a0f2dc1241cae8e25f79de456b63fe659072b3f SHA1 398f1dde23d8a8b9870c033ff636738539c115b0 SHA256 e5ceb7e160596e632df8c43c58706158e0440896b517178b0c3506990443b08d
@@ -116,25 +117,56 @@ DIST thunderbird-3.1.11-zh-TW.xpi 220607 RMD160 9d5e191913300c6919a951deeaea2959
DIST thunderbird-3.1.11.source.tar.bz2 68716700 RMD160 d37f4b4c015df7ed24adc252ab99d10196e1799e SHA1 9d67fab73fee9ab815d69d419e89d410cb1558b8 SHA256 3e78284661b1be1d35753550b7a183d583d7ee68c8bac683283d3931f90fdd1a
DIST thunderbird-3.3-patches-0.2.tar.bz2 4404 RMD160 2bc1a86867f01cb5bf8f29b4e3d65bf662279bf7 SHA1 11f37a4b53bc59e767768d793f126129e8666abf SHA256 3ddd4a086f19b4871160fe72dc920eaed8ef6ed872ac22f8d6759e84a8e4d1f8
DIST thunderbird-3.3a3.source.tar.bz2 83692340 RMD160 79ec91e73d6f1e64f16efae9c6ec333a2e54b220 SHA1 416c085e92a04c12c49b7f1ad41effb7ef24ece9 SHA256 7f5487449023a68784d800fdd38c25d30356972b27b0a23c2ba162c149161618
+DIST thunderbird-5.0-ar.xpi 426291 RMD160 c0779e7112724d9b9856a30b3e35922e324d381b SHA1 674032a3a1d71966bc0e044fa353b1b62bcdcaf2 SHA256 bb3f5afa529bb9ad91004d57c2e4ae77266c4fceaac3af13e69b25756c926eec
+DIST thunderbird-5.0-bg.xpi 444151 RMD160 589e3f4bd7dbab3cd4aed9f2d266845b9ce9fccb SHA1 030777724120d5b6ea56ad0d670dcf334e5a4a99 SHA256 c19da2505f426dc8d2190db5b6dc3723e92b7f44a48ff03a3b7942b5668a27a7
+DIST thunderbird-5.0-ca.xpi 407700 RMD160 6d29c73cfa913e800e9e73035c9f345615478b19 SHA1 862bcfd6385d8675de8267d03515e3d3675707f6 SHA256 0e1aedbe17a62ae8b6588ef76aeee7468743835857b13b6fa11dc96ca23ca4aa
+DIST thunderbird-5.0-cs.xpi 407837 RMD160 645361880e1bb9af60e471786c94047c0266badd SHA1 ef663667dab46368cfea47a39afdb14fa7dd14c9 SHA256 af1c3be0944244dff7f35c7d335b2e28385d83e0ea572c4a43e4dfb3cc4d692c
+DIST thunderbird-5.0-da.xpi 350465 RMD160 e752b14631acec5e27d7901ce68eca15504a5d30 SHA1 49a34444acac863076ffc0f66fa9e5070d76f8eb SHA256 92514d7df29168123279a0b486264d25fdac8ea984d9ea53c1158e0f850fc304
+DIST thunderbird-5.0-de.xpi 406252 RMD160 84ec5918dad8ef96cf0ae846c79f2a627deb9e6e SHA1 dd4850c9d09c3ec015da1dd153683e3336bea10b SHA256 fcd373a837dcb615b64635d1d2583d55ca5fe36e5dd32f11cdf1c6e50dc656c0
+DIST thunderbird-5.0-en-GB.xpi 381468 RMD160 7411ad0e627fd347b404458fce0223015fd422a6 SHA1 4790c0f84adf1e4fa1942971a30e2c9dde6962c2 SHA256 f7dbb262115a52d4cb6fe2e7119861241b285d08fbdc2a481bc2648bf9bca591
+DIST thunderbird-5.0-es-AR.xpi 399330 RMD160 d7856e343b84f2856e267399a6ad4359bccfc311 SHA1 8b8b548540ae2ded2cf4e32d8c7da2157706c440 SHA256 4249e4dd9e39bcfb1d08ce2ebd042fd4ee332b949dadc5b706026130c178523b
+DIST thunderbird-5.0-es-ES.xpi 343865 RMD160 faa6f22aba8d1e4c24cb124520b3c25ea50744cd SHA1 95a12a571d40fa28a06e0ab2dcb93d76b58e0723 SHA256 a952b2c5f098a9685b22b72176575c8d8ba70c8415a24fab2b0a7414242690be
+DIST thunderbird-5.0-et.xpi 399580 RMD160 f8878baa68859157a56d4d0537d18ce740463b95 SHA1 f87cd0d592171c341605c15c2ef15d081b79b132 SHA256 2dcb8d5086963964889b07d268baa681abc7744fef01219bc8f35db5184822e9
+DIST thunderbird-5.0-eu.xpi 395631 RMD160 da4bcb87d044915642d1c29edabc5a54d65dc3a2 SHA1 c52c78730e5ae5d510cfafa5714f57a96c6876fe SHA256 7c940255e7e5dae14fdd725a9a722f13d5aa38eee98ab0f0ff2cca96db98b7cd
+DIST thunderbird-5.0-fi.xpi 400828 RMD160 3308436eccb62f27e7e52d5647f07c9f4699deac SHA1 f4c48f0b4034b31af0e2905faabff5993d082292 SHA256 ff2a8aae8c48be298d3fdd7b0dc5621eff9af2c43a4a9e42c961fb8ecd9c3db7
+DIST thunderbird-5.0-fr.xpi 403253 RMD160 32f3f2daaac779ee1085a86f25af818de6dd564a SHA1 7a61ed0c30cf6eca5b3c7428f098f6be0374d724 SHA256 49f54a41e64d53cf78b6576e89341672f16e629e25b3ffe689a71431fc796768
+DIST thunderbird-5.0-fy-NL.xpi 403075 RMD160 c7b0e524f3dff06fbce58fe82bf3ab6dfeca8e11 SHA1 173a97320a5e50321bc7ab6a46f208e535deb4bd SHA256 8f0e32f4bcd7b097d746f7ed376e3ff01a28d2f2e8e02be1a3015853888f7fb0
+DIST thunderbird-5.0-ga-IE.xpi 411750 RMD160 a9e85d7281dc9acc2e27739d4b2022c732c96683 SHA1 2c30f2bbf3e2b474ffd9dd3e5e4b11cf300fbd2b SHA256 a69b3a0818b5ab7a6c27298884cb415dec7dc3f96ad4a8b78ef8d6a3d851d2d7
+DIST thunderbird-5.0-he.xpi 415116 RMD160 e4390c683757294695c120d3ff2512b8e5fb6313 SHA1 0bc6ff79cab559a0d564e5ab69913b94fe91eadf SHA256 3f49799adfe9e65d39639402a7a9ce6f8bcf036fbe25aa4aadd483007172f864
+DIST thunderbird-5.0-hu.xpi 415270 RMD160 70f2e0319fb6e62a1d2e4b00671eeb12bb4ee4bf SHA1 79774610fb0b02d71f188cb510ab1ca457371346 SHA256 8ea419595e4ef5034296485290cf89dc6091361b8f785be8e137ac37e934ed7e
+DIST thunderbird-5.0-is.xpi 401557 RMD160 a4accb009915e956b63902f04d41904d23ff12a0 SHA1 756fdf60837c805c98365ca95e604ff33b3847d5 SHA256 8cdf6ddaa75c09ed31e57031f242eb56f0bb87dfc3965f019642a0b035664a44
+DIST thunderbird-5.0-it.xpi 337738 RMD160 2252a4df0b67e46eb190601473776de4073e1970 SHA1 12871a5109d34f1e96d5b025ba18f992f1237930 SHA256 d995d24b281c79f36026d302ceb73638d156c619c8a29f7eeaa09c05a6edf89d
+DIST thunderbird-5.0-ja.xpi 446749 RMD160 629167eb0f700903d3f297c1f3093e9332039577 SHA1 4d1ba7fdcfa39a8f288d6514712153aedcfdf09c SHA256 a582214664357c360e2c8aaae8dab7fdd735e9827c8e3f9190542ca85fd89a04
+DIST thunderbird-5.0-ko.xpi 358753 RMD160 cac786f0b0308bc6e1fb4674c3fedd38077ff84e SHA1 3440b89e3602989964222b774228f5a2b32e0ad8 SHA256 cc629295d61ea7c9f7103a0ddd096af438bd0ef049a6d6d3aef28c1c4104f0b6
+DIST thunderbird-5.0-lt.xpi 523993 RMD160 f916af95f6bcda6831022979fd166b5545b8f7a5 SHA1 88e9245a7069b33f9349b75acd8f95b50ed35f05 SHA256 bb3e3dde6f71b303cc6a26fc92db9f724c186ab16932cf1532d740decd62a168
+DIST thunderbird-5.0-nb-NO.xpi 396958 RMD160 0e5e81b785d794766473d0ebfd46358804cd6ae6 SHA1 c8e12c9a142c37309dd72ec251512c8316981264 SHA256 222f84d8e0b791e2b66e76ada384efca190a0cf4c1262d9cb203b506969ae769
+DIST thunderbird-5.0-nl.xpi 397102 RMD160 ac339806a0b17afc2d29e10b6fa93d9bbef6a167 SHA1 cddc5cf321702dabe772819f40367f5767239b93 SHA256 b4fd06c5ea15d7ad769f380ce25cd8e2b867f88d49761bc23e1f8e9150a9afa9
+DIST thunderbird-5.0-nn-NO.xpi 398579 RMD160 ad203f997702bc99d6042f03f47a317e8392a7b3 SHA1 c886d26aaea8eaa3e8f6e0651e1306a489d97447 SHA256 2a8c106becb4d730cd9dc10588ec87fbbb85f55b15575b98a592ae1c63e9eb95
+DIST thunderbird-5.0-pa-IN.xpi 434024 RMD160 91fdb4004629a641627378a67aeac1fcb6c8f625 SHA1 338cac17fc4e2eac6702e8f0820c4b00bbb54b5b SHA256 9f8214b81a7e850cfb1dc977072638578f8fd1cf65b1f6b9235258b86d353c2f
+DIST thunderbird-5.0-patches-0.1.tar.bz2 2660 RMD160 6a09ee90ace5c19a99f1dcd8041adc62b7003976 SHA1 a52d2bc593bf5f905cb61a3279fe61aee2a14247 SHA256 89ac374408b4c8350cf09af5ce844ea1173546187018f588992a8ee48f339e36
+DIST thunderbird-5.0-pl.xpi 383672 RMD160 4ee68efd32824c052346f56967d4b1d333823c93 SHA1 fede26c4fa46920615872c9b7094c0a2d8e33df6 SHA256 54586577f86b4d2c39c909c90e80075e9ff521227bd5c4dc5b947ed84d0152da
+DIST thunderbird-5.0-pt-BR.xpi 406009 RMD160 69174d906461595898fb79734bfb18b142d8fe93 SHA1 ab2ff07c7f5026a112a7187e1cd7080b691761d5 SHA256 c3a827b736e999b24098b6bfa37e4442ae835d66d567bba9b50634aff40ec3f7
+DIST thunderbird-5.0-pt-PT.xpi 402739 RMD160 6ef923998175835694d70aaa37e8807c66b2aaf3 SHA1 ac25afabf69601ffa2b38a2e59bc071089b5811f SHA256 76ee0e9bccf2a225b7ead1259ad82ece574d4db64d383bbf540733c202865f0e
+DIST thunderbird-5.0-ru.xpi 398261 RMD160 0811ff16e6b6986f057559eda125d92df7b3ac3a SHA1 2d2ad0081aaad62835f731e067ade20456e35ad7 SHA256 561e74bae50a7c8a7e436bf70a3188d0e35f8890387d0091178de6c362a3054b
+DIST thunderbird-5.0-si.xpi 443551 RMD160 104c52901d2d5d8a621b826ebc7a81e04632dcfe SHA1 573acc6e2380c29c2d7edefb5e3311a58b467ed3 SHA256 36b97239a8b87c0bb5f3ef50ea51ea485f0a9976fb9cd1dbc0cf09c8382375ef
+DIST thunderbird-5.0-sk.xpi 413255 RMD160 39e5ce9743a6b7435404d0b264438deeba1a1829 SHA1 2383a27132cbcd794e3f5d1fc525a35167e63c45 SHA256 f8d0f45a365df808d2dc9e7d14037440a9883cef4eadb98bfc5048eb089090ed
+DIST thunderbird-5.0-sl.xpi 399391 RMD160 9c55451443197b93a2fb7567a0d860c2c6d52759 SHA1 1839336a79e1bd6a7194c5309ad0848c36f4e247 SHA256 bed8303d78a69d19f403e881e85756945b06e542a53e2371c7667cd2f5784576
+DIST thunderbird-5.0-sq.xpi 347151 RMD160 e52d3f75d6c3f4b711f887b49238c2cadaf6dfb4 SHA1 181b2b628ee7993e64a9bd537b36a34741c553b5 SHA256 de288e144e65f46d7b6954e828b434cf2fef10444cdc3bdfd09ff015d68a350b
+DIST thunderbird-5.0-sv-SE.xpi 467630 RMD160 445fbc983e4240740a4a63c56160877a3a996b4c SHA1 3dd02c3ab4fc8542c90010fe8b9848fc5b418365 SHA256 0e388da663b96521c0f5b1b7942bbbe65073a82cbf4e3e9852baa081decc3f37
+DIST thunderbird-5.0-tr.xpi 402358 RMD160 37b6026429036bd94bb31363ef19b65fe8493ed1 SHA1 380ae73adf6cf8aef0f6f5dbb64310a5cb1f9578 SHA256 0f202abbd2758dc8b995f69be7f3c355ffb8fbf42b54382759930274a9917d36
+DIST thunderbird-5.0-uk.xpi 451686 RMD160 b49ed3cc5e99e6d378a20dac682c1c8184daf036 SHA1 bb1be4bc25f8acb12d9ea80f843d0e1352040f08 SHA256 63af2eed2f83137928019105f737f3512a1cd0d150f4ff47f903644d08455d3a
+DIST thunderbird-5.0-zh-TW.xpi 419985 RMD160 8f9c23c8090f359a83c9be2561a212ab2e93fc2e SHA1 465033f206f921adbab8527e9047cc0c3db91a94 SHA256 48d0ec4797b8ee021e947828d872e682ec56234fba8de6cba5d16ff8cdd7bbc2
+DIST thunderbird-5.0.source.tar.bz2 86637589 RMD160 68e83071e8ba00a20f056d64be9c861dcb8e60ea SHA1 392c3e0ef70b62c29a543f88b2b8d5a51bfe69a7 SHA256 bb1858dc44e1e9f92b44a1eaf9456190d55b485cf65435266848300ac2b7c5de
EBUILD thunderbird-3.1.10.ebuild 8099 RMD160 9e2ec0d45a430372381aa16c73310f71828de468 SHA1 ad55471c15be6a3654547885ef52451b75b1ec4f SHA256 ea88b5e990a738390f05e098868dada49b8d77d120f27320b0f403770121d039
EBUILD thunderbird-3.1.11.ebuild 8110 RMD160 9169e25659f945d5bd85f00e04e868a0a2492b80 SHA1 8b007af3541a8f566e5b4d58632adfee1ba380ca SHA256 b1f28e28a42c70b0516d928b8bbe43bb67547639abb898199532ff037386442b
EBUILD thunderbird-3.3_alpha3-r2.ebuild 7818 RMD160 69614bda19a08d9853ae7721f4bfcd0ec424d69c SHA1 33029d1c1d68cd1e98b2bf773d43b684da50acf3 SHA256 c8a0db8840fc6a65195e2a70facf85d6fb4de725320329e6f74aeea982fd2df4
-MISC ChangeLog 63279 RMD160 c57c33676b21eb315776340a77743e5d8d26ff8d SHA1 91fcaf08f6f048f71fab1a0a48fd87397f12888a SHA256 081c3eb39042c81fe29f5c764c5da805bf06a43513c765ed1547d087d16f7bb3
+EBUILD thunderbird-5.0.ebuild 7894 RMD160 e3c00c911953f4f49ddd7cf689e0cececac85499 SHA1 ce9e7a12c7fe24466a381c1867a3ff445a78e757 SHA256 7ff3a668122685aa083852b4f1db1723289fb048e80e960e517c2cb983d972f2
+MISC ChangeLog 63397 RMD160 c602c7ed32de78e8ce012b743fee9ae41fc88740 SHA1 247a0a2c98b508a86ac32444ab63bb82b074f7a2 SHA256 8dd5f8da242c0d291a612a8595bb29b3644f1905261c6a65b06db2e96004be1e
MISC metadata.xml 732 RMD160 87468b1b9c1c1ec539c026f04e05265a4dc32cdd SHA1 283661cc3d68f2f7c2a3b82455692f7239bed63b SHA256 3b0e7f6f49598b82aaeee92a5f96f99877713866fbbb73c797bfa65f2c0b4d75
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBCgAGBQJOA0j7AAoJEPiazRVxLXTFlp0P/R55j9m0lmm3DU8Dkx/V43Dk
-g4NRbsLGujxySI0/QpYxfcm0frX1yds/AHfspcWLcFxxq8p4Rtg5HMq34vS0sM0g
-Zm3/jWaQMxYm0ApnSduyUtrZ3vDMsHGsgkFyVGjLVLsozBNaCZxBgeKW0V4c2p6G
-yCTgtyQ2/xSSAKVvVIxoRecXnVHF1h3XATlHcplZCqKc/ePwNYDOibRAtbh+wcao
-jCKgMZXLCVy37e1RDyLFAaGA9FPQ+cS+XtySS+GCQ3vLZn0d/LHd7+caixZ0Sn/t
-zE2X1mfdx+9P3GPwMSDkh8MTME7KM9bADpkYNuP7tZBiMPsVYQ0DPGqXwAQR9RPj
-c1cwoYbQmJNPlY5GksEXAbXmgHlF5sh9xVcNecTYXY9htqPCsXfeKSpWcDPL+ZQU
-QO53EwZHsc8g5HldeiOrGZ6IkAnVZogvcpWiCOSbh82CyzKW+e6aNK/tgQinRh7C
-g+OOaQTAo7uH73tAR2k3aF/oEsr2W+yXkcXbzMBjUqrYgNeVWUOOfjEHj2IrHQMf
-8Wsoa5KGFtTyURo9KJg37VpZNJqaiPHcxK7QtY0N+ic6yW0nlpRIfZLgvLJRD4Xk
-bir9WH+vW83zy7lQ41OCPKhCIwW3pXvJuZ4qKq8wXPf/uWPE5I0hyycYThlDLeAC
-Wj5altdUwgQvsSLowCdt
-=L/7A
+iEYEARECAAYFAk4NwZoACgkQwnA7Q1Z0YScMKACfQ37x8Nbg0+QlqoBwW7/58gVh
+EusAniGNfqzLfjEnKN930ajlVwGHkXJd
+=+/l7
-----END PGP SIGNATURE-----
diff --git a/mail-client/thunderbird/thunderbird-5.0.ebuild b/mail-client/thunderbird/thunderbird-5.0.ebuild
new file mode 100644
index 000000000000..915c3393b092
--- /dev/null
+++ b/mail-client/thunderbird/thunderbird-5.0.ebuild
@@ -0,0 +1,277 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/thunderbird/thunderbird-5.0.ebuild,v 1.1 2011/07/01 12:51:21 anarchy Exp $
+
+EAPI="3"
+WANT_AUTOCONF="2.1"
+
+inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib mozextension autotools pax-utils python
+
+TB_PV="${PV/_beta/b}"
+TB_P="${PN}-${TB_PV}"
+EMVER="1.2"
+
+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="bindist gconf +crashreporter +crypt +ipc +lightning mozdom"
+PATCH="${PN}-5.0-patches-0.1"
+
+REL_URI="http://releases.mozilla.org/pub/mozilla.org/${PN}/releases"
+SRC_URI="${REL_URI}/${TB_PV}/source/${TB_P}.source.tar.bz2
+ crypt? ( http://www.mozilla-enigmail.org/download/source/enigmail-${EMVER}.tar.gz )
+ http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.bz2"
+
+if ! [[ ${PV} =~ alpha|beta ]]; then
+ # This list can be updated using get_langs.sh from the mozilla overlay
+ # Not supported yet bn-BD ro id zh-CN be af el
+ LANGS="ar bg ca cs da de en en-GB en-US es-AR es-ES et eu fi fr \
+ fy-NL ga-IE he hu is it ja ko lt nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ru si \
+ sk sl sq sv-SE tr uk zh-TW"
+ NOSHORTLANGS="en-GB es-AR pt-BR zh-TW"
+
+ for X in ${LANGS} ; do
+ if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then
+ SRC_URI="${SRC_URI}
+ linguas_${X/-/_}? ( ${REL_URI}/${TB_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}/${TB_PV}/linux-i686/xpi/${X}.xpi -> ${P}-${X}.xpi )"
+ fi
+ IUSE="${IUSE} linguas_${X%%-*}"
+ fi
+ done
+fi
+
+RDEPEND=">=sys-devel/binutils-2.16.1
+ >=dev-libs/nss-3.12.9
+ >=dev-libs/nspr-4.8.7
+ gconf? ( >=gnome-base/gconf-1.2.1:2 )
+ media-libs/libpng[apng]
+ !x11-plugins/lightning
+ !x11-plugins/enigmail
+ crypt? ( || (
+ ( >=app-crypt/gnupg-2.0
+ || (
+ app-crypt/pinentry[gtk]
+ app-crypt/pinentry[qt4]
+ )
+ )
+ =app-crypt/gnupg-1.4*
+ ) )"
+
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/comm-miramar
+
+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() {
+ moz_pkgsetup
+
+ 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}
+
+ if ! [[ ${PV} =~ alpha|beta ]]; then
+ 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
+ fi
+}
+
+src_prepare() {
+ # Apply our patches
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}"
+
+ if use crypt ; then
+ mv "${WORKDIR}"/enigmail "${S}"/mailnews/extensions/enigmail
+ cd "${S}"/mailnews/extensions/enigmail || die
+ ./makemake -r 2&> /dev/null
+ sed -i -e 's:@srcdir@:${S}/mailnews/extensions/enigmail:' Makefile.in
+ cd "${S}"
+ fi
+
+ # 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
+ #
+ ####################################
+
+ mozconfig_init
+ mozconfig_config
+
+ # It doesn't compile on alpha without this LDFLAGS
+ use alpha && append-ldflags "-Wl,--no-relax"
+
+ if use crypt ; then
+ # omni.jar breaks enigmail
+ mozconfig_annotate '' --enable-chrome-format=jar
+ fi
+ mozconfig_annotate '' --enable-extensions="${MEXTENSIONS}"
+ mozconfig_annotate '' --with-default-mozilla-five-home="${EPREFIX}${MOZILLA_FIVE_HOME}"
+ mozconfig_annotate '' --with-user-appdir=.thunderbird
+ mozconfig_annotate '' --with-system-png
+
+ # Use enable features
+ mozconfig_use_enable lightning calendar
+ mozconfig_use_enable gconf
+
+ # 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
+
+ # Ensure we do not fail on i{3,5,7} processors that support -mavx
+ if use amd64 || use x86; then
+ append-flags -mno-avx
+ fi
+
+ CPPFLAGS="${CPPFLAGS}" \
+ CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \
+ econf || die
+}
+
+src_compile() {
+ emake || die
+
+ # Only build enigmail extension if crypt enabled.
+ if use crypt ; then
+ emake -C "${S}"/mailnews/extensions/enigmail || die "make enigmail failed"
+ emake -C "${S}"/mailnews/extensions/enigmail xpi || die "make enigmail xpi failed"
+ fi
+}
+
+src_install() {
+ declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}"
+
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ if use crypt ; then
+ cd "${T}" || die
+ unzip "${S}"/mozilla/dist/bin/enigmail*.xpi install.rdf || die
+ emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf)
+
+ dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} || die
+ cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} || die
+ unzip "${S}"/mozilla/dist/bin/enigmail*.xpi || die
+ fi
+
+ 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
+
+ if ! [[ ${PV} =~ alpha|beta ]]; then
+ linguas
+ for X in ${linguas}; do
+ [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P}-${X}"
+ done
+ fi
+
+ 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
+
+ pax-mark m "${ED}"/${MOZILLA_FIVE_HOME}/thunderbird-bin
+
+ # 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"
+}