diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2005-03-18 14:22:07 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2005-03-18 14:22:07 +0000 |
commit | a16725063f47b28d8d84b9c8bc1f3619d3ebd39e (patch) | |
tree | 6090068009466015ad6dbf628b52c5e3ce44cb03 /net-news/straw | |
parent | Use giflib rather than libungif for bug 85720. Also removed unnecessary nogtk... (diff) | |
download | historical-a16725063f47b28d8d84b9c8bc1f3619d3ebd39e.tar.gz historical-a16725063f47b28d8d84b9c8bc1f3619d3ebd39e.tar.bz2 historical-a16725063f47b28d8d84b9c8bc1f3619d3ebd39e.zip |
Moved from net-www/straw to net-news/straw.
Diffstat (limited to 'net-news/straw')
-rw-r--r-- | net-news/straw/ChangeLog | 144 | ||||
-rw-r--r-- | net-news/straw/Manifest | 15 | ||||
-rw-r--r-- | net-news/straw/files/digest-straw-0.19.2 | 1 | ||||
-rw-r--r-- | net-news/straw/files/digest-straw-0.21.2 | 1 | ||||
-rw-r--r-- | net-news/straw/files/digest-straw-0.22 | 1 | ||||
-rw-r--r-- | net-news/straw/files/digest-straw-0.22.1 | 1 | ||||
-rw-r--r-- | net-news/straw/files/digest-straw-0.23 | 1 | ||||
-rw-r--r-- | net-news/straw/files/digest-straw-0.25.1 | 1 | ||||
-rw-r--r-- | net-news/straw/files/straw-0.21.2-convert_config.patch | 11 | ||||
-rw-r--r-- | net-news/straw/metadata.xml | 6 | ||||
-rw-r--r-- | net-news/straw/straw-0.19.2.ebuild | 50 | ||||
-rw-r--r-- | net-news/straw/straw-0.21.2.ebuild | 73 | ||||
-rw-r--r-- | net-news/straw/straw-0.22.1.ebuild | 65 | ||||
-rw-r--r-- | net-news/straw/straw-0.22.ebuild | 56 | ||||
-rw-r--r-- | net-news/straw/straw-0.23.ebuild | 69 | ||||
-rw-r--r-- | net-news/straw/straw-0.25.1.ebuild | 76 |
16 files changed, 571 insertions, 0 deletions
diff --git a/net-news/straw/ChangeLog b/net-news/straw/ChangeLog new file mode 100644 index 000000000000..6da1a3ea04b2 --- /dev/null +++ b/net-news/straw/ChangeLog @@ -0,0 +1,144 @@ +# ChangeLog for net-www/straw +# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-news/straw/ChangeLog,v 1.1 2005/03/18 14:22:06 seemant Exp $ + +*straw-0.25.1 (18 Mar 2005) +*straw-0.23 (18 Mar 2005) +*straw-0.22.1 (18 Mar 2005) +*straw-0.22 (18 Mar 2005) +*straw-0.21.2 (18 Mar 2005) +*straw-0.19.2 (18 Mar 2005) + + 18 Mar 2005; Seemant Kulleen <seemant@gentoo.org> + +files/straw-0.21.2-convert_config.patch, +metadata.xml, + +straw-0.19.2.ebuild, +straw-0.21.2.ebuild, +straw-0.22.ebuild, + +straw-0.22.1.ebuild, +straw-0.23.ebuild, +straw-0.25.1.ebuild: + Moved from net-www/straw to net-news/straw. + + 08 Aug 2004; foser <foser@gentoo.org> metadata.xml : + Remove foser@gentoo.org as specific maintainer + +*straw-0.25.1 (06 Aug 2004) + + 06 Aug 2004; Olivier Crete <tester@gentoo.org> +straw-0.25.1.ebuild: + Bumped 0.25.1 and made the compile and make parts go through virtualX. + Thanks to Haplo <haplo@mindstab.net> and Eddy Mulyono <eddymulyono@mail.com> + from bug #57199 + + 26 Jun 2004; Alastair Tse <liquidx@gentoo.org> straw-0.22.1.ebuild, + straw-0.23.ebuild: + really fix the sandbox problem with 0.23, add fixes to gtkhtml2 detection via + virtualmake (#47879) + +*straw-0.23 (08 Jun 2004) + + 08 Jun 2004; Lars Weiler <pylon@gentoo.org> +straw-0.23.ebuild: + Delayed version bump with sandbox fix. + + 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> straw-0.21.2.ebuild: + Add inherit eutils + + 15 Apr 2004; Michael Sterrett <mr_bones_@gentoo.org> straw-0.22.1.ebuild: + down to ~ppc until deps are stable + + 10 Apr 2004; Alastair Tse <liquidx@gentoo.org> straw-0.22.1.ebuild: + added gtkhtml check (#45485) + + 30 Mar 2004; Daniel Ahlberg <aliz@gentoo.org> straw-0.22.1.ebuild: + Adding amd64 keyword. Closing #43595. + + 30 Mar 2004; Lars Weiler <pylon@gentoo.org> straw-0.22.1.ebuild: + stable on ppc + +*straw-0.22.1 (03 Mar 2004) + + 03 Mar 2004; Lars Weiler <pylon@gentoo.org> : + Version bump and remove ADNS as a ppc-dependency; see bug #26895 + +*straw-0.22 (18 Feb 2004) + + 18 Feb 2004; foser <foser@gentoo.org> straw-0.22.ebuild : + New release + Revamp ebuild to use distutils eclass more (removes a lot of cruft yeah) + Juggled a bit with deps, might as well remove the RDEP stuff really + + 14 Feb 2004; Alastair Tse <liquidx@gentoo.org> straw-0.19.1.ebuild, + straw-0.21.1.ebuild, straw-0.21.2.ebuild: + unpeg adns-python depends + + 27 Nov 2003; Alastair Tse <liquidx@gentoo.org> straw-0.21.2.ebuild: + added fix for first time conversion from <0.21.x + +*straw-0.21.2 (27 Nov 2003) + + 27 Nov 2003; Alastair Tse <liquidx@gentoo.org> straw-0.21.2.ebuild: + put gconf files in the right place and use gnome2 eclass. temporary fix + for ${S}. will be fixed upstream in next version. + +*straw-0.21.1 (15 Nov 2003) + + 15 Nov 2003; foser <foser@gentoo.org> straw-0.21.1.ebuild : + New release + + 03 Nov 2003; Alastair Tse <liquidx@gentoo.org> straw-0.20.ebuild: + removed pyxml dep + +*straw-0.20 (02 Nov 2003) + + 02 Nov 2003; Alastair Tse <liquidx@gentoo.org> straw-0.20.ebuild: + version bump + + 17 Oct 2003; Alastair Tse <liquidx@gentoo.org> straw-0.19.2.ebuild: + various fixes to support python-2.3, installs .py's and post processes + .pyc/.pyo + +*straw-0.19.2 (08 Oct 2003) + + 08 Oct 2003; foser <foser@gentoo.org> straw-0.19.2.ebuild : + New version, hopefully fixes problem in (#27789) + +*straw-0.19.1 (22 Aug 2003) + + 22 Aug 2003; foser <foser@gentoo.org> straw-0.19.1.ebuild : + Bugfix release + +*straw-0.19 (19 Aug 2003) + + 19 Aug 2003; foser <foser@gentoo.org> straw-0.19.ebuild : + New release + +*straw-0.18.1 (25 Mar 2003) + + 25 Apr 2003; Lars Weiler <pylon@gentoo.org> straw-0.18.1.ebuild: + Set ~ppc in KEYWORDS + + 25 Mar 2003; foser <foser@gentoo.org> straw-0.18.1.ebuild : + New version + +*straw-0.17 (03 Mar 2003) + + 03 Feb 2003; foser <foser@gentoo.org> straw-0.17.ebuild : + New version, now uses ADNS (yay even more deps ;)) + +*straw-0.15 (19 Feb 2003) + + 19 Feb 2003; foser <foser@gentoo.org> straw-0.15.ebuild : + Uh, forgot to add this + +*straw-0.13.2 (30 nov 2002) + + 30 Nov 2002; foser <foser@gentoo.org> straw-0.13.2.ebuild : + Bugfix release + +*straw-0.13 (12 Nov 2002) + + 12 Nov 2002; foser <foser@gentoo.org> straw-0.13.ebuild : + And a new version + +*straw-0.12 (01 Nov 2002) + + 02 Nov 2002; foser <foser@gentoo.org> straw-0.12.ebuild : + Added patch to fix update problem + + 01 Nov 2002; foser <foser@gentoo.org> straw-0.12.ebuild ChangeLog : + New commit diff --git a/net-news/straw/Manifest b/net-news/straw/Manifest new file mode 100644 index 000000000000..66e64b731802 --- /dev/null +++ b/net-news/straw/Manifest @@ -0,0 +1,15 @@ +MD5 35a5f47a47683a75b5cb8053c433dbc4 straw-0.19.2.ebuild 1374 +MD5 12f746cd941ebf88f9ea374a8c4c463d straw-0.22.ebuild 1248 +MD5 809b1087657cd187d2a7626ef3255c85 straw-0.25.1.ebuild 1960 +MD5 bc6b9d67f02e00bd511da0aabf5381ba straw-0.22.1.ebuild 1556 +MD5 1c4f911cbdf969f553b82e96f4b2b0ce straw-0.23.ebuild 1629 +MD5 81bbf766766e16130c8f958e75475ce6 ChangeLog 3982 +MD5 7f4b1ac767214657b085c4951227af02 metadata.xml 178 +MD5 0189d23a99cb2df437749926fb32eba9 straw-0.21.2.ebuild 2157 +MD5 62022aa3104ffda5eefb9d703602acb1 files/digest-straw-0.22 63 +MD5 8b72c881933e3fc139c7477d028d812f files/digest-straw-0.23 63 +MD5 cf7bbdcb4ed714aba68c16b229b9fc8c files/straw-0.21.2-convert_config.patch 407 +MD5 4de4ce496f2607dd3a9b38d2f30a856e files/digest-straw-0.19.2 64 +MD5 02c585d463b5069559098bf5946589d7 files/digest-straw-0.21.2 65 +MD5 56e95a4c9883e2857a0a58e9dd2f5142 files/digest-straw-0.22.1 65 +MD5 c368caef5c38e5954c5dce2e2a14fe20 files/digest-straw-0.25.1 64 diff --git a/net-news/straw/files/digest-straw-0.19.2 b/net-news/straw/files/digest-straw-0.19.2 new file mode 100644 index 000000000000..0553bedf6e59 --- /dev/null +++ b/net-news/straw/files/digest-straw-0.19.2 @@ -0,0 +1 @@ +MD5 c0b4e58aeb47ef1546dd73771900944a straw-0.19.2.tar.bz2 99639 diff --git a/net-news/straw/files/digest-straw-0.21.2 b/net-news/straw/files/digest-straw-0.21.2 new file mode 100644 index 000000000000..019eb0dc37f6 --- /dev/null +++ b/net-news/straw/files/digest-straw-0.21.2 @@ -0,0 +1 @@ +MD5 b38a44e252078209653f90a58c9b315f straw-0.21.2.tar.bz2 111910 diff --git a/net-news/straw/files/digest-straw-0.22 b/net-news/straw/files/digest-straw-0.22 new file mode 100644 index 000000000000..47be618c060b --- /dev/null +++ b/net-news/straw/files/digest-straw-0.22 @@ -0,0 +1 @@ +MD5 8cdd2ad3c6d8f4e120eae003831152a0 straw-0.22.tar.bz2 138825 diff --git a/net-news/straw/files/digest-straw-0.22.1 b/net-news/straw/files/digest-straw-0.22.1 new file mode 100644 index 000000000000..5a56cfe6814a --- /dev/null +++ b/net-news/straw/files/digest-straw-0.22.1 @@ -0,0 +1 @@ +MD5 977930b03ba049513f5d1bd981bc3b2f straw-0.22.1.tar.bz2 139164 diff --git a/net-news/straw/files/digest-straw-0.23 b/net-news/straw/files/digest-straw-0.23 new file mode 100644 index 000000000000..57762e550eae --- /dev/null +++ b/net-news/straw/files/digest-straw-0.23 @@ -0,0 +1 @@ +MD5 8dbdb3bbb7a20554a069bca11712d8c3 straw-0.23.tar.bz2 158777 diff --git a/net-news/straw/files/digest-straw-0.25.1 b/net-news/straw/files/digest-straw-0.25.1 new file mode 100644 index 000000000000..8fe79ffb4b70 --- /dev/null +++ b/net-news/straw/files/digest-straw-0.25.1 @@ -0,0 +1 @@ +MD5 058a58e945e37cc264c562f5ca4ff781 straw-0.25.1.tar.gz 238215 diff --git a/net-news/straw/files/straw-0.21.2-convert_config.patch b/net-news/straw/files/straw-0.21.2-convert_config.patch new file mode 100644 index 000000000000..f627d2abdeec --- /dev/null +++ b/net-news/straw/files/straw-0.21.2-convert_config.patch @@ -0,0 +1,11 @@ +--- Config.py~ 2003-11-26 18:34:27.000000000 +0000 ++++ Config.py 2003-11-27 13:23:17.000000000 +0000 +@@ -469,7 +469,7 @@ + if not os.path.exists(config.straw_config_file): + return + +- f = open(config.straw_config_file, "rw") ++ f = open(config.straw_config_file, "r+") + cf = cPickle.load(f) + if cf.has_key('poll_frequency'): + config.poll_frequency = cf.get('poll_frequency') diff --git a/net-news/straw/metadata.xml b/net-news/straw/metadata.xml new file mode 100644 index 000000000000..9b1bc26a9df2 --- /dev/null +++ b/net-news/straw/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>gnome</herd> +<herd>python</herd> +</pkgmetadata> diff --git a/net-news/straw/straw-0.19.2.ebuild b/net-news/straw/straw-0.19.2.ebuild new file mode 100644 index 000000000000..8fd2a722da41 --- /dev/null +++ b/net-news/straw/straw-0.19.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-news/straw/straw-0.19.2.ebuild,v 1.1 2005/03/18 14:22:06 seemant Exp $ + +inherit python distutils + +DESCRIPTION="RSS/RDF News Aggregator" +HOMEPAGE="http://www.nongnu.org/straw/" +SRC_URI="http://savannah.nongnu.org/download/${PN}/${PN}.pkg/${PV}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc" +IUSE="" +RDEPEND=">=dev-lang/python-2.2.3-r3 + >=gnome-base/libglade-2 + >=gnome-base/libgnome-2.0.1 + >=dev-python/gnome-python-1.99.13 + >=dev-python/pygtk-1.99.13-r1 + >=dev-python/bsddb3-3.4.0 + >=dev-python/pyxml-0.8.1 + >=dev-python/egenix-mx-base-2 + =dev-python/adns-python-1.0.0" + +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +MAKEOPTS="${MAKEOPTS} -j1" + +src_unpack() { + unpack ${A} + python_version + sed -e "s:-d \$(BINDIR) \$(LIBDIR) \$(DATADIR):-d \$(BINDIR) \$(LIBDIR) \$(DATADIR) \$(APPLICATIONSDIR) \$(ICONDIR):" \ + -e "s:^\(PYTHON.*\)python2.2:\1python${PYVER}:" \ + -e "s:^\(LIBDIR.*\)python2.2\(.*\):\1python${PYVER}\2:" \ + -e "s:py\[co\]:py:" \ + -i ${S}/Makefile || die "sed failed" + sed -e "s:/usr/bin/env python2.2:/usr/bin/env python${PYVER}:" \ + -i ${S}/src/straw +} + +src_compile() { + export LC_ALL="C" + emake || die +} + +src_install() { + make PREFIX=${D}/usr install || die "install failed" + dodoc NEWS README TODO +} + diff --git a/net-news/straw/straw-0.21.2.ebuild b/net-news/straw/straw-0.21.2.ebuild new file mode 100644 index 000000000000..c5d10034a39d --- /dev/null +++ b/net-news/straw/straw-0.21.2.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-news/straw/straw-0.21.2.ebuild,v 1.1 2005/03/18 14:22:06 seemant Exp $ + +inherit gnome2 python distutils eutils + +DESCRIPTION="RSS/RDF News Aggregator" +HOMEPAGE="http://www.nongnu.org/straw/" +SRC_URI="http://savannah.nongnu.org/download/${PN}/${PN}.pkg/${PV}/${P}.tar.bz2" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="" +RDEPEND=">=dev-lang/python-2.2.3-r3 + >=gnome-base/libglade-2 + >=gnome-base/libgnome-2.0.1 + >=dev-python/gnome-python-1.99.13 + >=dev-python/pygtk-1.99.13-r1 + >=dev-python/bsddb3-3.4.0 + >=dev-python/egenix-mx-base-2 + >=dev-python/adns-python-1.0.0" + +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +MAKEOPTS="${MAKEOPTS} -j1" + +# boo-boo by upstream devs, remove in next version +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + python_version + sed -e "s:-d \$(BINDIR) \$(LIBDIR) \$(DATADIR):-d \$(BINDIR) \$(LIBDIR) \$(DATADIR) \$(APPLICATIONSDIR) \$(ICONDIR):" \ + -e "s:^\(PYTHON.*\)python2.2:\1python${PYVER}:" \ + -e "s:^\(LIBDIR.*\)python2.2\(.*\):\1python${PYVER}\2:" \ + -e "s:py\[co\]:py:" \ + -i ${S}/Makefile || die "sed failed" + sed -e "s:/usr/bin/env python2.2:/usr/bin/env python${PYVER}:" \ + -i ${S}/src/straw + # probably can remove in next version - fixes f.truncate() errors. + # http://savannah.nongnu.org/bugs/?func=detailitem&item_id=6816 + EPATCH_OPTS="-d ${S}/src/lib" epatch ${FILESDIR}/${P}-convert_config.patch +} + +src_compile() { + export LC_ALL="C" + # disable gconftool from violating sandbox, reported upstream. + # remove in next version. + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" + emake || die "make failed" + unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL +} + +src_install() { + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" + make PREFIX=${D}/usr \ + SYSCONFDIR=${D}/etc \ + SCHEMADIR=${D}/etc/gconf/schemas \ + install || die "install failed" + unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL + dodoc NEWS README TODO +} + +pkg_postinst() { + distutils_pkg_postinst + gnome2_pkg_postinst # need this for gconf schemas +} + +pkg_postrm() { + distutils_pkg_postrm + gnome2_pkg_postrm +} diff --git a/net-news/straw/straw-0.22.1.ebuild b/net-news/straw/straw-0.22.1.ebuild new file mode 100644 index 000000000000..5b70a5a9fddf --- /dev/null +++ b/net-news/straw/straw-0.22.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-news/straw/straw-0.22.1.ebuild,v 1.1 2005/03/18 14:22:07 seemant Exp $ + +inherit gnome2 python distutils virtualx + +DESCRIPTION="RSS/RDF News Aggregator" +HOMEPAGE="http://www.nongnu.org/straw/" +SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.bz2" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="" + +DEPEND=">=dev-lang/python-2.2.3-r3" + +RDEPEND="${DEPEND} + >=gnome-base/libglade-2 + >=gnome-base/libgnome-2.0.1 + >=dev-python/gnome-python-1.99.13 + >=dev-python/pygtk-1.99.13-r1 + >=dev-python/bsddb3-3.4.0 + >=dev-python/egenix-mx-base-2 + !ppc? ( >=dev-python/adns-python-1.0.0 )" +# REMIND : egenix-mx-base is only needed for the conversion of +# pre 0.22 straw databases. It should be removed at some point. +# foser <foser@gentoo.org> 18 Feb 2004 + +pkg_setup() { + export maketype="python" + if ! echo "import gtkhtml2" | virtualmake; then + eerror "The gnome-python gtkhtml2 module was not found." + eerror "Rebuild gnome-python using:" + eerror " USE=\"gtkhtml\" emerge gnome-python" + die "missing gtkhtml2 python module" + fi +} + +src_install() { + + distutils_src_install \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-schemas-install + +} + +pkg_postinst() { + + distutils_pkg_postinst + gnome2_pkg_postinst # need this for gconf schemas + + echo + einfo "Consult the README if you have database conversion problems on startup." + echo + +} + +pkg_postrm() { + + distutils_pkg_postrm + gnome2_pkg_postrm + +} diff --git a/net-news/straw/straw-0.22.ebuild b/net-news/straw/straw-0.22.ebuild new file mode 100644 index 000000000000..69b80f93b413 --- /dev/null +++ b/net-news/straw/straw-0.22.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-news/straw/straw-0.22.ebuild,v 1.1 2005/03/18 14:22:07 seemant Exp $ + +inherit gnome2 python distutils + +DESCRIPTION="RSS/RDF News Aggregator" +HOMEPAGE="http://www.nongnu.org/straw/" +SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.bz2" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="" + +DEPEND=">=dev-lang/python-2.2.3-r3" + +RDEPEND="${DEPEND} + >=gnome-base/libglade-2 + >=gnome-base/libgnome-2.0.1 + >=dev-python/gnome-python-1.99.13 + >=dev-python/pygtk-1.99.13-r1 + >=dev-python/bsddb3-3.4.0 + >=dev-python/egenix-mx-base-2 + >=dev-python/adns-python-1.0.0" +# REMIND : egenix-mx-base is only needed for the conversion of +# pre 0.22 straw databases. It should be removed at some point. +# foser <foser@gentoo.org> 18 Feb 2004 + + +src_install() { + + distutils_src_install \ + --prefix=/usr \ + --sysconfdir=/etc \ + --disable-schemas-install + +} + +pkg_postinst() { + + distutils_pkg_postinst + gnome2_pkg_postinst # need this for gconf schemas + + echo + einfo "Consult the README if you have database conversion problems on startup." + echo + +} + +pkg_postrm() { + + distutils_pkg_postrm + gnome2_pkg_postrm + +} diff --git a/net-news/straw/straw-0.23.ebuild b/net-news/straw/straw-0.23.ebuild new file mode 100644 index 000000000000..065300aa623d --- /dev/null +++ b/net-news/straw/straw-0.23.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-news/straw/straw-0.23.ebuild,v 1.1 2005/03/18 14:22:07 seemant Exp $ + +inherit gnome2 python distutils virtualx + +DESCRIPTION="RSS/RDF News Aggregator" +HOMEPAGE="http://www.nongnu.org/straw/" +SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.bz2" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="" + +DEPEND=">=dev-lang/python-2.2.3-r3" + +RDEPEND="${DEPEND} + >=gnome-base/libglade-2 + >=gnome-base/libgnome-2.0.1 + >=dev-python/gnome-python-1.99.13 + >=dev-python/pygtk-1.99.13-r1 + >=dev-python/bsddb3-3.4.0 + >=dev-python/egenix-mx-base-2 + !ppc? ( >=dev-python/adns-python-1.0.0 )" + +# REMIND : egenix-mx-base is only needed for the conversion of +# pre 0.22 straw databases. It should be removed at some point. +# foser <foser@gentoo.org> 18 Feb 2004 + +pkg_setup() { + export maketype="python" + if ! echo "import gtkhtml2" | virtualmake; then + eerror "The gnome-python gtkhtml2 module was not found." + eerror "Rebuild gnome-python using:" + eerror " USE=\"gtkhtml\" emerge gnome-python" + die "missing gtkhtml2 python module" + fi +} + +src_compile() { + return +} + +src_install() { + # work around bug in straw's install script + distutils_src_install \ + --prefix=/usr \ + --sysconfdir=${D}/etc \ + --disable-schemas-install +} + +pkg_postinst() { + + distutils_pkg_postinst + gnome2_pkg_postinst # need this for gconf schemas + + echo + einfo "Consult the README if you have database conversion problems on startup." + echo + +} + +pkg_postrm() { + + distutils_pkg_postrm + gnome2_pkg_postrm + +} diff --git a/net-news/straw/straw-0.25.1.ebuild b/net-news/straw/straw-0.25.1.ebuild new file mode 100644 index 000000000000..2341de8ce1e5 --- /dev/null +++ b/net-news/straw/straw-0.25.1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-news/straw/straw-0.25.1.ebuild,v 1.1 2005/03/18 14:22:07 seemant Exp $ + +inherit gnome2 python distutils virtualx + +DESCRIPTION="RSS/RDF News Aggregator" +HOMEPAGE="http://www.nongnu.org/straw/" +SRC_URI="http://savannah.nongnu.org/download/${PN}/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="" + +DEPEND=">=dev-lang/python-2.2.3-r3" + +RDEPEND="${DEPEND} + >=gnome-base/libglade-2.4 + >=gnome-base/libgnome-2.0.1 + >=dev-python/gnome-python-1.99.13 + >=dev-python/pygtk-1.99.13-r1 + >=dev-python/bsddb3-3.4.0 + >=dev-python/egenix-mx-base-2 + !ppc? ( >=dev-python/adns-python-1.0.0 )" + +# REMIND : egenix-mx-base is only needed for the conversion of +# pre 0.22 straw databases. It should be removed at some point. +# foser <foser@gentoo.org> 18 Feb 2004 + +pkg_setup() { + export maketype="python" + if ! echo "import gtkhtml2" | virtualmake; then + eerror "The gnome-python gtkhtml2 module was not found." + eerror "Rebuild gnome-python using:" + eerror " USE=\"gtkhtml\" emerge gnome-python" + die "missing gtkhtml2 python module" + fi +} + +# This about of virtualmake in src_compile and src_install are +# pretty horrible.. why can't I compile gtk base modules in +# distutils without that (ps. I'm the upstream guy to blame) +# Olivier Crete <tester@gentoo.org> + +src_compile() { + export maketype="distutils_src_compile" + virtualmake || die "compilation failed" +} + +src_install() { + # work around bug in straw's install script + export maketype="distutils_src_install" + virtualmake \ + --prefix=/usr \ + --sysconfdir=${D}/etc \ + --disable-schemas-install +} + +pkg_postinst() { + + distutils_pkg_postinst + gnome2_pkg_postinst # need this for gconf schemas + + echo + einfo "Consult the README if you have database conversion problems on startup." + echo + +} + +pkg_postrm() { + + distutils_pkg_postrm + gnome2_pkg_postrm + +} |