diff options
author | markd <markd> | 2008-11-04 11:11:50 +0000 |
---|---|---|
committer | markd <markd> | 2008-11-04 11:11:50 +0000 |
commit | 7f08302661f26fd7c5db0f814b3d74e714bdaeb2 (patch) | |
tree | b624cdd654040830ab2f384c1c48e61580e6ebee /sysutils/strigi | |
parent | 4afd595d111fb46a064d9edd8791f4eba4fcaff5 (diff) | |
download | pkgsrc-7f08302661f26fd7c5db0f814b3d74e714bdaeb2.tar.gz |
Import strigi 0.5.10
Strigi is a daemon which uses a very fast and efficient crawler that can index
data on your harddrive. Indexing operations are performed without hammering
your system, this makes Strigi the fastest and smallest desktop searching
program. Strigi can index different file formats, including the contents of
the archive files.
Diffstat (limited to 'sysutils/strigi')
-rw-r--r-- | sysutils/strigi/DESCR | 5 | ||||
-rw-r--r-- | sysutils/strigi/Makefile | 43 | ||||
-rw-r--r-- | sysutils/strigi/PLIST | 100 | ||||
-rw-r--r-- | sysutils/strigi/buildlink3.mk | 29 | ||||
-rw-r--r-- | sysutils/strigi/distinfo | 6 | ||||
-rw-r--r-- | sysutils/strigi/patches/patch-aa | 13 |
6 files changed, 196 insertions, 0 deletions
diff --git a/sysutils/strigi/DESCR b/sysutils/strigi/DESCR new file mode 100644 index 00000000000..aa9f455339d --- /dev/null +++ b/sysutils/strigi/DESCR @@ -0,0 +1,5 @@ +Strigi is a daemon which uses a very fast and efficient crawler that can index +data on your harddrive. Indexing operations are performed without hammering +your system, this makes Strigi the fastest and smallest desktop searching +program. Strigi can index different file formats, including the contents of +the archive files. diff --git a/sysutils/strigi/Makefile b/sysutils/strigi/Makefile new file mode 100644 index 00000000000..ab6ce42a375 --- /dev/null +++ b/sysutils/strigi/Makefile @@ -0,0 +1,43 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/11/04 11:11:50 markd Exp $ + +DISTNAME= strigi-0.5.10 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=strigi/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= markd@NetBSD.org +HOMEPAGE= http://strigi.sourceforge.net/ +COMMENT= Small fast desktop searching program + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= c c++ +USE_TOOLS+= gmake pkg-config perl +USE_CMAKE= yes + +.include "../../mk/bsd.prefs.mk" +.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h) +RT_LIB_SCHED= -lrt +.else +RT_LIB_SCHED= # empty +.endif + +.if !empty(RT_LIB_SCHED) +# these use sched_setscheduler +CMAKE_ARGS+= -Dstrigidaemon_LIBS=${RT_LIB_SCHED} +CMAKE_ARGS+= -Dtest_LIBS=${RT_LIB_SCHED} +.endif + +pre-configure: + ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/ + +.include "../../archivers/bzip2/buildlink3.mk" +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../textproc/libclucene/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../sysutils/dbus/buildlink3.mk" +.include "../../x11/qt4-libs/buildlink3.mk" +.include "../../x11/qt4-tools/buildlink3.mk" +.include "../../x11/qt4-qdbus/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/strigi/PLIST b/sysutils/strigi/PLIST new file mode 100644 index 00000000000..f842d28d528 --- /dev/null +++ b/sysutils/strigi/PLIST @@ -0,0 +1,100 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2008/11/04 11:11:50 markd Exp $ +bin/deepfind +bin/deepgrep +bin/luceneindexer +bin/strigiclient +bin/strigicmd +bin/strigidaemon +bin/xmlindexer +include/strigi/analysisresult.h +include/strigi/analyzerconfiguration.h +include/strigi/analyzerplugin.h +include/strigi/archivereader.h +include/strigi/asyncsocket.h +include/strigi/asyncsocketclient.h +include/strigi/bufferedstream.h +include/strigi/classproperties.h +include/strigi/clientinterface.h +include/strigi/diranalyzer.h +include/strigi/encodinginputstream.h +include/strigi/fieldproperties.h +include/strigi/fieldpropertiesdb.h +include/strigi/fieldtypes.h +include/strigi/fileinputstream.h +include/strigi/indexeddocument.h +include/strigi/indexmanager.h +include/strigi/indexplugin.h +include/strigi/indexreader.h +include/strigi/indexwriter.h +include/strigi/inputstream.h +include/strigi/inputstreamreader.h +include/strigi/qtdbus/strigiasyncclient.h +include/strigi/qtdbus/strigiclient.h +include/strigi/qtdbus/strigidbus.h +include/strigi/qtdbus/strigitypes.h +include/strigi/query.h +include/strigi/queryparser.h +include/strigi/sdfinputstream.h +include/strigi/streamanalyzer.h +include/strigi/streamanalyzerfactory.h +include/strigi/streambase.h +include/strigi/streambuffer.h +include/strigi/streamendanalyzer.h +include/strigi/streameventanalyzer.h +include/strigi/streamlineanalyzer.h +include/strigi/streamsaxanalyzer.h +include/strigi/streamthroughanalyzer.h +include/strigi/strigiconfig.h +include/strigi/strigihtmlgui.h +include/strigi/stringstream.h +include/strigi/stringterminatedsubstream.h +include/strigi/subinputstream.h +include/strigi/substreamprovider.h +include/strigi/substreamproviderprovider.h +include/strigi/textutils.h +include/strigi/variant.h +lib/libsearchclient.so +lib/libsearchclient.so.0 +lib/libsearchclient.so.${PKGVERSION} +lib/libstreamanalyzer.so +lib/libstreamanalyzer.so.0 +lib/libstreamanalyzer.so.${PKGVERSION} +lib/libstreams.so +lib/libstreams.so.0 +lib/libstreams.so.${PKGVERSION} +lib/libstrigihtmlgui.so +lib/libstrigihtmlgui.so.0 +lib/libstrigihtmlgui.so.${PKGVERSION} +lib/libstrigiqtdbusclient.so +lib/libstrigiqtdbusclient.so.0 +lib/libstrigiqtdbusclient.so.${PKGVERSION} +lib/pkgconfig/libstreamanalyzer.pc +lib/pkgconfig/libstreams.pc +lib/strigi/StrigiConfig.cmake +lib/strigi/strigiindex_clucene.so +lib/strigi/strigila_cpp.so +lib/strigi/strigila_deb.so +lib/strigi/strigila_namespaceharvester.so +lib/strigi/strigila_xpm.so +lib/strigi/strigita_au.so +lib/strigi/strigita_gif.so +lib/strigi/strigita_pcx.so +lib/strigi/strigita_xbm.so +lib/strigi/strigila_txt.so +lib/strigi/strigita_avi.so +lib/strigi/strigita_dds.so +lib/strigi/strigita_ico.so +lib/strigi/strigita_rgb.so +lib/strigi/strigita_sid.so +lib/strigi/strigita_wav.so +share/dbus-1/services/org.freedesktop.xesam.searcher.service +share/dbus-1/services/vandenoever.strigi.service +share/strigi/fieldproperties/strigi.rdfs +share/strigi/fieldproperties/xesam-convenience.rdfs +share/strigi/fieldproperties/xesam.rdfs +@dirrm share/strigi/fieldproperties +@dirrm share/strigi +@comment in dbus: @dirrm share/dbus-1/services +@dirrm lib/strigi +@dirrm include/strigi/qtdbus +@dirrm include/strigi diff --git a/sysutils/strigi/buildlink3.mk b/sysutils/strigi/buildlink3.mk new file mode 100644 index 00000000000..fd189999088 --- /dev/null +++ b/sysutils/strigi/buildlink3.mk @@ -0,0 +1,29 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/11/04 11:11:50 markd Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +STRIGI_BUILDLINK3_MK:= ${STRIGI_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= strigi +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nstrigi} +BUILDLINK_PACKAGES+= strigi +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}strigi + +.if ${STRIGI_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.strigi+= strigi>=0.5.10 +BUILDLINK_PKGSRCDIR.strigi?= ../../sysutils/strigi + +PRINT_PLIST_AWK+= /^@dirrm lib\/strigi$$/ \ + { print "@comment in strigi: " $$0; next; } +.endif # STRIGI_BUILDLINK3_MK + +.include "../../archivers/bzip2/buildlink3.mk" +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../textproc/libclucene/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../sysutils/dbus/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/sysutils/strigi/distinfo b/sysutils/strigi/distinfo new file mode 100644 index 00000000000..98d1a50fd6f --- /dev/null +++ b/sysutils/strigi/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/11/04 11:11:50 markd Exp $ + +SHA1 (strigi-0.5.10.tar.bz2) = 02efd6bd7c815148fa9c9134287175b8aec0409b +RMD160 (strigi-0.5.10.tar.bz2) = 2af9870ccd86744450e0ab93e0c34a1aefb01e1a +Size (strigi-0.5.10.tar.bz2) = 876957 bytes +SHA1 (patch-aa) = 6329b5787e2abb402e0c4f723b98dba925578bce diff --git a/sysutils/strigi/patches/patch-aa b/sysutils/strigi/patches/patch-aa new file mode 100644 index 00000000000..b4d3dc0577d --- /dev/null +++ b/sysutils/strigi/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2008/11/04 11:11:50 markd Exp $ + +--- CMakeLists.txt.orig 2007-11-29 17:49:02.000000000 +1300 ++++ CMakeLists.txt +@@ -204,7 +204,7 @@ include(ConfigureChecks.cmake) + include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) + + CONFIGURE_FILE( +- "${CMAKE_MODULE_PATH}/cmake_uninstall.cmake.in" ++ "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in" + "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" + IMMEDIATE @ONLY) + |