Difference between revisions of "Strigi"
From CBLFS
Jump to navigationJump to search (→Optional) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http:// | + | | http://sourceforge.net/projects/strigi/files/strigi/strigi-{{Strigi-Version}}/strigi-{{Strigi-Version}}.tar.bz2/download |
− | |||
− | |||
− | |||
|} | |} | ||
Line 46: | Line 43: | ||
Compile the package: | Compile the package: | ||
+ | sed -i '1i\#include <stdio.h>' src/daemon/eventlistener/{inotify,fam}listener.cpp && | ||
+ | sed -i '1i\#include <stdio.h>' src/daemon/strigithread.cpp && | ||
mkdir build && | mkdir build && | ||
cd build && | cd build && | ||
− | cmake | + | cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ |
− | + | -DSYSCONF_INSTALL_DIR=/etc/kde \ | |
− | + | -DLIB_INSTALL_DIR=${KDEDIR}/lib \ | |
− | + | -DCMAKE_BUILD_TYPE=Release \ | |
− | + | -DCMAKE_CXX_FLAGS="-fpermissive" \ | |
− | + | -DLIB_SUFFIX= \ | |
− | + | -DENABLE_INOTIFY:BOOL=ON \ | |
− | + | -DENABLE_DBUS:BOOL=ON \ | |
− | + | -DENABLE_FAM=ON \ | |
− | + | -DENABLE_EXPAT:BOOL=ON \ | |
− | + | .. && | |
− | |||
− | |||
make | make | ||
Line 73: | Line 70: | ||
Compile the package: | Compile the package: | ||
− | + | sed -i '1i\#include <stdio.h>' src/daemon/eventlistener/{inotify,fam}listener.cpp && | |
+ | sed -i '1i\#include <stdio.h>' src/daemon/strigithread.cpp && | ||
+ | mkdir -v build && | ||
+ | cd build && | ||
+ | USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | ||
+ | cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ | ||
+ | -DSYSCONF_INSTALL_DIR=/etc/kde \ | ||
+ | -DLIB_INSTALL_DIR=${KDEDIR}/lib \ | ||
+ | -DCMAKE_BUILD_TYPE=Release \ | ||
+ | -DCMAKE_C_FLAGS="${BUILD32}" \ | ||
+ | -DCMAKE_CXX_FLAGS="${BUILD32} -fpermissive" \ | ||
+ | -DLIB_SUFFIX= \ | ||
+ | -DENABLE_INOTIFY:BOOL=ON \ | ||
+ | -DENABLE_DBUS:BOOL=ON \ | ||
+ | -DENABLE_FAM=ON \ | ||
+ | -DENABLE_EXPAT:BOOL=ON \ | ||
+ | .. && | ||
+ | make | ||
Install the package: | Install the package: | ||
− | + | make install | |
=== N32 === | === N32 === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== 64Bit === | === 64Bit === | ||
Line 93: | Line 99: | ||
Compile the package: | Compile the package: | ||
− | mkdir build && | + | sed -i '1i\#include <stdio.h>' src/daemon/eventlistener/{inotify,fam}listener.cpp && |
+ | sed -i '1i\#include <stdio.h>' src/daemon/strigithread.cpp && | ||
+ | mkdir -v build && | ||
cd build && | cd build && | ||
− | + | USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | |
− | + | cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ | |
− | + | -DSYSCONF_INSTALL_DIR=/etc/kde \ | |
+ | -DLIB_INSTALL_DIR=${KDEDIR}/lib64 \ | ||
+ | -DCMAKE_BUILD_TYPE=Release \ | ||
+ | -DCMAKE_C_FLAGS="${BUILD64}" \ | ||
+ | -DCMAKE_CXX_FLAGS="${BUILD64} -fpermissive" \ | ||
-DLIB_SUFFIX=64 \ | -DLIB_SUFFIX=64 \ | ||
− | - | + | -DENABLE_INOTIFY:BOOL=ON \ |
− | - | + | -DENABLE_DBUS:BOOL=ON \ |
+ | -DENABLE_FAM=ON \ | ||
+ | -DENABLE_EXPAT:BOOL=ON \ | ||
+ | .. && | ||
make | make | ||
− | Install the | + | Install the Package |
make install | make install | ||
− | |||
− | |||
− | |||
− | |||
== Contents == | == Contents == | ||
Line 124: | Line 135: | ||
|libstreams.so.{{Strigi-Version}}, libstreamanalyzer.so.{{Strigi-Version}}, libstreamanalyzer.so.{{Strigi-Version}}, libcluceneindex.so.{{Strigi-Version}}, libstrigihtmlgui.so.{{Strigi-Version}}, libstrigiqtdbusclient.so.{{Strigi-Version}}, libsearchclient.so.{{Strigi-Version}} | |libstreams.so.{{Strigi-Version}}, libstreamanalyzer.so.{{Strigi-Version}}, libstreamanalyzer.so.{{Strigi-Version}}, libcluceneindex.so.{{Strigi-Version}}, libstrigihtmlgui.so.{{Strigi-Version}}, libstrigiqtdbusclient.so.{{Strigi-Version}}, libsearchclient.so.{{Strigi-Version}} | ||
|} | |} | ||
+ | |||
+ | [[Category:KDE4 Support]] |
Latest revision as of 07:33, 13 September 2009
Download Source: | http://sourceforge.net/projects/strigi/files/strigi/strigi-0.6.4/strigi-0.6.4.tar.bz2/download |
---|
Contents
Introduction to Strigi
Strigi is a desktop and indexer independent desktop search engine.
Project Homepage: http://strigi.sourceforge.net/
Dependencies
Required
Recommended
Optional
Configuration Information
-DENABLE_INOTIFY:BOOL=ON: enable inotify support. See note below. |
-DENABLE_DBUS:BOOL=ON: enable D-BUS support. |
-DENABLE_FAM=ON:" Support for efficient file change monitoring system is enabled |
-DENABLE_EXPAT:BOOL=ON:" Support for XML via Expat is enabled |
Non-Multilib
Compile the package:
sed -i '1i\#include <stdio.h>' src/daemon/eventlistener/{inotify,fam}listener.cpp && sed -i '1i\#include <stdio.h>' src/daemon/strigithread.cpp && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ -DSYSCONF_INSTALL_DIR=/etc/kde \ -DLIB_INSTALL_DIR=${KDEDIR}/lib \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_CXX_FLAGS="-fpermissive" \ -DLIB_SUFFIX= \ -DENABLE_INOTIFY:BOOL=ON \ -DENABLE_DBUS:BOOL=ON \ -DENABLE_FAM=ON \ -DENABLE_EXPAT:BOOL=ON \ .. && make
Install the package:
make install
Multilib
32Bit
Compile the package:
sed -i '1i\#include <stdio.h>' src/daemon/eventlistener/{inotify,fam}listener.cpp && sed -i '1i\#include <stdio.h>' src/daemon/strigithread.cpp && mkdir -v build && cd build && USE_ARCH=32 PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ -DSYSCONF_INSTALL_DIR=/etc/kde \ -DLIB_INSTALL_DIR=${KDEDIR}/lib \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS="${BUILD32}" \ -DCMAKE_CXX_FLAGS="${BUILD32} -fpermissive" \ -DLIB_SUFFIX= \ -DENABLE_INOTIFY:BOOL=ON \ -DENABLE_DBUS:BOOL=ON \ -DENABLE_FAM=ON \ -DENABLE_EXPAT:BOOL=ON \ .. && make
Install the package:
make install
N32
64Bit
Compile the package:
sed -i '1i\#include <stdio.h>' src/daemon/eventlistener/{inotify,fam}listener.cpp && sed -i '1i\#include <stdio.h>' src/daemon/strigithread.cpp && mkdir -v build && cd build && USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \ -DSYSCONF_INSTALL_DIR=/etc/kde \ -DLIB_INSTALL_DIR=${KDEDIR}/lib64 \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_FLAGS="${BUILD64}" \ -DCMAKE_CXX_FLAGS="${BUILD64} -fpermissive" \ -DLIB_SUFFIX=64 \ -DENABLE_INOTIFY:BOOL=ON \ -DENABLE_DBUS:BOOL=ON \ -DENABLE_FAM=ON \ -DENABLE_EXPAT:BOOL=ON \ .. && make
Install the Package
make install
Contents
Installed Directories: | /usr/include/strigi, /usr/lib/strigi, /usr/share/strigi |
---|---|
Installed Programs: | deepfind, deepgrep, xmlindexer, strigicmd, luceneindexer, strigiclient, strigidaemon |
Installed Libraries: | libstreams.so.0.6.4, libstreamanalyzer.so.0.6.4, libstreamanalyzer.so.0.6.4, libcluceneindex.so.0.6.4, libstrigihtmlgui.so.0.6.4, libstrigiqtdbusclient.so.0.6.4, libsearchclient.so.0.6.4 |