diff options
author | Raúl Porcel <armin76@gentoo.org> | 2007-12-17 18:44:52 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2007-12-17 18:44:52 +0000 |
commit | 00279179203557888bed19738d242019eaf68922 (patch) | |
tree | 9aa29544a2cf8b35c02350fc5bd12036a0d67aa1 /x11-plugins/lightning | |
parent | Stable for HPPA (bug #201747). (diff) | |
download | historical-00279179203557888bed19738d242019eaf68922.tar.gz historical-00279179203557888bed19738d242019eaf68922.tar.bz2 historical-00279179203557888bed19738d242019eaf68922.zip |
Initial import, bug #151296
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'x11-plugins/lightning')
-rw-r--r-- | x11-plugins/lightning/ChangeLog | 10 | ||||
-rw-r--r-- | x11-plugins/lightning/Manifest | 17 | ||||
-rw-r--r-- | x11-plugins/lightning/files/digest-lightning-0.7 | 6 | ||||
-rw-r--r-- | x11-plugins/lightning/lightning-0.7.ebuild | 113 | ||||
-rw-r--r-- | x11-plugins/lightning/metadata.xml | 8 |
5 files changed, 154 insertions, 0 deletions
diff --git a/x11-plugins/lightning/ChangeLog b/x11-plugins/lightning/ChangeLog new file mode 100644 index 000000000000..a04043d4c27e --- /dev/null +++ b/x11-plugins/lightning/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-plugins/lightning +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/ChangeLog,v 1.1 2007/12/17 18:44:52 armin76 Exp $ + +*lightning-0.7 (17 Dec 2007) + + 17 Dec 2007; Raúl Porcel <armin76@gentoo.org> +metadata.xml, + +lightning-0.7.ebuild: + Initial import, bug #151296 + diff --git a/x11-plugins/lightning/Manifest b/x11-plugins/lightning/Manifest new file mode 100644 index 000000000000..39d1c6f17069 --- /dev/null +++ b/x11-plugins/lightning/Manifest @@ -0,0 +1,17 @@ +DIST lightning-sunbird-0.7-source.tar.bz2 39951865 RMD160 f4ead53117fbbbe208dbdada01800446b800116d SHA1 aa98305783a6ea765a2ea83667ead8fd664cb379 SHA256 814628a87e803734e401a26b3beff46adeed47b0cb10f3241fe8fc6034f9baa1 +DIST mozilla-sunbird-0.7-patches-0.2.tar.bz2 8998 RMD160 35d1ebb2cb2697b3e24ceeccc0790e2cc3345ea9 SHA1 994e1c8eeb00cbd524476c62f4dcaf791aab94e6 SHA256 96b7ee5c21737db1ce9abfc119a7ab6947c77a42ea07e84d688bca750adcef39 +EBUILD lightning-0.7.ebuild 3424 RMD160 bfa3a608d39bf5ae4e1b27f6fdc28f99e536d24b SHA1 bd013e0ecf700beb7b9aa213b3882f1a452f1abd SHA256 6afecdf686dc6c0914738411f0df1f24c68881e7184198e0326244b8a69c6337 +MD5 c7906cac1c1569eafa3c651405f8e660 lightning-0.7.ebuild 3424 +RMD160 bfa3a608d39bf5ae4e1b27f6fdc28f99e536d24b lightning-0.7.ebuild 3424 +SHA256 6afecdf686dc6c0914738411f0df1f24c68881e7184198e0326244b8a69c6337 lightning-0.7.ebuild 3424 +MISC ChangeLog 366 RMD160 a052e5674cfa7c6b962ee56cad8ed4d958f212df SHA1 e755d125a3f2eb76d2c885942ba43dde3c3804bc SHA256 dc3e9a45ecc190ac003081cfcefbe1d96b62fe2c0abfa17e6820512737ceab63 +MD5 785d2ebd9c868b3885dbaacf4116dd12 ChangeLog 366 +RMD160 a052e5674cfa7c6b962ee56cad8ed4d958f212df ChangeLog 366 +SHA256 dc3e9a45ecc190ac003081cfcefbe1d96b62fe2c0abfa17e6820512737ceab63 ChangeLog 366 +MISC metadata.xml 238 RMD160 20be188d400f8ae54fb1eae8bfb243c43eed2395 SHA1 fb7dacf03f1ce8294d6d2f07d4c2d7ff69ee7525 SHA256 ef51e99b6b1ccee48a71906e90a4111f58793292fe1248934a811fcb02506036 +MD5 22a1feabf45dadbfa2268b7fff3ce66e metadata.xml 238 +RMD160 20be188d400f8ae54fb1eae8bfb243c43eed2395 metadata.xml 238 +SHA256 ef51e99b6b1ccee48a71906e90a4111f58793292fe1248934a811fcb02506036 metadata.xml 238 +MD5 ad6b7ee5b0657a0f89f77b4df78e8135 files/digest-lightning-0.7 587 +RMD160 b328d378ef9abce4f3d656e00aef19c62adac97a files/digest-lightning-0.7 587 +SHA256 a0482ea22856c39f91765f9404c302ccb29ffb2415944b0fb10eeb68cdd1a7c2 files/digest-lightning-0.7 587 diff --git a/x11-plugins/lightning/files/digest-lightning-0.7 b/x11-plugins/lightning/files/digest-lightning-0.7 new file mode 100644 index 000000000000..eb8ef0aa965f --- /dev/null +++ b/x11-plugins/lightning/files/digest-lightning-0.7 @@ -0,0 +1,6 @@ +MD5 14412fad1c72a5281164ca96f6c23cf4 lightning-sunbird-0.7-source.tar.bz2 39951865 +RMD160 f4ead53117fbbbe208dbdada01800446b800116d lightning-sunbird-0.7-source.tar.bz2 39951865 +SHA256 814628a87e803734e401a26b3beff46adeed47b0cb10f3241fe8fc6034f9baa1 lightning-sunbird-0.7-source.tar.bz2 39951865 +MD5 682a9e0db0bf1d7d93b7eb1459a920aa mozilla-sunbird-0.7-patches-0.2.tar.bz2 8998 +RMD160 35d1ebb2cb2697b3e24ceeccc0790e2cc3345ea9 mozilla-sunbird-0.7-patches-0.2.tar.bz2 8998 +SHA256 96b7ee5c21737db1ce9abfc119a7ab6947c77a42ea07e84d688bca750adcef39 mozilla-sunbird-0.7-patches-0.2.tar.bz2 8998 diff --git a/x11-plugins/lightning/lightning-0.7.ebuild b/x11-plugins/lightning/lightning-0.7.ebuild new file mode 100644 index 000000000000..80b29405f8cc --- /dev/null +++ b/x11-plugins/lightning/lightning-0.7.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/lightning-0.7.ebuild,v 1.1 2007/12/17 18:44:52 armin76 Exp $ + +WANT_AUTOCONF="2.1" + +inherit flag-o-matic toolchain-funcs eutils nsplugins mozcoreconf mozextension makeedit multilib autotools + +SBPATCH="mozilla-sunbird-${PV}-patches-0.2" + +DESCRIPTION="Calendar extension for Mozilla Thunderbird." +HOMEPAGE="http://www.mozilla.org/projects/calendar/lightning/" +SRC_URI="http://releases.mozilla.org/pub/mozilla.org/calendar/sunbird/releases/${PV}/source/${PN}-sunbird-${PV}-source.tar.bz2 + mirror://gentoo/${SBPATCH}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="MPL-1.1 GPL-2 LGPL-2.1" +IUSE="" + +RDEPEND=">=mail-client/mozilla-thunderbird-2.0_alpha1 + >=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=calendar + +src_unpack() { + unpack ${A%bz2*}bz2 + + # Apply our patches + cd "${S}" || die "cd failed" + EPATCH_SUFFIX="patch" \ + EPATCH_FORCE="yes" \ + epatch "${WORKDIR}"/patch + + eautoreconf +} + +src_compile() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird" + + #################################### + # + # mozconfig, CFLAGS and CXXFLAGS setup + # + #################################### + + mozconfig_init + + mozconfig_annotate '' --enable-application=calendar + mozconfig_annotate '' --enable-extensions=lightning + mozconfig_annotate '' --with-default-mozilla-five-home=${MOZILLA_FIVE_HOME} + mozconfig_annotate '' --with-system-nss + mozconfig_annotate '' --with-system-nspr + + # 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 xpcom || die "make xpcom failed" + emake -C js/ || die "make js failed" + + # Build the lightning plugin + einfo "Building Lightning plugin..." + emake -C "${S}"/calendar/lightning/ || die "make lightning failed" +} + +src_install() { + declare MOZILLA_FIVE_HOME="/usr/$(get_libdir)/mozilla-thunderbird" + declare emid + + cd "${T}" + unzip "${S}"/dist/xpi-stage/${PN}.xpi install.rdf + emid=$(sed -n -e '/<\?em:id>\?/!d; s/.*\([\"{].*[}\"]\).*/\1/; s/\"//g; p;' install.rdf | sed -e '1d') || die "failed to determine extension id" + + dodir ${MOZILLA_FIVE_HOME}/extensions/${emid} + cd "${D}"${MOZILLA_FIVE_HOME}/extensions/${emid} + unzip "${S}"/dist/xpi-stage/${PN}.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} +} diff --git a/x11-plugins/lightning/metadata.xml b/x11-plugins/lightning/metadata.xml new file mode 100644 index 000000000000..b024c6d61725 --- /dev/null +++ b/x11-plugins/lightning/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mozilla</herd> +<longdescription> +Gnupg encryption plugin for thunderbird. +</longdescription> +</pkgmetadata> |