[blfs-book] r11988 - in trunk/BOOK: . archive general/genlib general/sysutils introduction/welcome server/other xsoft/office

igor at higgs.linuxfromscratch.org igor at higgs.linuxfromscratch.org
Thu Oct 17 05:18:51 PDT 2013


Author: igor
Date: Thu Oct 17 05:18:51 2013
New Revision: 11988

Log:
restore and update clucene to 2.3.3.4

Added:
   trunk/BOOK/general/genlib/clucene.xml
      - copied, changed from r11987, trunk/BOOK/archive/clucene.xml
Deleted:
   trunk/BOOK/archive/clucene.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/genlib.xml
   trunk/BOOK/general/sysutils/strigi.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/server/other/soprano.xml
   trunk/BOOK/xsoft/office/libreoffice.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent	Wed Oct 16 10:28:09 2013	(r11987)
+++ trunk/BOOK/general.ent	Thu Oct 17 05:18:51 2013	(r11988)
@@ -1,12 +1,12 @@
 <!-- $LastChangedBy$ $Date$ -->
 
-<!ENTITY day          "16">                   <!-- Always 2 digits -->
+<!ENTITY day          "17">                   <!-- Always 2 digits -->
 <!ENTITY month        "10">                   <!-- Always 2 digits -->
 <!ENTITY year         "2013">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "October 16th, &year;">
+<!ENTITY releasedate  "October 17th, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- version|testing|unstable|development] -->
@@ -205,6 +205,7 @@
 <!ENTITY boost-version                "&boost-major;.&boost-minor;.&boost-patch;">
 <!ENTITY boost-dl-version             "&boost-major;_&boost-minor;_&boost-patch;">
 
+<!ENTITY clucene-version              "2.3.3.4">
 <!ENTITY dbus-glib-version            "0.100.2">
 <!ENTITY enchant-version              "1.6.0">
 <!ENTITY exempi-version               "2.2.1">

Copied and modified: trunk/BOOK/general/genlib/clucene.xml (from r11987, trunk/BOOK/archive/clucene.xml)
==============================================================================
--- trunk/BOOK/archive/clucene.xml	Wed Oct 16 10:28:09 2013	(r11987, copy source)
+++ trunk/BOOK/general/genlib/clucene.xml	Thu Oct 17 05:18:51 2013	(r11988)
@@ -4,15 +4,15 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY clucene-download-http "&sourceforge-repo;/clucene/clucene-core-&clucene-version;.tar.bz2">
+  <!ENTITY clucene-download-http " ">
   <!ENTITY clucene-download-ftp  " ">
-  <!ENTITY clucene-md5sum        "ba1a8f764a2ca19c66ad907dddd88352">
-  <!ENTITY clucene-size          "1.5 MB">
-  <!ENTITY clucene-buildsize     "45 MB">
-  <!ENTITY clucene-time          "1 SBU">
+  <!ENTITY clucene-md5sum        " ">
+  <!ENTITY clucene-size          "19 MB">
+  <!ENTITY clucene-buildsize     "86 MB">
+  <!ENTITY clucene-time          "0.8 SBU">
 ]>
 
-<sect1 id="clucene" xreflabel="clucene-&clucene-version;">
+<sect1 id="clucene" xreflabel="CLucene-&clucene-version;">
   <?dbhtml filename="clucene.html"?>
 
   <sect1info>
@@ -32,7 +32,7 @@
     <para><application>CLucene</application> is a C++ version of Lucene, a
     high performance text search engine.</para>
 
-    &lfs67_checked;
+    &lfs74_checked;
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
@@ -42,9 +42,11 @@
       <listitem>
         <para>Download (FTP): <ulink url="&clucene-download-ftp;"/></para>
       </listitem>
+<!--
       <listitem>
         <para>Download MD5 sum: &clucene-md5sum;</para>
       </listitem>
+-->
       <listitem>
         <para>Download size: &clucene-size;</para>
       </listitem>
