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://downloads.sourceforge.net/strigi/strigi-{{Strigi-Version}}.tar.bz2
+
| http://sourceforge.net/projects/strigi/files/strigi/strigi-{{Strigi-Version}}/strigi-{{Strigi-Version}}.tar.bz2/download
|-
 
!Additional Download:
 
| http://downloads.sourceforge.net/strigi/strigiapplet-{{Strigi-Version2}}.tar.bz2
 
 
|}
 
|}
  
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 .. -DCMAKE_INSTALL_PREFIX=/usr \
+
  cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
    -DENABLE_INOTIFY:BOOL=ON -DENABLE_DBUS:BOOL=ON &&
+
    -DSYSCONF_INSTALL_DIR=/etc/kde \
make
+
    -DLIB_INSTALL_DIR=${KDEDIR}/lib \
 
+
    -DCMAKE_BUILD_TYPE=Release \
Install the package:
+
    -DCMAKE_CXX_FLAGS="-fpermissive" \
 
+
    -DLIB_SUFFIX= \
make install
+
    -DENABLE_INOTIFY:BOOL=ON \
 
+
    -DENABLE_DBUS:BOOL=ON \
Compile the strigiapplet package (Optional and only if you have KDE3):
+
    -DENABLE_FAM=ON \
+
    -DENABLE_EXPAT:BOOL=ON \
mkdir build &&
+
    .. &&
cd build &&
 
cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
 
 
  make
 
  make
  
Line 73: Line 70:
 
Compile the package:
 
Compile the package:
  
  To do...
+
  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:
  
  To do...
+
  make install
  
 
=== N32 ===
 
=== N32 ===
 
Compile the package:
 
 
To do...
 
 
Install the package:
 
 
To do...
 
  
 
=== 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 &&
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
+
  USE_ARCH=64 PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
     PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" \
+
cmake -DCMAKE_INSTALL_PREFIX=${KDEDIR} \
     cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+
    -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 \
     -DCMAKE_LIBRARY_PATH=/usr/lib64 \
+
     -DENABLE_INOTIFY:BOOL=ON \
     -DENABLE_INOTIFY:BOOL=ON -DENABLE_DBUS:BOOL=ON &&
+
     -DENABLE_DBUS:BOOL=ON \
 +
    -DENABLE_FAM=ON \
 +
    -DENABLE_EXPAT:BOOL=ON \
 +
    .. &&
 
  make
 
  make
  
Install the package:
+
Install the Package
  
 
  make install
 
  make install
 
Compile the strigiapplet package (Optional and only if you have KDE3):
 
 
To do...
 
  
 
== 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

Introduction to Strigi

Strigi is a desktop and indexer independent desktop search engine.

Project Homepage: http://strigi.sourceforge.net/

Dependencies

Caution.png

Note

It's highly recommended to enable the inotify support in kernel.

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
Retrieved from "?title=Strigi&oldid=19155"