summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-06-24 15:47:37 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-06-24 15:47:37 +0000
commitc7ef2c36121610071edd6c63aa694ea31e4e40e9 (patch)
tree3c43e6809a313617aa2731297410fb36dec2dddb /x11-plugins
parentBump for QA fix from #274211 (diff)
downloadhistorical-c7ef2c36121610071edd6c63aa694ea31e4e40e9.tar.gz
historical-c7ef2c36121610071edd6c63aa694ea31e4e40e9.tar.bz2
historical-c7ef2c36121610071edd6c63aa694ea31e4e40e9.zip
Revision bump
Package-Manager: portage-2.1.6.13/cvs/Linux ia64
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/enigmail/ChangeLog7
-rw-r--r--x11-plugins/enigmail/Manifest4
-rw-r--r--x11-plugins/enigmail/enigmail-0.95.7-r5.ebuild202
3 files changed, 211 insertions, 2 deletions
diff --git a/x11-plugins/enigmail/ChangeLog b/x11-plugins/enigmail/ChangeLog
index a3fd0e1abeb0..805a3fbb5ce6 100644
--- a/x11-plugins/enigmail/ChangeLog
+++ b/x11-plugins/enigmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-plugins/enigmail
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.158 2009/03/22 15:28:20 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.159 2009/06/24 15:47:37 armin76 Exp $
+
+*enigmail-0.95.7-r5 (24 Jun 2009)
+
+ 24 Jun 2009; Raúl Porcel <armin76@gentoo.org> +enigmail-0.95.7-r5.ebuild:
+ Revision bump
22 Mar 2009; Raúl Porcel <armin76@gentoo.org> enigmail-0.95.7-r4.ebuild:
Bump patchset to fix #263215
diff --git a/x11-plugins/enigmail/Manifest b/x11-plugins/enigmail/Manifest
index 0b11ae4431a0..9b25de04dc3b 100644
--- a/x11-plugins/enigmail/Manifest
+++ b/x11-plugins/enigmail/Manifest
@@ -56,7 +56,9 @@ DIST mozilla-thunderbird-1.5.0.10-patches-0.1.tar.bz2 30777 RMD160 08da7a7dadfc7
DIST mozilla-thunderbird-2.0.0.21-patches-0.1.tar.bz2 30712 RMD160 e0c49e24482c6193d1e74268cba80f1882900fe4 SHA1 3849c7f91ca5a7ebd8b3517f9fb0ceea69235faa SHA256 8cd124c154fc299f73bdb11c5a596d05651203cbe4472ceb2b1349a6b55b6ff1
DIST thunderbird-1.5.0.13-source.tar.bz2 36162915 RMD160 6d9d8c1ea091725728ad0400c58b606a73346ef9 SHA1 2275d92724976896b6529ceb8ae890b10bc94109 SHA256 1849df86b6f145ff974e5a478e985a8ee8c3239e8a187d6dcba176b8730358db
DIST thunderbird-2.0.0.21-source.tar.bz2 40484246 RMD160 493e41013a91888d29647c126d4f2c5a547056dd SHA1 8bb2f7ce60635f6082c3c4542fff10c4b7445dc0 SHA256 a89d53f883eb7d4d57640ab51cda7bd181fec38a0e2df11689327cea779a92d2
+DIST thunderbird-2.0.0.22-source.tar.bz2 40489725 RMD160 6f9693c0b7f5af0c60d245c96492f11a4c286efd SHA1 a9da470ff090dfd049cae6b0c3b1a4e95c3f2022 SHA256 e364e5e1a96521b98b8391c5028207408d3d285ab40e091fa503b87a19d24d04
EBUILD enigmail-0.94.4.ebuild 5818 RMD160 4b058e7ded7b6bfd2820420bfadf8c4456e5c7b9 SHA1 5991031893581a3f7aa602a41e5189f9cd2b0d82 SHA256 78b56db0dfd8c75b997d568ac85d68d7f477e8f3935180a2036c4849cf0d40ab
EBUILD enigmail-0.95.7-r4.ebuild 5996 RMD160 cd4d8de1cd8436cd2326199dd8c5d864615a4883 SHA1 1314b7bad4567fb510d88a3217c6692fa75e1b74 SHA256 c46ab05f688a7bb5ef98aa0aea95374e6b4182a4e945b90d32e7b19b45a70810
-MISC ChangeLog 21754 RMD160 2474ed81ace5d1ac2dd27b158e124dae51c9cc08 SHA1 3b258f26ee4a29b931863df30156f3a2508d2d65 SHA256 b2e5bdeffcb306a4e87f9d198498f0b6bdcc44da52b27a59200044506a0c6a0d
+EBUILD enigmail-0.95.7-r5.ebuild 6003 RMD160 4644e4bad02233a4a539e9e03c6e85c48d404896 SHA1 c22c20243c8f997bffa900e2f337d2c4dea7ad5e SHA256 e15cea256b3129e4c51ed8b9528ee5c0ecc2f8eb9550c56bd7a02a634879887f
+MISC ChangeLog 21883 RMD160 13974d2a05424605087b34b22d0fb8fa887beba9 SHA1 4d8c1f191ba433dd7d59f57b1054bc1aced53bac SHA256 5a4e88c09347af7ed90081733c878de063a926e2eb10c4c7c579e3b2ea76b4bc
MISC metadata.xml 238 RMD160 20be188d400f8ae54fb1eae8bfb243c43eed2395 SHA1 fb7dacf03f1ce8294d6d2f07d4c2d7ff69ee7525 SHA256 ef51e99b6b1ccee48a71906e90a4111f58793292fe1248934a811fcb02506036
diff --git a/x11-plugins/enigmail/enigmail-0.95.7-r5.ebuild b/x11-plugins/enigmail/enigmail-0.95.7-r5.ebuild
new file mode 100644
index 000000000000..d6e60e09411c
--- /dev/null
+++ b/x11-plugins/enigmail/enigmail-0.95.7-r5.ebuild
@@ -0,0 +1,202 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.95.7-r5.ebuild,v 1.1 2009/06/24 15:47:37 armin76 Exp $
+
+WANT_AUTOCONF="2.1"
+
+inherit flag-o-matic toolchain-funcs eutils nsplugins mozcoreconf mozextension makeedit multilib autotools
+
+LANGS="ar de el es-ES nb-NO pt-BR zh-CN"
+NOSHORTLANGS="ca-AD cs-CZ es-ES fi-FI fr-FR hu-HU it-IT ja-JP ko-KR nb-NO pl-PL pt-PT ro-RO ru-RU sk-SK sl-SI sv-SE tr-TR zh-TW"
+
+EMVER=${PV}
+TBVER="2.0.0.22"
+TBPATCH="2.0.0.21-patches-0.1"
+
+DESCRIPTION="GnuPG encryption plugin for thunderbird."
+HOMEPAGE="http://enigmail.mozdev.org"
+SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${TBVER}/source/thunderbird-${TBVER}-source.tar.bz2
+ mirror://gentoo/mozilla-thunderbird-${TBPATCH}.tar.bz2
+ http://www.mozilla-enigmail.org/download/source/enigmail-${EMVER}.tar.gz"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+LICENSE="MPL-1.1 GPL-2"
+IUSE=""
+
+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
+# ( mirror://gentoo/${PN}-${X}-0.9x.xpi )"
+
+for X in ${NOSHORTLANGS} ; do
+ SRC_URI="${SRC_URI} linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${P}-${X}.xpi )"
+ IUSE="${IUSE} linguas_${X%%-*}"
+done
+#( mirror://gentoo/${PN}-${X}-0.9x.xpi )"
+
+DEPEND=">=mail-client/mozilla-thunderbird-${TBVER}
+ !>=mail-client/mozilla-thunderbird-3"
+RDEPEND="${DEPEND}
+ >=app-crypt/gnupg-1.4
+ >=www-client/mozilla-launcher-1.56"
+
+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 ${NOSHORTLANGS}; 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
+}
+
+pkg_setup() {
+ if has_version '>=app-crypt/gnupg-2.0.1-r2'; then
+ if ! built_with_use -o app-crypt/pinentry gtk qt3; then
+ die "You must build app-crypt/pinentry with GTK or QT3 support"
+ fi
+ fi
+}
+
+src_unpack() {
+ unpack thunderbird-${TBVER}-source.tar.bz2 mozilla-thunderbird-${TBPATCH}.tar.bz2 || die "unpack failed"
+
+ linguas
+ for X in ${linguas}; do
+ [[ ${X} != en ]] && xpi_unpack ${P}-${X}.xpi
+ done
+
+ # Apply our patches
+ cd "${S}" || die "cd failed"
+ EPATCH_SUFFIX="patch" \
+ 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
+
+ # Fix installation of enigmail.js
+ epatch "${FILESDIR}"/70_enigmail-fix.patch
+ # Make replytolist work with >0.95.0
+ epatch "${FILESDIR}"/0.95.0-replytolist.patch
+
+ eautoreconf
+}
+
+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
+
+ # Bug 246421
+ # Breaks builds with gcc-4.3 on amd64
+ if use amd64 && [[ $(gcc-version) == "4.3" ]]; then
+ mozconfig_annotate 'gcc-4.3 breaks build on amd64 with -O2+' --enable-optimize=-Os
+ fi
+
+ # Finalize and report settings
+ mozconfig_final
+
+ if [[ $(gcc-major-version) -lt 4 ]]; then
+ append-cxxflags -fno-stack-protector
+ fi
+
+ ####################################
+ #
+ # Configure and build Thunderbird
+ #
+ ####################################
+ 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
+
+ # 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}"/${P}-${X}
+ done
+}