summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngmar Vanhassel <ingmar@gentoo.org>2008-05-15 10:39:31 +0000
committerIngmar Vanhassel <ingmar@gentoo.org>2008-05-15 10:39:31 +0000
commitb4fd5eee05ae144dea17e5dd164c6fb3e44136b4 (patch)
tree5a214154910ae5f8758d2c194eff01066b53bc2c /app-misc/strigi
parentStable on ppc64; bug #221063 (diff)
downloadhistorical-b4fd5eee05ae144dea17e5dd164c6fb3e44136b4.tar.gz
historical-b4fd5eee05ae144dea17e5dd164c6fb3e44136b4.tar.bz2
historical-b4fd5eee05ae144dea17e5dd164c6fb3e44136b4.zip
Version bump.
Package-Manager: portage-2.1.5
Diffstat (limited to 'app-misc/strigi')
-rw-r--r--app-misc/strigi/ChangeLog7
-rw-r--r--app-misc/strigi/Manifest12
-rw-r--r--app-misc/strigi/strigi-0.5.9.ebuild92
3 files changed, 105 insertions, 6 deletions
diff --git a/app-misc/strigi/ChangeLog b/app-misc/strigi/ChangeLog
index c8a0dbf4a99c..20f000c8a485 100644
--- a/app-misc/strigi/ChangeLog
+++ b/app-misc/strigi/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/strigi
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/ChangeLog,v 1.4 2008/03/19 04:24:48 ingmar Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/ChangeLog,v 1.5 2008/05/15 10:39:31 ingmar Exp $
+
+*strigi-0.5.9 (14 May 2008)
+
+ 14 May 2008; Ingmar Vanhassel <ingmar@gentoo.org> +strigi-0.5.9.ebuild:
+ Version bump.
19 Mar 2008; Ingmar Vanhassel <ingmar@gentoo.org>
-files/strigi-0.5.7-automagic-deps.patch,
diff --git a/app-misc/strigi/Manifest b/app-misc/strigi/Manifest
index 1450e1eadf64..1259a6c2e9d8 100644
--- a/app-misc/strigi/Manifest
+++ b/app-misc/strigi/Manifest
@@ -3,13 +3,15 @@ Hash: SHA1
AUX strigi-0.5.8-gcc-4.3.patch 517 RMD160 f4bdf97eb31b44142ae3caaabb3fc9af3415a8c4 SHA1 b714e123de1a79de9179c6862999ab22c0c427be SHA256 d0376fb18afe292f1db3beb2cf926fe58db07be38e36fa196e6523c3cbb8ad74
DIST strigi-0.5.8.tar.bz2 830822 RMD160 b07c9138b9562d1aa7532e56d13ba3db5d4eeb32 SHA1 7505527bd6724e054602b8ab6d1417f2d9bc1a6e SHA256 7b512461008152883289d3c5e9df4addc86944026ba3ba09f66a87698d3dd928
+DIST strigi-0.5.9.tar.bz2 871926 RMD160 85619916df3c89ede991f67875c1cbd5b82575e0 SHA1 8e192f09efbba26a1191036740e77e7dd191627d SHA256 7608c180312c63fda346e3407b219b3706d4ff35e693dbf0042e2b6ca0e39369
EBUILD strigi-0.5.8.ebuild 3206 RMD160 fe4d74064c579ae24bfe8dbfae4637f3e727beef SHA1 01edccd60fe92112d473045f996dde8fba70a648 SHA256 705f4d7f6bac295551fda1345f7756aa75d0ce647ed9bd3dcafabcf05ca60ece
-MISC ChangeLog 5978 RMD160 8a401d306ffcb6eb11745517ba5e952588a25bc5 SHA1 160ab8d856b30188c65031647c4bd2c2815ca8e1 SHA256 94dd087c5121aabef87e4ce8bd1f615d7fced9d9cf4402481ce7b0ab58d23555
+EBUILD strigi-0.5.9.ebuild 2984 RMD160 c1eb97d3febfa319f681d97c773624f666d52079 SHA1 b36b2a15455536309c801d3dd60b55b821a65f07 SHA256 98bd4af3251cd4d812fbd964fe4d812e7173f705f2f48381bb6aed82861dc0c9
+MISC ChangeLog 6098 RMD160 7726820b6b6c68df4b6f11e52bce628f2b93e18d SHA1 3f6076570eee3cf5f4fd15e0efe4899ba1858366 SHA256 8ee9c921775141e911dbbbe03474e184fcacea4d1ae5de362052e2b1845bcf8d
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.7 (GNU/Linux)
+Version: GnuPG v2.0.9 (GNU/Linux)
-iD8DBQFH4JV6B18eXLOpYdkRAgF/AKCZCL2APEIi0nZWnSvzQE4PyoZ2HQCeI2aU
-GVqRt8fjtPeUhdUw6BxuNhs=
-=BW5K
+iEYEARECAAYFAkgsEr4ACgkQB18eXLOpYdko7QCfSuYMA1HMkixkFn4ZP2L28u0h
+lxgAn1Uv3glHYFC/TX2cPs6yvDq9Bvkw
+=cGX2
-----END PGP SIGNATURE-----
diff --git a/app-misc/strigi/strigi-0.5.9.ebuild b/app-misc/strigi/strigi-0.5.9.ebuild
new file mode 100644
index 000000000000..dbf69ded34d0
--- /dev/null
+++ b/app-misc/strigi/strigi-0.5.9.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/strigi/strigi-0.5.9.ebuild,v 1.1 2008/05/15 10:39:31 ingmar Exp $
+
+EAPI="1"
+inherit eutils cmake-utils
+
+DESCRIPTION="Fast crawling desktop search engine with Qt4 GUI"
+HOMEPAGE="http://www.vandenoever.info/software/strigi"
+SRC_URI="http://www.vandenoever.info/software/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+clucene +dbus debug +exiv2 fam hyperestraier inotify +qt4 test"
+# log strigi
+RESTRICT="test"
+
+COMMONDEPEND="
+ dev-libs/libxml2
+ virtual/libiconv
+ clucene? ( >=dev-cpp/clucene-0.9.16a )
+ dbus? ( sys-apps/dbus
+ || ( ( x11-libs/qt-dbus:4
+ x11-libs/qt-gui:4 )
+ >=x11-libs/qt-4.3.0:4 )
+ )
+ exiv2? ( media-gfx/exiv2 )
+ fam? ( virtual/fam )
+ hyperestraier? ( app-text/hyperestraier )
+ qt4? (
+ || ( ( x11-libs/qt-core:4
+ x11-libs/qt-gui:4 )
+ >=x11-libs/qt-4.3.0:4 )
+ )"
+# log? ( >=dev-libs/log4cxx-0.9.7 )
+# sqlite? ( dev-db/sqlite:3 )"
+DEPEND="${COMMONDEPEND}
+ test? ( dev-util/cppunit )"
+RDEPEND="${COMMONDEPEND}"
+
+pkg_setup() {
+ if ! use clucene && ! use hyperestraier; then # && ! use sqlite; then
+ ewarn "It's highly recommended to enable one of the supported backends:"
+ ewarn "clucene, hyperestraier and sqlite"
+ ewarn "Clucene is currently the recommended backend."
+ ewarn "Without a backend you'll only be able to use deepgrep."
+ fi
+
+ if use dbus && use qt4; then
+ if ( has version "<x11-libs/qt-4.4.0_alpha:4" && ! built_with_use x11-libs/qt:4 dbus ) || \
+ ( has version "x11-libs/qt-gui:4" && ! built_with_use x11-libs/qt-gui:4 dbus); then
+ eerror "You are building Strigi with qt4 and dbus, but qt4 wasn't built with dbus support."
+ eerror "Please re-emerge qt4 with dbus, or disable dbus in Strigi."
+ die
+ fi
+ fi
+
+ if use qt4 && ! use dbus; then
+ eerror "You are building Strigi with qt4 but without dbus."
+ eerror "Strigiclient needs dbus to detect a running Strigi daemon."
+ eerror "Please enable both qt4 and dbus."
+ die
+ fi
+}
+
+src_compile() {
+ # Strigi needs either expat or libxml2.
+ # However libxml2 seems to be required in both cases, linking to 2 xml parsers
+ # is just silly, so we forcefully disable linking to expat.
+ # Enabled: POLLING (only reliable way to check for files changed.)
+
+ mycmakeargs="${mycmakeargs}
+ -DENABLE_EXPAT=OFF -DENABLE_POLLING=ON
+ -DFORCE_DEPS=ON -DENABLE_CPPUNIT=OFF
+ $(cmake-utils_use_enable clucene CLUCENE)
+ $(cmake-utils_use_enable dbus DBUS)
+ $(cmake-utils_use_enable exiv2 EXIV2)
+ $(cmake-utils_use_enable fam FAM)
+ $(cmake-utils_use_enable hyperestraier HYPERESTRAIER)
+ $(cmake-utils_use_enable inotify INOTIFY)
+ $(cmake-utils_use_enable qt4 QT4)"
+# $(cmake-utils_use_enable log LOG4CXX)
+# $(cmake-utils_use_enable sqlite SQLITE)
+ cmake-utils_src_compile
+}
+
+src_test() {
+ mycmakeargs="${mycmakeargs} -DENABLE_CPPUNIT=ON"
+ cmake-utils_src_compile -j1
+ ctest --extra-verbose || die "Tests failed."
+}