From d6c993c13c02cf738e2381c1b0d3b2b7b5f76a1a Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sat, 14 Jan 2006 12:31:15 +0000 Subject: added patch to fix xapian-config problem. Removed old xapian version (Portage version: 2.1_pre3-r1) --- dev-libs/xapian/ChangeLog | 12 +++++- dev-libs/xapian/Manifest | 13 ++----- dev-libs/xapian/files/digest-xapian-0.8.3 | 1 - dev-libs/xapian/files/digest-xapian-0.9.2-r1 | 1 + dev-libs/xapian/files/xapian-0.9.2-config.patch | 17 ++++++++ dev-libs/xapian/xapian-0.8.3.ebuild | 38 ------------------ dev-libs/xapian/xapian-0.9.2-r1.ebuild | 52 +++++++++++++++++++++++++ 7 files changed, 83 insertions(+), 51 deletions(-) delete mode 100644 dev-libs/xapian/files/digest-xapian-0.8.3 create mode 100644 dev-libs/xapian/files/digest-xapian-0.9.2-r1 create mode 100644 dev-libs/xapian/files/xapian-0.9.2-config.patch delete mode 100644 dev-libs/xapian/xapian-0.8.3.ebuild create mode 100644 dev-libs/xapian/xapian-0.9.2-r1.ebuild diff --git a/dev-libs/xapian/ChangeLog b/dev-libs/xapian/ChangeLog index 148b35a7885f..4e4b24e83e2d 100644 --- a/dev-libs/xapian/ChangeLog +++ b/dev-libs/xapian/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-libs/xapian -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/ChangeLog,v 1.14 2005/10/07 10:18:44 dragonheart Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/ChangeLog,v 1.15 2006/01/14 12:31:15 dragonheart Exp $ + +*xapian-0.9.2-r1 (14 Jan 2006) + + 14 Jan 2006; Daniel Black + +files/xapian-0.9.2-config.patch, -xapian-0.8.3.ebuild, + +xapian-0.9.2-r1.ebuild: + added patch by author Olly Betts to xapian-config problem -thanks to + Jean-Francois Dockes. Removed old xapian version 07 Oct 2005; Daniel Black -xapian-0.7.5.ebuild, xapian-0.8.3.ebuild, -xapian-0.8.5.ebuild, -xapian-0.9.1.ebuild, diff --git a/dev-libs/xapian/Manifest b/dev-libs/xapian/Manifest index 2395a5199827..5c3955788656 100644 --- a/dev-libs/xapian/Manifest +++ b/dev-libs/xapian/Manifest @@ -1,16 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 eb1e07752a9cd1079c88d28b7fdddcad ChangeLog 2136 MD5 e34ccc257ed62a9946b05160c1665929 files/digest-xapian-0.8.3 70 MD5 331c7c366023b054a158e1a234b856f2 files/digest-xapian-0.9.2 70 +MD5 331c7c366023b054a158e1a234b856f2 files/digest-xapian-0.9.2-r1 70 +MD5 58c419978523bfcce71719ad805f3d6f files/xapian-0.9.2-config.patch 853 MD5 6d796b061ed1c1337ef157a5f74dab35 metadata.xml 403 MD5 d3581907e3585c0ce4f8fe7e6e8e39e9 xapian-0.8.3.ebuild 957 +MD5 b1ac3af64890d808a95fbc3a2364087f xapian-0.9.2-r1.ebuild 1157 MD5 aad8230cbbfec0062d9f2e3b69de9038 xapian-0.9.2.ebuild 1056 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) - -iD8DBQFDRkuamdTrptrqvGERAtGeAJsFabsN6UGg7mMYJZNFjRIpy7iRMACfbK3d -dlj/xFK/acvQpu2hNf7zrxk= -=N726 ------END PGP SIGNATURE----- diff --git a/dev-libs/xapian/files/digest-xapian-0.8.3 b/dev-libs/xapian/files/digest-xapian-0.8.3 deleted file mode 100644 index 84252d872555..000000000000 --- a/dev-libs/xapian/files/digest-xapian-0.8.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 7feef46188912b180d048953e3518fc6 xapian-core-0.8.3.tar.gz 2095952 diff --git a/dev-libs/xapian/files/digest-xapian-0.9.2-r1 b/dev-libs/xapian/files/digest-xapian-0.9.2-r1 new file mode 100644 index 000000000000..ddf3665b9266 --- /dev/null +++ b/dev-libs/xapian/files/digest-xapian-0.9.2-r1 @@ -0,0 +1 @@ +MD5 772115e47e4bbf7cacc74dc0d11a592a xapian-core-0.9.2.tar.gz 2482298 diff --git a/dev-libs/xapian/files/xapian-0.9.2-config.patch b/dev-libs/xapian/files/xapian-0.9.2-config.patch new file mode 100644 index 000000000000..2cb181a34c85 --- /dev/null +++ b/dev-libs/xapian/files/xapian-0.9.2-config.patch @@ -0,0 +1,17 @@ +--- xapian-config.in.orig ++++ xapian-config.in +@@ -132,6 +132,14 @@ + test /usr/lib != "$libdir" && L="-L$libdir " + D= + eval `grep ^dependency_libs= "$libdir/libxapian.la"` ++ # Replace "/path/to/libfoo.la" with "-L/path/to -lfoo" which doesn't ++ # take into account any dependency_libs which libfoo.la may pull in ++ # but the only .la that we're likely to see is libstdc++.la and it'll ++ # hopefully work there as any dependency libs will probably be pulled ++ # in by the compiler for us. Recursively pulling in dependency_libs ++ # is probably too hard to do in sh - we'd need to reimplement ++ # xapian-config in C or C++. ++ dependency_libs=`echo " $dependency_libs "|sed 's![ ][ ]*! !g;s! \(/[^ ]*\)/lib\([^ ]*\).la ! -L\1 -l\2 !g;s! ! !g;s!^ !!;s! $!!'` + test -n "$dependency_libs" && D=" $dependency_libs" + echo "$F$L-lxapian$D" + ;; diff --git a/dev-libs/xapian/xapian-0.8.3.ebuild b/dev-libs/xapian/xapian-0.8.3.ebuild deleted file mode 100644 index 8747ccc318e5..000000000000 --- a/dev-libs/xapian/xapian-0.8.3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/xapian-0.8.3.ebuild,v 1.3 2005/10/07 10:18:44 dragonheart Exp $ - -IUSE="" - -S=${WORKDIR}/xapian-core-${PV} -DESCRIPTION="Xapian Probabilistic Information Retrieval library" -SRC_URI="http://www.oligarchy.co.uk/xapian/${PV}/xapian-core-${PV}.tar.gz" -HOMEPAGE="http://www.xapian.org/" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="ppc x86" - -DEPEND="virtual/libc - sys-apps/gawk - sys-apps/grep - sys-apps/sed - sys-devel/libtool - sys-devel/bison - sys-devel/gcc" - -RDEPEND="virtual/libc" - -src_compile() { - econf || die "./configure failed" - emake || die -} - -src_install () { - emake DESTDIR=${D} install || die - - #docs tly et installed under /usr/share/doc/xapian-core, - # lets move them under /usr/share/doc.. - mv ${D}/usr/share/doc/xapian-core ${D}/usr/share/doc/${PF} - - dodoc AUTHORS HACKING PLATFORMS README Changelog -} diff --git a/dev-libs/xapian/xapian-0.9.2-r1.ebuild b/dev-libs/xapian/xapian-0.9.2-r1.ebuild new file mode 100644 index 000000000000..e4c13f6bca86 --- /dev/null +++ b/dev-libs/xapian/xapian-0.9.2-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/xapian/xapian-0.9.2-r1.ebuild,v 1.1 2006/01/14 12:31:15 dragonheart Exp $ + +inherit eutils + +IUSE="" + +S=${WORKDIR}/xapian-core-${PV} +DESCRIPTION="Xapian Probabilistic Information Retrieval library" +SRC_URI="http://www.oligarchy.co.uk/xapian/${PV}/xapian-core-${PV}.tar.gz" +HOMEPAGE="http://www.xapian.org/" +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~ppc ~x86" + +DEPEND="virtual/libc + sys-apps/gawk + sys-apps/grep + sys-apps/sed + sys-devel/libtool + sys-devel/gcc" + +RDEPEND="virtual/libc" + + +src_unpack() { + unpack "${A}" + cd "${S}" + epatch "${FILESDIR}/${P}-config.patch" +} + +src_test() { + if has_version '<=dev-util/valgrind-2.3.0'; + then + #valgrind-2.2 caused errors here. + make check VALGRIND= || die "check failed" + else + make check || die "check failed" + fi +} + + +src_install () { + emake DESTDIR=${D} install || die + + #docs tly et installed under /usr/share/doc/xapian-core, + # lets move them under /usr/share/doc.. + mv ${D}/usr/share/doc/xapian-core ${D}/usr/share/doc/${PF} + + dodoc AUTHORS HACKING PLATFORMS README +} -- cgit v1.2.3-65-gdbad