* [gentoo-commits] gentoo-x86 commit in x11-plugins/enigmail: ChangeLog enigmail-0.95.5.ebuild
@ 2007-11-02 14:48 Raul Porcel (armin76)
0 siblings, 0 replies; only message in thread
From: Raul Porcel (armin76) @ 2007-11-02 14:48 UTC (permalink / raw
To: gentoo-commits
armin76 07/11/02 14:48:47
Modified: ChangeLog
Added: enigmail-0.95.5.ebuild
Log:
Version bump
(Portage version: 2.1.3.16)
Revision Changes Path
1.102 x11-plugins/enigmail/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/ChangeLog?rev=1.102&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/ChangeLog?rev=1.102&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/ChangeLog?r1=1.101&r2=1.102
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -r1.101 -r1.102
--- ChangeLog 23 Oct 2007 17:39:53 -0000 1.101
+++ ChangeLog 2 Nov 2007 14:48:46 -0000 1.102
@@ -1,6 +1,11 @@
# ChangeLog for x11-plugins/enigmail
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.101 2007/10/23 17:39:53 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/enigmail/ChangeLog,v 1.102 2007/11/02 14:48:46 armin76 Exp $
+
+*enigmail-0.95.5 (02 Nov 2007)
+
+ 02 Nov 2007; Raúl Porcel <armin76@gentoo.org> +enigmail-0.95.5.ebuild:
+ Version bump
*enigmail-0.95.4 (23 Oct 2007)
1.1 x11-plugins/enigmail/enigmail-0.95.5.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/enigmail-0.95.5.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-plugins/enigmail/enigmail-0.95.5.ebuild?rev=1.1&content-type=text/plain
Index: enigmail-0.95.5.ebuild
===================================================================
# 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.95.5.ebuild,v 1.1 2007/11/02 14:48:47 armin76 Exp $
unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179
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"
SHORTLANGS="ca-AD cs-CZ es-ES fi-FI fr-FR hu-HU it-IT ja-JP nb-NO pl-PL pt-PT ru-RU sl-SI sv-SE tr-TR zh-TW"
EMVER=${PV}
TBVER="2.0.0.6"
TBPATCH="2.0.0.4-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/${PN}-${X}-${PV}.xpi )"
IUSE="${IUSE} linguas_${X/-/_}"
done
# ( mirror://gentoo/${PN}-${X}-0.9x.xpi )"
for X in ${SHORTLANGS} ; do
SRC_URI="${SRC_URI} linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P}-xpi/${PN}-${X}-${PV}.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.7
>=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 ${SHORTLANGS}; 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 ${PN}-${X}-${PV}.xpi
done
cd ${S} || die "cd failed"
# 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
# Fix for gcc-4.2 and amd64, bug 186089
rm -f ${S}/config/gcc_hidden.h
touch ${S}/config/gcc_hidden.h
eautoreconf || die "failed running autoreconf"
}
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
# hardened GCC uses -fstack-protector-all by default, and this breaks
# thunderbird
gcc-specs-ssp && append-flags -fno-stack-protector-all
replace-flags -fstack-protector-all -fstack-protector
####################################
#
# Configure and build Thunderbird
#
####################################
econf || die "econf failed"
# This removes extraneous CFLAGS from the Makefiles to reduce RAM
# requirements while compiling
edit_makefiles
# Doesn't like to build with CHOST-specific commands.
MY_CC=$(tc-getCC)
MY_CXX=$(tc-getCXX)
# Only build the parts necessary to support building enigmail
emake CC=$MY_CC CXX=$MY_CXX -j1 export || die "make export failed"
emake CC=$MY_CC CXX=$MY_CXX -C modules/libreg || die "make modules/libreg failed"
emake CC=$MY_CC CXX=$MY_CXX -C xpcom/string || die "make xpcom/string failed"
emake CC=$MY_CC CXX=$MY_CXX -C xpcom || die "make xpcom failed"
emake CC=$MY_CC CXX=$MY_CXX -C xpcom/obsolete || die "make xpcom/obsolete failed"
# Build the enigmail plugin
einfo "Building Enigmail plugin..."
emake CC=$MY_CC CXX=$MY_CXX -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 CC=$MY_CC CXX=$MY_CXX -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
# Fix module to work with 2.0.0.*
# 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}/${PN}-${X}-${PV}
done
}
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-02 15:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02 14:48 [gentoo-commits] gentoo-x86 commit in x11-plugins/enigmail: ChangeLog enigmail-0.95.5.ebuild Raul Porcel (armin76)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox