[47969a6] | 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 "bef6147f1245cd99aa9ad1a37f7d48ac">
|
---|
| 10 | <!ENTITY soprano-size "1.9 MB">
|
---|
| 11 | <!ENTITY soprano-buildsize "23 MB">
|
---|
| 12 | <!ENTITY soprano-time "1.1 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> Software library that provides
|
---|
| 33 | an object oriented C++/Qt4 framework for RDF data.</para>
|
---|
| 34 |
|
---|
| 35 | &lfs67_checked;
|
---|
| 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>Download (HTTP): <ulink url="&soprano-download-http;"/></para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (FTP): <ulink url="&soprano-download-ftp;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download MD5 sum: &soprano-md5sum;</para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download size: &soprano-size;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Estimated disk space required: &soprano-buildsize;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated build time: &soprano-time;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </itemizedlist>
|
---|
| 58 | <!--
|
---|
| 59 | no longer required in 4.6
|
---|
| 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 61 | <itemizedlist spacing='compact'>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Required patch: <ulink
|
---|
| 64 | url="&equinox-download;/soprano-&soprano-version;-redland_fix-1.patch"/></para>
|
---|
| 65 | </listitem>
|
---|
| 66 | </itemizedlist>
|
---|
| 67 | -->
|
---|
| 68 | <bridgehead renderas="sect3">Soprano Dependencies</bridgehead>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 71 | <para role="required">
|
---|
| 72 | <xref linkend="qt4"/>,
|
---|
| 73 | <xref linkend="cmake"/>,
|
---|
| 74 | <xref linkend="rasqal"/>,
|
---|
| 75 | <xref linkend="raptor"/>,
|
---|
| 76 | <xref linkend="redland"/>
|
---|
| 77 | </para>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 80 | <para role="recommended">
|
---|
| 81 | <xref linkend="clucene"/>,
|
---|
| 82 | <xref linkend="jdk"/>
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <para condition="html" role="usernotes">User Notes:
|
---|
| 86 | <ulink url="&blfs-wiki;/soprano"/></para>
|
---|
| 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of Soprano</title>
|
---|
| 92 |
|
---|
| 93 | <para>Install <application>soprano</application> by running the following
|
---|
| 94 | commands:</para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput>mkdir build &&
|
---|
| 97 | cd build</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | <para>Prepare the package for compilation:</para>
|
---|
| 100 |
|
---|
| 101 | <screen><userinput>cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
|
---|
| 102 | make</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 105 |
|
---|
| 106 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 107 |
|
---|
| 108 | </sect2>
|
---|
| 109 | <!--
|
---|
| 110 | <sect2 role="commands">
|
---|
| 111 | <title>Command Explanations</title>
|
---|
| 112 |
|
---|
| 113 | <para><option>- -xyz</option>: This option is set for ...</para>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 | -->
|
---|
| 117 | <sect2 role="configuration">
|
---|
| 118 | <title>Configuration of Soprano</title>
|
---|
| 119 |
|
---|
| 120 | <para>Create a directory where <application>soprano</application> places some
|
---|
| 121 | runtime data:</para>
|
---|
| 122 |
|
---|
| 123 | <screen role="root"><userinput>install -m755 -d /srv/soprano</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | <para>The <application>soprano</application>d accepts some parameter. To not
|
---|
| 126 | hardcode them in the startscript, create a configuratuion file:</para>
|
---|
| 127 |
|
---|
| 128 | <screen role="root"><userinput>cat > /etc/sysconfig/soprano <<EOF
|
---|
| 129 | # Begin /etc/sysconfig/soprano
|
---|
| 130 |
|
---|
| 131 | SOPRANO_STORAGE="/srv/soprano"
|
---|
| 132 | SOPRANO_BACKEND="virtuosobackend" # virtuoso, sesame2, redland
|
---|
| 133 | SOPRANO_OPTIONS="--with-index" # using CLucene index
|
---|
| 134 | #SOPRANO_OPTIONS="$SOPRANO_OPTIONS --port 4711" # Default port is 5000
|
---|
| 135 |
|
---|
| 136 | # End /etc/sysconfig/soprano
|
---|
| 137 | EOF</userinput></screen>
|
---|
| 138 |
|
---|
| 139 | <sect3 id="soprano-init">
|
---|
| 140 | <title>Boot Script</title>
|
---|
| 141 |
|
---|
| 142 | <para>In order to get <application>Soprano</application> started
|
---|
| 143 | automatically when the system is booted, install the
|
---|
| 144 | <filename>/etc/rc.d/init.d/soprano</filename> init script included
|
---|
| 145 | in the <xref linkend="bootscripts"/> package.</para>
|
---|
| 146 |
|
---|
| 147 | <indexterm zone="soprano soprano-init">
|
---|
| 148 | <primary sortas="f-soprano">soprano</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 |
|
---|
| 151 | <screen role="root"><userinput>make install-soprano</userinput></screen>
|
---|
| 152 |
|
---|
| 153 | </sect3>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2 role="content">
|
---|
| 158 | <title>Contents</title>
|
---|
| 159 |
|
---|
| 160 | <segmentedlist>
|
---|
| 161 | <segtitle>Installed Programs</segtitle>
|
---|
| 162 | <segtitle>Installed Libraries</segtitle>
|
---|
| 163 | <segtitle>Installed Directory</segtitle>
|
---|
| 164 |
|
---|
| 165 | <seglistitem>
|
---|
| 166 | <seg>sopranod, sopranocmd, onto2vocabularyclass</seg>
|
---|
| 167 | <seg>libsoprano.so, libsopranoclient.so, libsopranoserver.so and
|
---|
| 168 | several other libs in /usr/lib/soprano/</seg>
|
---|
| 169 | <seg>/usr/{lib,share}/soprano</seg>
|
---|
| 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
| 172 | <!--
|
---|
| 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="a-soprano">
|
---|
| 179 | <term><command>soprano</command></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>is a testing utility for soprano-generated build trees.</para>
|
---|
| 182 | <indexterm zone="a-soprano soprano">
|
---|
| 183 | <primary sortas="b-soprano">soprano</primary>
|
---|
| 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | </variablelist>
|
---|
| 189 | -->
|
---|
| 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | </sect1>
|
---|