diff options
author | Raúl Porcel <armin76@gentoo.org> | 2009-06-24 13:37:00 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2009-06-24 13:37:00 +0000 |
commit | 2656da385f4723caa17179ef5698cbd34df020d4 (patch) | |
tree | 5721a1b1f6a5414aa1b87685568e84f6456b192c /mail-client | |
parent | Stable for HPPA (bug #274781). (diff) | |
download | historical-2656da385f4723caa17179ef5698cbd34df020d4.tar.gz historical-2656da385f4723caa17179ef5698cbd34df020d4.tar.bz2 historical-2656da385f4723caa17179ef5698cbd34df020d4.zip |
Version bump
Package-Manager: portage-2.1.6.13/cvs/Linux ia64
Diffstat (limited to 'mail-client')
3 files changed, 188 insertions, 3 deletions
diff --git a/mail-client/mozilla-thunderbird-bin/ChangeLog b/mail-client/mozilla-thunderbird-bin/ChangeLog index 3cf3656e542f..0d4a3c07da54 100644 --- a/mail-client/mozilla-thunderbird-bin/ChangeLog +++ b/mail-client/mozilla-thunderbird-bin/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for mail-client/mozilla-thunderbird-bin -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.128 2009/05/02 00:03:44 nirbheek Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.129 2009/06/24 13:37:00 armin76 Exp $ + +*mozilla-thunderbird-bin-2.0.0.22 (24 Jun 2009) + + 24 Jun 2009; Raúl Porcel <armin76@gentoo.org> + +mozilla-thunderbird-bin-2.0.0.22.ebuild: + Version bump 01 May 2009; Nirbheek Chauhan <nirbheek@gentoo.org> mozilla-thunderbird-bin-2.0.0.21, mozilla-thunderbird-bin-3.0_beta2: diff --git a/mail-client/mozilla-thunderbird-bin/Manifest b/mail-client/mozilla-thunderbird-bin/Manifest index 6fd78b8c6abc..3abb0dbd8281 100644 --- a/mail-client/mozilla-thunderbird-bin/Manifest +++ b/mail-client/mozilla-thunderbird-bin/Manifest @@ -39,6 +39,43 @@ DIST mozilla-thunderbird-2.0.0.21-tr.xpi 157710 RMD160 df518b01440d684651b32c35b DIST mozilla-thunderbird-2.0.0.21-uk.xpi 194506 RMD160 db712c7447e2671cb5d4b1670b2aeb605ca9003c SHA1 23bfe2c114209d6751782ae9f24c182501d3939f SHA256 533066f6ed0df977d8e44a096de0078ca07fd1c466927bb164cfba5670ff5719 DIST mozilla-thunderbird-2.0.0.21-zh-CN.xpi 147643 RMD160 0b9c0c31999f91a28a283366605f3e0491e048f9 SHA1 49ee4194445cc8b9eada5305be5939a9020306c8 SHA256 20724d6ffab84fedc3212a18b80ce694beb6efef9d135c535b9dde2308ee8119 DIST mozilla-thunderbird-2.0.0.21-zh-TW.xpi 153703 RMD160 a6b5cac63933056f2dc55d097912fdebc9e69626 SHA1 021808c64a12874e76e37fc85174d2e1a4c8098b SHA256 9070afb63a2a814292e3d1651edcffa98c2c880f3125f8ad7a5e8fd2b199b171 +DIST mozilla-thunderbird-2.0.0.22-af.xpi 177924 RMD160 241d2ec1c6e06aaffd67b3f44cd4ccd98e35d4f4 SHA1 76319ac9c244f441955404c65959e3d19525277a SHA256 8ba11bf7f3468a1e6b67d5f0cada349c08646c7e1b3d212b9bd982a13dc9dc8c +DIST mozilla-thunderbird-2.0.0.22-be.xpi 184813 RMD160 ffda27ab7306fe08cba75650e69957d4f0e65575 SHA1 85fa76009755c00402a6fe1fbe2f3a5de1374501 SHA256 d6179b57a24ac889f55b4ea1151155e133e5ff607b287a1e160266cbb15c7171 +DIST mozilla-thunderbird-2.0.0.22-bg.xpi 196487 RMD160 da403df7e228c28d5f2d7f0b772525ba702b1171 SHA1 a768a0daf5c24d1bb1f9c0e849492de0ca1d5d3b SHA256 e33404c53daa7b03c6694dea1247f1352b35464e37b1d69d561293317cc87ba2 +DIST mozilla-thunderbird-2.0.0.22-ca.xpi 184232 RMD160 6884de1d534e387bfaec8b4eb557d77f94689659 SHA1 e57c898b623f71767930dc5b7c42b7391a5c4a50 SHA256 87bd4b96d95f7de03c7347eaaa55c389b94976a8bab9ffa3cd043bbd8a1e6ff7 +DIST mozilla-thunderbird-2.0.0.22-cs.xpi 186167 RMD160 910dd29e4b0108cb44c5b05a14c6f1a53e00dbec SHA1 3cfbed89cd9b15063a4781239849fa3d52c3023a SHA256 80fa612889c4602934f3971247cfa802d1e93ed3d6292a292ac2d548a7bf9532 +DIST mozilla-thunderbird-2.0.0.22-da.xpi 179121 RMD160 73a0368e316fde975fb61a266fc6cf795036e201 SHA1 ed0ad1efe84e7bcf6cab8f07f0dbd399771b07d5 SHA256 f7933bab70bdd446fa484bdfd9475e35f551956d1dd7dbc1521b96b5426e50bf +DIST mozilla-thunderbird-2.0.0.22-de.xpi 159066 RMD160 519c5922a5c1cf31b936bbc1329f312046e3ca6a SHA1 039321411972309f0f609491414fc6b78c187677 SHA256 a1932c6c148594e6cc51142f40198c5758a51ece8395820b03e01d0bb0cb5758 +DIST mozilla-thunderbird-2.0.0.22-el.xpi 183062 RMD160 1b05113df78522c29ae0fb200d1c8abb75a072cc SHA1 695b826e67566e6f95e9da4d72648cb2c642eeef SHA256 a4ce385f95accc231ab557f2c3cc890ae4d60837c0768261b0fdfc2545f86a3f +DIST mozilla-thunderbird-2.0.0.22-en-GB.xpi 173048 RMD160 acebc54f3b87b31c09e3386e239899298361a427 SHA1 27c8d8f6d086862b20e532c958de56f1d4c0225c SHA256 dce3ebd29a4932a11998c4499309edb63660129019c6cbe19b482a96484302ad +DIST mozilla-thunderbird-2.0.0.22-es-AR.xpi 184679 RMD160 16359fdd250d9955c6ea87a5edf318b34044e70d SHA1 316a3633a96903ce102bea91e18fc81811521fc9 SHA256 e7f3d7e098b7db75033527e7c4e11d2000572f79f75c11f981641bffa069b546 +DIST mozilla-thunderbird-2.0.0.22-es-ES.xpi 149560 RMD160 5873e58c1aa8db4ab6fdb3c0712e087eca471149 SHA1 5dcb0f00053079d35db6f3737a506f020d440aa7 SHA256 76688c5ed5b6eb9052443e8be38e377063615ea1c85f0bbc35dab6e61bcb4506 +DIST mozilla-thunderbird-2.0.0.22-eu.xpi 181799 RMD160 6ca188adfc6cd068edeef6ca569014467f22ba91 SHA1 4980d0181a1374e0a975c095bb3a3d75727f1b49 SHA256 866c18d763d5047350a0e9cfc5b4104fb1a7ac0bfb813a3cc55e06786fae3e5a +DIST mozilla-thunderbird-2.0.0.22-fi.xpi 187734 RMD160 d654409b9fbcf5c57da862854ea999d00abf162b SHA1 f4dd4edcd8c1b5b17d134e401c7a4008c44d0efd SHA256 e29687416085a842868d467b92c7dd70e5c61cec668b5c6213041325c1a3adf2 +DIST mozilla-thunderbird-2.0.0.22-fr.xpi 190912 RMD160 c55a0ca79540a9bc6fd4dc2d3e0ab75e9dbe3dcc SHA1 ba8305be1f1f090ed105e4a9386d4390f600ff3c SHA256 3ea9dabbb3fd90c5f48eead4ab480ec6b8a8aa7118b98b5ee2a17b3323dce05c +DIST mozilla-thunderbird-2.0.0.22-ga-IE.xpi 185960 RMD160 0fe2f275138366f7b04bd3ce01e606c8e7b2aba4 SHA1 98409597973d9f9743e34ec1fdb65efe2700883e SHA256 e8e82db54263c4bab32b4fad9d2d6d6a5f998accf26ee250fa19d185ba846d45 +DIST mozilla-thunderbird-2.0.0.22-he.xpi 157243 RMD160 bb242f3290a5aa8d6c6fc28956e0ffac277c9abc SHA1 f090effb6075a9d194115417b545d5e55a933ad7 SHA256 f20d1e08fb230ff495594c7cbf7ec3b08369a770e1549f21e832c8b5f8c1a771 +DIST mozilla-thunderbird-2.0.0.22-hu.xpi 191694 RMD160 678e4cbe437b303807bd6a24fe37d3aa4a022746 SHA1 19f3182c8ad672cfb048a1da2e70603b5cd2a156 SHA256 0d13c01ffe9a5ed12416cd52ecd8e34fccb7cdc7ced970937a199fa6cf32f883 +DIST mozilla-thunderbird-2.0.0.22-it.xpi 152554 RMD160 fddaf3c69b60ac5049c4065b6149133f4ab9f00d SHA1 0b9df360570970a353db3b6baa5f4747272fc890 SHA256 e4fcf3ea45334492054d35f3357950e7975df3185ccb1775326cd8027c5ee42f +DIST mozilla-thunderbird-2.0.0.22-ja.xpi 199411 RMD160 931007af7349cf62db7dd01e1204923e2d02e02c SHA1 60ec64b46a24ed6f94b3b3e0e12a61011039ec66 SHA256 3b5357cf854bbdfaa943c4d7236f48a9bcc7be57eba2082292b21657a2904fb6 +DIST mozilla-thunderbird-2.0.0.22-ko.xpi 170143 RMD160 35823094e57625c96a5da5b59b983795e734de50 SHA1 c2670d2470c9ab83e2c2fbb91d8c6114a21f8e03 SHA256 aecbb27828d92db8c4fa5139eb143acddc5dda6d38647e796b0f556fadbbb69f +DIST mozilla-thunderbird-2.0.0.22-lt.xpi 189457 RMD160 8b43481bac0c7b260b030c72a00311e59f0d446a SHA1 0c6801acf72c892233e6e7079eac4be4b419d739 SHA256 b8ce7c5ae187c3030ecdbbe6fe925f3a79c2165beca0d15be716a96db942fe9e +DIST mozilla-thunderbird-2.0.0.22-mk.xpi 196440 RMD160 c5b9a868da9358518950f90befa4f5b5441aee50 SHA1 b1459804b558fac112c33a57d92e034f1885aa1e SHA256 4b37e1fbd0727ee4ca4c5049eee13a05ec888249de097a757525099ddf77875e +DIST mozilla-thunderbird-2.0.0.22-nb-NO.xpi 183238 RMD160 853857ef6c3ae627dbbcef7d97f1a950c61433b4 SHA1 3bac29a7468a475f7b10047d300ae70ae7b56342 SHA256 d8154e299286a0c1c93970860c54027c4e754506b699dd99675071f07c1378d6 +DIST mozilla-thunderbird-2.0.0.22-nl.xpi 184153 RMD160 403213958d6d6528b3a68a1324d0fcc7f9c03eb8 SHA1 a0b0978db9766216d61ce6f927b77f65041c9e96 SHA256 97ccc1ce3c752917002702d5bb7388a2cee8fe3f653ff06e0255f0ce6b05f95d +DIST mozilla-thunderbird-2.0.0.22-nn-NO.xpi 184117 RMD160 15242dd660edf9b985123026831863b5727d54bd SHA1 b801fa7c69b673974e1e97be6e138c69706d4c6c SHA256 a24936ba6e6f557c6293b47ad7bd80424d00255002cf751be066453bf321057e +DIST mozilla-thunderbird-2.0.0.22-pa-IN.xpi 205022 RMD160 c7838e99136ae50be6a0b6d39abc826b975e0391 SHA1 8fbe10a4a6306aeaeb5d4ccb4268a091686aa5cc SHA256 25fd599c654140a51284e64bc3a550f08ca0c9364f72bbf092b7286964f5352e +DIST mozilla-thunderbird-2.0.0.22-pl.xpi 177417 RMD160 c8d2cb78d2a46fd02e3dc3670d36ea60bf5a818d SHA1 ad2a60928f26f8f79c202a39775bbea60733bd8a SHA256 524fb37279f84fbc4adf6b4e959c10529292569e1c72562f3fbd8c8ef2c24442 +DIST mozilla-thunderbird-2.0.0.22-pt-BR.xpi 183071 RMD160 e0e4693430362b67e36338d423548feeba60a73d SHA1 7d0414cf7f195befab2a9d3676cfdbcaa8a98d02 SHA256 29ee372b408ee3504be7d1fdd3b0347bb50edb5925937769d58e2d675b19eb25 +DIST mozilla-thunderbird-2.0.0.22-pt-PT.xpi 183924 RMD160 640a094fef48b54d48be410a8badc8b6a35110f1 SHA1 2b25d43e602c9aa888d63ec66bc55a6c9ef58084 SHA256 1ad193737048703a170505ede5d7c8ab3eff9de9fa9492d289f94664b1dcb2ad +DIST mozilla-thunderbird-2.0.0.22-ru.xpi 174276 RMD160 0b5dcd62f0d1cc71fe1fd7068f15c67bba324558 SHA1 da063e2daf4d840152b607df17e295f0393609ce SHA256 8bfc9c803368cd389df43150cb5b69318000d239353536446dc03bc0896d6783 +DIST mozilla-thunderbird-2.0.0.22-sk.xpi 191717 RMD160 166cf94b153903fbe0ef7893269abc76c7ef2912 SHA1 e737d3c62aa6875914feec716bbc4cfe92f35478 SHA256 a524142cfa19980a03e5a8e9a64ed39fcc7862c5527f75f4def5baf2d8730da2 +DIST mozilla-thunderbird-2.0.0.22-sl.xpi 188025 RMD160 a1965400ea97d75ec2d0b3e735b2ad795125e066 SHA1 1a6332091b19aab091bb6b6ef1d27bdbd74dbe46 SHA256 1fafb51e6fd1ff4d889e9dfede9db91165a8a075550d0e22287ef87fc1451122 +DIST mozilla-thunderbird-2.0.0.22-sv-SE.xpi 191928 RMD160 c2bb4a87d68023e7b8648cd749def33aaddd2a62 SHA1 792c697fc4d7ac6833ae65f95a29eae693e86389 SHA256 f49420af9f541ce71788377b041456b4a188fe801903a58fd3130c2e504df154 +DIST mozilla-thunderbird-2.0.0.22-tr.xpi 157710 RMD160 ed2e382db6364d49aa7879f1cee38ba3ce3ca6fd SHA1 f857305061707388a2361724cb5e6d4dff35fca0 SHA256 b029e4ba5c95546238d9d55b9ad56f9ac63a33ba0d9cf541c5260fb7bd771ee2 +DIST mozilla-thunderbird-2.0.0.22-uk.xpi 194506 RMD160 3ed0178630d595f1214062204d8af00f2864a6b4 SHA1 d3abae128b86383deae8d3295ce46305644bc2ba SHA256 61d41bd3fa46463b25e19b5ac0811573ae806ade98ac78cb9db64e3d726154c0 +DIST mozilla-thunderbird-2.0.0.22-zh-CN.xpi 147643 RMD160 8cf40d20bc81165ba45c9a58e357f2b189f5d02a SHA1 ef913d0c5803857d12bb7b9579cd2e153fbc2e1d SHA256 8e6abe3ef7516fff71ba7a03bbb19eb8c470cf32429599775fa6ccea324e4f4e +DIST mozilla-thunderbird-2.0.0.22-zh-TW.xpi 153702 RMD160 58f8b9c424a8be58844a71c248a9039f5c561431 SHA1 667cde83275e9da584ca1d2da3c04258f246f46a SHA256 6d27bbf85ee3e55fb2ee4c3315d754ad13f8510893bf0a3967ea69e002627c7a DIST mozilla-thunderbird-3.0b2-af.xpi 182230 RMD160 5157847775f0351d2d30edf46df442618f823824 SHA1 839f2e8046e7690cc057a372036b277dcfd1155b SHA256 1e0dd560ce7e57dadd8cd43c79a64eed3e51ea73323e420aa5b27348bfae9567 DIST mozilla-thunderbird-3.0b2-ar.xpi 197814 RMD160 9817f812e8e82fdaf97cec22fbc345971b7463fd SHA1 25874175b1ff9645a3640a9c600df71016a2b730 SHA256 7a407e45a88782a979738b93c12685a5fbb45213b2dad52ae855490f4089fd45 DIST mozilla-thunderbird-3.0b2-be.xpi 175241 RMD160 d725be949e2034a78b42c7e80a6cc6ad725cbb69 SHA1 85fc61e4cf2c9a0f023e18d80c8ff68953afbe86 SHA256 c3cc5aea486b4ffe65395e4757bfb73afe5ac48478d4ec5cf52d364509c8d755 @@ -81,8 +118,10 @@ DIST mozilla-thunderbird-3.0b2-uk.xpi 649107 RMD160 6e61d15cca4e464d1cf378c9ce67 DIST mozilla-thunderbird-3.0b2-vi.xpi 224874 RMD160 298aa1b5ffe0bedf9511f0dccb0d1c363f495ced SHA1 8bd2101cc536ea3a666a920fb411486f7ba95df2 SHA256 6d8651133a15162ea461cd02ad7d411939a7c1fa5dc7f03b68389dad27dcf476 DIST mozilla-thunderbird-3.0b2-zh-CN.xpi 189229 RMD160 63f5df513ade0cbf373e0d5eb6a76484ff2f08d4 SHA1 36df44dc730de23b46c8e797c7f15cbebb6a381a SHA256 db4ca88ea695ede6a07384705ee5202842968986d035d49ab2549c60c7a0f49e DIST thunderbird-2.0.0.21.tar.gz 11489229 RMD160 e075d37e7abbc20d5854ee5c2eead29216871875 SHA1 a2dc3299c6c5c1630acc3a922fe1ee396db83da4 SHA256 dae052ae846f280699611fd045b6ded19eddb2d52b5cb9d200c24c2164b81bc6 +DIST thunderbird-2.0.0.22.tar.gz 11488872 RMD160 7a730fc417f3dc4c922e059045d676585caa67ab SHA1 b1becc03256df69415fc3332dbb05004f6129547 SHA256 cd27f60a9305a8f030621ec0fd006619550a5c01e3cd50709d92aab2a00836c3 DIST thunderbird-3.0b2.tar.bz2 10314798 RMD160 ed07ca1f744c379bbe85f56a7c951f9c4b0c1514 SHA1 9673467061921961c36ddbfba388dc4e8534a46f SHA256 8d05015986399e99cfbe19f6e01ef1f9ecbdc7c618f731e5bf9f89c97dd46670 EBUILD mozilla-thunderbird-bin-2.0.0.21.ebuild 4140 RMD160 5fe02fa695f59707f8b0aee9b5436bd955cceaec SHA1 f93f74101838538b8358567126b96c3727f036d3 SHA256 71ba1287999c82b307a65c53299ce6073c67bdfab763fbd20a7f3c95825037e1 +EBUILD mozilla-thunderbird-bin-2.0.0.22.ebuild 4141 RMD160 a0a6c957eb76565a36527762b03a9f04d8b14527 SHA1 abc3217cd42b7866457aa3eaf0af441137571142 SHA256 aec872f6c2f23e81adc6d78f980f10f99e20cdfe532d2662ec85946779af60fb EBUILD mozilla-thunderbird-bin-3.0_beta2.ebuild 4801 RMD160 93714a4f881525e2fd60b2f71951a2906c501dfc SHA1 d8447564f2013f30520e1fe763b18f2a80f9bc53 SHA256 bae664ae7972d9c4dda1865f85ad0a75bf981eb6d2260cefed9759fb18a8414c -MISC ChangeLog 22659 RMD160 2e957d7cfb4b13628c2e156436f860803c0029a9 SHA1 4e5e15cc8a76d8f0ba503b92c981b01c6bac2005 SHA256 136a0dbf4ca0a2f96af3f0fb9e5f7325765316276927cafd81d7efa960297f72 +MISC ChangeLog 22816 RMD160 495762f7ba23a26fe33aced06fd3bbb67c51061a SHA1 dd3df1f37a1978fd6d041b9ad0d7d6bda200ab5e SHA256 eb1a4c5f3fa95ee7966b01e97b24a8b9e80b7e61ff396075d023f63c9170bd61 MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b diff --git a/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.22.ebuild b/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.22.ebuild new file mode 100644 index 000000000000..a0844eb39d6f --- /dev/null +++ b/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.22.ebuild @@ -0,0 +1,140 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.22.ebuild,v 1.1 2009/06/24 13:37:00 armin76 Exp $ + +inherit eutils mozilla-launcher multilib mozextension + +LANGS="af be bg ca cs da de el en-GB en-US es-AR es-ES eu fi fr ga-IE he hu it ja ko lt mk nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ru sk sl sv-SE tr uk zh-CN zh-TW" +NOSHORTLANGS="en-GB es-AR pt-BR zh-TW" + +DESCRIPTION="Thunderbird Mail Client" +SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/linux-i686/en-US/thunderbird-${PV}.tar.gz" +HOMEPAGE="http://www.mozilla.com/thunderbird" +RESTRICT="strip" + +KEYWORDS="-* ~amd64 ~x86" +SLOT="0" +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" +IUSE="" + +for X in ${LANGS} ; do + if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then + SRC_URI="${SRC_URI} + linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${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%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )" + fi + 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" + +S="${WORKDIR}/thunderbird" + +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 ${PN} does not support the ${LANG} LINGUA" + done +} + +src_unpack() { + unpack thunderbird-${PV}.tar.gz + + linguas + for X in ${linguas}; do + [[ ${X} != en ]] && xpi_unpack ${P/-bin}-${X}.xpi + done + if [[ ${linguas} != "" && ${linguas} != "en" ]]; then + einfo "Selected language packs (first will be default): ${linguas}" + fi +} + +src_install() { + declare MOZILLA_FIVE_HOME="/opt/thunderbird" + + # Install thunderbird in /opt + dodir ${MOZILLA_FIVE_HOME%/*} + 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 [[ ${LANG} != "" && ${LANG} != "en" ]]; then + ebegin "Setting default locale to ${LANG}" + sed -i "s:pref(\"general.useragent.locale\", \"en-US\"):pref(\"general.useragent.locale\", \"${LANG}\"):" \ + "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-thunderbird.js \ + "${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-l10n.js + eend $? || die "sed failed to change locale" + fi + + # Install /usr/bin/thunderbird-bin + install_mozilla_launcher_stub thunderbird-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}"/10thunderbird-bin + + # install ldpath env.d + doenvd "${FILESDIR}"/71thunderbird-bin +} + +pkg_postinst() { + elog "For enigmail, please see instructions at" + elog " http://enigmail.mozdev.org/" + + use amd64 && einfo "NB: You just installed a 32-bit thunderbird" + update_mozilla_launcher_symlinks +} + +pkg_postrm() { + update_mozilla_launcher_symlinks +} |