summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2010-07-31 21:42:47 +0000
committerJory Pratt <anarchy@gentoo.org>2010-07-31 21:42:47 +0000
commitde8686d25357ef007e19a150ffb18a56e72a8e5e (patch)
tree46c4f56f23cb7d685990f4a29cb4b3e75b1b3fea /x11-plugins
parentFix build for sparc, update patchset, install to /usr/$(get_libdir)/${PN} (diff)
downloadhistorical-de8686d25357ef007e19a150ffb18a56e72a8e5e.tar.gz
historical-de8686d25357ef007e19a150ffb18a56e72a8e5e.tar.bz2
historical-de8686d25357ef007e19a150ffb18a56e72a8e5e.zip
Fix build for sparc, update patchset, install to /usr/$(get_libdir)/${PN}
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/enigmail/ChangeLog7
-rw-r--r--x11-plugins/enigmail/Manifest15
-rw-r--r--x11-plugins/enigmail/enigmail-1.1.2-r2.ebuild157
3 files changed, 167 insertions, 12 deletions
diff --git a/x11-plugins/enigmail/ChangeLog b/x11-plugins/enigmail/ChangeLog
index 0f3a012ee852..e446d49308d9 100644
--- a/x11-plugins/enigmail/ChangeLog
+++ b/x11-plugins/enigmail/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for x11-plugins/enigmail
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.196 2010/07/26 19:24:59 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.197 2010/07/31 21:42:47 anarchy Exp $
+
+*enigmail-1.1.2-r2 (31 Jul 2010)
+
+ 31 Jul 2010; Jory A. Pratt <anarchy@gentoo.org> +enigmail-1.1.2-r2.ebuild:
+ Fix build for sparc, update patchset, install to /usr/$(get_libdir)/${PN}
26 Jul 2010; Markus Meier <maekke@gentoo.org> enigmail-1.1.2-r1.ebuild:
amd64 stable, bug #329279
diff --git a/x11-plugins/enigmail/Manifest b/x11-plugins/enigmail/Manifest
index 198afb9de559..2b6121e8b74d 100644
--- a/x11-plugins/enigmail/Manifest
+++ b/x11-plugins/enigmail/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX 70_enigmail-fix.patch 343 RMD160 a81caaa4cb6507b5a41b2593e26b984c8748a8b8 SHA1 7028cd7cf09c60325887fd0fb68a20ba3bb98b12 SHA256 895c5ffec6aa321290115f2c995658ae87f9bde027ac0414e5d76a7c9d451165
AUX 75_enigmai-js-fixup.patch 1260 RMD160 b89620f3495a286c1e5636b0c65b423d3a158944 SHA1 033b817e08acd35c9d4e943b24f07d9191900912 SHA256 66e3e9ddce9d191ce1417e364757f1d35873f031abd94c817e069249d18a3dd3
AUX thunderbird-xul-1.9.2-arm-fixes.patch 603 RMD160 952db59f2c3d526b04323fec830cf04c28dfb84d SHA1 b1e2f12c0b204bf2c6434303c0638750dcb1b73d SHA256 19d230805cb5d62a99fef32dfc373661dcc3361bf8d1f6077854120a5e9a9821
@@ -9,15 +6,11 @@ DIST enigmail-1.1.2.tar.gz 1280923 RMD160 2c1fa3494c1c2458635a3d68929ce7ff8fdb48
DIST mozilla-thunderbird-3.0-patches-0.3.tar.bz2 3241 RMD160 bc3b163b9c5bd7c7fb497786b2dc2da4e0a4bd28 SHA1 0182b73d48cd21204504f3bb8e17f0d9a7289464 SHA256 a430c71a12fe63662d43b4eeb5b185841a4788cbbbbd7178a3c73056ba94c5cd
DIST mozilla-thunderbird-3.1-patches-0.1.tar.bz2 2451 RMD160 31b5126836b4fb6b5e62f4d1772fab2e4111320e SHA1 b86c3e93edc632801f3e331884404332b458d7b1 SHA256 79c6a48cdcf322226e39c0d8b5136506d6fb9c939c7ce531ac7f5c6ad3588d28
DIST thunderbird-3.0.4.source.tar.bz2 61094371 RMD160 ed8c905e3a6061c0ff896857fda3d96146bbc6a8 SHA1 5a6e89096da61a520e5cecb61f8afeb981f90412 SHA256 fdf28d6a9ea42c98557554ba28d0a3a8db11475eee49f16aa4a3aaf2ca1f1343
+DIST thunderbird-3.1-patches-0.2.tar.bz2 2739 RMD160 f08e89bfc22cc7ffa2c3b39401e197d73ec2df96 SHA1 91fd6da678a2130cb097dacd0603389bdf9bebc0 SHA256 a09064811e928f1c0ca8b2556f3ccfb0cedfa5569e908d1b11cdd1d0e952c9ba
+DIST thunderbird-3.1.1.source.tar.bz2 65820406 RMD160 f7c635610eace54a29601a796f8f5e34bc7d198e SHA1 8e25fd786fbe094c3f4d9bc4e18285701bd42279 SHA256 206a0fb7d9464b5e3b46c8ad5f1b76fd3de88858236dd5f9b7082f5b893e955d
DIST thunderbird-3.1.source.tar.bz2 65633518 RMD160 bc55cf89dfe1f2c946fff8f5ec21b0377229afe7 SHA1 89e9d8099a5437ce401577fc4d526eb0dd9e51da SHA256 494090fd47944c15e3906847931d7efe77ec0e05f56dbae3a8c36d0a48616a86
EBUILD enigmail-1.0.1-r3.ebuild 4108 RMD160 8706883241129e832b007eb466322083f3eef350 SHA1 cd04496787dd88196e12b289b5193759b4581015 SHA256 3202a5485200e9fa86adbbcabfdda1c08274a723a1243b7a92d62ee566c29550
EBUILD enigmail-1.1.2-r1.ebuild 4298 RMD160 8b8c0f8baad1b67097437773cc319db2d3c90041 SHA1 0e8e5c36069750cad971ccec85a4251ce88ad319 SHA256 2da13ae532d9e00b715e308439d8cf786dd86ac48beae31c5f696dd30a768201
-MISC ChangeLog 27185 RMD160 5be1a29fe2af40f6252108e399fe5c03f10b3dd2 SHA1 6e9c8b2d55f4f02703d5d3f14749495ea92968e9 SHA256 03bc0ae28b0682fdf149ec10546109f19a6c645d8f9ec3aafe8402bf006813e9
+EBUILD enigmail-1.1.2-r2.ebuild 4206 RMD160 f74a106ccf133e1c0c232e5265d7bea1578362c2 SHA1 adea667dd025663d2535f51964b9a6543da8aee2 SHA256 35616e12ae0a85122470c03693778b5cdfed434bd12fd2b215354a540a4fdf59
+MISC ChangeLog 27374 RMD160 3294742c1ce246cd2de4501bee522e09a7a0b035 SHA1 d8c0754e0a41b32ece397502a440a781b10f8cb2 SHA256 c5d3afe05ef63952b5802d3212afa77c480b65b4ca2b179c5aef3bd84b8f8240
MISC metadata.xml 442 RMD160 a82cb8621928aa2ddb0dc98514764c8f105393ae SHA1 f86b5de607060bfdaab09b902f7a33379b6afceb SHA256 50b3622a408b9c241a2c6139b0eb6d1dc6bec95aa420aa60fe6eebeac36be4dd
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.16 (GNU/Linux)
-
-iEYEARECAAYFAkxN4UIACgkQkKaRLQcq0GJuhACfWzekgvFbU4KriwyXiuTsgFRH
-87QAoKbz5H4RxzVvJ2aZJLwYFBpjPS6E
-=q962
------END PGP SIGNATURE-----
diff --git a/x11-plugins/enigmail/enigmail-1.1.2-r2.ebuild b/x11-plugins/enigmail/enigmail-1.1.2-r2.ebuild
new file mode 100644
index 000000000000..87f65596fa55
--- /dev/null
+++ b/x11-plugins/enigmail/enigmail-1.1.2-r2.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-1.1.2-r2.ebuild,v 1.1 2010/07/31 21:42:47 anarchy Exp $
+
+WANT_AUTOCONF="2.1"
+EAPI="2"
+
+inherit flag-o-matic toolchain-funcs eutils mozconfig-3 makeedit multilib mozextension autotools
+MY_P="${P/_beta/b}"
+EMVER="${PV}"
+TBVER="3.1.1"
+PATCH="thunderbird-3.1-patches-0.2"
+
+DESCRIPTION="GnuPG encryption plugin for thunderbird."
+HOMEPAGE="http://enigmail.mozdev.org"
+REL_URI="ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/"
+SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${TBVER}/source/thunderbird-${TBVER}.source.tar.bz2
+ http://www.mozilla-enigmail.org/download/source/${PN}-${EMVER}.tar.gz
+ http://dev.gentoo.org/~anarchy/mozilla/patchsets/${PATCH}.tar.bz2"
+
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+SLOT="0"
+LICENSE="MPL-1.1 GPL-2"
+IUSE="system-sqlite"
+
+DEPEND=">=mail-client/thunderbird-3.1.1-r1[system-sqlite=]"
+RDEPEND="${DEPEND}
+ system-sqlite? ( >=dev-db/sqlite-3.6.22-r2[fts3,secure-delete] )
+ || (
+ (
+ >=app-crypt/gnupg-2.0
+ || (
+ app-crypt/pinentry[gtk]
+ app-crypt/pinentry[qt4]
+ )
+ )
+ =app-crypt/gnupg-1.4*
+ )"
+
+S="${WORKDIR}"/comm-1.9.2
+
+pkg_setup() {
+ # EAPI=2 ensures they are set properly.
+ export BUILD_OFFICIAL=1
+ export MOZILLA_OFFICIAL=1
+ export MOZ_CO_PROJECT=mail
+}
+
+src_unpack() {
+ unpack thunderbird-${TBVER}.source.tar.bz2 ${PATCH}.tar.bz2 || die "unpack failed"
+}
+
+src_prepare(){
+ # Apply our patches
+ EPATCH_SUFFIX="patch" \
+ EPATCH_FORCE="yes" \
+ epatch "${WORKDIR}"
+
+ cd mozilla
+ eautoreconf
+ cd js/src
+ eautoreconf
+
+ # 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}"
+
+ # Fix installation of enigmail.js
+ epatch "${FILESDIR}"/70_enigmail-fix.patch
+ epatch "${FILESDIR}"/75_enigmai-js-fixup.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/thunderbird"
+
+ ####################################
+ #
+ # mozconfig, CFLAGS and CXXFLAGS setup
+ #
+ ####################################
+
+ touch mail/config/mozconfig
+ mozconfig_init
+ mozconfig_config
+
+ # tb-specific settings
+ mozconfig_annotate '' \
+ --with-system-nspr \
+ --with-system-nss \
+ --disable-wave \
+ --disable-ogg \
+ --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} \
+ --with-user-appdir=.thunderbird \
+ --enable-application=mail \
+ --disable-necko-wifi \
+ --disable-libnotify
+
+ mozconfig_use_enable system-sqlite
+
+ # Finalize and report settings
+ mozconfig_final
+
+ # Disable no-print-directory
+ MAKEOPTS=${MAKEOPTS/--no-print-directory/}
+
+ 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
+}
+
+src_compile() {
+ # Only build the parts necessary to support building enigmail
+ emake -j1 export || die "make export failed"
+ emake -C mozilla/modules/libreg || die "make modules/libreg failed"
+ emake -C mozilla/xpcom/string || die "make xpcom/string failed"
+ emake -C mozilla/xpcom || die "make xpcom failed"
+ emake -C mozilla/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)/thunderbird"
+ declare emid
+
+ cd "${T}"
+ unzip "${S}"/mozilla/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}"/mozilla/dist/bin/*.xpi
+}