diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-09-20 14:54:10 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-09-20 14:54:10 +0000 |
commit | 0812a2c34a16bc8e082a545566dbe48c3a8e4f6d (patch) | |
tree | ce94776bb6d710ff4adc1a1d1ed34fcc92da849a /x11-plugins/lightning | |
parent | - keyword ~arm. fix cflags settings and make cross compile aware. (diff) | |
download | historical-0812a2c34a16bc8e082a545566dbe48c3a8e4f6d.tar.gz historical-0812a2c34a16bc8e082a545566dbe48c3a8e4f6d.tar.bz2 historical-0812a2c34a16bc8e082a545566dbe48c3a8e4f6d.zip |
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'x11-plugins/lightning')
-rw-r--r-- | x11-plugins/lightning/ChangeLog | 7 | ||||
-rw-r--r-- | x11-plugins/lightning/Manifest | 4 | ||||
-rw-r--r-- | x11-plugins/lightning/lightning-0.9_rc2.ebuild | 116 |
3 files changed, 125 insertions, 2 deletions
diff --git a/x11-plugins/lightning/ChangeLog b/x11-plugins/lightning/ChangeLog index 4b258a2c92dc..84c4cc61ecb9 100644 --- a/x11-plugins/lightning/ChangeLog +++ b/x11-plugins/lightning/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-plugins/lightning # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/ChangeLog,v 1.7 2008/08/26 15:36:18 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/ChangeLog,v 1.8 2008/09/20 14:54:10 armin76 Exp $ + +*lightning-0.9_rc2 (20 Sep 2008) + + 20 Sep 2008; Raúl Porcel <armin76@gentoo.org> +lightning-0.9_rc2.ebuild: + Version bump 26 Aug 2008; Raúl Porcel <armin76@gentoo.org> lightning-0.8.ebuild: Restrict tests, bug #235739 diff --git a/x11-plugins/lightning/Manifest b/x11-plugins/lightning/Manifest index 143ac5c77a2b..2beb1c1193c6 100644 --- a/x11-plugins/lightning/Manifest +++ b/x11-plugins/lightning/Manifest @@ -1,5 +1,7 @@ DIST lightning-sunbird-0.8-source.tar.bz2 37154747 RMD160 40aab90f240ccf76fdc4e725b3524d61bb0a30ec SHA1 462b4724b7aa129c21e2b38bcda6be62ed2b9500 SHA256 234b534d9478dc4f3b44d4685da54233baee90b365963fb683e37beadd61ae6e +DIST lightning-sunbird-0.9_rc2.tar.bz2 40739535 RMD160 1b78e81fa43ff4c1d8707b9af25ef90447c3c82e SHA1 76432cf42079d81f41bbf512265a9c36ea417260 SHA256 5dc7b72e193ac694c3f6b588081ac23bd50e45f637ed63966f80ff351f64ebfa DIST mozilla-sunbird-0.8-patches-0.1.tar.bz2 9942 RMD160 95d81f0420e3bd59037c63b3f2063ac7b9679dcb SHA1 a9acb74ee4ffb8529241e0e3d1bbaa8868b7b73d SHA256 665e81db1cdac75cbcc98ffc229f4b50a90cc3631952c7ad98857e2c0aa3bef2 EBUILD lightning-0.8.ebuild 3447 RMD160 086c9f36a9737f5cd16eceea955dc858eada16e7 SHA1 9754744cd0de2368e7cce876f7796bf695757e48 SHA256 29f902a6b6776513664289bdf8bee523c9c42e8a09beec91503242552b6e5f88 -MISC ChangeLog 974 RMD160 db1465559b9b2b7585b6f6514fa557f3bb2bfc7e SHA1 d81befb1b97c70116df678acaac7c2a2c86b5b30 SHA256 bc03a48ae1dd2889eaa1a59e5e392772033ec99c15d9053ad04f18f23f64a68b +EBUILD lightning-0.9_rc2.ebuild 3485 RMD160 703d7af448e777381f136676934e481ff92e9247 SHA1 e68324ff92b21cd6247b7b85abfccab74433661e SHA256 fe810207f85e94f49855f9809f19c01345102874067094443a8630811f9f9c2f +MISC ChangeLog 1100 RMD160 d52d0d70fd4718a2ab7c7e6e17e641b81cec7f84 SHA1 7091e800e22766625146512b83b9b837bd1ccdb7 SHA256 8d8ef37514295f69318654170f1e43db1e4d9191e25e6b2ff8d2e2be7430a793 MISC metadata.xml 238 RMD160 20be188d400f8ae54fb1eae8bfb243c43eed2395 SHA1 fb7dacf03f1ce8294d6d2f07d4c2d7ff69ee7525 SHA256 ef51e99b6b1ccee48a71906e90a4111f58793292fe1248934a811fcb02506036 diff --git a/x11-plugins/lightning/lightning-0.9_rc2.ebuild b/x11-plugins/lightning/lightning-0.9_rc2.ebuild new file mode 100644 index 000000000000..de17e06397f2 --- /dev/null +++ b/x11-plugins/lightning/lightning-0.9_rc2.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/lightning-0.9_rc2.ebuild,v 1.1 2008/09/20 14:54:10 armin76 Exp $ + +WANT_AUTOCONF="2.1" + +inherit flag-o-matic toolchain-funcs eutils nsplugins mozcoreconf mozextension makeedit multilib autotools + +SBPATCH="mozilla-sunbird-0.8-patches-0.1" + +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 +SRC_URI="mirror://gentoo/${PN}-sunbird-${PV}.tar.bz2 + mirror://gentoo/${SBPATCH}.tar.bz2" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" +IUSE="" +RESTRICT="test" + +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 + + # Don't strip + sed -i -e 's/STRIP_/#STRIP_/g' calendar/lightning/Makefile.in + + 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 + echo "extension,${emid}" > "${D}"${MOZILLA_FIVE_HOME}/extensions.d/${PN} +} |