diff options
author | Piotr Jaroszyński <peper@gentoo.org> | 2006-10-23 21:54:50 +0000 |
---|---|---|
committer | Piotr Jaroszyński <peper@gentoo.org> | 2006-10-23 21:54:50 +0000 |
commit | 6edf6fbc126a13dc4dd33a616baacfe0093c6e91 (patch) | |
tree | b7da65e615bdc7eada87080d665d53ace7ba9a12 /x11-plugins/enigmail | |
parent | Added KEYWORDS and RDEPEND so it'll work on PPC. (diff) | |
download | gentoo-2-6edf6fbc126a13dc4dd33a616baacfe0093c6e91.tar.gz gentoo-2-6edf6fbc126a13dc4dd33a616baacfe0093c6e91.tar.bz2 gentoo-2-6edf6fbc126a13dc4dd33a616baacfe0093c6e91.zip |
Revbump from anarchy.
(Portage version: 2.1.2_pre3-r7)
Diffstat (limited to 'x11-plugins/enigmail')
-rw-r--r-- | x11-plugins/enigmail/ChangeLog | 8 | ||||
-rw-r--r-- | x11-plugins/enigmail/enigmail-0.94.1-r1.ebuild | 189 | ||||
-rw-r--r-- | x11-plugins/enigmail/files/digest-enigmail-0.94.1-r1 | 75 |
3 files changed, 271 insertions, 1 deletions
diff --git a/x11-plugins/enigmail/ChangeLog b/x11-plugins/enigmail/ChangeLog index 249a25cbc7e3..6d7b57b46322 100644 --- a/x11-plugins/enigmail/ChangeLog +++ b/x11-plugins/enigmail/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-plugins/enigmail # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.38 2006/10/20 02:31:34 cardoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.39 2006/10/23 21:54:50 peper Exp $ + +*enigmail-0.94.1-r1 (23 Oct 2006) + + 23 Oct 2006; Piotr Jaroszyński <peper@gentoo.org> + +enigmail-0.94.1-r1.ebuild: + Revbump from anarchy. 20 Oct 2006; Doug Goldstein <cardoe@gentoo.org> enigmail-0.94.1.ebuild: Fix for bug #143158 on AMD64. All work and credit goes to Anarchy who was diff --git a/x11-plugins/enigmail/enigmail-0.94.1-r1.ebuild b/x11-plugins/enigmail/enigmail-0.94.1-r1.ebuild new file mode 100644 index 000000000000..604a24af106c --- /dev/null +++ b/x11-plugins/enigmail/enigmail-0.94.1-r1.ebuild @@ -0,0 +1,189 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.1-r1.ebuild,v 1.1 2006/10/23 21:54:50 peper Exp $ + +unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 +WANT_AUTOCONF=2.1 +inherit flag-o-matic toolchain-funcs eutils nsplugins mozcoreconf mozextension makeedit multilib autotools + +LANGS="de el es-AR es-ES nb-NO pt-BR sv-SE zh-CN" +SHORTLANGS="ca-AD cs-CZ es-ES fi-FI fr-FR hu-HU it-IT ja-JP ko-KR nb-NO nl-NL pl-PL pt-PT ru-RU sk-SK sl-SI sv-SE" + +EMVER=${PV} +TBVER="2.0a1" +MY_TBVER="2.0_alpha1" +TBPVER="1.0" + +DESCRIPTION="Gnupg encryption plugin for thunderbird." +HOMEPAGE="http://www.enigmail.mozdev.org" +SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${TBVER}/source/thunderbird-${TBVER}-source.tar.bz2 + mirror://gentoo/mozilla-thunderbird-${MY_TBVER}-patches-${TBPVER}.tar.bz2 + http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz" + +KEYWORDS="~amd64 ia64 mips ppc sparc x86" +SLOT="0" +LICENSE="MPL-1.1 NPL-1.1" +IUSE="" + +for X in ${LANGS} ; do + SRC_URI="${SRC_URI} linguas_${X/-/_}? ( http://www.mozilla-enigmail.org/downloads/lang/0.9x/${PN}-${X}-0.9x.xpi )" + IUSE="${IUSE} linguas_${X/-/_}" +done +# ( mirror://gentoo/${PN}-${X}-0.9x.xpi )" + +for X in ${SHORTLANGS} ; do + SRC_URI="${SRC_URI} linguas_${X%%-*}? ( http://www.mozilla-enigmail.org/downloads/lang/0.9x/${PN}-${X}-0.9x.xpi )" + IUSE="${IUSE} linguas_${X%%-*}" +done +#( mirror://gentoo/${PN}-${X}-0.9x.xpi )" + +DEPEND=">=mail-client/mozilla-thunderbird-${MY_TBVER}" +RDEPEND="${DEPEND} + >=app-crypt/gnupg-1.4.5 + >=www-client/mozilla-launcher-1.37" + +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 ${PN} does not support the ${LANG} LINGUA" + done +} + +src_unpack() { + unpack thunderbird-${TBVER}-source.tar.bz2 mozilla-thunderbird-${MY_TBVER}-patches-${TBPVER}.tar.bz2 || die "unpack failed" + + linguas + for X in ${linguas}; do + [[ ${X} != en ]] && xpi_unpack ${PN}-${X}-0.9x.xpi + done + + cd ${S} || die "cd failed" + + # Apply our patches + EPATCH_FORCE="yes" epatch "${WORKDIR}"/patch + + # Unpack the enigmail plugin + cd ${S}/mailnews/extensions || die + unpack enigmail-${EMVER}.tar.gz + cd ${S}/mailnews/extensions/enigmail || die "cd failed" + makemake2 + + cd ${S} + + # Use the right theme for thunderbird #45609 + sed -i -ne '/^enigmail-skin.jar:$/ { :x; n; /^\t/bx; }; p' mailnews/extensions/enigmail/ui/jar.mn + + # Don't allow upgrades via the browser + epatch ${FILESDIR}/50_enigmail_no_upgrade-1.patch + + # Fix installation of enigmail.js + epatch ${FILESDIR}/70_enigmail-fix.patch + + eautoreconf || die "failed running autoreconf" +} + +src_compile() { + declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/mozilla-thunderbird + + #################################### + # + # mozconfig, CFLAGS and CXXFLAGS setup + # + #################################### + + mozconfig_init + + # tb-specific settings + mozconfig_annotate '' \ + --with-system-nspr \ + --with-system-nss \ + --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} \ + --with-user-appdir=.thunderbird + + # Finalize and report settings + mozconfig_final + + # hardened GCC uses -fstack-protector-all by default, and this breaks + # thunderbird + gcc-specs-ssp && append-flags -fno-stack-protector-all + replace-flags -fstack-protector-all -fstack-protector + + #################################### + # + # Configure and build Thunderbird + # + #################################### + + econf || die "econf failed" + + # This removes extraneous CFLAGS from the Makefiles to reduce RAM + # requirements while compiling + edit_makefiles + + # Only build the parts necessary to support building enigmail + emake -j1 export || die "make export failed" + emake -C modules/libreg || die "make modules/libreg failed" + emake -C xpcom/string || die "make xpcom/string failed" + emake -C xpcom || die "make xpcom failed" + emake -C xpcom/obsolete || die "make xpcom/obsolete failed" + + # Build the enigmail plugin + einfo "Building Enigmail plugin..." + emake -C ${S}/mailnews/extensions/enigmail || die "make enigmail failed" + + # Package the enigmail plugin; this may be the easiest way to collect the + # necessary files + emake -j1 -C ${S}/mailnews/extensions/enigmail xpi || die "make xpi failed" +} + +src_install() { + declare MOZILLA_FIVE_HOME=/usr/$(get_libdir)/mozilla-thunderbird + declare emid + + cd ${T} + unzip ${S}/dist/bin/*.xpi install.rdf + emid=$(sed -n '/<em:id>/!d; s/.*\({.*}\).*/\1/; p; q' install.rdf) + + dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} + cd ${D}${MOZILLA_FIVE_HOME}/extensions/${emid} + unzip ${S}/dist/bin/*.xpi + + # these files will be picked up by mozilla-launcher -register + dodir ${MOZILLA_FIVE_HOME}/{chrome,extensions}.d + insinto ${MOZILLA_FIVE_HOME}/chrome.d + newins ${S}/dist/bin/chrome/installed-chrome.txt ${PN} + echo "extension,${emid}" > ${D}${MOZILLA_FIVE_HOME}/extensions.d/${PN} + + linguas + for X in ${linguas}; do + [[ ${X} != en ]] && xpi_install ${WORKDIR}/${PN}-${X}-0.9x + done +} diff --git a/x11-plugins/enigmail/files/digest-enigmail-0.94.1-r1 b/x11-plugins/enigmail/files/digest-enigmail-0.94.1-r1 new file mode 100644 index 000000000000..35ac1a2f17aa --- /dev/null +++ b/x11-plugins/enigmail/files/digest-enigmail-0.94.1-r1 @@ -0,0 +1,75 @@ +MD5 b255e7a77ecea435934bfa1872e99f6a enigmail-0.94.1.tar.gz 513084 +RMD160 1b8719c7669449f706bd3ff6964565e6ba9f8902 enigmail-0.94.1.tar.gz 513084 +SHA256 3584329e4f51e43fbb9028cf47101de8c74651e7607de80cb1f61349424133c1 enigmail-0.94.1.tar.gz 513084 +MD5 2f7b87d93cb4fcb831690ae7438e4f0e enigmail-ca-AD-0.9x.xpi 29484 +RMD160 a338ad40279f43e13f0ae47b27719357806f56b8 enigmail-ca-AD-0.9x.xpi 29484 +SHA256 d3a5af60286e90c777a7473e9432db727a9349ae1b7d4670803b605e9c4ad405 enigmail-ca-AD-0.9x.xpi 29484 +MD5 d605fb750c353e8a4c5d853aae1594ef enigmail-cs-CZ-0.9x.xpi 31992 +RMD160 2aeb8484ed927c87e782548f8414dc6e4b246ae0 enigmail-cs-CZ-0.9x.xpi 31992 +SHA256 3184737a5761b6fd136cd6bf903cd3c383194608b5ebc45f217734143eefa280 enigmail-cs-CZ-0.9x.xpi 31992 +MD5 a6d521392385d55d9de6dbe093def72c enigmail-de-0.9x.xpi 31569 +RMD160 bcbe0a8adc3f024ddd0cda0d3adffc6831b55b87 enigmail-de-0.9x.xpi 31569 +SHA256 15f542325dc1ed0fcce8424f2dbd04efeefabfa193116c8ba26511c42818d3da enigmail-de-0.9x.xpi 31569 +MD5 1ea24fe218e37a12c307c542ae5909f5 enigmail-el-0.9x.xpi 37047 +RMD160 b655be606c1f84a626969b29d34ea4b139aaebf5 enigmail-el-0.9x.xpi 37047 +SHA256 1bda2a0f2f081c5b5a9e612890dff16469f2b794ce21e10fca249f758ea3eebe enigmail-el-0.9x.xpi 37047 +MD5 ba2c0188476992ecfcd389ea1b9e150b enigmail-es-AR-0.9x.xpi 28723 +RMD160 56a8c4ee531adf40dedcfb0a6d4930cddfb73c9a enigmail-es-AR-0.9x.xpi 28723 +SHA256 8e58e443d89cfc8ae574a8ba6a27f0b3143306673e79f1a65300a2a2e13a6405 enigmail-es-AR-0.9x.xpi 28723 +MD5 4e147df61d36030bb2754ab702da8491 enigmail-es-ES-0.9x.xpi 30493 +RMD160 57feebbf302d16eff8ff0003d98fcaf3c5a2c992 enigmail-es-ES-0.9x.xpi 30493 +SHA256 a4ae0282c991cd66f75a980d840cdb39cd357d4257338015ddcd84ee239665b4 enigmail-es-ES-0.9x.xpi 30493 +MD5 3b4bc4aaa900a1d60ceb1eaf792fb19c enigmail-fi-FI-0.9x.xpi 29256 +RMD160 e8b41b374f344823d7664927c0dbbd4a2d49b942 enigmail-fi-FI-0.9x.xpi 29256 +SHA256 c7268fdaa65c4c4c2150f76c3f3c011cdeda42471aca16e5cb7bdda06a6cdc19 enigmail-fi-FI-0.9x.xpi 29256 +MD5 e8d57b69a0bb74d0f28e940b067280db enigmail-fr-FR-0.9x.xpi 31804 +RMD160 644d479a1610b8a026e721e5edaa3926ad988282 enigmail-fr-FR-0.9x.xpi 31804 +SHA256 724d22f9b5ca947ed354541b7c662ee80a0f59822f924529a94c9bf328d9967f enigmail-fr-FR-0.9x.xpi 31804 +MD5 536f455838438e0655663192619a5d99 enigmail-hu-HU-0.9x.xpi 32616 +RMD160 4f778ec903635bc63436e8525362196f3ba2ef8a enigmail-hu-HU-0.9x.xpi 32616 +SHA256 59bc30fa38c31b7401ad35a001fbccaa0a2492e06946d38d0ee095e6dc5b178f enigmail-hu-HU-0.9x.xpi 32616 +MD5 f7793ca6bdfae7d5913c8eb1b6f8a619 enigmail-it-IT-0.9x.xpi 30519 +RMD160 5deb7db1ab7793e69d965d5c97d69dab680af6ab enigmail-it-IT-0.9x.xpi 30519 +SHA256 c87c42804b93e43d5370c3b4a89f247fd05bee721db93fb606e69b2c64d8ed96 enigmail-it-IT-0.9x.xpi 30519 +MD5 8ab69cdf5c57a150c3c1bd4dbf9bb81e enigmail-ja-JP-0.9x.xpi 32354 +RMD160 b5db0a3ecd1c645694e2247a5d65f0a619ca4b57 enigmail-ja-JP-0.9x.xpi 32354 +SHA256 9806667ea37130eb91670e7b6712ca1ca3cdffdccaae17cf445e03a626804b71 enigmail-ja-JP-0.9x.xpi 32354 +MD5 040116419375d9ca520282d6a2493454 enigmail-ko-KR-0.9x.xpi 25212 +RMD160 8fe6915b20a2f3960686c05e0a83c26bdbfd0974 enigmail-ko-KR-0.9x.xpi 25212 +SHA256 00bc694cf33db3016ac37d48d4f7ead907cb418771f98667bb70c09bd1f94440 enigmail-ko-KR-0.9x.xpi 25212 +MD5 2aa5734f939734bdc05a29e0f2cf1c3e enigmail-nb-NO-0.9x.xpi 28466 +RMD160 756a7e63d557d1eff49232d1eaec322cfc01f2f0 enigmail-nb-NO-0.9x.xpi 28466 +SHA256 09f61fb75f0df03a8779a89b9b39cba2aafdaab257909537c6d9c89eb7f57270 enigmail-nb-NO-0.9x.xpi 28466 +MD5 1a74b915c98e544cc7f087db3ea9511d enigmail-nl-NL-0.9x.xpi 30856 +RMD160 05a95188580bbe32b42dadf84506d1c0cb1e83ac enigmail-nl-NL-0.9x.xpi 30856 +SHA256 b4297116275852d644cf9dfc5aec702ad3bbca41abc1477150cea8baffd4e774 enigmail-nl-NL-0.9x.xpi 30856 +MD5 5061fb4a0b321644a1716aea831cf281 enigmail-pl-PL-0.9x.xpi 30929 +RMD160 e69e3550c0c8271bd47e914181d4e5d44d7e80c7 enigmail-pl-PL-0.9x.xpi 30929 +SHA256 534f0082c83944c6cfb2c9777bb59c2d835b8267f6da1eaa208c19420d3d9f8b enigmail-pl-PL-0.9x.xpi 30929 +MD5 0e66502ea16233bca180b81fd91b05d8 enigmail-pt-BR-0.9x.xpi 31760 +RMD160 ec1dd0e3c7c837fa70d936a76f627b2f9533be38 enigmail-pt-BR-0.9x.xpi 31760 +SHA256 3636acc459e65059da15245aa5009df84526b1e5b98421692463eb1eeb06bc92 enigmail-pt-BR-0.9x.xpi 31760 +MD5 990a07caf21353ad46a689a2fa1ed1c5 enigmail-pt-PT-0.9x.xpi 30799 +RMD160 1f87d7467d6338ae3508c735a2937b00ad1cbbd8 enigmail-pt-PT-0.9x.xpi 30799 +SHA256 279ce324872bd14408c9c496d112d454130da0388ff138de0fbc902bc98c9403 enigmail-pt-PT-0.9x.xpi 30799 +MD5 2febfba49fcc6819eb99997a7c2082ff enigmail-ru-RU-0.9x.xpi 35218 +RMD160 12298cf592f1c47ac1367e65de7ad3688d7e408c enigmail-ru-RU-0.9x.xpi 35218 +SHA256 3b85d935f75836fd313ba45b8515957455caddf4e839945f756cbba0734ddef1 enigmail-ru-RU-0.9x.xpi 35218 +MD5 9c83e23d94412f53c42e8879a5634511 enigmail-sk-SK-0.9x.xpi 30121 +RMD160 105c14a5aed02105148989ababc17277ccc1d381 enigmail-sk-SK-0.9x.xpi 30121 +SHA256 0aa026f8debfe6037124f3861155cb00d8ccf5d8a223f7827f2718c611b00d0e enigmail-sk-SK-0.9x.xpi 30121 +MD5 dc9257ced51632aee9872ecb210ddc84 enigmail-sl-SI-0.9x.xpi 30090 +RMD160 3f2f81d526c4665100f154231310a36c4aeeab36 enigmail-sl-SI-0.9x.xpi 30090 +SHA256 c58675c3efdc68ca197f85b4955123d12a5baf4e1bbe01710bc5bbffddcea992 enigmail-sl-SI-0.9x.xpi 30090 +MD5 8850c1eab91e441d30a2e536b3b31a3b enigmail-sv-SE-0.9x.xpi 30803 +RMD160 5f4259a55e6753a6ec61a7a5eac64b365d3a1973 enigmail-sv-SE-0.9x.xpi 30803 +SHA256 afa3b754d9372cc531752e83909c6147cdc10d7a5ef42f364dc8cbbc686af93c enigmail-sv-SE-0.9x.xpi 30803 +MD5 ea388891cc3e67a5c69345608e2ca127 enigmail-zh-CN-0.9x.xpi 31747 +RMD160 a65e2a014777d1d13c9d45e14b6f9abec03b75f2 enigmail-zh-CN-0.9x.xpi 31747 +SHA256 628141041a7b316ede43cb0fda01d834dc02b344f6ad6b491d4329d2eead7512 enigmail-zh-CN-0.9x.xpi 31747 +MD5 3dc083017f58607b4704278455559540 mozilla-thunderbird-2.0_alpha1-patches-1.0.tar.bz2 23402 +RMD160 28aa536c70aacedafaf8a136e6b390ec08f08229 mozilla-thunderbird-2.0_alpha1-patches-1.0.tar.bz2 23402 +SHA256 a3d0fc16b8d0f87e8e34dc8849e6b481a4ee2b4635a22bec3a46ede9e7b1bb76 mozilla-thunderbird-2.0_alpha1-patches-1.0.tar.bz2 23402 +MD5 70adf3ca4838d114f8b6dffc6e004388 thunderbird-2.0a1-source.tar.bz2 36476408 +RMD160 40e6552f5dd397ddbd37f07852d87346b1b25c45 thunderbird-2.0a1-source.tar.bz2 36476408 +SHA256 f62eb7e40d76df3001f6a46e3ffee0c83fad75887fb87007cf3ecc251cb16078 thunderbird-2.0a1-source.tar.bz2 36476408 |