source: server/other/soprano.xml@ c67fbf64

systemd-11177
Last change on this file since c67fbf64 was c67fbf64, checked in by Krejzi <krejzi@…>, 11 years ago

Remove packages that are now in lfs systemd from blfs.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@11302 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.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 soprano-download-http "&sourceforge-repo;/soprano/soprano-&soprano-version;.tar.bz2">
8 <!ENTITY soprano-download-ftp " ">
9 <!ENTITY soprano-md5sum "60ce910cf3c8e4655c614b45d73f2b2a">
10 <!ENTITY soprano-size "1.9 MB">
11 <!ENTITY soprano-buildsize "31 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 <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 &lfs73_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">Soprano Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="cmake"/>,
80 <xref linkend="qt4"/> and
81 <xref linkend="redland"/>
82 </para>
83
84 <bridgehead renderas="sect4">Recommended (Required if building KDE)</bridgehead>
85 <para role="recommended">
86 <xref linkend="libiodbc"/> (required for the Virtuoso backend. Additionally,
87 <xref linkend="virtuoso"/> is required as a runtime dependency for this
88 backend.)
89 </para>
90
91 <bridgehead renderas="sect4">Optional</bridgehead>
92 <para role="optional">
93 <xref linkend="doxygen"/> (to build the documentation),
94 <ulink url="http://sourceforge.net/projects/clucene/">CLucene</ulink>
95 (no longer required to use Soprano in KDE) and
96 <ulink url="http://www.openrdf.org/">Sesame2</ulink>
97 </para>
98
99 <para condition="html" role="usernotes">User Notes:
100 <ulink url="&blfs-wiki;/soprano"/>
101 </para>
102 </sect2>
103
104 <sect2 role="installation">
105 <title>Installation of Soprano</title>
106
107 <para>Install <application>soprano</application> by running the following
108 commands:</para>
109
110<screen><userinput>mkdir build &amp;&amp;
111cd build &amp;&amp;
112cmake -DCMAKE_INSTALL_PREFIX=/usr \
113 -DCMAKE_BUILD_TYPE=Release \
114 .. &amp;&amp;
115make</userinput></screen>
116
117 <para>This package does not come with a working test suite.</para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>make install</userinput></screen>
124
125</sect2>
126 <sect2 role="commands">
127 <title>Command Explanations</title>
128
129 <para>
130 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
131 to apply higher level of the compiler optimizations.
132 </para>
133
134 <para>
135 <parameter>-DSOPRANO_DISABLE_CLUCENE_INDEX=1</parameter>:
136 <application>Soprano</application> might not build with recent
137 <application>Clucene</application> versions. Use this switch
138 to fix it.
139 </para>
140
141 </sect2>
142
143 <sect2 role="configuration">
144 <title>Configuration of Soprano</title>
145
146 <para>
147 Create a directory where <application>Soprano</application> places some
148 runtime data:
149 </para>
150
151<screen role="root"><userinput>install -m755 -d /srv/soprano</userinput></screen>
152
153 <para>
154 The <command>sopranod</command> accepts some parameters. To configure
155 how the bootscript starts <command>sopranod</command>,
156 create a configuration file:
157 </para>
158
159<screen role="root"><userinput>cat &gt; /etc/sysconfig/soprano &lt;&lt;EOF
160# Begin /etc/sysconfig/soprano
161
162SOPRANO_STORAGE="/srv/soprano"
163SOPRANO_BACKEND="virtuoso" # virtuoso, sesame2, redland
164#SOPRANO_OPTIONS="$SOPRANO_OPTIONS --port 4711" # Default port is 5000
165
166# End /etc/sysconfig/soprano
167EOF</userinput></screen>
168
169<sect3 id="soprano-init">
170 <title>Boot Script</title>
171
172 <note>
173 <para>
174 It is not required to start the <application>Soprano</application>
175 server at boottime for <application>KDE</application>.
176 <application>KDE</application> will start
177 <application>Soprano</application> as needed.
178 </para>
179 </note>
180
181 <para>
182 In order to get <application>Soprano</application> started
183 automatically when the system is booted, install the
184 <filename>/etc/rc.d/init.d/soprano</filename> init script included
185 in the <xref linkend="bootscripts"/> package.
186 </para>
187
188 <indexterm zone="soprano soprano-init">
189 <primary sortas="f-soprano">soprano</primary>
190 </indexterm>
191
192<screen role="root"><userinput>make install-soprano</userinput></screen>
193
194 </sect3>
195
196 </sect2>
197
198 <sect2 role="content">
199 <title>Contents</title>
200
201 <segmentedlist>
202 <segtitle>Installed Programs</segtitle>
203 <segtitle>Installed Libraries</segtitle>
204 <segtitle>Installed Directories</segtitle>
205
206 <seglistitem>
207 <seg>
208 onto2vocabularyclass, sopranocmd and sopranod
209 </seg>
210 <seg>
211 libsopranoclient.so, libsopranoserver.so and libsoprano.so
212 </seg>
213 <seg>
214 /usr/include/soprano,
215 /usr/include/Soprano,
216 /usr/lib/soprano and
217 /usr/share/soprano
218 </seg>
219 </seglistitem>
220 </segmentedlist>
221
222 </sect2>
223
224</sect1>
Note: See TracBrowser for help on using the repository browser.