[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 |
|
---|
[c6b192c] | 7 | <!ENTITY raptor-download-http "https://download.librdf.org/source/raptor2-&raptor-version;.tar.gz">
|
---|
[47969a6] | 8 | <!ENTITY raptor-download-ftp " ">
|
---|
[5850910] | 9 | <!ENTITY raptor-md5sum "0a71f13b6eaa0a04bf411083d89d7bc2">
|
---|
| 10 | <!ENTITY raptor-size "1.7 MB">
|
---|
| 11 | <!ENTITY raptor-buildsize "25 MB (additional 2 MB for the tests)">
|
---|
| 12 | <!ENTITY raptor-time "0.1 SBU (additional 0.3 SBU for the tests)">
|
---|
[47969a6] | 13 | ]>
|
---|
| 14 |
|
---|
[8f1699f2] | 15 | <sect1 id="raptor" xreflabel="Raptor-&raptor-version;">
|
---|
[47969a6] | 16 | <?dbhtml filename="raptor.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Raptor-&raptor-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="raptor">
|
---|
[8f1699f2] | 22 | <primary sortas="a-Raptor">Raptor</primary>
|
---|
[47969a6] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Raptor</title>
|
---|
| 27 |
|
---|
[5b38e37] | 28 | <para>
|
---|
| 29 | <application>Raptor</application> is a C library that provides a set of
|
---|
| 30 | parsers and serializers that generate Resource Description Framework
|
---|
| 31 | (RDF) triples.
|
---|
| 32 | </para>
|
---|
[47969a6] | 33 |
|
---|
[bd550c1] | 34 | &lfs113_checked;
|
---|
[47969a6] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[5b38e37] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&raptor-download-http;"/>
|
---|
| 41 | </para>
|
---|
[47969a6] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[5b38e37] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&raptor-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[47969a6] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[5b38e37] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &raptor-md5sum;
|
---|
| 51 | </para>
|
---|
[47969a6] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[5b38e37] | 54 | <para>
|
---|
| 55 | Download size: &raptor-size;
|
---|
| 56 | </para>
|
---|
[47969a6] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[5b38e37] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &raptor-buildsize;
|
---|
| 61 | </para>
|
---|
[47969a6] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[5b38e37] | 64 | <para>
|
---|
| 65 | Estimated build time: &raptor-time;
|
---|
| 66 | </para>
|
---|
[47969a6] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
[5850910] | 69 | <!--
|
---|
[90691c23] | 70 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 71 | <itemizedlist spacing="compact">
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>
|
---|
| 74 | Required patch:
|
---|
| 75 | <ulink url="&patch-root;/raptor-&raptor-version;-security_fixes-1.patch"/>
|
---|
| 76 | </para>
|
---|
| 77 | </listitem>
|
---|
| 78 | </itemizedlist>
|
---|
[5850910] | 79 | -->
|
---|
[3bb53bb] | 80 | <bridgehead renderas="sect3">Raptor Dependencies</bridgehead>
|
---|
[47969a6] | 81 |
|
---|
| 82 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 83 | <para role="required">
|
---|
[5b38e37] | 84 | <xref linkend="curl"/> and
|
---|
| 85 | <xref linkend="libxslt"/>
|
---|
[47969a6] | 86 | </para>
|
---|
[5b38e37] | 87 |
|
---|
| 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 89 | <para role="optional">
|
---|
| 90 | <xref linkend="gtk-doc"/>,
|
---|
| 91 | <xref linkend="icu"/> and
|
---|
[6e2eb5cf] | 92 | <ulink url="https://lloyd.github.io/yajl/">libyajl</ulink>
|
---|
[47969a6] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
[9b7d496] | 98 | <title>Installation of Raptor</title>
|
---|
[5850910] | 99 | <!--
|
---|
[90691c23] | 100 | <para>
|
---|
| 101 | First, apply a patch that fixes a couple of security issues:
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <screen><userinput remap="pre">patch -Np1 -i ../raptor-&raptor-version;-security_fixes-1.patch</userinput></screen>
|
---|
[5850910] | 105 | -->
|
---|
[5b38e37] | 106 | <para>
|
---|
| 107 | Install <application>Raptor</application> by running the following
|
---|
| 108 | commands:
|
---|
| 109 | </para>
|
---|
[47969a6] | 110 |
|
---|
[5b38e37] | 111 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[47969a6] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[028759b] | 114 | <para>
|
---|
[18310d86] | 115 | To test the results, issue: <command>make check</command>.
|
---|
[33b043b] | 116 | Several of the XML tests may fail.
|
---|
[028759b] | 117 | </para>
|
---|
| 118 |
|
---|
[5b38e37] | 119 | <para>
|
---|
| 120 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
[47969a6] | 122 |
|
---|
| 123 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
[3bb53bb] | 126 |
|
---|
[47969a6] | 127 | <sect2 role="commands">
|
---|
| 128 | <title>Command Explanations</title>
|
---|
[d298c5f] | 129 |
|
---|
[5b38e37] | 130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 131 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
[cd50e2e] | 134 | <option>--with-icu-config=/usr/bin/icu-config</option>: Use
|
---|
[5b38e37] | 135 | this switch if you have installed <xref linkend="icu"/> and wish
|
---|
| 136 | to build <application>Raptor</application> with its support.
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
[47969a6] | 139 | </sect2>
|
---|
[3bb53bb] | 140 |
|
---|
[47969a6] | 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Libraries</segtitle>
|
---|
[9b7d496] | 147 | <segtitle>Installed Directories</segtitle>
|
---|
[47969a6] | 148 |
|
---|
| 149 | <seglistitem>
|
---|
[5b38e37] | 150 | <seg>
|
---|
| 151 | rapper
|
---|
| 152 | </seg>
|
---|
| 153 | <seg>
|
---|
| 154 | libraptor2.so
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | /usr/include/raptor2 and
|
---|
| 158 | /usr/share/gtk-doc/html/raptor2
|
---|
| 159 | </seg>
|
---|
[47969a6] | 160 | </seglistitem>
|
---|
| 161 | </segmentedlist>
|
---|
| 162 |
|
---|
| 163 | <variablelist>
|
---|
| 164 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 165 | <?dbfo list-presentation="list"?>
|
---|
| 166 | <?dbhtml list-presentation="table"?>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="rapper">
|
---|
| 169 | <term><command>rapper</command></term>
|
---|
| 170 | <listitem>
|
---|
[5b38e37] | 171 | <para>
|
---|
[4c24eb0a] | 172 | is a RDF parsing and serializing utility
|
---|
[5b38e37] | 173 | </para>
|
---|
[47969a6] | 174 | <indexterm zone="raptor rapper">
|
---|
| 175 | <primary sortas="b-rapper">rapper</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
[5b38e37] | 180 | <varlistentry id="libraptor2">
|
---|
| 181 | <term><filename class="libraryfile">libraptor2.so</filename></term>
|
---|
| 182 | <listitem>
|
---|
| 183 | <para>
|
---|
[4c24eb0a] | 184 | contains the <application>Raptor</application> API functions
|
---|
[5b38e37] | 185 | </para>
|
---|
| 186 | <indexterm zone="raptor libraptor2">
|
---|
| 187 | <primary sortas="c-libraptor2">libraptor2.so</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
[47969a6] | 192 | </variablelist>
|
---|
| 193 |
|
---|
| 194 | </sect2>
|
---|
| 195 |
|
---|
| 196 | </sect1>
|
---|