diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-03-02 15:48:07 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-03-02 15:48:07 +0000 |
commit | 0cc5025e77eb11a167725f208bab215aac5f13e3 (patch) | |
tree | a71fb04d8065ed4038b8c3a1e108faa2f5d3dace /mail-client | |
parent | Stable on amd64, bug #212077 (diff) | |
download | historical-0cc5025e77eb11a167725f208bab215aac5f13e3.tar.gz historical-0cc5025e77eb11a167725f208bab215aac5f13e3.tar.bz2 historical-0cc5025e77eb11a167725f208bab215aac5f13e3.zip |
old
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'mail-client')
-rw-r--r-- | mail-client/mozilla-thunderbird/Manifest | 38 | ||||
-rw-r--r-- | mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.9.ebuild | 253 |
2 files changed, 0 insertions, 291 deletions
diff --git a/mail-client/mozilla-thunderbird/Manifest b/mail-client/mozilla-thunderbird/Manifest index f269cd5839fb..b5f0d41c305a 100644 --- a/mail-client/mozilla-thunderbird/Manifest +++ b/mail-client/mozilla-thunderbird/Manifest @@ -74,46 +74,9 @@ DIST mozilla-thunderbird-2.0.0.12-tr.xpi 157693 RMD160 3c76c282f57f509db6ee7489f DIST mozilla-thunderbird-2.0.0.12-uk.xpi 194499 RMD160 4a0d783620d9584443732b92bd0ba38d7252a932 SHA1 d3a5dd9889aa29c7bcbb0e259d1c14fbef50f0c3 SHA256 69ab54f02ccc1468f84ff6fc5cc5f1eccf4cf067c9886d3c6eeb1dc43bcf9fea DIST mozilla-thunderbird-2.0.0.12-zh-CN.xpi 147619 RMD160 ec2cd591eef959cd31abcf64a6561cbfb028b718 SHA1 d0316e6015c40a57acb9ed28ff120309deaa73c5 SHA256 2ed4e66a1dde68ebf5a4b5476af10de993bbaef47af27bb0b71db0d7ef4469a5 DIST mozilla-thunderbird-2.0.0.12-zh-TW.xpi 153698 RMD160 89a12fb4b69cb1888070ee24ce7e3b2ba156e8e2 SHA1 08da263d33ba110e571e4ff3b929c48c8d45b387 SHA256 4791ec712c71ced9e4a0131ef1627572b1b3452ec2f12ba3b03268a401547c6b -DIST mozilla-thunderbird-2.0.0.9-be.xpi 184808 RMD160 bd8af47a09787f94ba6c54118b0cc121a652d117 SHA1 902311cb2059c4e66bcb5958f3bfb2e7fa647c6d SHA256 3ff41c8bde290e5cc303caeeae5fb54f767d432d0486f9fa8d3c736915fa30d3 -DIST mozilla-thunderbird-2.0.0.9-bg.xpi 196592 RMD160 96b35e0ff3a0176acd51f5b7af714408872a6036 SHA1 15b96e956f216e565cf7810873fa318897b578ae SHA256 b697ee8ecf735b4d7f8639066ca9eba1a5a7379fa94dcc6fb7b3b53c896badd9 -DIST mozilla-thunderbird-2.0.0.9-ca.xpi 184223 RMD160 755863fbe52457aeabdd56d3b8fd774e6b232066 SHA1 834cf33b71c6212619ccec29d6a28bb82671ac75 SHA256 e25e7e07c15cbbd83989a7371d33c4d6ea9a45ca00e5e9d56491f7597304497b -DIST mozilla-thunderbird-2.0.0.9-cs.xpi 186154 RMD160 f4f60f0658931f8f51d53ff67643ebe113bfac3b SHA1 d9ec2846ab6fb07a45383288443066805ea52d61 SHA256 4c6873153e5e33028af7dc3352ea2fccd3d856b7b0f67d72e90827c8ff47afc6 -DIST mozilla-thunderbird-2.0.0.9-da.xpi 179127 RMD160 64c2a88b355ead377ac40eccb7dd40dd67d26c3c SHA1 6c56b4ed69d53ca10b3b16aadbc534682e4faad3 SHA256 a66b91ca8e94532ffd31d1ed89491d6049b9554fd757e1a1925804dd0e7e8cb5 -DIST mozilla-thunderbird-2.0.0.9-de.xpi 159068 RMD160 325c570c596e4a61835fb5298bf56c01aa0385cd SHA1 78b23a59e084ba748b7e92f2b5456e37db178aed SHA256 a08fa680daa4d5d3aace8152ce76b622ebe417e52b853d197c063147af33df63 -DIST mozilla-thunderbird-2.0.0.9-el.xpi 183062 RMD160 3376b731421d198e9307a8f450e54e2084942784 SHA1 9e6acb52c0ea0ca3249a41a79b3a1fbabd7fd454 SHA256 13ceaec94309c2b859b3669b45c2bebb7665cd6e574e2828cbf8f44cb65dc8b1 -DIST mozilla-thunderbird-2.0.0.9-en-GB.xpi 173043 RMD160 de432788f05929f0fda6a68d692a5d61802e40d3 SHA1 07639273a91082b450f6fb6ccf5342860e7e2288 SHA256 09b945614fa91b1db39a995471fa0ffc5243d5bd76064e50e29e6cbe4e4e6b7c -DIST mozilla-thunderbird-2.0.0.9-es-AR.xpi 184674 RMD160 95a7e1cfbab83edbc74eafb884b0b19bb5f797fb SHA1 d261cf34c4914d3aaa0a0b8b76080d5ea366f027 SHA256 9d3f380fc6b0bf568aa77e770054d616b574aeca093af3ea336015523d7aa9e2 -DIST mozilla-thunderbird-2.0.0.9-es-ES.xpi 149566 RMD160 e6aef3e8dcdddf0a928a1f3f8c7533515e674df5 SHA1 0f1837cc88cb0256b9344f3eb73ebc721b4e17ae SHA256 e19f9d28f251950be6caf358f154c44240392ff84b84d0585e08040687aca5a4 -DIST mozilla-thunderbird-2.0.0.9-eu.xpi 181785 RMD160 c3dac5577a8bbd8e754931938d19e1cac8550c89 SHA1 edcc34416793ecf429c2022218afaae63e5b0726 SHA256 7b3d6050de8052dedfa5638ffbf305a1e35f89a55b1f008427484872bb3a23d6 -DIST mozilla-thunderbird-2.0.0.9-fi.xpi 187726 RMD160 295c7e4763743adb558f0256a8cfa29c5a10504f SHA1 2ed3006e7a40aee75e1f1299f55da5a03e7da864 SHA256 943cdefeb387783718191e55b1e59a78ce32efc9c0dab7979167b8ce3b2901d7 -DIST mozilla-thunderbird-2.0.0.9-fr.xpi 191234 RMD160 8dd86c0137a0dd308a68f8e0d57e41cbe78c07f9 SHA1 d8c70ad5812883b2b80d80f158925029c7be4b44 SHA256 c59cb92f9b0947f5284a5f3f255d20771be4cc43b1143c1fdbaddf6b24e24319 -DIST mozilla-thunderbird-2.0.0.9-ga-IE.xpi 185957 RMD160 062efab3f8500cc2c6be988c189bd28e8f6c7119 SHA1 d44876a1cfc8dd3a76f6e53ac16b6316d5f77066 SHA256 07371422175b7d7c44489f88f539558935ebf214e08ef60a7e5cd9dba72c0a04 -DIST mozilla-thunderbird-2.0.0.9-he.xpi 157237 RMD160 ac1016d96bf5f823c6ad4ba9677d941d1d5b2248 SHA1 7cdc41e0e75b392042f97068e497c23856026e33 SHA256 5db7066045ef0e002d0516a66b3d689eaef001ac582f0a32aeb3db3d05478c3f -DIST mozilla-thunderbird-2.0.0.9-hu.xpi 191688 RMD160 63fc55fdede00f384c476a25d92c0989789c8017 SHA1 8f5fde1d6398e326bfe89f331cdca7cdc0844c83 SHA256 46c6e952d8c657a3bfd0a8fdccea74866567ca7dd55f6abe985054eeabee9e15 -DIST mozilla-thunderbird-2.0.0.9-it.xpi 152544 RMD160 025451f463497fab42c7acfa0bef644ddbf8d3bc SHA1 e1e5d522ea55d4a16c6c945de4abf5a17709d006 SHA256 1d6980a6b5c5a03d7746fda61ef1bc9f14757c343cb8f8ffcda33cf89e078ae8 -DIST mozilla-thunderbird-2.0.0.9-ja.xpi 199403 RMD160 2c6decbe67a84366d7ae21fe311c4b0d1768fed5 SHA1 297698cbe5d34a0b7b634f8e9343024b731fa941 SHA256 34e4f5535758b0dd76439ffabeedbd4f7341ee3fe1b8866b2607df0b90977a4e -DIST mozilla-thunderbird-2.0.0.9-ko.xpi 170104 RMD160 9ee99932bd47864bec6988ad78e566a01ef50cbf SHA1 33c0193745c1a76f188faf225402c48e63b4b9f7 SHA256 3409be6bd3835120c2af0efb5d5f6290fff6ea4d407b3555b5b49f0ffb4f1a41 -DIST mozilla-thunderbird-2.0.0.9-lt.xpi 189453 RMD160 bf147b3eb7934ec58be9397fdaa3c772bb69e605 SHA1 1fb6b4e88afdb02a415a0c3ee0b99731283c05da SHA256 669e505913c7c1bff60afbfdf476664466c827ddf7d4821ccecd18919359261e -DIST mozilla-thunderbird-2.0.0.9-mk.xpi 196459 RMD160 b54ca5c950e7416ce9ae99f6a6a933848c64b473 SHA1 5f62943ea266b70579aadc38470e6b70c0991a33 SHA256 39d8b32acb4c74549f0340aa57ce95dcffac5b7f1445d251ae266ba2c127e9f1 -DIST mozilla-thunderbird-2.0.0.9-nb-NO.xpi 183235 RMD160 49cd401abedbc3b4e8fd2f2cd214c36284b2cabb SHA1 0828ec94971000067d1c91a78c063eced3c0bbb8 SHA256 cfe3e144e36118859ce33489e90362bc07cd9eaf2945601cd189a59e822d69e6 -DIST mozilla-thunderbird-2.0.0.9-nl.xpi 184157 RMD160 572aaa835e8d952d65b0aac7e67ee7d77c342050 SHA1 97183b7637d8fe75364a780fe8042a5c995b2e6d SHA256 701b65128438d877798e1c814c481e23320337b4c37af50b212e2d8eee7c1bb2 -DIST mozilla-thunderbird-2.0.0.9-nn-NO.xpi 184111 RMD160 67f782adddaf5f0f4f233e60f3f1e625fb75c3c5 SHA1 ade27059e34e581b293af06bd7f73c74f5742b71 SHA256 1e93ef6c621410945eadb9cec51ac7b4bf771ad3370d81356214d9570f001d57 -DIST mozilla-thunderbird-2.0.0.9-pa-IN.xpi 205013 RMD160 596680ff70ec405f86ef11a433a01b5438b0e9ab SHA1 01243466213df0438925a0daac899ba7ba7148af SHA256 4e4e621a4b6e94208cb76a0107129225461943e9a2eaa18b2c863c7760407fba -DIST mozilla-thunderbird-2.0.0.9-patches-0.4.tar.bz2 30490 RMD160 6de9b391ed6bbc1e73170c0fdbab5c68fb1edc55 SHA1 84d4c739694d42cedd0be0ac0d23fd10d1278cd7 SHA256 b27df2b6203639f7c8c5b0db05489f80f9b282b5e693d0cce9b9f7d853bcb4aa -DIST mozilla-thunderbird-2.0.0.9-pl.xpi 177400 RMD160 a8d5796cd7b51410a4348c9b95eb3fca787671e5 SHA1 37631190a97d1a40cc01f15e59e1b72c82f8bfb3 SHA256 0066430efd2664ef70b662f60c9d9c8f55829ab52610aa9a7d559b338e7a225e -DIST mozilla-thunderbird-2.0.0.9-pt-BR.xpi 183068 RMD160 0d9f85d9d2cda9281f99f54b127e70a1bac07c60 SHA1 5d197f0a40434513ff25c06dc574426a3afbe7e1 SHA256 2d3dbc803c525820b3ff59e3acb9d79bd98a80a980f546d5c2b43f0f9963fec7 -DIST mozilla-thunderbird-2.0.0.9-pt-PT.xpi 183919 RMD160 c30b09c15f1531c17e6081436b959748ac004cd0 SHA1 8236b678cd45cd01c669b238a74401b87e6b6616 SHA256 33aec259d9f5e1da3806199246aa70e7e7f3b5fccef4a4d5ddb02b855877a9a5 -DIST mozilla-thunderbird-2.0.0.9-ru.xpi 174189 RMD160 44b62619c607d682937d714415d511416a5e6f46 SHA1 2fbc5858946267b6716d5f623a7efd50d538ada6 SHA256 5b064647a06b960d2a2b80f85cfad0b8ab23a9950691107e902e39278a9d4aab -DIST mozilla-thunderbird-2.0.0.9-sk.xpi 191718 RMD160 a252ce23e2cdbeaa378a9693d0a331d32698aa5b SHA1 428431c3894754064d0e57c7f8a18a1909596d49 SHA256 8ca7fb91f67912d377fc95a8c6be5177e9d95c1befc38a0bf6f633fcfa7936fb -DIST mozilla-thunderbird-2.0.0.9-sl.xpi 188016 RMD160 dc81bda551fd54282c2459a029c7a1f3b2d66b54 SHA1 1750fb5497757dbe13aa9e0d94c7b7d6b3ac06af SHA256 1a001c73b01308e0b210bf6f64f980638262f0f4de752f8789ec701b837c839a -DIST mozilla-thunderbird-2.0.0.9-sv-SE.xpi 191925 RMD160 091a17ee11937b82576df731fddc5cefa2d150f6 SHA1 af4726a75f17b2cb8568119e6420c9a7d91a343d SHA256 f06e93c25172680763a9d65ccda49e7e423efdc233df9841e103ad21d8e3c842 -DIST mozilla-thunderbird-2.0.0.9-tr.xpi 157692 RMD160 f471c361ab141a84108ef2e3a4f732650fb01e9d SHA1 6c39e34ccc201ecef6e8680a11116f5b537aa4cc SHA256 0d9ad6e10cbd393ae705c3273f8acf9395204a44b713190bf039498cdf8c5536 -DIST mozilla-thunderbird-2.0.0.9-zh-CN.xpi 147618 RMD160 fe0e22ad5fc0d2a96e9f7cf73b9101af9a8afc58 SHA1 d5cd520bdd059116ed099cd3a292dd59a2038d1d SHA256 26aa1d64aca9f18a9b587da7dc0650129bb988ff9f5f12fe1ba85ee95a8b44e3 -DIST mozilla-thunderbird-2.0.0.9-zh-TW.xpi 153696 RMD160 ba6faa2386bc74465651a505c5f66ac86084247e SHA1 7609b996c107afe063521f12571da39d20052b0a SHA256 6a852fed42bd416446ace7dd73726222405d5bbd877add9d2e7e4a774c1c3767 DIST thunderbird-1.5.0.14-source.tar.bz2 36183747 RMD160 28f16d7b9b86ad94f7deafc324266429e3708ac8 SHA1 e952ae6724cdd5558c73c9ada842157b155b0708 SHA256 e5cab7b16a7d47a4e9fe2f9361c69fe6dd0e94fda3ec70d27da1c65e1bf45d04 DIST thunderbird-1.5.0.8-source.tar.bz2 35984263 RMD160 b383c05050fba58f922eb897687f2be86f70c39a SHA1 25dd00161e2b4a5bc2968ef4b9547e4431296a33 SHA256 dbe85085d627875f44984529f160bd53e9b7667a134b42c295cba2e6d4691bcb DIST thunderbird-2.0.0.12-source.tar.bz2 37485204 RMD160 80d6fdb4b8e085a82234825cfbfc6cd05d015f6f SHA1 36ea64353d32a9f138ef658250cfdcf8f9e862f2 SHA256 a7ed39bcac6357687f9758f0b1282e9f0545e12277b4fc44c70506659c25a7b6 -DIST thunderbird-2.0.0.9-source.tar.bz2 37562994 RMD160 0a7e3aeb76b4ef6c84634b2935e84f56dc859051 SHA1 fede9db98f25adb978b84129a6d15a4dbe6bbb3e SHA256 bff4078379abd8616811e06f848aaaebd2cf39b7ae70c1434377c2aaaa6fec80 DIST thunderbird-bg-1.5.0.8.xpi 220781 RMD160 445c0ddd8484fee0a47665ecd8bb1ec56b98de0f SHA1 6c5579a5266fa13b9c0ec16534e7fc18e4b5009f SHA256 570287d21cfd7be8f4d3b5033bcd3f823e4ea8847bca0cb93729fa0f364256c2 DIST thunderbird-ca-1.5.0.8.xpi 183257 RMD160 ba9022243550b147ecd9648d72666d90378f9a00 SHA1 a47328a29f494d23f12a65591ca6d427e3c58f37 SHA256 bde1013b545e4cb11501c82235cd0730a9fdd90c4d5187cf0a99fadfebae5be8 DIST thunderbird-cs-1.5.0.8.xpi 191479 RMD160 12b8c3ed3e9bae1760ef9a9be342f2abe8bbd84a SHA1 e201fa10c9dc36c529c2475c4f59f1b21db21fee SHA256 750088ba327aac1203892fe93279ba9013bf6043cf813bf055fe4fe8bedbf925 @@ -149,6 +112,5 @@ DIST thunderbird-zh-CN-1.5.0.8.xpi 155475 RMD160 f94b7a509d2c1f18dbd3ff12ab1d980 EBUILD mozilla-thunderbird-1.5.0.14.ebuild 8119 RMD160 29122290547ecb0c13c17010f5c31d3360fb78ce SHA1 8c984d8192e4ae242351475282322dc051583a2e SHA256 a5f08bb7d52a391aeddbe44a8d556abd42c42504d13e973d1849c5ef0d00d6e7 EBUILD mozilla-thunderbird-1.5.0.8.ebuild 7640 RMD160 950f47b78974d492d35d6d2d62c819d78ab85b14 SHA1 ac58f30727ead4de053d762ada0464851ebd4859 SHA256 f18bc3e6f8712f2e2021a3ce5fc047cef0fb7c78ec234192d5a01fcf49c82531 EBUILD mozilla-thunderbird-2.0.0.12.ebuild 7790 RMD160 e248aff70042c152c5983dbebf0f1ca835a14430 SHA1 504e73a439f63857a7e3eff08328b4b6a41c84a0 SHA256 2f586d63380d75f199ef14897b40e7fee9337c379d673b3ad65242bb6bafbdd6 -EBUILD mozilla-thunderbird-2.0.0.9.ebuild 7785 RMD160 709d307deb6ff4c1a122814fb1afb78b660d4cee SHA1 20ef2b597b3f8320d3f9088aa598551b4ffcb1ca SHA256 b86c8f42d010ab912bfc7b095af0f937c23703a19cbf0990dfbdc55515f7692c MISC ChangeLog 38737 RMD160 8debd5763d26c8e74574fa2a1c2ee7d78b944e94 SHA1 ee212fe7386a9d0b213fecf34016529b0926851d SHA256 9830419ad656803ee4bdc2ae47e4e064ad5e55740096d4d0faeb36b34a689884 MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.9.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.9.ebuild deleted file mode 100644 index aafe6455f05a..000000000000 --- a/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.9.ebuild +++ /dev/null @@ -1,253 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.9.ebuild,v 1.9 2008/02/02 17:29:03 armin76 Exp $ - -WANT_AUTOCONF="2.1" - -inherit flag-o-matic toolchain-funcs eutils mozconfig-2 mozilla-launcher makeedit multilib mozextension autotools - -PATCH="${P}-patches-0.4" -LANGS="be bg ca cs da de el en-GB 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 zh-CN zh-TW" -NOSHORTLANGS="en-GB es-AR pt-BR zh-TW" - -DESCRIPTION="Thunderbird Mail Client" -HOMEPAGE="http://www.mozilla.com/en-US/thunderbird/" - -KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86 ~x86-fbsd" -SLOT="0" -LICENSE="MPL-1.1 GPL-2 LGPL-2.1" -IUSE="ldap crypt bindist mozdom replytolist" - -MOZ_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}" -SRC_URI="${MOZ_URI}/source/thunderbird-${PV}-source.tar.bz2 - mirror://gentoo/${PATCH}.tar.bz2" - -# These are in -# -# http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${MY_PV}/linux-i686/xpi/ -# -# for i in $LANGS $SHORTLANGS; do wget $i.xpi -O ${P}-$i.xpi; done - -for X in ${LANGS} ; do - SRC_URI="${SRC_URI} - linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${P}-${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}-xpi/${P}-${X}.xpi )" - IUSE="${IUSE} linguas_${X%%-*}" - fi -done - -RDEPEND=">=www-client/mozilla-launcher-1.56 - >=dev-libs/nss-3.11.5 - >=dev-libs/nspr-4.6.5-r1" - -PDEPEND="crypt? ( >=x11-plugins/enigmail-0.95.3-r1 ) - replytolist? ( x11-plugins/replytolist )" - -S="${WORKDIR}/mozilla" - -# Needed by src_compile() and src_install(). -# Would do in pkg_setup but that loses the export attribute, they -# become pure shell variables. -export MOZ_CO_PROJECT=mail -export BUILD_OFFICIAL=1 -export MOZILLA_OFFICIAL=1 - -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(){ - if ! built_with_use x11-libs/cairo X; then - eerror "Cairo is not built with X useflag." - eerror "Please add 'X' to your USE flags, and re-emerge cairo." - die "Cairo needs X" - fi - - 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 - - use moznopango && warn_mozilla_launcher_stub -} - -src_unpack() { - unpack thunderbird-${PV}-source.tar.bz2 ${PATCH}.tar.bz2 - - linguas - for X in ${linguas}; do - [[ ${X} != "en" ]] && xpi_unpack "${P}-${X}.xpi" - done - if [[ ${linguas} != "" ]]; then - elog "Selected language packs (first will be default): ${linguas}" - fi - - # Apply our patches - cd "${S}" || die "cd failed" - EPATCH_SUFFIX="patch" \ - EPATCH_FORCE="yes" \ - epatch "${WORKDIR}"/patch - - eautoreconf -} - -src_compile() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - #################################### - # - # mozconfig, CFLAGS and CXXFLAGS setup - # - #################################### - - mozconfig_init - mozconfig_config - - # tb-specific settings - mozconfig_use_enable ldap - mozconfig_use_enable ldap ldap-experimental - mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} - mozconfig_annotate '' --with-user-appdir=.thunderbird - mozconfig_annotate '' --with-system-nspr - mozconfig_annotate '' --with-system-nss - - # Bug #72667 - if use mozdom; then - mozconfig_annotate '' --enable-extensions=default,inspector - else - mozconfig_annotate '' --enable-extensions=default - fi - - if ! use bindist; then - mozconfig_annotate '' --enable-official-branding - fi - - # Finalize and report settings - mozconfig_final - - # -fstack-protector breaks us - if gcc-version ge 4 1; then - gcc-specs-ssp && append-flags -fno-stack-protector - else - gcc-specs-ssp && append-flags -fno-stack-protector-all - fi - filter-flags -fstack-protector -fstack-protector-all - - #################################### - # - # Configure and build - # - #################################### - - CPPFLAGS="${CPPFLAGS}" \ - CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD="$(tc-getLD)" \ - econf || die - - # This removes extraneous CFLAGS from the Makefiles to reduce RAM - # requirements while compiling - edit_makefiles - - emake || die -} - -pkg_preinst() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - elog "Removing old installs with some really ugly code. It potentially" - elog "eliminates any problems during the install, however suggestions to" - elog "replace this are highly welcome. Send comments and suggestions to" - elog "mozilla@gentoo.org." - rm -rf "${ROOT}"/"${MOZILLA_FIVE_HOME}" -} - -src_install() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - # Most of the installation happens here - dodir "${MOZILLA_FIVE_HOME}" - cp -RL "${S}"/dist/bin/* "${D}"/"${MOZILLA_FIVE_HOME}"/ || die "cp failed" - - linguas - for X in ${linguas}; do - [[ ${X} != "en" ]] && xpi_install "${WORKDIR}"/"${P}-${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 - - # Create directory structure to support portage-installed extensions. - # See update_chrome() in mozilla-launcher - keepdir ${MOZILLA_FIVE_HOME}/chrome.d - keepdir ${MOZILLA_FIVE_HOME}/extensions.d - cp "${D}"${MOZILLA_FIVE_HOME}/chrome/installed-chrome.txt \ - "${D}"${MOZILLA_FIVE_HOME}/chrome.d/0_base-chrome.txt - - # Create /usr/bin/thunderbird - install_mozilla_launcher_stub thunderbird ${MOZILLA_FIVE_HOME} - - if ! use bindist; then - doicon "${FILESDIR}"/icon/thunderbird-icon.png - domenu "${FILESDIR}"/icon/${PN}.desktop - else - doicon "${FILESDIR}"/icon/thunderbird-icon-unbranded.png - newmenu "${FILESDIR}"/icon/${PN}-unbranded.desktop \ - ${PN}.desktop - fi - - # Install files necessary for applications to build against thunderbird - elog "Installing includes and idl files..." - cp -LfR "${S}"/dist/include "${D}"/"${MOZILLA_FIVE_HOME}" || die "cp failed" - cp -LfR "${S}"/dist/idl "${D}"/"${MOZILLA_FIVE_HOME}" || die "cp failed" - - # Dirty hack to get some applications using this header running - dosym "${MOZILLA_FIVE_HOME}"/include/necko/nsIURI.h \ - "${MOZILLA_FIVE_HOME}"/include/nsIURI.h - - # Warn user that remerging enigmail is neccessary on USE=crypt - use crypt && ewarn "Please remerge x11-plugins/enigmail after updating ${PN}." -} - -pkg_postinst() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - # This should be called in the postinst and postrm of all the - # mozilla, mozilla-bin, firefox, firefox-bin, thunderbird and - # thunderbird-bin ebuilds. - update_mozilla_launcher_symlinks -} - -pkg_postrm() { - declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/${PN}" - - update_mozilla_launcher_symlinks -} |