@@ -56,22 +58,26 @@
       </listitem>
     </itemizedlist>
 
-<!--
     <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing='compact'>
       <listitem>
         <para>Required patch: <ulink
-        url="&patch-root;/clucene-&clucene-version;-fixes-1.patch"/></para>
+        url="&patch-root;/clucene-&clucene-version;-contribs_lib-1.patch"/></para>
       </listitem>
     </itemizedlist>
 
-    <bridgehead renderas="sect3">clucene Dependencies</bridgehead>
+    <bridgehead renderas="sect3">CLucene Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
     <para role="required">
-    <xref linkend="net-tools"/>
+      <xref linkend="git"/> and
+      <xref linkend="cmake"/>
+    </para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="boost"/>
     </para>
--->
 
     <para condition="html" role="usernotes">User Notes:
     <ulink url="&blfs-wiki;/clucene"/></para>
@@ -81,10 +87,25 @@
   <sect2 role="installation">
     <title>Installation of CLucene</title>
 
-    <para>Install <application>clucene</application> by running the following
+    <para>
+      Since <application>CLucene</application> developers haven't released any
+      tarballs yet, to obtain the source code first clone
+      <application>CLucene</application> git repository then checkout the
+      &clucene-version; version:
+    </para>
+
+<screen><userinput>git clone git://clucene.git.sourceforge.net/gitroot/clucene/clucene &&
+cd clucene &&
+git checkout tags/clucene-src-&clucene-version;</userinput></screen>
+
+    <para>Install <application>CLucene</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure prefix=/usr &&
+<screen><userinput>patch -Np1 -i ../clucene-&clucene-version;-contribs_lib-1.patch &&
+mkdir build &&
+cd build &&
+cmake -DCMAKE_INSTALL_PREFIX=/usr \
+      -DBUILD_CONTRIBS_LIB=ON .. &&
 make</userinput></screen>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
@@ -92,46 +113,41 @@
 <screen role="root"><userinput>make install</userinput></screen>
 
   </sect2>
-<!--
+
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><option>- -xyz</option>: This option is set for ...</para>
+    <para>
+      <parameter>-DBUILD_CONTRIBS_LIB=ON</parameter>: This cmake variable
+      enables building the CLucene contribs library necessary for running
+      applications that use language specific text analyzers like LibreOffice
+      for example.
+    </para>
 
   </sect2>
--->
+
   <sect2 role="content">
     <title>Contents</title>
 
     <segmentedlist>
-      <segtitle>Installed Program</segtitle>
+      <segtitle>Installed Programs</segtitle>
       <segtitle>Installed Libraries</segtitle>
-      <segtitle>Installed Directory</segtitle>
+      <segtitle>Installed Directories</segtitle>
 
       <seglistitem>
         <seg>None</seg>
-        <seg>libclucene.{so,a}</seg>
-        <seg>None</seg>
+        <seg>
+          libclucene-contribs-lib.so,
+          libclucene-core.so, and
+          libclucene-shared.so
+        </seg>
+        <seg>
+          /usr/include/CLucene and
+          /usr/lib/CLuceneConfig.cmake
+        </seg>
       </seglistitem>
     </segmentedlist>
-<!--
-    <variablelist>
-      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
-      <?dbfo list-presentation="list"?>
-      <?dbhtml list-presentation="table"?>
-
-      <varlistentry id="a-automoc4">
-        <term><command>automoc4</command></term>
-        <listitem>
-          <para>is a testing utility for clucene-generated build trees.</para>
-          <indexterm zone="a-automoc4 automoc4">
-            <primary sortas="b-automoc4">automoc4</primary>
-          </indexterm>
-        </listitem>
-      </varlistentry>
 
-    </variablelist>
--->
   </sect2>
 
 </sect1>

