diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-11-19 10:34:40 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-11-19 10:34:40 +0000 |
commit | 7428ae5cdac19619a2ea2f4a0d896315c3b71a4b (patch) | |
tree | 98f76a1cd8e174951b59f0d1b81c2bbe5d011c28 /mail-client/mozilla-thunderbird | |
parent | amd64 stable wrt #194900 (diff) | |
download | gentoo-2-7428ae5cdac19619a2ea2f4a0d896315c3b71a4b.tar.gz gentoo-2-7428ae5cdac19619a2ea2f4a0d896315c3b71a4b.tar.bz2 gentoo-2-7428ae5cdac19619a2ea2f4a0d896315c3b71a4b.zip |
old
(Portage version: 2.1.3.19)
Diffstat (limited to 'mail-client/mozilla-thunderbird')
3 files changed, 5 insertions, 359 deletions
diff --git a/mail-client/mozilla-thunderbird/ChangeLog b/mail-client/mozilla-thunderbird/ChangeLog index e4731ef23c1b..82ee1bebfba0 100644 --- a/mail-client/mozilla-thunderbird/ChangeLog +++ b/mail-client/mozilla-thunderbird/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-client/mozilla-thunderbird # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/ChangeLog,v 1.239 2007/11/18 15:37:13 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/ChangeLog,v 1.240 2007/11/19 10:34:40 armin76 Exp $ + + 19 Nov 2007; Raúl Porcel <armin76@gentoo.org> + -mozilla-thunderbird-2.0.0.6.ebuild: + old 18 Nov 2007; Tobias Scherbaum <dertobi123@gentoo.org> mozilla-thunderbird-2.0.0.9.ebuild: diff --git a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-2.0.0.6 b/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-2.0.0.6 deleted file mode 100644 index abd5983c8b68..000000000000 --- a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-2.0.0.6 +++ /dev/null @@ -1,105 +0,0 @@ -MD5 8270991e3d7f83aa1e33af64cca9d714 mozilla-thunderbird-2.0.0.4-patches-0.1.tar.bz2 28506 -RMD160 3af7b07b20243edb4465e9e482ed83d7ad75c413 mozilla-thunderbird-2.0.0.4-patches-0.1.tar.bz2 28506 -SHA256 2cf91839e8b609034cb0e843d0b87b2e3d1e8aa3db2ff636153a9120393a4272 mozilla-thunderbird-2.0.0.4-patches-0.1.tar.bz2 28506 -MD5 78072bc252df9cf27cbfa454f027e78e mozilla-thunderbird-2.0.0.6-be.xpi 184807 -RMD160 f595cd9848609b0627dec53f5c9e52574f3ab292 mozilla-thunderbird-2.0.0.6-be.xpi 184807 -SHA256 c35069fa454578036d1d66ea10256f454f50afb43da66cf710cf7710e4ef33b3 mozilla-thunderbird-2.0.0.6-be.xpi 184807 -MD5 d969504e3be670ec90364d23f644216c mozilla-thunderbird-2.0.0.6-bg.xpi 196591 -RMD160 97b75e20b9886755ee6915e7f41ed688cb18e543 mozilla-thunderbird-2.0.0.6-bg.xpi 196591 -SHA256 75a2bb78bf057ddacf98dfc83fc9b4019b1fb80f51d707e0fa55efb544d6db75 mozilla-thunderbird-2.0.0.6-bg.xpi 196591 -MD5 12172e7f110ecc284ba88408ddaf9ab8 mozilla-thunderbird-2.0.0.6-ca.xpi 184222 -RMD160 da66582d6c7a1e5ebf34f6e3adb2f90b39328c35 mozilla-thunderbird-2.0.0.6-ca.xpi 184222 -SHA256 3ff1952c61fd85a08be9f25f7a55e23b136962a9dd48f140a3583acdf2b3652b mozilla-thunderbird-2.0.0.6-ca.xpi 184222 -MD5 a3513781f06526b9496810ae256750e4 mozilla-thunderbird-2.0.0.6-cs.xpi 186152 -RMD160 e57d729d2b88eb77807b9a60946e70855ca074d3 mozilla-thunderbird-2.0.0.6-cs.xpi 186152 -SHA256 5821027eb5fee8582786ab1765ca10caf02840d5c4872386bc7f1729a526f370 mozilla-thunderbird-2.0.0.6-cs.xpi 186152 -MD5 27611b4a9fab9022563ef3afe1c2a486 mozilla-thunderbird-2.0.0.6-da.xpi 179126 -RMD160 0d5c336d350b9c6a4bba3dc43274fa996daa0e9d mozilla-thunderbird-2.0.0.6-da.xpi 179126 -SHA256 30f0e14aa3de0fde8f3b0d2dfe639953ebd09682cec523f8738ec93e73253f42 mozilla-thunderbird-2.0.0.6-da.xpi 179126 -MD5 e6177da0b6efa11965af2bda6194981e mozilla-thunderbird-2.0.0.6-de.xpi 159067 -RMD160 2fbff111cf4aa44342498196ee0f4d2ad21e0af4 mozilla-thunderbird-2.0.0.6-de.xpi 159067 -SHA256 bb4ff9c80ff36d5eb074f5e8538e9a55e73a3c23df589b77cef06b871b23c343 mozilla-thunderbird-2.0.0.6-de.xpi 159067 -MD5 168ad7db03af343af5c1240e968553b0 mozilla-thunderbird-2.0.0.6-el.xpi 183062 -RMD160 39f91e5f8402c27ca00ffc0545158d1c6814aa41 mozilla-thunderbird-2.0.0.6-el.xpi 183062 -SHA256 281dcb18b3e0ffa46716c915514b061f5a90321f4c3396218c033b34c04f7c60 mozilla-thunderbird-2.0.0.6-el.xpi 183062 -MD5 cf6d3e5467c69b4ad0492f39414dc12d mozilla-thunderbird-2.0.0.6-en-GB.xpi 173043 -RMD160 6455891813cd32ec6758608bcad853a8a3ab8ad0 mozilla-thunderbird-2.0.0.6-en-GB.xpi 173043 -SHA256 92ff97bf95d3ddf8996f1c43bebfe3aa3e0c9ec30a2216fb64c6e87ea85893e7 mozilla-thunderbird-2.0.0.6-en-GB.xpi 173043 -MD5 6db5a703db51282c034575c3b2bdfd6f mozilla-thunderbird-2.0.0.6-es-AR.xpi 184674 -RMD160 ef5caa46b56b4cc4953d223223f0f702a652f840 mozilla-thunderbird-2.0.0.6-es-AR.xpi 184674 -SHA256 9654ed8f16bfb7f3926e336375abd00bf8afa70b7fb8c37649cdbf5fa16a2ecb mozilla-thunderbird-2.0.0.6-es-AR.xpi 184674 -MD5 150a47b2938cf92da2c9eec870486e1a mozilla-thunderbird-2.0.0.6-es-ES.xpi 149565 -RMD160 7cb89eafbff4225c55f20088ed9aeeccdab89248 mozilla-thunderbird-2.0.0.6-es-ES.xpi 149565 -SHA256 4c813651530c027f67b3d83016a97aaef8db00aff088c93dd80b1bb5b14b013b mozilla-thunderbird-2.0.0.6-es-ES.xpi 149565 -MD5 5e48f6ee3a9094d8ac47390f2bd53240 mozilla-thunderbird-2.0.0.6-eu.xpi 181784 -RMD160 78555ec1b51f61717555cbdc9806f23182fd1499 mozilla-thunderbird-2.0.0.6-eu.xpi 181784 -SHA256 0d36d04fa10e069ea2d4320556abe015e13d99ac3d00558495f82313ece6dd06 mozilla-thunderbird-2.0.0.6-eu.xpi 181784 -MD5 5ee9c148c08afe87b9c79108cba5db21 mozilla-thunderbird-2.0.0.6-fi.xpi 187725 -RMD160 5edf6b8de9f2c357325874c5ac61c700e0b51e64 mozilla-thunderbird-2.0.0.6-fi.xpi 187725 -SHA256 f3e4148e58ba8a1256339e93e8d123b377127274ad3a6a0a24d1aca7341ec0e8 mozilla-thunderbird-2.0.0.6-fi.xpi 187725 -MD5 7b6caf7f33303b4b8e1adbaa439eeb5b mozilla-thunderbird-2.0.0.6-fr.xpi 191234 -RMD160 025f11e1769cd465e5537b9d59694835d3eef046 mozilla-thunderbird-2.0.0.6-fr.xpi 191234 -SHA256 f339ca14908cbee9f03e76be960b3e072c65530ed9d5efc720a3468c64058114 mozilla-thunderbird-2.0.0.6-fr.xpi 191234 -MD5 4ab94ee3eff7ad64b4a3bad41e887d37 mozilla-thunderbird-2.0.0.6-ga-IE.xpi 185956 -RMD160 c32a2c016ef0da7f990c2f1ccaee3665254346fd mozilla-thunderbird-2.0.0.6-ga-IE.xpi 185956 -SHA256 40247afae8b8edd0ae8ad6a12ad2a00ca7de44530a13972c33ed3cb55de2d3ba mozilla-thunderbird-2.0.0.6-ga-IE.xpi 185956 -MD5 c42dfd03dc67daed49fd89bf630d50cb mozilla-thunderbird-2.0.0.6-hu.xpi 191688 -RMD160 961c94a16df0d2e6b2dd67139f569d7314cb1a98 mozilla-thunderbird-2.0.0.6-hu.xpi 191688 -SHA256 874098b6aca8fb0b4cc82bd00d154ef9230bfb73dd3315676f7c7373c9971092 mozilla-thunderbird-2.0.0.6-hu.xpi 191688 -MD5 28cb580060c671fb4832f2c57d32499f mozilla-thunderbird-2.0.0.6-it.xpi 152543 -RMD160 39286aac687296d4de5a9488684f5344f673b160 mozilla-thunderbird-2.0.0.6-it.xpi 152543 -SHA256 2588dc173038642834fabeafd33052fe6b0542a7e9cd7849f709d3d9401509fd mozilla-thunderbird-2.0.0.6-it.xpi 152543 -MD5 29be8fec5f95036a45e528f89e54e0b9 mozilla-thunderbird-2.0.0.6-ja.xpi 199402 -RMD160 3cc0b6fea9b813c82d65a93c0946887fec70b4fe mozilla-thunderbird-2.0.0.6-ja.xpi 199402 -SHA256 e80ea365549b993dc4a4b4c15696375a86e899254fcde8a58d71d3241bf470e6 mozilla-thunderbird-2.0.0.6-ja.xpi 199402 -MD5 7e0898708b5b176c541860666e65659b mozilla-thunderbird-2.0.0.6-lt.xpi 189452 -RMD160 89ea869bd6c8dd9852f86519bcf13091fcd13d10 mozilla-thunderbird-2.0.0.6-lt.xpi 189452 -SHA256 07ce15cc76d7d69ccdc7b2c0fe9ebb4b3ee775b53ffb1dec96f8f58059844669 mozilla-thunderbird-2.0.0.6-lt.xpi 189452 -MD5 4592cce1c0ac448d92b4a8f8d9a01ba5 mozilla-thunderbird-2.0.0.6-mk.xpi 196599 -RMD160 8287bf2c4d0ffe896b844a710f2a70d3373244ea mozilla-thunderbird-2.0.0.6-mk.xpi 196599 -SHA256 cf2ab7a77b0c2ec872d1a4f54c8e6c746a6a2bdfb6d6f1fe190f5478aeea3eed mozilla-thunderbird-2.0.0.6-mk.xpi 196599 -MD5 5b78353f89212f581e1cf1a8c8fed41e mozilla-thunderbird-2.0.0.6-nb-NO.xpi 183234 -RMD160 a24e84113568c9d97a9cb1cf0ef9598a6670c903 mozilla-thunderbird-2.0.0.6-nb-NO.xpi 183234 -SHA256 373d6c35989b3771d1d3cc092a3966a18c7659a50039b1124554b19534ffc367 mozilla-thunderbird-2.0.0.6-nb-NO.xpi 183234 -MD5 0491fb62e6016f72435e01f1aba73852 mozilla-thunderbird-2.0.0.6-nl.xpi 184156 -RMD160 3e43ed9a989268c331830316913838acfa2bfe9b mozilla-thunderbird-2.0.0.6-nl.xpi 184156 -SHA256 c591d00a49a6df43bfb7bea09d030348ac9090fdb9375171276b0dc6a31c311c mozilla-thunderbird-2.0.0.6-nl.xpi 184156 -MD5 62dcb895d2deeccc8381d3dc3b3145fb mozilla-thunderbird-2.0.0.6-nn-NO.xpi 184110 -RMD160 b71c67e866799bf7b4ad57504b0b448c9702d81c mozilla-thunderbird-2.0.0.6-nn-NO.xpi 184110 -SHA256 e5ba9d09d5736444172d6b5c85e43ac83fb886e9595325732aeed22b1fa66d8e mozilla-thunderbird-2.0.0.6-nn-NO.xpi 184110 -MD5 6369fdc184580c275e50c1f4fba84edd mozilla-thunderbird-2.0.0.6-pa-IN.xpi 205012 -RMD160 cf52c61ed22ab1ba5e19404d4ae2f7716d85ceb4 mozilla-thunderbird-2.0.0.6-pa-IN.xpi 205012 -SHA256 9532c1ff03bf451a15d8c05533143e5d16243e74287138e70fb53ca726c23ba0 mozilla-thunderbird-2.0.0.6-pa-IN.xpi 205012 -MD5 1af91008da6625e8f1db965aed62d038 mozilla-thunderbird-2.0.0.6-pl.xpi 177385 -RMD160 185d6db6070746c4f82e3fdf0a9a2852c37b5fb1 mozilla-thunderbird-2.0.0.6-pl.xpi 177385 -SHA256 83926aa3b046886149015da6c918193c118ffd10322ed8532410cc09d309b296 mozilla-thunderbird-2.0.0.6-pl.xpi 177385 -MD5 86e6a0d88f8cef1d2ce7524095e6b46a mozilla-thunderbird-2.0.0.6-pt-BR.xpi 183067 -RMD160 d7b2d0f99d5a7dfc604e0e918a7c7eee07b1f1c2 mozilla-thunderbird-2.0.0.6-pt-BR.xpi 183067 -SHA256 8e6e351ab1175cdd04e84bf0deb3c9756317a2f8af4c501eb086bcf88b7e8962 mozilla-thunderbird-2.0.0.6-pt-BR.xpi 183067 -MD5 988d7729ab0c91f95340d4e1c29a0c01 mozilla-thunderbird-2.0.0.6-pt-PT.xpi 183919 -RMD160 f128f2318bc0a6d8538a8920f20a5bc8d95aff45 mozilla-thunderbird-2.0.0.6-pt-PT.xpi 183919 -SHA256 9eb26780b1405073de3f5a282fdf0e6eb4fb7554545655b32fd2bd669e9dce4e mozilla-thunderbird-2.0.0.6-pt-PT.xpi 183919 -MD5 05684ca32f42149a0d0d6433d81c162a mozilla-thunderbird-2.0.0.6-ru.xpi 173904 -RMD160 b713312d81ae92cbf16d41166b408f177db10328 mozilla-thunderbird-2.0.0.6-ru.xpi 173904 -SHA256 6ceefd96063e983e25831be131a9e2909105834dd58d056c635cb132a7fab79a mozilla-thunderbird-2.0.0.6-ru.xpi 173904 -MD5 efd488e3025d94f68669c7e5122bc6b9 mozilla-thunderbird-2.0.0.6-sk.xpi 191717 -RMD160 6c248d21a7682e343070dd6bc5f1f6fe51daa14f mozilla-thunderbird-2.0.0.6-sk.xpi 191717 -SHA256 dfa3e85f3f7e5bbed3fc177e43538cfd54b790f438dc454417c23aaf1182025d mozilla-thunderbird-2.0.0.6-sk.xpi 191717 -MD5 8ba3b6831c52e9c64faccbb920aa2d91 mozilla-thunderbird-2.0.0.6-sl.xpi 188015 -RMD160 74c95e3efa893c2feae8bcee8dfaed49a56fad9a mozilla-thunderbird-2.0.0.6-sl.xpi 188015 -SHA256 b0fce143e7183966528df334af2113fdcfda825cae2f30545d0877459934c632 mozilla-thunderbird-2.0.0.6-sl.xpi 188015 -MD5 ee7866f927d25ca0a04a61699bb78bf8 mozilla-thunderbird-2.0.0.6-sv-SE.xpi 191926 -RMD160 658e40b27af5ccb727f8dafce23a7e6ccc3ce330 mozilla-thunderbird-2.0.0.6-sv-SE.xpi 191926 -SHA256 d7acfe085d28df7d5b9009368c51b81f36d6aae53635e4e374eef9a3a676901c mozilla-thunderbird-2.0.0.6-sv-SE.xpi 191926 -MD5 dc0e95020bf5a4e91122a2b2b8a86aa8 mozilla-thunderbird-2.0.0.6-tr.xpi 157692 -RMD160 ceea6654aa0f7a0764ffa1f7522e0f2ba9ca49a0 mozilla-thunderbird-2.0.0.6-tr.xpi 157692 -SHA256 3d80bfa315953f530b9feceb3b24f79f13f86e0d85db08b513112299b46b580f mozilla-thunderbird-2.0.0.6-tr.xpi 157692 -MD5 e5a4041e7c1df268596459a7609755f2 mozilla-thunderbird-2.0.0.6-zh-CN.xpi 147617 -RMD160 175ea3c6d784061c7f2537436acfb1d3acfd099c mozilla-thunderbird-2.0.0.6-zh-CN.xpi 147617 -SHA256 c520cdcb95e3b24392475c5d38cf2dd9b0092d7e758d02963be0545dc8f22f7a mozilla-thunderbird-2.0.0.6-zh-CN.xpi 147617 -MD5 3a8c16df3d93c9028b999c41788aa9e9 mozilla-thunderbird-2.0.0.6-zh-TW.xpi 153695 -RMD160 1566e1acf882dfda982f710e4006bc05899d7c11 mozilla-thunderbird-2.0.0.6-zh-TW.xpi 153695 -SHA256 05881ef25cb8c75c6bec09dba4e3521611528919606f9b2f0dd0c90d1eda3a27 mozilla-thunderbird-2.0.0.6-zh-TW.xpi 153695 -MD5 1a002dfc74cfb7f0b36a448ea3cd14b9 thunderbird-2.0.0.6-source.tar.bz2 37461752 -RMD160 5280feb5c09895e8ba37d84bef0e1aa215ae0028 thunderbird-2.0.0.6-source.tar.bz2 37461752 -SHA256 73011090bc8af7137083f30e693289d6500154e2a785c55b7b28abcd1aac9e9b thunderbird-2.0.0.6-source.tar.bz2 37461752 diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.6.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.6.ebuild deleted file mode 100644 index 602fc5907468..000000000000 --- a/mail-client/mozilla-thunderbird/mozilla-thunderbird-2.0.0.6.ebuild +++ /dev/null @@ -1,253 +0,0 @@ -# Copyright 1999-2007 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.6.ebuild,v 1.8 2007/08/20 04:55:35 redhatter 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.4-patches-0.1" -LANGS="be bg ca cs da de el en-GB es-AR es-ES eu fi fr ga-IE hu it ja 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.2-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 -} |