summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-11-20 20:54:32 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-11-20 20:54:32 +0000
commit5d95ba98fa0540559d4e83311d5c8b7a0cf0981a (patch)
tree6ff06d84d88a05c72d4a92617d4b21bdba0d9e93 /x11-plugins
parentRemoving old files (diff)
downloadgentoo-2-5d95ba98fa0540559d4e83311d5c8b7a0cf0981a.tar.gz
gentoo-2-5d95ba98fa0540559d4e83311d5c8b7a0cf0981a.tar.bz2
gentoo-2-5d95ba98fa0540559d4e83311d5c8b7a0cf0981a.zip
Version bump
(Portage version: 2.1.4.5)
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/lightning/ChangeLog8
-rw-r--r--x11-plugins/lightning/lightning-0.9.ebuild (renamed from x11-plugins/lightning/lightning-0.8.ebuild)11
-rw-r--r--x11-plugins/lightning/lightning-0.9_rc2.ebuild116
3 files changed, 13 insertions, 122 deletions
diff --git a/x11-plugins/lightning/ChangeLog b/x11-plugins/lightning/ChangeLog
index 9a25046aa114..67b61974d012 100644
--- a/x11-plugins/lightning/ChangeLog
+++ b/x11-plugins/lightning/ChangeLog
@@ -1,6 +1,12 @@
# 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.9 2008/10/25 21:53:51 pvdabeel Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/ChangeLog,v 1.10 2008/11/20 20:54:32 armin76 Exp $
+
+*lightning-0.9 (20 Nov 2008)
+
+ 20 Nov 2008; Raúl Porcel <armin76@gentoo.org> -lightning-0.8.ebuild,
+ -lightning-0.9_rc2.ebuild, +lightning-0.9.ebuild:
+ Version bump
*lightning-0.9_rc2 (20 Sep 2008)
diff --git a/x11-plugins/lightning/lightning-0.8.ebuild b/x11-plugins/lightning/lightning-0.9.ebuild
index 00c11436a468..5297a5d29437 100644
--- a/x11-plugins/lightning/lightning-0.8.ebuild
+++ b/x11-plugins/lightning/lightning-0.9.ebuild
@@ -1,19 +1,19 @@
# 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.8.ebuild,v 1.2 2008/08/26 15:36:18 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/lightning/lightning-0.9.ebuild,v 1.1 2008/11/20 20:54:32 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.1"
+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
mirror://gentoo/${SBPATCH}.tar.bz2"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~ppc ~x86"
SLOT="0"
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
IUSE=""
@@ -40,6 +40,9 @@ src_unpack() {
EPATCH_FORCE="yes" \
epatch "${WORKDIR}"/patch
+ # Don't strip
+ sed -i -e 's/STRIP_/#STRIP_/g' calendar/lightning/Makefile.in
+
eautoreconf
}
@@ -108,7 +111,5 @@ src_install() {
# 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/lightning-0.9_rc2.ebuild b/x11-plugins/lightning/lightning-0.9_rc2.ebuild
deleted file mode 100644
index c2c7cfac7d2e..000000000000
--- a/x11-plugins/lightning/lightning-0.9_rc2.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# 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.2 2008/10/25 21:53:51 pvdabeel 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 ~ppc ~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}
-}