source: general/genlib/clucene.xml@ 7f5a588

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 7f5a588 was 7f5a588, checked in by Igor Živković <igor@…>, 11 years ago

restore and update clucene to 2.3.3.4

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11988 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY clucene-download-http " ">
8 <!ENTITY clucene-download-ftp " ">
9 <!ENTITY clucene-md5sum " ">
10 <!ENTITY clucene-size "19 MB">
11 <!ENTITY clucene-buildsize "86 MB">
12 <!ENTITY clucene-time "0.8 SBU">
13]>
14
15<sect1 id="clucene" xreflabel="CLucene-&clucene-version;">
16 <?dbhtml filename="clucene.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>CLucene-&clucene-version;</title>
24
25 <indexterm zone="clucene">
26 <primary sortas="l-clucene">clucene</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to CLucene</title>
31
32 <para><application>CLucene</application> is a C++ version of Lucene, a
33 high performance text search engine.</para>
34
35 &lfs74_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&clucene-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&clucene-download-ftp;"/></para>
44 </listitem>
45<!--
46 <listitem>
47 <para>Download MD5 sum: &clucene-md5sum;</para>
48 </listitem>
49-->
50 <listitem>
51 <para>Download size: &clucene-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &clucene-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &clucene-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
62 <itemizedlist spacing='compact'>
63 <listitem>
64 <para>Required patch: <ulink
65 url="&patch-root;/clucene-&clucene-version;-contribs_lib-1.patch"/></para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">CLucene Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required">
73 <xref linkend="git"/> and
74 <xref linkend="cmake"/>
75 </para>
76
77 <bridgehead renderas="sect4">Recommended</bridgehead>
78 <para role="recommended">
79 <xref linkend="boost"/>
80 </para>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/clucene"/></para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of CLucene</title>
89
90 <para>
91 Since <application>CLucene</application> developers haven't released any
92 tarballs yet, to obtain the source code first clone
93 <application>CLucene</application> git repository then checkout the
94 &clucene-version; version:
95 </para>
96
97<screen><userinput>git clone git://clucene.git.sourceforge.net/gitroot/clucene/clucene &amp;&amp;
98cd clucene &amp;&amp;
99git checkout tags/clucene-src-&clucene-version;</userinput></screen>
100
101 <para>Install <application>CLucene</application> by running the following
102 commands:</para>
103
104<screen><userinput>patch -Np1 -i ../clucene-&clucene-version;-contribs_lib-1.patch &amp;&amp;
105mkdir build &amp;&amp;
106cd build &amp;&amp;
107cmake -DCMAKE_INSTALL_PREFIX=/usr \
108 -DBUILD_CONTRIBS_LIB=ON .. &amp;&amp;
109make</userinput></screen>
110
111 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
112
113<screen role="root"><userinput>make install</userinput></screen>
114
115 </sect2>
116
117 <sect2 role="commands">
118 <title>Command Explanations</title>
119
120 <para>
121 <parameter>-DBUILD_CONTRIBS_LIB=ON</parameter>: This cmake variable
122 enables building the CLucene contribs library necessary for running
123 applications that use language specific text analyzers like LibreOffice
124 for example.
125 </para>
126
127 </sect2>
128
129 <sect2 role="content">
130 <title>Contents</title>
131
132 <segmentedlist>
133 <segtitle>Installed Programs</segtitle>
134 <segtitle>Installed Libraries</segtitle>
135 <segtitle>Installed Directories</segtitle>
136
137 <seglistitem>
138 <seg>None</seg>
139 <seg>
140 libclucene-contribs-lib.so,
141 libclucene-core.so, and
142 libclucene-shared.so
143 </seg>
144 <seg>
145 /usr/include/CLucene and
146 /usr/lib/CLuceneConfig.cmake
147 </seg>
148 </seglistitem>
149 </segmentedlist>
150
151 </sect2>
152
153</sect1>
Note: See TracBrowser for help on using the repository browser.