Modified: trunk/BOOK/general/genlib/genlib.xml
==============================================================================
--- trunk/BOOK/general/genlib/genlib.xml	Wed Oct 16 10:28:09 2013	(r11987)
+++ trunk/BOOK/general/genlib/genlib.xml	Thu Oct 17 05:18:51 2013	(r11988)
@@ -47,6 +47,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apr-util.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aspell.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="boost.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="clucene.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus-glib.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="enchant.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="exempi.xml"/>

Modified: trunk/BOOK/general/sysutils/strigi.xml
==============================================================================
--- trunk/BOOK/general/sysutils/strigi.xml	Wed Oct 16 10:28:09 2013	(r11987)
+++ trunk/BOOK/general/sysutils/strigi.xml	Thu Oct 17 05:18:51 2013	(r11988)
@@ -74,7 +74,7 @@
     <xref linkend="gamin"/> (or FAM),
     <xref linkend="ffmpeg"/>,
     <xref linkend="exiv2"/>,
-    <ulink url="http://sourceforge.net/projects/clucene/">CLucene</ulink> and
+    <xref linkend="clucene"/>, and
     <ulink url="http://logging.apache.org/log4cxx/">log4cxx</ulink>
     </para>
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	Wed Oct 16 10:28:09 2013	(r11987)
+++ trunk/BOOK/introduction/welcome/changelog.xml	Thu Oct 17 05:18:51 2013	(r11988)
@@ -44,6 +44,16 @@
 
 -->
     <listitem>
+      <para>October 17th, 2013</para>
+      <itemizedlist>
+        <listitem>
+          <para>[igor] - Restore from archive and update to
+          clucene-2.3.3.4.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>October 16th, 2013</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/server/other/soprano.xml
==============================================================================
--- trunk/BOOK/server/other/soprano.xml	Wed Oct 16 10:28:09 2013	(r11987)
+++ trunk/BOOK/server/other/soprano.xml	Thu Oct 17 05:18:51 2013	(r11988)
@@ -100,8 +100,7 @@
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
       <xref linkend="doxygen"/> (to build the documentation),
-      <ulink url="http://sourceforge.net/projects/clucene/">CLucene</ulink>
-      (no longer required to use Soprano in KDE), and
+      <xref linkend="clucene"/>, and
       <ulink url="http://www.openrdf.org/">Sesame2</ulink>
     </para>
 

Modified: trunk/BOOK/xsoft/office/libreoffice.xml
==============================================================================
--- trunk/BOOK/xsoft/office/libreoffice.xml	Wed Oct 16 10:28:09 2013	(r11987)
+++ trunk/BOOK/xsoft/office/libreoffice.xml	Thu Oct 17 05:18:51 2013	(r11988)
@@ -155,6 +155,7 @@
 
     <para role="recommended">
       <xref linkend="boost"/>,
+      <xref linkend="clucene"/>,
       <xref linkend="cups"/>,
       <xref linkend="curl"/>,
       <xref linkend="dbus"/>,
@@ -195,7 +196,6 @@
       <ulink url="http://sourceforge.net/projects/libmwaw/">libmwaw</ulink>,
       <ulink url="http://www.freedesktop.org/wiki/Software/libvisio/">libvisio</ulink>,
       <ulink url="http://sourceforge.net/projects/libcmis/">libcmis</ulink>,
-      <ulink url="http://clucene.sourceforge.net/">CLucene</ulink>,
       <ulink url="http://www.freedesktop.org/wiki/Software/libexttextcat/">libexttextcat</ulink>,
       <ulink url="http://tagoh.bitbucket.org/liblangtag/">liblangtag</ulink>,
       <ulink url="http://sourceforge.net/projects/libwpd/files/libodfgen/">libodfgen</ulink>,
@@ -320,6 +320,7 @@
              --disable-postgresql-sdbc  \
              --enable-python=system     \
              --with-system-boost        \
+             --with-system-clucene      \
              --with-system-cairo        \
              --with-system-curl         \
              --with-system-expat        \



More information about the blfs-book mailing list