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