From 67d22131b193b648f7f3b9b8c1bee135e748f63a Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Wed, 27 Feb 2008 12:54:16 +0000 Subject: Use tb-2.0.0.12 Package-Manager: portage-2.1.4.4 --- x11-plugins/enigmail/ChangeLog | 7 +- x11-plugins/enigmail/Manifest | 9 +- x11-plugins/enigmail/enigmail-0.94.1.ebuild | 4 +- x11-plugins/enigmail/enigmail-0.94.4.ebuild | 4 +- x11-plugins/enigmail/enigmail-0.95.6-r2.ebuild | 191 +++++++++++++++++++++++++ 5 files changed, 207 insertions(+), 8 deletions(-) create mode 100644 x11-plugins/enigmail/enigmail-0.95.6-r2.ebuild (limited to 'x11-plugins') diff --git a/x11-plugins/enigmail/ChangeLog b/x11-plugins/enigmail/ChangeLog index 5414d2358c4a..fa8835d286e3 100644 --- a/x11-plugins/enigmail/ChangeLog +++ b/x11-plugins/enigmail/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-plugins/enigmail # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.117 2008/02/08 17:58:36 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.118 2008/02/27 12:54:16 armin76 Exp $ + +*enigmail-0.95.6-r2 (27 Feb 2008) + + 27 Feb 2008; Raúl Porcel +enigmail-0.95.6-r2.ebuild: + Use tb-2.0.0.12 08 Feb 2008; Brent Baude enigmail-0.95.6-r1.ebuild: Marking enigmail-0.95.6-r1 ppc and ppc64 for bug 209359 diff --git a/x11-plugins/enigmail/Manifest b/x11-plugins/enigmail/Manifest index 23eb179db3c5..29d20df7be79 100644 --- a/x11-plugins/enigmail/Manifest +++ b/x11-plugins/enigmail/Manifest @@ -74,14 +74,17 @@ DIST enigmail-sv-SE-0.9x.xpi 30803 RMD160 5f4259a55e6753a6ec61a7a5eac64b365d3a19 DIST enigmail-zh-CN-0.9x.xpi 31747 RMD160 a65e2a014777d1d13c9d45e14b6f9abec03b75f2 SHA1 8a6da45522b3853ce7bf6774d3ee5f2798591cff SHA256 628141041a7b316ede43cb0fda01d834dc02b344f6ad6b491d4329d2eead7512 DIST mozilla-thunderbird-1.5.0.10-patches-0.1.tar.bz2 30777 RMD160 08da7a7dadfc731e5e18d86ca9aa2679eb14fa1d SHA1 7e9862eafbb41f603aa354eab8ccf7347afa71a2 SHA256 7bf7d7abe757cc1dc0ce67fe083c6663fedbcc6e6bdd65cc09ce543ac8e54b9c DIST mozilla-thunderbird-1.5.0.7-patches-0.1.tar.bz2 30715 RMD160 a86a745963ad911da7c4e30eb9a673f1b657c5af SHA1 8e6f9fff11d06ee5f9f441527d466e6e1862263b SHA256 1f7af196a2342a27ebd37c1deed0ec6fb2e028d4b55faa9e3c5e761716b3352d +DIST mozilla-thunderbird-2.0.0.12-patches-0.1.tar.bz2 30412 RMD160 c327d22d10a377f3072506849cb75f18da755e3c SHA1 4caf0b6f758bbb193fcec51476cc0738ada93c3b SHA256 16cec414399917bb489894fc649f9056ffa60d9ef4e78d7c7603681e32c0c050 DIST mozilla-thunderbird-2.0.0.9-patches-0.1.tar.bz2 29252 RMD160 ad95c79d7c1eeca15fc097a6de66212bd631b34c SHA1 3aa82d7900fc49f0cc04890ff66136846f48d411 SHA256 997b11e697c350f36d4ef7dddb4d66ad233328053a01a54339e9207ce1bdb40f DIST mozilla-thunderbird-2.0.0.9-patches-0.4.tar.bz2 30490 RMD160 6de9b391ed6bbc1e73170c0fdbab5c68fb1edc55 SHA1 84d4c739694d42cedd0be0ac0d23fd10d1278cd7 SHA256 b27df2b6203639f7c8c5b0db05489f80f9b282b5e693d0cce9b9f7d853bcb4aa DIST thunderbird-1.5.0.13-source.tar.bz2 36162915 RMD160 6d9d8c1ea091725728ad0400c58b606a73346ef9 SHA1 2275d92724976896b6529ceb8ae890b10bc94109 SHA256 1849df86b6f145ff974e5a478e985a8ee8c3239e8a187d6dcba176b8730358db DIST thunderbird-1.5.0.7-source.tar.bz2 35994957 RMD160 b8948723e4a96e22409e6a2cb3cd1b6512bef189 SHA1 9e5acff9bd098979dd798c0111805dc8d67479ad SHA256 99f67c50a94af48bc738c19cda390561ec518b5fec4bc4f1f43e65337b645fc9 +DIST thunderbird-2.0.0.12-source.tar.bz2 37485204 RMD160 80d6fdb4b8e085a82234825cfbfc6cd05d015f6f SHA1 36ea64353d32a9f138ef658250cfdcf8f9e862f2 SHA256 a7ed39bcac6357687f9758f0b1282e9f0545e12277b4fc44c70506659c25a7b6 DIST thunderbird-2.0.0.9-source.tar.bz2 37562994 RMD160 0a7e3aeb76b4ef6c84634b2935e84f56dc859051 SHA1 fede9db98f25adb978b84129a6d15a4dbe6bbb3e SHA256 bff4078379abd8616811e06f848aaaebd2cf39b7ae70c1434377c2aaaa6fec80 -EBUILD enigmail-0.94.1.ebuild 5857 RMD160 836f959c129a5c3ccbd162e4f8678f39a36d95b6 SHA1 8dfe7c7d2f99df246938c53728bf15a9561371d1 SHA256 20a45ac21397e7e226ede1e1af3c280c9762b8d399497f5a23723c9a48adb897 -EBUILD enigmail-0.94.4.ebuild 5847 RMD160 421f778640c49cc2407fda55effc955f0e194425 SHA1 60e645fe0ecc56772821301c09395a8632d0ea80 SHA256 f7f300f1045a0b08396948c9c4170ba9a69cb7384ee30870b690ea9bc77ca8a2 +EBUILD enigmail-0.94.1.ebuild 5827 RMD160 3b88e89764a477eb17a245f2ce3ee7d14d534ff8 SHA1 7e32bffe90f6124178f59209451bb687ee55e65b SHA256 6b745c17d684bd29535ae1cc731a5380d83ca7f71290fc82d0a89d9831d8097b +EBUILD enigmail-0.94.4.ebuild 5816 RMD160 a307499b1225e7f1224a3caf8047a37571657a08 SHA1 8197d1b4022559c00ec673bdce8f0c333a9c435f SHA256 0930dedc092fe38b7ce6a65679cef2fbb3ebc8ee793a02984c6a29fc7f04951d EBUILD enigmail-0.95.5-r2.ebuild 5684 RMD160 846d2c3151c639d14c14b73562891d73e4e694b2 SHA1 db44068775522e0d25f54c2d4bf90667eff22a21 SHA256 0f1489d0fab34ebb011b4cbbacc0d16bc9c0ec2d2b00c7e3501218fc31ab38ae EBUILD enigmail-0.95.6-r1.ebuild 5696 RMD160 6154055532d03a3a23d3aee903ae8da7602dcd36 SHA1 3eecc0124c6aa0689ef0aa63b40c37c52ad95ae2 SHA256 75e8645a717fdd63303042ebfeddf22153f2dabfaf047f393fa56b2886e3495b -MISC ChangeLog 16538 RMD160 40a2b12296bd99ea03fccdcd3d033290127367a2 SHA1 bc740faa5427311ea5731c7e968706ef6ebf52fd SHA256 0bb0475c57006c81e1af021430b899953caa4e36652e9b715a8fb5486361c076 +EBUILD enigmail-0.95.6-r2.ebuild 5705 RMD160 45b67e6e06ae7fb966dbcefe9d2a07080fafbb49 SHA1 a5fbc0167f21916180cfd6efb4cbaf2548d8850a SHA256 feeef43031b73a8a154b81eb79005c30821c257d5cc2d48069d501f75ad6c33c +MISC ChangeLog 16670 RMD160 04b85e684fbc261782b117f702f1861ee4203ccb SHA1 722567d33436dffd8f7aefd62e22bf30e8c09bdb SHA256 ef98437a713654dfaf2af55db5f72df16aa9c10675b16abea2492610cfff4832 MISC metadata.xml 238 RMD160 20be188d400f8ae54fb1eae8bfb243c43eed2395 SHA1 fb7dacf03f1ce8294d6d2f07d4c2d7ff69ee7525 SHA256 ef51e99b6b1ccee48a71906e90a4111f58793292fe1248934a811fcb02506036 diff --git a/x11-plugins/enigmail/enigmail-0.94.1.ebuild b/x11-plugins/enigmail/enigmail-0.94.1.ebuild index fbaadb60b143..5a88ab855447 100644 --- a/x11-plugins/enigmail/enigmail-0.94.1.ebuild +++ b/x11-plugins/enigmail/enigmail-0.94.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 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.ebuild,v 1.12 2007/01/08 01:22:22 kloeri Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.1.ebuild,v 1.13 2008/02/27 12:54:16 armin76 Exp $ unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 WANT_AUTOCONF=2.1 @@ -19,7 +19,7 @@ SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${TBVER}/so mirror://gentoo/mozilla-thunderbird-${TBVER}-patches-${TBPVER}.tar.bz2 http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz" -KEYWORDS="alpha amd64 ia64 mips ppc sparc x86" +KEYWORDS="mips" SLOT="0" LICENSE="MPL-1.1 GPL-2" IUSE="" diff --git a/x11-plugins/enigmail/enigmail-0.94.4.ebuild b/x11-plugins/enigmail/enigmail-0.94.4.ebuild index 5c1e25d1057e..1d1cb679229b 100644 --- a/x11-plugins/enigmail/enigmail-0.94.4.ebuild +++ b/x11-plugins/enigmail/enigmail-0.94.4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.4.ebuild,v 1.6 2007/12/15 12:53:00 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/enigmail-0.94.4.ebuild,v 1.7 2008/02/27 12:54:16 armin76 Exp $ unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179 WANT_AUTOCONF=2.1 @@ -19,7 +19,7 @@ SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${TBVE mirror://gentoo/mozilla-thunderbird-${TBPVER}.tar.bz2 http://www.mozilla-enigmail.org/downloads/src/enigmail-${EMVER}.tar.gz" -KEYWORDS="alpha amd64 ia64 ~mips ppc sparc x86" +KEYWORDS="~mips" SLOT="0" LICENSE="MPL-1.1 GPL-2" IUSE="" diff --git a/x11-plugins/enigmail/enigmail-0.95.6-r2.ebuild b/x11-plugins/enigmail/enigmail-0.95.6-r2.ebuild new file mode 100644 index 000000000000..8cabed7cae98 --- /dev/null +++ b/x11-plugins/enigmail/enigmail-0.95.6-r2.ebuild @@ -0,0 +1,191 @@ +# 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.6-r2.ebuild,v 1.1 2008/02/27 12:54:16 armin76 Exp $ + +WANT_AUTOCONF="2.1" + +inherit flag-o-matic toolchain-funcs eutils nsplugins mozcoreconf mozextension makeedit multilib autotools + +LANGS="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 sl-SI sv-SE tr-TR zh-TW" + +EMVER=${PV} +TBVER="2.0.0.12" +TBPATCH="2.0.0.12-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/downloads/src/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 +} + +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 + + # 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 '//!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 +} -- cgit v1.2.3-65-gdbad