summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-01-05 16:11:09 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-01-05 16:11:09 +0000
commitf2afb52f89aa8daf66fd516941702e939dd363a3 (patch)
tree2cefd4fbed82ad2d6cdfc34358f32ea7b97bea5c /mail-client
parentremove unused qmail.eclass; remove unused sed scripts: they are not needed si... (diff)
downloadhistorical-f2afb52f89aa8daf66fd516941702e939dd363a3.tar.gz
historical-f2afb52f89aa8daf66fd516941702e939dd363a3.tar.bz2
historical-f2afb52f89aa8daf66fd516941702e939dd363a3.zip
old
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.26-gentoo-r2 ia64
Diffstat (limited to 'mail-client')
-rw-r--r--mail-client/mozilla-thunderbird/Manifest39
-rw-r--r--mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.18.ebuild268
2 files changed, 0 insertions, 307 deletions
diff --git a/mail-client/mozilla-thunderbird/Manifest b/mail-client/mozilla-thunderbird/Manifest
index 216c7f776a90..57fbc2697346 100644
--- a/mail-client/mozilla-thunderbird/Manifest
+++ b/mail-client/mozilla-thunderbird/Manifest
@@ -36,43 +36,6 @@ DIST mozilla-thunderbird-1.5.0.14-sv-SE.xpi 191058 RMD160 0bae852025801bffe74b03
DIST mozilla-thunderbird-1.5.0.14-tr.xpi 155700 RMD160 0ea83de263828a41711e85d4e06e328e6dbeb098 SHA1 6a6d52e6b969ebe97c8cbf33c6d4eaa9b07ef4a6 SHA256 f8f06c84d09e01bf2145acc22845414accdfda585c2a2b7454bcba554e060af0
DIST mozilla-thunderbird-1.5.0.14-zh-CN.xpi 155477 RMD160 883b95f7535ee25d35c0a49a5f32d52b50ee7aff SHA1 3da941ce5b922e73a5dbab43c82f645a25af0969 SHA256 c531bc927ba8326a76351a5f8ca0e0a1cb991751d954053801f0176e4a7cb7df
DIST mozilla-thunderbird-2.0.0.16-patches-0.1.tar.bz2 30163 RMD160 58d8b067c9a15d9e550b9264a3406d61d8bb7406 SHA1 38e41cc7fbe382991637fd67374ee4df87402273 SHA256 afa27ebd5203a4897f896135733fd74f4aebeddfad5ff6126f7e89196ae37e51
-DIST mozilla-thunderbird-2.0.0.18-af.xpi 177922 RMD160 9f2555bec95c4024630d686c54fa52defb6028a4 SHA1 531661c336f1bdefe7a2433a628a26031c1007bc SHA256 7ac3c0bf44a448ae4b815f3f994a2906df52c077e057c58df2f0a1d3cdef9550
-DIST mozilla-thunderbird-2.0.0.18-be.xpi 184812 RMD160 e7bb3f049363746242feccf95ecbdd8c5cf3e539 SHA1 567f1457e2e4efe73813d9dc64e9163b1f8b8169 SHA256 2b3a968b206918d9e884701989496e0da82722c4bd682c3fb9f9c0d6559d0d06
-DIST mozilla-thunderbird-2.0.0.18-bg.xpi 196486 RMD160 70158fde81a0cc0a49a7071d20d98611fef04328 SHA1 6e933a567acd58a238b627139b211b657f855cbc SHA256 6bbffc51a3ce0e62a160287e4ac4a8a02de854a3f3441e2185f61270120dbc6b
-DIST mozilla-thunderbird-2.0.0.18-ca.xpi 184231 RMD160 cab1d0b516852fe42368d7b13d8bbb93faa9a3bb SHA1 0115d2be7752a1c7addcbe3ecd76cf1152e29db2 SHA256 13e588806069b58594d74669d3d329383ecc3340c8724ad94118baf85b9fc584
-DIST mozilla-thunderbird-2.0.0.18-cs.xpi 186166 RMD160 dad44ec6ea39df03365ffb2facdc635078e5cb94 SHA1 151acbb54a87e360ec2a945dff84590718c9ef22 SHA256 9a682b699978aef0ced016f4a27d270f6c1457bf1674b335234a9b9d4dadfec2
-DIST mozilla-thunderbird-2.0.0.18-da.xpi 179120 RMD160 4709b65b9aae3737fa2ff6932ce5db4abb9acd37 SHA1 53be914faa08478c97be2dd7e776a635aa46b6d2 SHA256 fe73f3f19477e3a6a1a8c630f190035bd87b5601bfceb5b54a2a658c8a2e28bc
-DIST mozilla-thunderbird-2.0.0.18-de.xpi 159065 RMD160 623e367b616fcdab41f2e8b6a5b797cc9170848c SHA1 a2f293af2272242b98858a598468b7b1782c2da1 SHA256 d13ecf6d99d283b99d12da88f3c0838c93c338265008802bf236bf70b0d0dc45
-DIST mozilla-thunderbird-2.0.0.18-el.xpi 183060 RMD160 3aad67e81233883d36ca2acdba0308d2a0e22841 SHA1 84cb5892c461945f68b3989095c04c2c9e59795f SHA256 bd4bfdd5cbebe82850995d43600ea47d67680213272bb3af88d9065fc24380e0
-DIST mozilla-thunderbird-2.0.0.18-en-GB.xpi 173049 RMD160 57cea29bdb8a48cc7f6fe793d76cb0b56e003f18 SHA1 4690e10b920ca794ff4b6c420223ea5a1d6e8ee3 SHA256 86d7a03deb53e6943a23c3db4dd06cd30f18f0105cb3fdd17b18ed127b919e49
-DIST mozilla-thunderbird-2.0.0.18-es-AR.xpi 184679 RMD160 33d3a8fbb9c293286a1bd008c7c44ab80919f35d SHA1 c38c806f1dc338476abe28c54ea8dab0755b7a9c SHA256 492f0c176de6f29863a59fa2fd051263691afbfc45cf201a2752b6689c7bca0c
-DIST mozilla-thunderbird-2.0.0.18-es-ES.xpi 149560 RMD160 c986db02a8966d6d216bfc8de2f19ba9d1749b17 SHA1 4b5c1be4dbeec06d6999828f1ff43366cbfd89e4 SHA256 29be78eb93a382505ab569b74d23dd282bf8e2c1c87c362ca3fab0642211d385
-DIST mozilla-thunderbird-2.0.0.18-eu.xpi 181798 RMD160 e4cfd45d7bd6e7322e3c6b24d48c3144cca9e614 SHA1 02145357c8f6dbb70bae96055457ca400b5722e9 SHA256 60412f8d31fcf459db8e3b959a5b8c0e2657cffe8b7fe3bc2b5b8b8cee6bf2ea
-DIST mozilla-thunderbird-2.0.0.18-fi.xpi 187733 RMD160 1fae0098bd27853fda9c767628596b126ecb381b SHA1 0edd71621449c5f0d7adbb74a6c3392e4ff6e386 SHA256 133e3bb13a17b1e18e80ebcb8c10da202c7ee6b28a159dcc41b2c5d0594d76ec
-DIST mozilla-thunderbird-2.0.0.18-fr.xpi 190911 RMD160 39934d99ab284328eeebbf841a8a44515c8aef41 SHA1 77a2c386363fdc99052fe89414e9c784d679d8af SHA256 e1f7a6c86b3964a0325b8b9c56c4a810eac9a02627ff2cda2b1b055f1bb79645
-DIST mozilla-thunderbird-2.0.0.18-ga-IE.xpi 185958 RMD160 598b36a7e6ae96bbf56297ec7d8e1e7b036ba06a SHA1 ae4553e9b9ff58974a747477c9d18544cb87a054 SHA256 ebdbe37acc6ac2a08b3c31909f6e5411b866b2a1bf90fbaaaafeebb88e5e81f5
-DIST mozilla-thunderbird-2.0.0.18-he.xpi 157242 RMD160 744e12bd116d72ce0a28f7b693b587a4ea963124 SHA1 378a37085faf4c53ea590206e459021c4b1a4b5c SHA256 5da03591427fab566c7ccf86a5b62b072bdc710f7ef0beca3d3c6b395731c6c2
-DIST mozilla-thunderbird-2.0.0.18-hu.xpi 191693 RMD160 e476be66dc5ed40d361490fc4a7260aaccd17c43 SHA1 de7f16e1a43c384e1fe812b240505fbcae06ef76 SHA256 0bf6a020efdb63fe24a871587df042dbdfc2e3b4a637a09f272079f9f1a0a1d5
-DIST mozilla-thunderbird-2.0.0.18-it.xpi 152553 RMD160 aa4569be09e0cf110584311ea9990837fdcb4bbb SHA1 8f9ca2e9c494644c05a08aa74d050aea75f5049b SHA256 3f6747e0b7736ab0a67295adde30e04f943e24fc281a420101fe2b0337384d50
-DIST mozilla-thunderbird-2.0.0.18-ja.xpi 199410 RMD160 3f571a019b7519f5e514f4b56c360c5f0ffb83d6 SHA1 c8ba61cda0f561c6bcda88a52a2e3cd4bb2e24ab SHA256 8c80e8799198fda43f66f9c17135d6ec80dc341d8fd88517d64802d27695f412
-DIST mozilla-thunderbird-2.0.0.18-ko.xpi 170142 RMD160 9370e5c2dbcc4e8d286fbf68fbf492763c7711b2 SHA1 dc00c1d5e9a74978e2e1df0e5dff37acbfab7a8b SHA256 5b56b9925fc425a72106dec2ebaee02e50b4e0935917f8b56a15d3aecb89b2dd
-DIST mozilla-thunderbird-2.0.0.18-lt.xpi 189456 RMD160 2cb2831935188b13e501483e946fae1fe5ee9725 SHA1 34301d6a69ade3d05cd7b0922050d87c4e59fd48 SHA256 daf3fe2a6119357212898ff9172af8b7da148f2aa679d8da276d72bb38761624
-DIST mozilla-thunderbird-2.0.0.18-mk.xpi 196440 RMD160 ccc656c2c3b00d12b3c136294396c9877851c73d SHA1 0269e66b932942e7ded2460c069c7aa146a71580 SHA256 87d1191a4508cd33cbb5d5e50fa54941ed29b303f1436550483996c488a51e59
-DIST mozilla-thunderbird-2.0.0.18-nb-NO.xpi 183237 RMD160 310c02ceb6e4253248729d18ecdc97b53a5825b5 SHA1 a3d195bb1d2ad542d162973278171a72eb23eac9 SHA256 e2a04a0e5cb3c8e3c41bb8e4670d2a2b29b36e89452f3ef0cafadd6e2ae47b10
-DIST mozilla-thunderbird-2.0.0.18-nl.xpi 184152 RMD160 db1784fe7b840308d137e17a8da3569931ec6b44 SHA1 89a5b43d987c46db0d7ad7be547d242c20a6733c SHA256 c438f14c6d977404e05e31ac52cef168c40d65d13534003abceb7deefff8b2fd
-DIST mozilla-thunderbird-2.0.0.18-nn-NO.xpi 184116 RMD160 1b8f1785e4ee01084b769ac55df2b027e9af7369 SHA1 b8710de4a0249dead1532ba235a9822136f62b36 SHA256 9e58e375e2d46b8eeed02a6aec51ab76a67952e366a4ed50cd80cca99d3673a9
-DIST mozilla-thunderbird-2.0.0.18-pa-IN.xpi 205022 RMD160 60b68115df4a16abbc6071c388d0d18270e00084 SHA1 71292ab68c04f4c3dd32e164f06a961178732c08 SHA256 a62424bb3fceec95b19defdcd3d494a5979262bc0f9ce30ba7212a5c3a8517c2
-DIST mozilla-thunderbird-2.0.0.18-pl.xpi 177417 RMD160 2db27a8efcf39ddf38bcd5e877102d412cc90bbf SHA1 5c899df42016e39e8f3ea343678e7ec1af77a328 SHA256 829fb294a3648555ede1479430b25d1b5ac9b6dfb98f35766fc4b91d2ab1291b
-DIST mozilla-thunderbird-2.0.0.18-pt-BR.xpi 183071 RMD160 3f0f73cca265aa5173cd8d2e5994e0022cbe8a71 SHA1 232631e3832c956d795ec168d99b25a097ebac0c SHA256 64ad261ea7ab946041d946b7798f98938657812df80e26b99199f81ca0c42c00
-DIST mozilla-thunderbird-2.0.0.18-pt-PT.xpi 183924 RMD160 90beff39294a56d37c846eda634ac4536ab7a8d6 SHA1 d8e1ac4944a033c9fae24c9246f13772625e6654 SHA256 0c1e1a19e007fa6cac2451abcbd786d20cb782ec5bad0bb1932cf2f6b961cc45
-DIST mozilla-thunderbird-2.0.0.18-ru.xpi 174239 RMD160 88491e29776dea5f10f6c0006e49cb9aae35b8e2 SHA1 4a515d72b6c92133fb98fafdaeb6be6d9b17683b SHA256 ea5389a16ce37c184d5d0cf898da1e6ee16a27ffa8f89989fd46288b447c9856
-DIST mozilla-thunderbird-2.0.0.18-sk.xpi 191717 RMD160 0a2f2531c4ef50c2973be21eb6aefda33069de09 SHA1 452ce3ab92bad9d162640bebcecab45650a57818 SHA256 8cfe541a3d9111963e0be8c991a41c04f6b13d55cbbec452306df110fe2e6569
-DIST mozilla-thunderbird-2.0.0.18-sl.xpi 188025 RMD160 5c653361cc031b73e78791455e2f4c136cc0da54 SHA1 487c2de0fc64a374301388af944152f24671afd3 SHA256 31ceb2bc676bf1c6f1adac58c2693dfc56d003cc8b64695d70e1ad5a8cb24f13
-DIST mozilla-thunderbird-2.0.0.18-sv-SE.xpi 191928 RMD160 e7175510a27f31da42900ba2798a3c22ef6c231b SHA1 cd476807e4528c3e639d7018454a0706991e5810 SHA256 0b64f928b5969fb638f3044bc494acca9f53871952089a17dbff8cbf396096e1
-DIST mozilla-thunderbird-2.0.0.18-tr.xpi 157710 RMD160 c5cddca3b52478cfac2fce690cbacbda9861a7c5 SHA1 75dd300ddc109437ac58a6223a4f5908b6920f6e SHA256 558b641ebefeae29d9b209e301b1afbdc133b0198bfb9ea118a90d0f376145ad
-DIST mozilla-thunderbird-2.0.0.18-uk.xpi 194505 RMD160 9efdb1297f48a3cc1a8631790858ec437daa56f0 SHA1 b6892a8441cc97344bf7397584f3279b318dc9f6 SHA256 c9c7c380b376abb958fe776559c8eaa73fa5736ea2d68072ae4f85d76ee70265
-DIST mozilla-thunderbird-2.0.0.18-zh-CN.xpi 147643 RMD160 5390e4000beda61bcba52dc98b8f1c60f856e086 SHA1 0351d34d5f922548a0963d658e863045940af8f4 SHA256 ea19f698e783400e9b15ed106b62329b12d5b620d3af5252fdaf07865359b195
-DIST mozilla-thunderbird-2.0.0.18-zh-TW.xpi 153702 RMD160 f013f009fab714d0908ecf064d2eb36058fa061a SHA1 47071b5646015789eb59c5ebc3eeee5ff0c20e51 SHA256 e89f5347a58cb302dd4d51eafe5ba9c48c3a29a8c2c30203b284def83dbbe1cd
DIST mozilla-thunderbird-2.0.0.19-af.xpi 177923 RMD160 cc66a1d8576561fd76ee49f8b2502f0d3dedc3fa SHA1 904358009e157ed791fe48d1dad41eb42ff53f69 SHA256 ab5e1a1265450dbcc41d38e633aead4e72341966b48465b49de4d8c442760172
DIST mozilla-thunderbird-2.0.0.19-be.xpi 184813 RMD160 2aae12710cad61f3f6a5e795ba4fcd4b283b5707 SHA1 3983e3f65332929f04522373c3a56d89bab4074a SHA256 3901066d9b80fb5d4d364b855cce45764823a1d32c264d23eda2338b7d4f980c
DIST mozilla-thunderbird-2.0.0.19-bg.xpi 196487 RMD160 c0a3094dff6f2289b35fef7231090d09d5fdf53f SHA1 96d00d807056e165e9d487da194e36a7b3c94778 SHA256 0173fb121a3d2b30635e52c2a2610465afc5f311cd57f56e0a1b3acc75a3ed82
@@ -111,10 +74,8 @@ DIST mozilla-thunderbird-2.0.0.19-uk.xpi 194506 RMD160 1570a606530d7dbb4ccad316d
DIST mozilla-thunderbird-2.0.0.19-zh-CN.xpi 147643 RMD160 eeffd2202bac5b5da30931e5b3f154dd48e97707 SHA1 b4c25d1fe667b91ce37d6579acd13c2c00f931c4 SHA256 68b4bf105f6275718e7024c6229802dd4952efb3af55158e505d9c5b082efaf2
DIST mozilla-thunderbird-2.0.0.19-zh-TW.xpi 153703 RMD160 493ecb11c6b34e4619c122b8a40b4c273b080df2 SHA1 922f551aad47f477bb2d6c77d3bb7508fb15a5de SHA256 8464770357cfaf18615874df8b128656b909337db089200895cb94d02389aaaf
DIST thunderbird-1.5.0.14-source.tar.bz2 36183747 RMD160 28f16d7b9b86ad94f7deafc324266429e3708ac8 SHA1 e952ae6724cdd5558c73c9ada842157b155b0708 SHA256 e5cab7b16a7d47a4e9fe2f9361c69fe6dd0e94fda3ec70d27da1c65e1bf45d04
-DIST thunderbird-2.0.0.18-source.tar.bz2 40455125 RMD160 093b2328a000f18494fd552cce58fa2ec55085a1 SHA1 4d05300280763e34c7a115835523ed2805f7733c SHA256 f18f97833661b260d819161080329f857e489b3c934f4648012b8728b7f3d597
DIST thunderbird-2.0.0.19-source.tar.bz2 40452690 RMD160 7139fb27b1a236564ee6470c4be13e93b6ec9217 SHA1 4d2e0f8b405bb0ceab20a9f570ce91cf4640f456 SHA256 9a23d3a93c7646867227558727cf564eaba70da87e21e097eb46d951ed839f25
EBUILD mozilla-thunderbird-1.5.0.14.ebuild 8126 RMD160 75af31f9e1e77946253d8510e58de626c682c8cd SHA1 c7ba28ef58e8eba04826cdd0b0797543e4b85c84 SHA256 846fd0658e0cf6ded21f83f241497c68638114678ff69a90d8f394d69bcd8103
-EBUILD mozilla-thunderbird-2.0.0.18.ebuild 8293 RMD160 65b097ee5b23175c7dc874f899ff3f4e5f300f5b SHA1 007978998615cd5a4ff83978cafbdf35514f0cfa SHA256 88b519fb1086871dc2b93d49e6f3bd0b8cf0bb3c75eb3e2fde39b208ed439a6e
EBUILD mozilla-thunderbird-2.0.0.19.ebuild 8293 RMD160 f3bbcbda206a8c63a65dfce62530531753c4f0ea SHA1 96e34328271e18489530b2d296fcbed9ca975891 SHA256 e2e0c115a09ca011e375e1f13866208967f8d461631a214c39b0c3d9ec1bf6dc
MISC ChangeLog 42897 RMD160 e2d871115e36ee7d5e04b338c47062abd12e9b13 SHA1 dfd6c45d9d8a7af3598be55fb857a2a10c23d5ea SHA256 5b9067f97d65eedf4d99e8af8e6484b460970311778552d4a37ced8231bc00ae
MISC metadata.xml 399 RMD160 c2bc8ef91c29025087629e46b575b607d854988d SHA1 59fca50081eb53b9f6167e95fa89f1933bb4d721 SHA256 d9788b19b766806196a3a1546c1ff2af8eb94b0c94917357979215ba161ca8df
diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.18.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.18.ebuild
deleted file mode 100644
index 272e22d48ed5..000000000000
--- a/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.18.ebuild
+++ /dev/null
@@ -1,268 +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.18.ebuild,v 1.5 2008/11/24 20:34:39 ranger Exp $
-
-WANT_AUTOCONF="2.1"
-
-inherit flag-o-matic toolchain-funcs eutils mozconfig-2 mozilla-launcher makeedit multilib mozextension autotools
-
-PATCH="${PN}-2.0.0.16-patches-0.1"
-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"
-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
- if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then
- SRC_URI="${SRC_URI}
- linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-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%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${P}-${X}.xpi )"
- fi
- 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.7-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 ! built_with_use --missing true x11-libs/pango X; then
- eerror "Pango is not built with X useflag."
- eerror "Please add 'X' to your USE flags, and re-emerge pango."
- die "Pango 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} != "" && ${linguas} != "en" ]]; 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 223375, 217805
- # Breaks builds with gcc-4.3
- if [[ $(gcc-version) == "4.3" ]]; then
- mozconfig_annotate 'gcc-4.3 breaks builds' --disable-optimize
- fi
-
- # 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
-}