source: server/other/soprano.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: 6.7 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 soprano-download-http "&sourceforge-repo;/soprano/soprano-&soprano-version;.tar.bz2">
8 <!ENTITY soprano-download-ftp " ">
9 <!ENTITY soprano-md5sum "714a729809943efd4b536ed15cd66aca">
10 <!ENTITY soprano-size "1.9 MB">
11 <!ENTITY soprano-buildsize "23 MB">
12 <!ENTITY soprano-time "1.2 SBU">
13]>
14
15<sect1 id="soprano" xreflabel="Soprano-&soprano-version;">
16 <?dbhtml filename="soprano.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Soprano-&soprano-version;</title>
24
25 <indexterm zone="soprano">
26 <primary sortas="a-Soprano">Soprano</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Soprano</title>
31
32 <para>
33 <application>Soprano</application> (formally known as QRDF) is a
34 library which provides a nice Qt interface to RDF storage solutions.
35 It has a modular structure which allows to replace the actual RDF
36 storage implementation used.
37 </para>
38
39 &lfs74_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&soprano-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&soprano-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &soprano-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &soprano-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &soprano-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &soprano-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
76 <itemizedlist spacing='compact'>
77 <listitem>
78 <para>Required patch: <ulink
79 url="&patch-root;/soprano-&soprano-version;-dbus-1.patch"/></para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">Soprano Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="cmake"/>,
88 <xref linkend="qt4"/>, and
89 <xref linkend="redland"/>
90 </para>
91
92 <bridgehead renderas="sect4">Recommended (Required if building KDE)</bridgehead>
93 <para role="recommended">
94 <xref linkend="dbus"/>,
95 <xref linkend="libiodbc"/> (required for the Virtuoso backend. Additionally,
96 <xref linkend="virtuoso"/> is required as a runtime dependency for this
97 backend.)
98 </para>
99
100 <bridgehead renderas="sect4">Optional</bridgehead>
101 <para role="optional">
102 <xref linkend="doxygen"/> (to build the documentation),
103 <xref linkend="clucene"/>, and
104 <ulink url="http://www.openrdf.org/">Sesame2</ulink>
105 </para>
106
107 <para condition="html" role="usernotes">User Notes:
108 <ulink url="&blfs-wiki;/soprano"/>
109 </para>
110 </sect2>
111
112 <sect2 role="installation">
113 <title>Installation of Soprano</title>
114
115 <para>Install <application>soprano</application> by running the following
116 commands:</para>
117
118<screen><userinput>patch -Np1 -i ../soprano-&soprano-version;-dbus-1.patch &amp;&amp;
119mkdir build &amp;&amp;
120cd build &amp;&amp;
121cmake -DCMAKE_INSTALL_PREFIX=/usr \
122 -DCMAKE_BUILD_TYPE=Release \
123 .. &amp;&amp;
124make</userinput></screen>
125
126 <para>This package does not come with a working test suite.</para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131
132<screen role="root"><userinput>make install</userinput></screen>
133
134</sect2>
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <para>
139 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
140 to apply higher level of the compiler optimizations.
141 </para>
142
143 <para>
144 <parameter>-DSOPRANO_DISABLE_CLUCENE_INDEX=1</parameter>:
145 <application>Soprano</application> might not build with recent
146 <application>Clucene</application> versions. Use this switch
147 to fix it.
148 </para>
149
150 </sect2>
151
152 <sect2 role="configuration">
153 <title>Configuration of Soprano</title>
154
155 <para>
156 Create a directory where <application>Soprano</application> places some
157 runtime data:
158 </para>
159
160<screen role="root"><userinput>install -m755 -d /srv/soprano</userinput></screen>
161
162 <para>
163 The <command>sopranod</command> accepts some parameters. To configure
164 how the bootscript starts <command>sopranod</command>,
165 create a configuration file:
166 </para>
167
168<screen role="root"><userinput>cat &gt; /etc/sysconfig/soprano &lt;&lt;EOF
169# Begin /etc/sysconfig/soprano
170
171SOPRANO_STORAGE="/srv/soprano"
172SOPRANO_BACKEND="virtuoso" # virtuoso, sesame2, redland
173#SOPRANO_OPTIONS="$SOPRANO_OPTIONS --port 4711" # Default port is 5000
174
175# End /etc/sysconfig/soprano
176EOF</userinput></screen>
177
178<sect3 id="soprano-init">
179 <title>Boot Script</title>
180
181 <note>
182 <para>
183 It is not required to start the <application>Soprano</application>
184 server at boottime for <application>KDE</application>.
185 <application>KDE</application> will start
186 <application>Soprano</application> as needed.
187 </para>
188 </note>
189
190 <para>
191 In order to get <application>Soprano</application> started
192 automatically when the system is booted, install the
193 <filename>/etc/rc.d/init.d/soprano</filename> init script included
194 in the <xref linkend="bootscripts"/> package.
195 </para>
196
197 <indexterm zone="soprano soprano-init">
198 <primary sortas="f-soprano">soprano</primary>
199 </indexterm>
200
201<screen role="root"><userinput>make install-soprano</userinput></screen>
202
203 </sect3>
204
205 </sect2>
206
207 <sect2 role="content">
208 <title>Contents</title>
209
210 <segmentedlist>
211 <segtitle>Installed Programs</segtitle>
212 <segtitle>Installed Libraries</segtitle>
213 <segtitle>Installed Directories</segtitle>
214
215 <seglistitem>
216 <seg>
217 onto2vocabularyclass, sopranocmd, and sopranod
218 </seg>
219 <seg>
220 libsopranoclient.so, libsopranoserver.so, and libsoprano.so
221 </seg>
222 <seg>
223 /usr/include/soprano,
224 /usr/include/Soprano,
225 /usr/lib/soprano, and
226 /usr/share/soprano
227 </seg>
228 </seglistitem>
229 </segmentedlist>
230
231 </sect2>
232
233</sect1>
Note: See TracBrowser for help on using the repository browser.