From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Kj9Ej-000549-16 for garchives@archives.gentoo.org; Fri, 26 Sep 2008 09:03:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D3FA1E04F1; Fri, 26 Sep 2008 09:03:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 889A5E04F1 for ; Fri, 26 Sep 2008 09:03:40 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 78B3964919 for ; Fri, 26 Sep 2008 09:03:39 +0000 (UTC) Received: from armin76 by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1Kj9Ef-0007Vk-Hj for gentoo-commits@lists.gentoo.org; Fri, 26 Sep 2008 09:03:37 +0000 From: "Raul Porcel (armin76)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, armin76@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/enigmail: ChangeLog enigmail-0.95.7-r1.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog enigmail-0.95.7-r1.ebuild X-VCS-Directories: x11-plugins/enigmail X-VCS-Committer: armin76 X-VCS-Committer-Name: Raul Porcel Content-Type: text/plain; charset=utf8 Message-Id: Sender: Raul Porcel Date: Fri, 26 Sep 2008 09:03:37 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 3c180366-febf-468e-b251-d71b0144e3ea X-Archives-Hash: 477deceab39d2f856e54f075abdfec46 armin76 08/09/26 09:03:37 Modified: ChangeLog Added: enigmail-0.95.7-r1.ebuild Log: Revision bump for 2.0.0.17 (Portage version: 2.1.4.4) Revision Changes Path 1.136 x11-plugins/enigmail/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigma= il/ChangeLog?rev=3D1.136&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigma= il/ChangeLog?rev=3D1.136&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigma= il/ChangeLog?r1=3D1.135&r2=3D1.136 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v retrieving revision 1.135 retrieving revision 1.136 diff -u -r1.135 -r1.136 --- ChangeLog 25 Aug 2008 19:28:13 -0000 1.135 +++ ChangeLog 26 Sep 2008 09:03:37 -0000 1.136 @@ -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.13= 5 2008/08/25 19:28:13 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.13= 6 2008/09/26 09:03:37 armin76 Exp $ + +*enigmail-0.95.7-r1 (26 Sep 2008) + + 26 Sep 2008; Ra=C3=BAl Porcel +enigmail-0.95.7-r1= .ebuild: + Revision bump for 2.0.0.17 =20 *enigmail-0.95.7 (25 Aug 2008) =20 1.1 x11-plugins/enigmail/enigmail-0.95.7-r1.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigma= il/enigmail-0.95.7-r1.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigma= il/enigmail-0.95.7-r1.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: enigmail-0.95.7-r1.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # 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-r= 1.ebuild,v 1.1 2008/09/26 09:03:37 armin76 Exp $ WANT_AUTOCONF=3D"2.1" inherit flag-o-matic toolchain-funcs eutils nsplugins mozcoreconf mozexte= nsion makeedit multilib autotools LANGS=3D"ar de el es-ES nb-NO pt-BR zh-CN" NOSHORTLANGS=3D"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=3D${PV} TBVER=3D"2.0.0.17" TBPATCH=3D"2.0.0.16-patches-0.1" DESCRIPTION=3D"GnuPG encryption plugin for thunderbird." HOMEPAGE=3D"http://enigmail.mozdev.org" SRC_URI=3D"http://releases.mozilla.org/pub/mozilla.org/thunderbird/releas= es/${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=3D"~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" SLOT=3D"0" LICENSE=3D"MPL-1.1 GPL-2" IUSE=3D"" for X in ${LANGS} ; do SRC_URI=3D"${SRC_URI} linguas_${X/-/_}? ( http://dev.gentooexperimental.= org/~armin76/dist/${P}-xpi/${P}-${X}.xpi )" IUSE=3D"${IUSE} linguas_${X/-/_}" done # ( mirror://gentoo/${PN}-${X}-0.9x.xpi )" for X in ${NOSHORTLANGS} ; do SRC_URI=3D"${SRC_URI} linguas_${X%%-*}? ( http://dev.gentooexperimental.= org/~armin76/dist/${P}-xpi/${P}-${X}.xpi )" IUSE=3D"${IUSE} linguas_${X%%-*}" done #( mirror://gentoo/${PN}-${X}-0.9x.xpi )" DEPEND=3D">=3Dmail-client/mozilla-thunderbird-${TBVER}" RDEPEND=3D"${DEPEND} >=3Dapp-crypt/gnupg-1.4 >=3Dwww-client/mozilla-launcher-1.56" S=3D"${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=3D1 export MOZILLA_OFFICIAL=3D1 export MOZ_CO_PROJECT=3Dmail linguas() { linguas=3D local LANG for LANG in ${LINGUAS}; do if hasq ${LANG} en en_US; then hasq en ${linguas} || \ linguas=3D"${linguas:+"${linguas} "}en" continue elif hasq ${LANG} ${LANGS//-/_}; then hasq ${LANG//_/-} ${linguas} || \ linguas=3D"${linguas:+"${linguas} "}${LANG//_/-}" continue else local SLANG for SLANG in ${NOSHORTLANGS}; do if [[ ${LANG} =3D=3D ${SLANG%%-*} ]]; then hasq ${SLANG} ${linguas} || \ linguas=3D"${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} !=3D en ]] && xpi_unpack ${P}-${X}.xpi done # Apply our patches cd "${S}" || die "cd failed" EPATCH_SUFFIX=3D"patch" \ EPATCH_FORCE=3D"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/exte= nsions/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=3D"/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=3D${MOZILLA_FIVE_HOME} \ --with-user-appdir=3D.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=3D"$(tc-getCC)" CXX=3D"$(tc-getCXX)" LD=3D"$(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 faile= d" # Package the enigmail plugin; this may be the easiest way to collect th= e # necessary files emake -j1 -C "${S}"/mailnews/extensions/enigmail xpi || die "make xpi fa= iled" } src_install() { declare MOZILLA_FIVE_HOME=3D"/usr/$(get_libdir)/mozilla-thunderbird" declare emid cd "${T}" unzip "${S}"/dist/bin/*.xpi install.rdf emid=3D$(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} !=3D "en" ]] && xpi_install "${WORKDIR}"/${P}-${X} done }