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 "273c3403aeb6d8a43e78a4887f50a385">
|
---|
10 | <!ENTITY soprano-size "1.9 MB">
|
---|
11 | <!ENTITY soprano-buildsize "23 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><application>Soprano</application> (formally known as QRDF) is a
|
---|
33 | library which provides a nice Qt interface to RDF storage solutions. It
|
---|
34 | has a modular structure which allows to replace the actual RDF storage
|
---|
35 | implementation used.</para>
|
---|
36 |
|
---|
37 | &lfs72_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>Download (HTTP): <ulink url="&soprano-download-http;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download (FTP): <ulink url="&soprano-download-ftp;"/></para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download MD5 sum: &soprano-md5sum;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Download size: &soprano-size;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated disk space required: &soprano-buildsize;</para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Estimated build time: &soprano-time;</para>
|
---|
58 | </listitem>
|
---|
59 | </itemizedlist>
|
---|
60 | <!--
|
---|
61 | no longer required in 4.6
|
---|
62 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
63 | <itemizedlist spacing='compact'>
|
---|
64 | <listitem>
|
---|
65 | <para>Required patch: <ulink
|
---|
66 | url="&equinox-download;/soprano-&soprano-version;-redland_fix-1.patch"/></para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 | -->
|
---|
70 | <bridgehead renderas="sect3">Soprano Dependencies</bridgehead>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
73 | <para role="required">
|
---|
74 | <xref linkend="cmake"/>,
|
---|
75 | <xref linkend="qt"/>,
|
---|
76 | <xref linkend="dbus"/> and
|
---|
77 | <xref linkend="redland"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
81 | <para role="recommended">
|
---|
82 | <xref linkend="libiodbc"/> (required for the Virtuoso backend. Additionally,
|
---|
83 | <xref linkend="virtuoso"/> is required as a runtime dependency for this
|
---|
84 | backend.)
|
---|
85 | </para>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
88 | <para role="optional">
|
---|
89 | <xref linkend="doxygen"/> (to build the documentation),
|
---|
90 | <ulink url="http://sourceforge.net/projects/clucene/">CLucene</ulink>
|
---|
91 | (no longer required to use soprano in KDE) and
|
---|
92 | <ulink url="http://www.openrdf.org/">Sesame2</ulink>
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | <para condition="html" role="usernotes">User Notes:
|
---|
96 | <ulink url="&blfs-wiki;/soprano"/></para>
|
---|
97 |
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2 role="installation">
|
---|
101 | <title>Installation of Soprano</title>
|
---|
102 |
|
---|
103 | <para>Install <application>soprano</application> by running the following
|
---|
104 | commands:</para>
|
---|
105 |
|
---|
106 | <screen><userinput>mkdir build &&
|
---|
107 | cd build &&
|
---|
108 | cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
|
---|
109 | make</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 | <sect2 role="commands">
|
---|
117 | <title>Command Explanations</title>
|
---|
118 |
|
---|
119 | <para><option>-DSOPRANO_DISABLE_CLUCENE_INDEX=1</option>: Soprano might not
|
---|
120 | build with recent Clucene versions. Use this option to fix it.</para>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2 role="configuration">
|
---|
125 | <title>Configuration of Soprano</title>
|
---|
126 |
|
---|
127 | <para>Create a directory where <application>soprano</application> places some
|
---|
128 | runtime data:</para>
|
---|
129 |
|
---|
130 | <screen role="root"><userinput>install -m755 -d /srv/soprano</userinput></screen>
|
---|
131 |
|
---|
132 | <para>The <application>soprano</application>d accepts some parameter. To not
|
---|
133 | hardcode them in the startscript, create a configuration file:</para>
|
---|
134 |
|
---|
135 | <screen role="root"><userinput>cat > /etc/sysconfig/soprano <<EOF
|
---|
136 | # Begin /etc/sysconfig/soprano
|
---|
137 |
|
---|
138 | SOPRANO_STORAGE="/srv/soprano"
|
---|
139 | SOPRANO_BACKEND="virtuoso" # virtuoso, sesame2, redland
|
---|
140 | #SOPRANO_OPTIONS="$SOPRANO_OPTIONS --port 4711" # Default port is 5000
|
---|
141 |
|
---|
142 | # End /etc/sysconfig/soprano
|
---|
143 | EOF</userinput></screen>
|
---|
144 |
|
---|
145 |
|
---|
146 | <sect3 id="soprano-init">
|
---|
147 | <title>Boot Script</title>
|
---|
148 |
|
---|
149 | <note>
|
---|
150 | <para>It is not required to start the soprano server at boottime for KDE.
|
---|
151 | KDE will start soprano as needed.</para>
|
---|
152 | </note>
|
---|
153 |
|
---|
154 | <para>In order to get <application>Soprano</application> started
|
---|
155 | automatically when the system is booted, install the
|
---|
156 | <filename>/etc/rc.d/init.d/soprano</filename> init script included
|
---|
157 | in the <xref linkend="bootscripts"/> package.</para>
|
---|
158 |
|
---|
159 | <indexterm zone="soprano soprano-init">
|
---|
160 | <primary sortas="f-soprano">soprano</primary>
|
---|
161 | </indexterm>
|
---|
162 |
|
---|
163 | <screen role="root"><userinput>make install-soprano</userinput></screen>
|
---|
164 |
|
---|
165 | </sect3>
|
---|
166 |
|
---|
167 | </sect2>
|
---|
168 |
|
---|
169 | <sect2 role="content">
|
---|
170 | <title>Contents</title>
|
---|
171 |
|
---|
172 | <segmentedlist>
|
---|
173 | <segtitle>Installed Programs</segtitle>
|
---|
174 | <segtitle>Installed Libraries</segtitle>
|
---|
175 | <segtitle>Installed Directories</segtitle>
|
---|
176 |
|
---|
177 | <seglistitem>
|
---|
178 | <seg>sopranod, sopranocmd and onto2vocabularyclass</seg>
|
---|
179 | <seg>libsoprano.so, libsopranoclient.so, libsopranoserver.so and
|
---|
180 | several libraries in /usr/lib/soprano/</seg>
|
---|
181 | <seg>/usr/include/soprano, /usr/include/Soprano and /usr/share/soprano</seg>
|
---|
182 | </seglistitem>
|
---|
183 | </segmentedlist>
|
---|
184 | <!--
|
---|
185 | <variablelist>
|
---|
186 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
187 | <?dbfo list-presentation="list"?>
|
---|
188 | <?dbhtml list-presentation="table"?>
|
---|
189 |
|
---|
190 | <varlistentry id="a-soprano">
|
---|
191 | <term><command>soprano</command></term>
|
---|
192 | <listitem>
|
---|
193 | <para>is a testing utility for soprano-generated build trees.</para>
|
---|
194 | <indexterm zone="a-soprano soprano">
|
---|
195 | <primary sortas="b-soprano">soprano</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | </variablelist>
|
---|
201 | -->
|
---|
202 | </sect2>
|
---|
203 |
|
---|
204 | </sect1>
|
---|