diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-08-28 10:01:22 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-08-28 10:01:22 +0000 |
commit | 0b5ef2558059bcc4c4694757eb1d3db0260b7836 (patch) | |
tree | 6dd089569edeae8b7bec0b4160e730efd187554a | |
parent | Stable on ppc wrt bug 189986 (diff) | |
download | historical-0b5ef2558059bcc4c4694757eb1d3db0260b7836.tar.gz historical-0b5ef2558059bcc4c4694757eb1d3db0260b7836.tar.bz2 historical-0b5ef2558059bcc4c4694757eb1d3db0260b7836.zip |
Version bump
Package-Manager: portage-2.1.2.12
6 files changed, 632 insertions, 2 deletions
diff --git a/mail-client/mozilla-thunderbird-bin/ChangeLog b/mail-client/mozilla-thunderbird-bin/ChangeLog index f8b538cbaee9..af60b885e56b 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-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.91 2007/08/03 11:04:26 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.92 2007/08/28 10:01:22 armin76 Exp $ + +*mozilla-thunderbird-bin-1.5.0.13 (28 Aug 2007) + + 28 Aug 2007; Raúl Porcel <armin76@gentoo.org> + +mozilla-thunderbird-bin-1.5.0.13.ebuild: + Version bump 03 Aug 2007; Raúl Porcel <armin76@gentoo.org> -mozilla-thunderbird-bin-2.0.0.5.ebuild, diff --git a/mail-client/mozilla-thunderbird-bin/files/digest-mozilla-thunderbird-bin-1.5.0.13 b/mail-client/mozilla-thunderbird-bin/files/digest-mozilla-thunderbird-bin-1.5.0.13 new file mode 100644 index 000000000000..5ccec68a0318 --- /dev/null +++ b/mail-client/mozilla-thunderbird-bin/files/digest-mozilla-thunderbird-bin-1.5.0.13 @@ -0,0 +1,99 @@ +MD5 d8728fbb394afa234720fb2fac45abd5 mozilla-thunderbird-1.5.0.13-bg.xpi 220782 +RMD160 d80b79384cd7568f3dcdeb3a057057097254e738 mozilla-thunderbird-1.5.0.13-bg.xpi 220782 +SHA256 f22b3123976d3198e4f459751eb75d283b797005ee978ab7525b1e6ce7c9bd8c mozilla-thunderbird-1.5.0.13-bg.xpi 220782 +MD5 059fc1835e07c01dac2b24a008cfe9ee mozilla-thunderbird-1.5.0.13-ca.xpi 183259 +RMD160 4d00e5d428056a5c4add2f008cbab86fde2048c8 mozilla-thunderbird-1.5.0.13-ca.xpi 183259 +SHA256 b640584cb7d703268f949a9b636cc63c6c7be72aa480eaa87da24ab2ca0b9a79 mozilla-thunderbird-1.5.0.13-ca.xpi 183259 +MD5 30adb37baef4dfaa2fdd806218cbb364 mozilla-thunderbird-1.5.0.13-cs.xpi 191481 +RMD160 c1b0fb0f10f811b2dff168ecb1e9342bec1c03cd mozilla-thunderbird-1.5.0.13-cs.xpi 191481 +SHA256 7fca11770e8b1b41e567de7d196ecb7447b1f77a649c28c5bcf3cb1800fa2152 mozilla-thunderbird-1.5.0.13-cs.xpi 191481 +MD5 5dafa59e13884ebcf03c5bcfc7005acb mozilla-thunderbird-1.5.0.13-da.xpi 155063 +RMD160 9f6ead3ae0b4e9d2e3035efeba52d32d1d78399e mozilla-thunderbird-1.5.0.13-da.xpi 155063 +SHA256 9ce59a61950d601fcd35f0e53a4b1e4dac19cc12088795d9a487fdb89c4dc075 mozilla-thunderbird-1.5.0.13-da.xpi 155063 +MD5 ed25be1549f6b722935b31cdead615fc mozilla-thunderbird-1.5.0.13-de.xpi 154499 +RMD160 9bb761f007c85b8c6530debb4d35ddb2961e4372 mozilla-thunderbird-1.5.0.13-de.xpi 154499 +SHA256 3bc2d957c89d58bbd6fe162d69cf0233fb8a60032c9047cb7616a8a236b5788c mozilla-thunderbird-1.5.0.13-de.xpi 154499 +MD5 7de7db1adf0c062d9da3e4c9c83e5507 mozilla-thunderbird-1.5.0.13-el.xpi 180139 +RMD160 b79f88048bad9a6dde51f1f14f9c3c0f3c3c1a30 mozilla-thunderbird-1.5.0.13-el.xpi 180139 +SHA256 14e9d1724b75dcbf0494eb0114113333429a0dd5eccd807264d95edd11f17310 mozilla-thunderbird-1.5.0.13-el.xpi 180139 +MD5 0a736616a5bd93bab9824e6b1f3e1d5b mozilla-thunderbird-1.5.0.13-en-GB.xpi 172341 +RMD160 113ad62789bae57644732fea0db98e8303b24893 mozilla-thunderbird-1.5.0.13-en-GB.xpi 172341 +SHA256 74ddc47e73f6d32c47d5d7750b481701da108684c168f4b7101a34e2dbf698cf mozilla-thunderbird-1.5.0.13-en-GB.xpi 172341 +MD5 82cea2d926cbed91716744ba89f4089d mozilla-thunderbird-1.5.0.13-es-AR.xpi 183644 +RMD160 10ad89a60e8774696a060c5b14824bf7487a6ada mozilla-thunderbird-1.5.0.13-es-AR.xpi 183644 +SHA256 a0f2e53de29274cd145819d8bd925023091544d805ea5d66651dcfd41027e31c mozilla-thunderbird-1.5.0.13-es-AR.xpi 183644 +MD5 2a5674324b91f8c2cda8e91e992a431d mozilla-thunderbird-1.5.0.13-es-ES.xpi 145448 +RMD160 d4dd67fbe3c1a511f8732cb1f5fd3a62f94e6456 mozilla-thunderbird-1.5.0.13-es-ES.xpi 145448 +SHA256 3eeb993f5958b11bd6eeda120d75b7d5f480fe6abb25e3adf349eae94fbd8c80 mozilla-thunderbird-1.5.0.13-es-ES.xpi 145448 +MD5 684071c8dd9ccfa76db6734cb90d13b6 mozilla-thunderbird-1.5.0.13-eu.xpi 180845 +RMD160 f258f6fb419fb22e498da7b94bfeb6ab0c9d2f9b mozilla-thunderbird-1.5.0.13-eu.xpi 180845 +SHA256 0d42abe9021125ed75c36c1d919b7ccc44ccc235b74bdacdd75a1da1ac659a01 mozilla-thunderbird-1.5.0.13-eu.xpi 180845 +MD5 ffaaa48d1f8ac34dced62cddca0649ef mozilla-thunderbird-1.5.0.13-fi.xpi 186704 +RMD160 042a3df9f475042afe0fceab6434975c28f8af29 mozilla-thunderbird-1.5.0.13-fi.xpi 186704 +SHA256 2b6e1b30185dd7e977e80c884358748f3f9aef3b77569fedf56025ff98f0b1a1 mozilla-thunderbird-1.5.0.13-fi.xpi 186704 +MD5 7bdb6407513efbb74647396c8ee16525 mozilla-thunderbird-1.5.0.13-fr.xpi 190931 +RMD160 0ebfdbb79ab67cdc6785476d0afa49cf60239be8 mozilla-thunderbird-1.5.0.13-fr.xpi 190931 +SHA256 c577936165865dc53ce37f4710cb2fe098962205a4297a88aa698d8589c2f647 mozilla-thunderbird-1.5.0.13-fr.xpi 190931 +MD5 a860c64dda0f8e33a3a627e520440421 mozilla-thunderbird-1.5.0.13-ga-IE.xpi 190228 +RMD160 10ff6e8ea71e865149429b9abc7eecd8b669604a mozilla-thunderbird-1.5.0.13-ga-IE.xpi 190228 +SHA256 1a62797d7bfd6d9a521e9a4ebb04e4b9513403e27b43772509b4647639aab887 mozilla-thunderbird-1.5.0.13-ga-IE.xpi 190228 +MD5 2aa433ece5a16ba61f8c84ad5b8774c8 mozilla-thunderbird-1.5.0.13-gu-IN.xpi 212049 +RMD160 35bbc80d55e3fcc0230c0fb85aed9291c3a91949 mozilla-thunderbird-1.5.0.13-gu-IN.xpi 212049 +SHA256 7f47eca7939e79c08245daed6f5942872c7470980e2957843b40ff13959c43b4 mozilla-thunderbird-1.5.0.13-gu-IN.xpi 212049 +MD5 0f77d68d06485fa8b1dd126d27f80726 mozilla-thunderbird-1.5.0.13-he.xpi 164780 +RMD160 d7364b7dfccf3705df7281c7ae5576aa7cf02ee1 mozilla-thunderbird-1.5.0.13-he.xpi 164780 +SHA256 de354e17997d9ba728920f8a1c95e5d53fb8446e70913ac16d2bc2ef94b67943 mozilla-thunderbird-1.5.0.13-he.xpi 164780 +MD5 ebc2ec576c3898a761987325f59fa54e mozilla-thunderbird-1.5.0.13-hu.xpi 197664 +RMD160 b61e55b30bfaa288ffa493f45c8624f6de0d7cd1 mozilla-thunderbird-1.5.0.13-hu.xpi 197664 +SHA256 68b4b13bffbd590dde6adf4db5a7fc746d1a68edecc8582549f895bb461081e5 mozilla-thunderbird-1.5.0.13-hu.xpi 197664 +MD5 e0191b91e7f4cdb24271213936032267 mozilla-thunderbird-1.5.0.13-it.xpi 144840 +RMD160 2f5a359423e399532e2fbf217895986546d6cc01 mozilla-thunderbird-1.5.0.13-it.xpi 144840 +SHA256 55c06315e5484603e74e5b0a9b5e90ccde200918fffbc9fbe822a0e7c908f675 mozilla-thunderbird-1.5.0.13-it.xpi 144840 +MD5 5b3553ca676f1eeaf15d2ffd7f2d25b3 mozilla-thunderbird-1.5.0.13-ja.xpi 216584 +RMD160 5849a3a6d5e23a3b2a6912151b152088ea976329 mozilla-thunderbird-1.5.0.13-ja.xpi 216584 +SHA256 cf5fb07a58695364b32daf324ab6fa86cceb4fe6b376a76ee4d22e8fdd26b82f mozilla-thunderbird-1.5.0.13-ja.xpi 216584 +MD5 b6df6f8af83908a508193d79c8a91b77 mozilla-thunderbird-1.5.0.13-ko.xpi 192248 +RMD160 d8ff78ef64263a86aa406efc05f8fd8612e732bf mozilla-thunderbird-1.5.0.13-ko.xpi 192248 +SHA256 422a5a07da8d9b6f261f6a6afe990e005c7d51d89a8488b755a6e929f7c6b5eb mozilla-thunderbird-1.5.0.13-ko.xpi 192248 +MD5 bc4ca5172dc368f55291260149f9cc30 mozilla-thunderbird-1.5.0.13-lt.xpi 193867 +RMD160 febd432ae3d176f6b00e3250fc7c602d58d74453 mozilla-thunderbird-1.5.0.13-lt.xpi 193867 +SHA256 8c7b6f3a101e8cff79f77154292c8231ab105e21c51b6d06a9d1f450c7372ccf mozilla-thunderbird-1.5.0.13-lt.xpi 193867 +MD5 2943ed9af2763bc3b58879528b0faa6c mozilla-thunderbird-1.5.0.13-mk.xpi 219450 +RMD160 128a5fdef3e60d753a8e24ddfc3e975fc4a7f7a1 mozilla-thunderbird-1.5.0.13-mk.xpi 219450 +SHA256 30dadeccb2301e9f2b07e720b0f8e083db563334763898e362eeca5b496f5799 mozilla-thunderbird-1.5.0.13-mk.xpi 219450 +MD5 ddf1d8ecd83b46fd1f5a0dcf3df1633d mozilla-thunderbird-1.5.0.13-nb-NO.xpi 182579 +RMD160 0ab5ebc61b224aafda80d22058638c23a300aa9a mozilla-thunderbird-1.5.0.13-nb-NO.xpi 182579 +SHA256 d6e5c11c9ad9c94b49d7912f094eba8a3db64618956c2a3ec5d6116cf45a2b95 mozilla-thunderbird-1.5.0.13-nb-NO.xpi 182579 +MD5 95fa1c02668faa7a0d94e4215c5ae5b9 mozilla-thunderbird-1.5.0.13-nl.xpi 182552 +RMD160 cf0fc78def5e5a7dced8d43055c56555a025c220 mozilla-thunderbird-1.5.0.13-nl.xpi 182552 +SHA256 40fb4612ea95b55ec09707c55b9f44a40ad322dde5ce4541a8fd9be3b3815798 mozilla-thunderbird-1.5.0.13-nl.xpi 182552 +MD5 a38a734cb1b0ebf24d7bd155c1030541 mozilla-thunderbird-1.5.0.13-pa-IN.xpi 201904 +RMD160 b3260cfd3cfee9b42c678df94d32e202427c54ce mozilla-thunderbird-1.5.0.13-pa-IN.xpi 201904 +SHA256 1c5d91cf8c2db2780fb0e9058550a695bb3c44444f050652fac65273e7f14ff7 mozilla-thunderbird-1.5.0.13-pa-IN.xpi 201904 +MD5 0d7c80042a53664907107756445e4f91 mozilla-thunderbird-1.5.0.13-pl.xpi 180258 +RMD160 e0531e60eca684ca2add52635a91fc18101c1f18 mozilla-thunderbird-1.5.0.13-pl.xpi 180258 +SHA256 9c4b0ec5ac40667a3da5c988810f77b383747e177dc5e87037d1e741d4463f1c mozilla-thunderbird-1.5.0.13-pl.xpi 180258 +MD5 b468bae11e289c0d39f3fa991ac43e00 mozilla-thunderbird-1.5.0.13-pt-BR.xpi 184497 +RMD160 d561c2cbae70e161474dfcd080070ebbde872b94 mozilla-thunderbird-1.5.0.13-pt-BR.xpi 184497 +SHA256 54f4e92ae8cd94384f35a214587068c0721f74d6d27d81625c06bb18628ef0d5 mozilla-thunderbird-1.5.0.13-pt-BR.xpi 184497 +MD5 5f5d2818b19967e33ed3adec95f056fd mozilla-thunderbird-1.5.0.13-ru.xpi 190604 +RMD160 8e5b3bb308aa363655c4acd00d7faf52fd7fa253 mozilla-thunderbird-1.5.0.13-ru.xpi 190604 +SHA256 c919ae4e968c7ea7fc666bde9f49f01b817d49e58b8645b1b63322c6a843c4a8 mozilla-thunderbird-1.5.0.13-ru.xpi 190604 +MD5 036db7c3b227170ec3187f6f0b8ecc99 mozilla-thunderbird-1.5.0.13-sk.xpi 193835 +RMD160 4fcdf327b19b4b4b0466f7db8a77f30105ad167b mozilla-thunderbird-1.5.0.13-sk.xpi 193835 +SHA256 0be1919ef48d13693bbdbe77ae05caeb76a90fc5d7aafd7194e93dd04c372a49 mozilla-thunderbird-1.5.0.13-sk.xpi 193835 +MD5 521ce8482dc548a67cf89697987bca58 mozilla-thunderbird-1.5.0.13-sl.xpi 187719 +RMD160 40d9683dd55c0393b00670cc5d44dcafff5f9185 mozilla-thunderbird-1.5.0.13-sl.xpi 187719 +SHA256 adb70db874edcdb49fd6a66b3c12cdcd9872ed8de66b039d3cc75b87b4926b2b mozilla-thunderbird-1.5.0.13-sl.xpi 187719 +MD5 18ee2a1efe1d9711fa8651bcdfd211fd mozilla-thunderbird-1.5.0.13-sv-SE.xpi 191057 +RMD160 44fedc00f9b29a54c869ea765b1ef82c55b145ec mozilla-thunderbird-1.5.0.13-sv-SE.xpi 191057 +SHA256 b385bf0e2f62f91c2659bfdda09f67d5a730f3df02dfcb00c65570f13c6696a6 mozilla-thunderbird-1.5.0.13-sv-SE.xpi 191057 +MD5 24fbc5890a1f7a95d596a20c6543b6aa mozilla-thunderbird-1.5.0.13-tr.xpi 155700 +RMD160 ae6bf5519b18caeacefab7d0376a071a91ae8ca1 mozilla-thunderbird-1.5.0.13-tr.xpi 155700 +SHA256 9d27722f29f4c9d165f808923ca300658f4c078b419585fa7fc96a0d2aef75e7 mozilla-thunderbird-1.5.0.13-tr.xpi 155700 +MD5 e4b966c0cb8cbc03b0cd417a46faa9bb mozilla-thunderbird-1.5.0.13-zh-CN.xpi 155476 +RMD160 7a39cb71ed59887084c0798e8f977ded155a4924 mozilla-thunderbird-1.5.0.13-zh-CN.xpi 155476 +SHA256 117242bd53a9c2a1f04c5abb818173fd99201ed8a7590394374f435f18ffadd0 mozilla-thunderbird-1.5.0.13-zh-CN.xpi 155476 +MD5 43aad15680e45b4c1fe488e6fc2a396b thunderbird-1.5.0.13.tar.gz 10682290 +RMD160 6d1ded42beefd1af89d7c9d51d93b9186a4ca116 thunderbird-1.5.0.13.tar.gz 10682290 +SHA256 f46f8d89bb8adc8e92c93063e3309acd61eba28037dd913d23409c2befa64952 thunderbird-1.5.0.13.tar.gz 10682290 diff --git a/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-1.5.0.13.ebuild b/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-1.5.0.13.ebuild new file mode 100644 index 000000000000..051959da557b --- /dev/null +++ b/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-1.5.0.13.ebuild @@ -0,0 +1,152 @@ +# 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-bin/mozilla-thunderbird-bin-1.5.0.13.ebuild,v 1.1 2007/08/28 10:01:22 armin76 Exp $ + +inherit eutils mozilla-launcher multilib mozextension + +LANGS="bg ca cs da de el en-GB es-AR es-ES eu fi fr ga-IE gu-IN he hu it ja ko lt mk nb-NO nl pa-IN pl pt-BR ru sk sl sv-SE tr zh-CN" +SHORTLANGS="es-ES ga-IE nb-NO sv-SE" + +DESCRIPTION="The Mozilla Thunderbird Mail & News Reader" +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 + SRC_URI="${SRC_URI} linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin}-${X}.xpi )" + IUSE="${IUSE} linguas_${X/-/_}" +done + +for X in ${SHORTLANGS} ; do + SRC_URI="${SRC_URI} linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi//${P/-bin}-${X}.xpi )" + IUSE="${IUSE} linguas_${X%%-*}" +done + +DEPEND="" +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 + +linguas() { + linguas= + local LANG + for LANG in ${LINGUAS}; do + if hasq ${LANG} en en_US; then + hasq en ${linguas} || \ + linguas="${linguas:+"${linguas} "}en" + continue + elif hasq ${LANG} ${LANGS//-/_}; then + hasq ${LANG//_/-} ${linguas} || \ + linguas="${linguas:+"${linguas} "}${LANG//_/-}" + continue + else + local SLANG + for SLANG in ${SHORTLANGS}; do + if [[ ${LANG} == ${SLANG%%-*} ]]; then + hasq ${SLANG} ${linguas} || \ + linguas="${linguas:+"${linguas} "}${SLANG}" + continue 2 + fi + done + fi + ewarn "Sorry, but mozilla-thunderbird does not support the ${LANG} LINGUA" + done +} + +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" +} + +src_unpack() { + unpack ${A} + + linguas + for X in ${linguas}; do + [[ ${X} != en ]] && xpi_unpack ${P/-bin}-${X}.xpi + done + if [[ ${linguas} != "" ]]; then + elog "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 + insinto /usr/share/pixmaps + doins ${FILESDIR}/icon/${PN}-icon.png + insinto /usr/share/applications + doins ${FILESDIR}/icon/${PN}.desktop + + # revdep-rebuild entry + insinto /etc/revdep-rebuild + doins ${FILESDIR}/10thunderbird-bin + + # install env.d entry for libs + doenvd ${FILESDIR}/71thunderbird-bin +} + +pkg_preinst() { + declare MOZILLA_FIVE_HOME=/opt/thunderbird + + # Remove entire installed instance to solve various + # problems, for example see bug 27719 + rm -rf ${ROOT}${MOZILLA_FIVE_HOME} +} + +pkg_postinst() { + elog "For enigmail, please see instructions at" + elog " http://enigmail.mozdev.org/" + + if use amd64; then + elog + elog "NB: You just installed a 32-bit thunderbird" + fi + + update_mozilla_launcher_symlinks +} + +pkg_postrm() { + update_mozilla_launcher_symlinks +} diff --git a/mail-client/mozilla-thunderbird/ChangeLog b/mail-client/mozilla-thunderbird/ChangeLog index 0f505b0e99d3..cedb2772ce3e 100644 --- a/mail-client/mozilla-thunderbird/ChangeLog +++ b/mail-client/mozilla-thunderbird/ChangeLog @@ -1,6 +1,12 @@ # 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.227 2007/08/20 04:55:35 redhatter Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/ChangeLog,v 1.228 2007/08/28 09:59:34 armin76 Exp $ + +*mozilla-thunderbird-1.5.0.13 (28 Aug 2007) + + 28 Aug 2007; Raúl Porcel <armin76@gentoo.org> + +mozilla-thunderbird-1.5.0.13.ebuild: + Version bump 20 Aug 2007; Stuart Longland <redhatter@gentoo.org> mozilla-thunderbird-2.0.0.6.ebuild: diff --git a/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-1.5.0.13 b/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-1.5.0.13 new file mode 100644 index 000000000000..24d8b147c679 --- /dev/null +++ b/mail-client/mozilla-thunderbird/files/digest-mozilla-thunderbird-1.5.0.13 @@ -0,0 +1,102 @@ +MD5 ea829250fd83f61fb9d5c19643c20ee2 mozilla-thunderbird-1.5.0.10-patches-0.1.tar.bz2 30777 +RMD160 08da7a7dadfc731e5e18d86ca9aa2679eb14fa1d mozilla-thunderbird-1.5.0.10-patches-0.1.tar.bz2 30777 +SHA256 7bf7d7abe757cc1dc0ce67fe083c6663fedbcc6e6bdd65cc09ce543ac8e54b9c mozilla-thunderbird-1.5.0.10-patches-0.1.tar.bz2 30777 +MD5 d8728fbb394afa234720fb2fac45abd5 mozilla-thunderbird-1.5.0.13-bg.xpi 220782 +RMD160 d80b79384cd7568f3dcdeb3a057057097254e738 mozilla-thunderbird-1.5.0.13-bg.xpi 220782 +SHA256 f22b3123976d3198e4f459751eb75d283b797005ee978ab7525b1e6ce7c9bd8c mozilla-thunderbird-1.5.0.13-bg.xpi 220782 +MD5 059fc1835e07c01dac2b24a008cfe9ee mozilla-thunderbird-1.5.0.13-ca.xpi 183259 +RMD160 4d00e5d428056a5c4add2f008cbab86fde2048c8 mozilla-thunderbird-1.5.0.13-ca.xpi 183259 +SHA256 b640584cb7d703268f949a9b636cc63c6c7be72aa480eaa87da24ab2ca0b9a79 mozilla-thunderbird-1.5.0.13-ca.xpi 183259 +MD5 30adb37baef4dfaa2fdd806218cbb364 mozilla-thunderbird-1.5.0.13-cs.xpi 191481 +RMD160 c1b0fb0f10f811b2dff168ecb1e9342bec1c03cd mozilla-thunderbird-1.5.0.13-cs.xpi 191481 +SHA256 7fca11770e8b1b41e567de7d196ecb7447b1f77a649c28c5bcf3cb1800fa2152 mozilla-thunderbird-1.5.0.13-cs.xpi 191481 +MD5 5dafa59e13884ebcf03c5bcfc7005acb mozilla-thunderbird-1.5.0.13-da.xpi 155063 +RMD160 9f6ead3ae0b4e9d2e3035efeba52d32d1d78399e mozilla-thunderbird-1.5.0.13-da.xpi 155063 +SHA256 9ce59a61950d601fcd35f0e53a4b1e4dac19cc12088795d9a487fdb89c4dc075 mozilla-thunderbird-1.5.0.13-da.xpi 155063 +MD5 ed25be1549f6b722935b31cdead615fc mozilla-thunderbird-1.5.0.13-de.xpi 154499 +RMD160 9bb761f007c85b8c6530debb4d35ddb2961e4372 mozilla-thunderbird-1.5.0.13-de.xpi 154499 +SHA256 3bc2d957c89d58bbd6fe162d69cf0233fb8a60032c9047cb7616a8a236b5788c mozilla-thunderbird-1.5.0.13-de.xpi 154499 +MD5 7de7db1adf0c062d9da3e4c9c83e5507 mozilla-thunderbird-1.5.0.13-el.xpi 180139 +RMD160 b79f88048bad9a6dde51f1f14f9c3c0f3c3c1a30 mozilla-thunderbird-1.5.0.13-el.xpi 180139 +SHA256 14e9d1724b75dcbf0494eb0114113333429a0dd5eccd807264d95edd11f17310 mozilla-thunderbird-1.5.0.13-el.xpi 180139 +MD5 0a736616a5bd93bab9824e6b1f3e1d5b mozilla-thunderbird-1.5.0.13-en-GB.xpi 172341 +RMD160 113ad62789bae57644732fea0db98e8303b24893 mozilla-thunderbird-1.5.0.13-en-GB.xpi 172341 +SHA256 74ddc47e73f6d32c47d5d7750b481701da108684c168f4b7101a34e2dbf698cf mozilla-thunderbird-1.5.0.13-en-GB.xpi 172341 +MD5 82cea2d926cbed91716744ba89f4089d mozilla-thunderbird-1.5.0.13-es-AR.xpi 183644 +RMD160 10ad89a60e8774696a060c5b14824bf7487a6ada mozilla-thunderbird-1.5.0.13-es-AR.xpi 183644 +SHA256 a0f2e53de29274cd145819d8bd925023091544d805ea5d66651dcfd41027e31c mozilla-thunderbird-1.5.0.13-es-AR.xpi 183644 +MD5 2a5674324b91f8c2cda8e91e992a431d mozilla-thunderbird-1.5.0.13-es-ES.xpi 145448 +RMD160 d4dd67fbe3c1a511f8732cb1f5fd3a62f94e6456 mozilla-thunderbird-1.5.0.13-es-ES.xpi 145448 +SHA256 3eeb993f5958b11bd6eeda120d75b7d5f480fe6abb25e3adf349eae94fbd8c80 mozilla-thunderbird-1.5.0.13-es-ES.xpi 145448 +MD5 684071c8dd9ccfa76db6734cb90d13b6 mozilla-thunderbird-1.5.0.13-eu.xpi 180845 +RMD160 f258f6fb419fb22e498da7b94bfeb6ab0c9d2f9b mozilla-thunderbird-1.5.0.13-eu.xpi 180845 +SHA256 0d42abe9021125ed75c36c1d919b7ccc44ccc235b74bdacdd75a1da1ac659a01 mozilla-thunderbird-1.5.0.13-eu.xpi 180845 +MD5 ffaaa48d1f8ac34dced62cddca0649ef mozilla-thunderbird-1.5.0.13-fi.xpi 186704 +RMD160 042a3df9f475042afe0fceab6434975c28f8af29 mozilla-thunderbird-1.5.0.13-fi.xpi 186704 +SHA256 2b6e1b30185dd7e977e80c884358748f3f9aef3b77569fedf56025ff98f0b1a1 mozilla-thunderbird-1.5.0.13-fi.xpi 186704 +MD5 7bdb6407513efbb74647396c8ee16525 mozilla-thunderbird-1.5.0.13-fr.xpi 190931 +RMD160 0ebfdbb79ab67cdc6785476d0afa49cf60239be8 mozilla-thunderbird-1.5.0.13-fr.xpi 190931 +SHA256 c577936165865dc53ce37f4710cb2fe098962205a4297a88aa698d8589c2f647 mozilla-thunderbird-1.5.0.13-fr.xpi 190931 +MD5 a860c64dda0f8e33a3a627e520440421 mozilla-thunderbird-1.5.0.13-ga-IE.xpi 190228 +RMD160 10ff6e8ea71e865149429b9abc7eecd8b669604a mozilla-thunderbird-1.5.0.13-ga-IE.xpi 190228 +SHA256 1a62797d7bfd6d9a521e9a4ebb04e4b9513403e27b43772509b4647639aab887 mozilla-thunderbird-1.5.0.13-ga-IE.xpi 190228 +MD5 2aa433ece5a16ba61f8c84ad5b8774c8 mozilla-thunderbird-1.5.0.13-gu-IN.xpi 212049 +RMD160 35bbc80d55e3fcc0230c0fb85aed9291c3a91949 mozilla-thunderbird-1.5.0.13-gu-IN.xpi 212049 +SHA256 7f47eca7939e79c08245daed6f5942872c7470980e2957843b40ff13959c43b4 mozilla-thunderbird-1.5.0.13-gu-IN.xpi 212049 +MD5 0f77d68d06485fa8b1dd126d27f80726 mozilla-thunderbird-1.5.0.13-he.xpi 164780 +RMD160 d7364b7dfccf3705df7281c7ae5576aa7cf02ee1 mozilla-thunderbird-1.5.0.13-he.xpi 164780 +SHA256 de354e17997d9ba728920f8a1c95e5d53fb8446e70913ac16d2bc2ef94b67943 mozilla-thunderbird-1.5.0.13-he.xpi 164780 +MD5 ebc2ec576c3898a761987325f59fa54e mozilla-thunderbird-1.5.0.13-hu.xpi 197664 +RMD160 b61e55b30bfaa288ffa493f45c8624f6de0d7cd1 mozilla-thunderbird-1.5.0.13-hu.xpi 197664 +SHA256 68b4b13bffbd590dde6adf4db5a7fc746d1a68edecc8582549f895bb461081e5 mozilla-thunderbird-1.5.0.13-hu.xpi 197664 +MD5 e0191b91e7f4cdb24271213936032267 mozilla-thunderbird-1.5.0.13-it.xpi 144840 +RMD160 2f5a359423e399532e2fbf217895986546d6cc01 mozilla-thunderbird-1.5.0.13-it.xpi 144840 +SHA256 55c06315e5484603e74e5b0a9b5e90ccde200918fffbc9fbe822a0e7c908f675 mozilla-thunderbird-1.5.0.13-it.xpi 144840 +MD5 5b3553ca676f1eeaf15d2ffd7f2d25b3 mozilla-thunderbird-1.5.0.13-ja.xpi 216584 +RMD160 5849a3a6d5e23a3b2a6912151b152088ea976329 mozilla-thunderbird-1.5.0.13-ja.xpi 216584 +SHA256 cf5fb07a58695364b32daf324ab6fa86cceb4fe6b376a76ee4d22e8fdd26b82f mozilla-thunderbird-1.5.0.13-ja.xpi 216584 +MD5 b6df6f8af83908a508193d79c8a91b77 mozilla-thunderbird-1.5.0.13-ko.xpi 192248 +RMD160 d8ff78ef64263a86aa406efc05f8fd8612e732bf mozilla-thunderbird-1.5.0.13-ko.xpi 192248 +SHA256 422a5a07da8d9b6f261f6a6afe990e005c7d51d89a8488b755a6e929f7c6b5eb mozilla-thunderbird-1.5.0.13-ko.xpi 192248 +MD5 bc4ca5172dc368f55291260149f9cc30 mozilla-thunderbird-1.5.0.13-lt.xpi 193867 +RMD160 febd432ae3d176f6b00e3250fc7c602d58d74453 mozilla-thunderbird-1.5.0.13-lt.xpi 193867 +SHA256 8c7b6f3a101e8cff79f77154292c8231ab105e21c51b6d06a9d1f450c7372ccf mozilla-thunderbird-1.5.0.13-lt.xpi 193867 +MD5 2943ed9af2763bc3b58879528b0faa6c mozilla-thunderbird-1.5.0.13-mk.xpi 219450 +RMD160 128a5fdef3e60d753a8e24ddfc3e975fc4a7f7a1 mozilla-thunderbird-1.5.0.13-mk.xpi 219450 +SHA256 30dadeccb2301e9f2b07e720b0f8e083db563334763898e362eeca5b496f5799 mozilla-thunderbird-1.5.0.13-mk.xpi 219450 +MD5 ddf1d8ecd83b46fd1f5a0dcf3df1633d mozilla-thunderbird-1.5.0.13-nb-NO.xpi 182579 +RMD160 0ab5ebc61b224aafda80d22058638c23a300aa9a mozilla-thunderbird-1.5.0.13-nb-NO.xpi 182579 +SHA256 d6e5c11c9ad9c94b49d7912f094eba8a3db64618956c2a3ec5d6116cf45a2b95 mozilla-thunderbird-1.5.0.13-nb-NO.xpi 182579 +MD5 95fa1c02668faa7a0d94e4215c5ae5b9 mozilla-thunderbird-1.5.0.13-nl.xpi 182552 +RMD160 cf0fc78def5e5a7dced8d43055c56555a025c220 mozilla-thunderbird-1.5.0.13-nl.xpi 182552 +SHA256 40fb4612ea95b55ec09707c55b9f44a40ad322dde5ce4541a8fd9be3b3815798 mozilla-thunderbird-1.5.0.13-nl.xpi 182552 +MD5 a38a734cb1b0ebf24d7bd155c1030541 mozilla-thunderbird-1.5.0.13-pa-IN.xpi 201904 +RMD160 b3260cfd3cfee9b42c678df94d32e202427c54ce mozilla-thunderbird-1.5.0.13-pa-IN.xpi 201904 +SHA256 1c5d91cf8c2db2780fb0e9058550a695bb3c44444f050652fac65273e7f14ff7 mozilla-thunderbird-1.5.0.13-pa-IN.xpi 201904 +MD5 0d7c80042a53664907107756445e4f91 mozilla-thunderbird-1.5.0.13-pl.xpi 180258 +RMD160 e0531e60eca684ca2add52635a91fc18101c1f18 mozilla-thunderbird-1.5.0.13-pl.xpi 180258 +SHA256 9c4b0ec5ac40667a3da5c988810f77b383747e177dc5e87037d1e741d4463f1c mozilla-thunderbird-1.5.0.13-pl.xpi 180258 +MD5 b468bae11e289c0d39f3fa991ac43e00 mozilla-thunderbird-1.5.0.13-pt-BR.xpi 184497 +RMD160 d561c2cbae70e161474dfcd080070ebbde872b94 mozilla-thunderbird-1.5.0.13-pt-BR.xpi 184497 +SHA256 54f4e92ae8cd94384f35a214587068c0721f74d6d27d81625c06bb18628ef0d5 mozilla-thunderbird-1.5.0.13-pt-BR.xpi 184497 +MD5 5f5d2818b19967e33ed3adec95f056fd mozilla-thunderbird-1.5.0.13-ru.xpi 190604 +RMD160 8e5b3bb308aa363655c4acd00d7faf52fd7fa253 mozilla-thunderbird-1.5.0.13-ru.xpi 190604 +SHA256 c919ae4e968c7ea7fc666bde9f49f01b817d49e58b8645b1b63322c6a843c4a8 mozilla-thunderbird-1.5.0.13-ru.xpi 190604 +MD5 036db7c3b227170ec3187f6f0b8ecc99 mozilla-thunderbird-1.5.0.13-sk.xpi 193835 +RMD160 4fcdf327b19b4b4b0466f7db8a77f30105ad167b mozilla-thunderbird-1.5.0.13-sk.xpi 193835 +SHA256 0be1919ef48d13693bbdbe77ae05caeb76a90fc5d7aafd7194e93dd04c372a49 mozilla-thunderbird-1.5.0.13-sk.xpi 193835 +MD5 521ce8482dc548a67cf89697987bca58 mozilla-thunderbird-1.5.0.13-sl.xpi 187719 +RMD160 40d9683dd55c0393b00670cc5d44dcafff5f9185 mozilla-thunderbird-1.5.0.13-sl.xpi 187719 +SHA256 adb70db874edcdb49fd6a66b3c12cdcd9872ed8de66b039d3cc75b87b4926b2b mozilla-thunderbird-1.5.0.13-sl.xpi 187719 +MD5 18ee2a1efe1d9711fa8651bcdfd211fd mozilla-thunderbird-1.5.0.13-sv-SE.xpi 191057 +RMD160 44fedc00f9b29a54c869ea765b1ef82c55b145ec mozilla-thunderbird-1.5.0.13-sv-SE.xpi 191057 +SHA256 b385bf0e2f62f91c2659bfdda09f67d5a730f3df02dfcb00c65570f13c6696a6 mozilla-thunderbird-1.5.0.13-sv-SE.xpi 191057 +MD5 24fbc5890a1f7a95d596a20c6543b6aa mozilla-thunderbird-1.5.0.13-tr.xpi 155700 +RMD160 ae6bf5519b18caeacefab7d0376a071a91ae8ca1 mozilla-thunderbird-1.5.0.13-tr.xpi 155700 +SHA256 9d27722f29f4c9d165f808923ca300658f4c078b419585fa7fc96a0d2aef75e7 mozilla-thunderbird-1.5.0.13-tr.xpi 155700 +MD5 e4b966c0cb8cbc03b0cd417a46faa9bb mozilla-thunderbird-1.5.0.13-zh-CN.xpi 155476 +RMD160 7a39cb71ed59887084c0798e8f977ded155a4924 mozilla-thunderbird-1.5.0.13-zh-CN.xpi 155476 +SHA256 117242bd53a9c2a1f04c5abb818173fd99201ed8a7590394374f435f18ffadd0 mozilla-thunderbird-1.5.0.13-zh-CN.xpi 155476 +MD5 caeebe242ff490416335cc816c85f46f thunderbird-1.5.0.13-source.tar.bz2 36162915 +RMD160 6d9d8c1ea091725728ad0400c58b606a73346ef9 thunderbird-1.5.0.13-source.tar.bz2 36162915 +SHA256 1849df86b6f145ff974e5a478e985a8ee8c3239e8a187d6dcba176b8730358db thunderbird-1.5.0.13-source.tar.bz2 36162915 diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.5.0.13.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.5.0.13.ebuild new file mode 100644 index 000000000000..b84f32748f0a --- /dev/null +++ b/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.5.0.13.ebuild @@ -0,0 +1,265 @@ +# 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-1.5.0.13.ebuild,v 1.1 2007/08/28 09:59:34 armin76 Exp $ + +WANT_AUTOCONF="2.1" + +unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 +inherit flag-o-matic toolchain-funcs eutils mozconfig-2 mozilla-launcher makeedit multilib autotools mozextension + +LANGS="bg ca cs da de el en-GB es-AR es-ES eu fi fr ga-IE gu-IN he hu it ja ko lt mk nb-NO nl pa-IN pl pt-BR ru sk sl sv-SE tr zh-CN" +SHORTLANGS="es-ES ga-IE nb-NO sv-SE" +PATCH="${PN}-1.5.0.10-patches-0.1" + +DESCRIPTION="Thunderbird Mail Client" +HOMEPAGE="http://www.mozilla.com/thunderbird/" +SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/source/thunderbird-${PV}-source.tar.bz2 + mirror://gentoo/${PATCH}.tar.bz2" + +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86 ~x86-fbsd" +SLOT="0" +LICENSE="MPL-1.1 GPL-2 LGPL-2.1" +IUSE="ldap crypt" + +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/-/_}" +done + +for X in ${SHORTLANGS} ; do + SRC_URI="${SRC_URI} linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${P}-${X}.xpi )" + IUSE="${IUSE} linguas_${X%%-*}" +done + +RDEPEND=">=www-client/mozilla-launcher-1.39 + >=dev-libs/nss-3.10 + >=dev-libs/nspr-4.6.1" +PDEPEND="crypt? ( <x11-plugins/enigmail-0.95.0 )" + +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 BUILD_OFFICIAL=1 +export MOZILLA_OFFICIAL=1 +export MOZ_CO_PROJECT=mail + +linguas() { + linguas= + local LANG + for LANG in ${LINGUAS}; do + if hasq ${LANG} en en_US; then + hasq en ${linguas} || \ + linguas="${linguas:+"${linguas} "}en" + continue + elif hasq ${LANG} ${LANGS//-/_}; then + hasq ${LANG//_/-} ${linguas} || \ + linguas="${linguas:+"${linguas} "}${LANG//_/-}" + continue + else + local SLANG + for SLANG in ${SHORTLANGS}; do + if [[ ${LANG} == ${SLANG%%-*} ]]; then + hasq ${SLANG} ${linguas} || \ + linguas="${linguas:+"${linguas} "}${SLANG}" + continue 2 + fi + done + fi + ewarn "Sorry, but mozilla-thunderbird 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 + + use moznopango && warn_mozilla_launcher_stub +} + +src_unpack() { + unpack ${A} + + linguas + for X in ${linguas}; do + [[ ${X} != en ]] && xpi_unpack ${P}-${X}.xpi + done + if [[ ${linguas} != "" ]]; then + einfo "Selected language packs (first will be default): ${linguas}" + fi + + cd ${S} || die "cd failed" + # Apply our patches + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + + if use alpha || use ia64; then + EPATCH_EXCLUDE="002_firefox-1.5-visibility-check.patch 009_firefox-1.5-no-textrels.patch" + fi + + epatch ${WORKDIR}/patch + + # Fix a compilation issue using the 32-bit userland with 64-bit kernel on + # PowerPC, because with that configuration, it detects a ppc64 system. + # -- hansmi, 2005-11-13 + if use ppc && [[ "${PROFILE_ARCH}" == ppc64 ]]; then + sed -i -e "s#OS_TEST=\`uname -m\`\$#OS_TEST=${ARCH}#" \ + ${S}/configure + sed -i -e "s#OS_TEST :=.*uname -m.*\$#OS_TEST:=${ARCH}#" \ + ${S}/security/coreconf/arch.mk + fi + + eautoreconf || die "failed running autoreconf" +} + +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 '' --enable-extensions=default + 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 + mozconfig_annotate '' --enable-official-branding + + if use alpha || use ia64; then + echo "ac_cv_visibility_pragma=no" >> "${S}/.mozconfig" + fi + + # Finalize and report settings + mozconfig_final + + # hardened GCC uses -fstack-protector-all by default, which breaks us + gcc-specs-ssp && append-flags -fno-stack-protector-all + replace-flags -fstack-protector-all -fstack-protector + + #################################### + # + # Configure and build + # + #################################### + append-flags -freorder-blocks -fno-reorder-functions + + # Export CPU_ARCH_TEST as it is not exported by default. + case $(tc-arch) in + amd64) [[ ${ABI} == "x86" ]] && CPU_ARCH_TEST="x86" || CPU_ARCH_TEST="x86_64" ;; + ia64) CPU_ARCH_TEST="ia64" ;; + ppc) CPU_ARCH_TEST="ppc" ;; + *) CPU_ARCH_TEST=$(tc-arch) ;; + esac + + export CPU_ARCH_TEST + + 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 -j1 || die +} + +pkg_preinst() { + declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/${PN} + + echo "" + elog "Removing old installs though 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} + echo "" +} + +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 "Copy of files 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} + + # Install icon and .desktop for menu entry + insinto /usr/share/pixmaps + doins ${FILESDIR}/icon/thunderbird-icon.png + + # Fix bug 54179: Install .desktop file into /usr/share/applications + # instead of /usr/share/gnome/apps/Internet (18 Jun 2004 agriffis) + insinto /usr/share/applications + doins ${FILESDIR}/icon/${PN}.desktop + + #################################### + # + # Install files necessary for applications to build against firefox + # + #################################### + + ewarn "Installing includes and idl files..." + dodir ${MOZILLA_FIVE_HOME}/idl ${MOZILLA_FIVE_HOME}/include + cd ${S}/dist + cp -LfR include/* ${D}${MOZILLA_FIVE_HOME}/include || die "failed to copy" + cp -LfR idl/* ${D}${MOZILLA_FIVE_HOME}/idl || die "failed to copy" + + # Dirty hack to get some applications using this header running + dosym ${MOZILLA_FIVE_HOME}/include/necko/nsIURI.h \ + /usr/$(get_libdir)/${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 mozilla-thunderbird." +} + +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 +} |