summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2009-01-05 16:13:49 +0000
committerRaúl Porcel <armin76@gentoo.org>2009-01-05 16:13:49 +0000
commit6847fa5e0e18fc2f679d999850314d7dacd4be86 (patch)
tree96bc6548de2d10b232632770e40eaa877ca2ab83 /x11-plugins
parentold (diff)
downloadhistorical-6847fa5e0e18fc2f679d999850314d7dacd4be86.tar.gz
historical-6847fa5e0e18fc2f679d999850314d7dacd4be86.tar.bz2
historical-6847fa5e0e18fc2f679d999850314d7dacd4be86.zip
old
Package-Manager: portage-2.1.6.4/cvs/Linux 2.6.26-gentoo-r2 ia64
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/enigmail/Manifest2
-rw-r--r--x11-plugins/enigmail/enigmail-0.95.7-r2.ebuild205
2 files changed, 0 insertions, 207 deletions
diff --git a/x11-plugins/enigmail/Manifest b/x11-plugins/enigmail/Manifest
index c316022d302f..dc9106fc8eca 100644
--- a/x11-plugins/enigmail/Manifest
+++ b/x11-plugins/enigmail/Manifest
@@ -55,10 +55,8 @@ DIST enigmail-zh-CN-0.9x.xpi 31747 RMD160 a65e2a014777d1d13c9d45e14b6f9abec03b75
DIST mozilla-thunderbird-1.5.0.10-patches-0.1.tar.bz2 30777 RMD160 08da7a7dadfc731e5e18d86ca9aa2679eb14fa1d SHA1 7e9862eafbb41f603aa354eab8ccf7347afa71a2 SHA256 7bf7d7abe757cc1dc0ce67fe083c6663fedbcc6e6bdd65cc09ce543ac8e54b9c
DIST mozilla-thunderbird-2.0.0.16-patches-0.1.tar.bz2 30163 RMD160 58d8b067c9a15d9e550b9264a3406d61d8bb7406 SHA1 38e41cc7fbe382991637fd67374ee4df87402273 SHA256 afa27ebd5203a4897f896135733fd74f4aebeddfad5ff6126f7e89196ae37e51
DIST thunderbird-1.5.0.13-source.tar.bz2 36162915 RMD160 6d9d8c1ea091725728ad0400c58b606a73346ef9 SHA1 2275d92724976896b6529ceb8ae890b10bc94109 SHA256 1849df86b6f145ff974e5a478e985a8ee8c3239e8a187d6dcba176b8730358db
-DIST thunderbird-2.0.0.18-source.tar.bz2 40455125 RMD160 093b2328a000f18494fd552cce58fa2ec55085a1 SHA1 4d05300280763e34c7a115835523ed2805f7733c SHA256 f18f97833661b260d819161080329f857e489b3c934f4648012b8728b7f3d597
DIST thunderbird-2.0.0.19-source.tar.bz2 40452690 RMD160 7139fb27b1a236564ee6470c4be13e93b6ec9217 SHA1 4d2e0f8b405bb0ceab20a9f570ce91cf4640f456 SHA256 9a23d3a93c7646867227558727cf564eaba70da87e21e097eb46d951ed839f25
EBUILD enigmail-0.94.4.ebuild 5818 RMD160 4b058e7ded7b6bfd2820420bfadf8c4456e5c7b9 SHA1 5991031893581a3f7aa602a41e5189f9cd2b0d82 SHA256 78b56db0dfd8c75b997d568ac85d68d7f477e8f3935180a2036c4849cf0d40ab
-EBUILD enigmail-0.95.7-r2.ebuild 6108 RMD160 41ccd37d011a70d3f15cf0a3175030035cc39ed2 SHA1 68cf9e190095f0aedf582b6f4e7f25e4c057f75a SHA256 de639516898fa7172680fd3a3c36ec80cf0caec41c647f482ba5178673c32da6
EBUILD enigmail-0.95.7-r3.ebuild 6106 RMD160 05673e30f69713e98270f7b3bcb8239dd4c31bf3 SHA1 82bc12e93fe65ae74dca733a4f69529b865dd003 SHA256 0c4838229bc337ee5f4595d26d844b341c78bbb4cf48f8b8dc36ab2d0c004557
MISC ChangeLog 20854 RMD160 0a157395df41c05bf61a5ff155a9855017def03a SHA1 1faadc155fa230d54ea9fab7c921c98bbc9395e5 SHA256 472b9a7d6719b68daee6ea3675c4f011e889ee094f77e0959cc89e3c4c7aaee1
MISC metadata.xml 238 RMD160 20be188d400f8ae54fb1eae8bfb243c43eed2395 SHA1 fb7dacf03f1ce8294d6d2f07d4c2d7ff69ee7525 SHA256 ef51e99b6b1ccee48a71906e90a4111f58793292fe1248934a811fcb02506036
diff --git a/x11-plugins/enigmail/enigmail-0.95.7-r2.ebuild b/x11-plugins/enigmail/enigmail-0.95.7-r2.ebuild
deleted file mode 100644
index a3df5bfcf619..000000000000
--- a/x11-plugins/enigmail/enigmail-0.95.7-r2.ebuild
+++ /dev/null
@@ -1,205 +0,0 @@
-# Copyright 1999-2008 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-r2.ebuild,v 1.7 2008/12/14 22:54:47 darkside 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.18"
-TBPATCH="2.0.0.16-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}"
-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
-
- # -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 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
-}