mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
updated and added patch for strigi.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9573 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
3bb53bb6ee
commit
f432d0bbec
@ -335,7 +335,7 @@ $Date$
|
||||
<!ENTITY raptor-version "1.4.21">
|
||||
<!ENTITY rasqal-version "0.9.20">
|
||||
<!ENTITY redland-version "1.0.12">
|
||||
<!ENTITY strigi-version "0.6.4">
|
||||
<!ENTITY strigi-version "0.7.5">
|
||||
<!ENTITY packagekit-version "0.7.1">
|
||||
<!ENTITY tracker-version "0.12.3">
|
||||
|
||||
|
@ -6,10 +6,10 @@
|
||||
|
||||
<!ENTITY strigi-download-http "&sourceforge-repo;/strigi/strigi-&strigi-version;.tar.bz2">
|
||||
<!ENTITY strigi-download-ftp " ">
|
||||
<!ENTITY strigi-md5sum "ddbd274cb31d65be6a78da58fc09079a">
|
||||
<!ENTITY strigi-size "890 KB">
|
||||
<!ENTITY strigi-buildsize "127 MB">
|
||||
<!ENTITY strigi-time "1.7 SBU">
|
||||
<!ENTITY strigi-md5sum "0559e2ab65d187d30916e9ffe36e0fb6">
|
||||
<!ENTITY strigi-size "783 KB">
|
||||
<!ENTITY strigi-buildsize "30 MB">
|
||||
<!ENTITY strigi-time "2.0 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="strigi" xreflabel="strigi-&strigi-version;">
|
||||
@ -31,7 +31,7 @@
|
||||
|
||||
<para><application>Strigi</application> is a desktop search engine.</para>
|
||||
|
||||
&lfs67_checked;
|
||||
&lfs70_checked;
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
@ -54,31 +54,38 @@
|
||||
<para>Estimated build time: &strigi-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
<!--
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem>
|
||||
<para>Required patch: <ulink
|
||||
url="&patch-root;/strigi-&strigi-version;-fixes-1.patch"/></para>
|
||||
url="&patch-root;/strigi/strigi-&strigi-version;-ffmpeg.patch"/></para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
-->
|
||||
|
||||
<bridgehead renderas="sect3">strigi Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para role="required">
|
||||
<xref linkend="cmake"/>,
|
||||
<xref linkend="expat"/> or <xref linkend="libxml2"/>,
|
||||
<xref linkend="clucene"/>
|
||||
<xref linkend="expat"/> or <xref linkend="libxml2"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Recommended</bridgehead>
|
||||
<para role="recommended">
|
||||
<xref linkend="gamin"/> (or FAM),
|
||||
<xref linkend="exiv2"/>,
|
||||
<xref linkend="qt4"/>
|
||||
<xref linkend="qt4"/> and
|
||||
<xref linkend="dbus"/>
|
||||
</para>
|
||||
|
||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||
<para role="optional">
|
||||
<xref linkend="clucene"/>,
|
||||
<xref linkend="gamin"/> (or FAM),
|
||||
<xref linkend="ffmpeg"/>,
|
||||
<xref linkend="exiv2"/> and
|
||||
<ulink url="http://logging.apache.org/log4cxx/">log4cxx</ulink>
|
||||
</para>
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/strigi"/></para>
|
||||
|
||||
@ -87,29 +94,16 @@
|
||||
<sect2 role="installation">
|
||||
<title>Installation of Strigi</title>
|
||||
|
||||
<para>Add missing header files to some includes:</para>
|
||||
<para>Create a build directory:</para>
|
||||
|
||||
<screen><userinput>sed -i "s;#include \"jsgzipcompressstream.h\";#include <stdio.h>\n&;" \
|
||||
src/luceneindexer/jsgzipcompressstream.cpp &&
|
||||
sed -i "s;#include \"sqliteindexmanager.h\";#include <stdio.h>\n&;" \
|
||||
src/sqliteindexer/sqliteindexmanager.cpp &&
|
||||
sed -i "s;#include <cerrno>;#include <stdio.h>\n&;" \
|
||||
src/daemon/eventlistener/famlistener.cpp &&
|
||||
sed -i "s;#include <stdlib.h>;&\n#include <stdio.h>;" \
|
||||
src/daemon/strigithread.cpp</userinput></screen>
|
||||
<screen><userinput>mkdir build &&
|
||||
cd build</userinput></screen>
|
||||
|
||||
<para>Install <application>strigi</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>mkdir build &&
|
||||
cd build</userinput></screen>
|
||||
|
||||
<para>Prepare the package for compilation:</para>
|
||||
|
||||
<screen><userinput>cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DENABLE_EXPAT=ON \
|
||||
-DENABLE_FAM=ON \
|
||||
-DENABLE_SQLITE=OFF .. &&
|
||||
<screen><userinput>patch -Np0 -i ../strigi-&strigi-version;-ffmpeg.patch &&
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
@ -121,9 +115,9 @@ make</userinput></screen>
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><option>-DENABLE_SQLITE=OFF</option>: Even though there is a sed on a sqlite related
|
||||
source file, this option switches building the sqlite backend off because the support of
|
||||
sqlite is entirely broken.</para>
|
||||
<para><option>patch -Np0 -i ../strigi-&strigi-version;-ffmpeg.patch</option>: This
|
||||
patch fixes compiling with <application>ffmpeg</application>. It is safe to omit
|
||||
if you don't have <application>ffmpeg</application>.</para>
|
||||
|
||||
</sect2>
|
||||
<sect2 role="content">
|
||||
@ -132,12 +126,14 @@ make</userinput></screen>
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directory</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>deepfind, xmlindexer, strigicmd, luceneindexer, strigiclient, strigidaemon</seg>
|
||||
<seg>several static and shared libraries</seg>
|
||||
<seg>/usr/lib/strigi</seg>
|
||||
<seg>deepfind, deepgrep, rdfindexer, strigiclient, strigicmd, strigidaemon and xmlindexer</seg>
|
||||
<seg>libsearchclient.so, libstreamanalyzer.so, libstreams.so, libstrigihtmlgui.so,
|
||||
libstrigiqtdbusclient.so and several in /usr/lib/strigi</seg>
|
||||
<seg>/usr/include/strigi, /usr/lib/strigi, /usr/lib/libsearchclient, /usr/lib/libstreamanalyzer,
|
||||
/usr/lib/libstreams and /usr/share/strigi</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
<!--
|
||||
|
@ -45,6 +45,12 @@
|
||||
<para>March 3nd, 2012</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[rthomsen] - Updated to Strigi 0.7.5.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[rthomsen] - Added patch for Raptor 1.4.21.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[rthomsen] - Updated to Soprano 2.7.4.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user