[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 " ">
|
---|
[7b1b9d72] | 9 | <!ENTITY raptor-md5sum "a39f6c07ddb20d7dd2ff1f95fa21e2cd">
|
---|
| 10 | <!ENTITY raptor-size "1.9 MB">
|
---|
| 11 | <!ENTITY raptor-buildsize "28 MB (additional 1 MB for the tests)">
|
---|
[18310d86] | 12 | <!ENTITY raptor-time "0.2 SBU (additional 0.5 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 |
|
---|
[7263a049] | 34 | &lfs112_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>
|
---|
| 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>
|
---|
| 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 |
|
---|
[5b38e37] | 95 | <para condition="html" role="usernotes">User Notes:
|
---|
| 96 | <ulink url="&blfs-wiki;/raptor"/>
|
---|
| 97 | </para>
|
---|
[47969a6] | 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
[9b7d496] | 101 | <title>Installation of Raptor</title>
|
---|
[47969a6] | 102 |
|
---|
[90691c23] | 103 | <para>
|
---|
| 104 | First, apply a patch that fixes a couple of security issues:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <screen><userinput remap="pre">patch -Np1 -i ../raptor-&raptor-version;-security_fixes-1.patch</userinput></screen>
|
---|
| 108 |
|
---|
[5b38e37] | 109 | <para>
|
---|
| 110 | Install <application>Raptor</application> by running the following
|
---|
| 111 | commands:
|
---|
| 112 | </para>
|
---|
[47969a6] | 113 |
|
---|
[5b38e37] | 114 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[47969a6] | 115 | make</userinput></screen>
|
---|
| 116 |
|
---|
[028759b] | 117 | <para>
|
---|
[18310d86] | 118 | To test the results, issue: <command>make check</command>.
|
---|
[33b043b] | 119 | Several of the XML tests may fail.
|
---|
[028759b] | 120 | </para>
|
---|
| 121 |
|
---|
[5b38e37] | 122 | <para>
|
---|
| 123 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 124 | </para>
|
---|
[47969a6] | 125 |
|
---|
| 126 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 127 |
|
---|
| 128 | </sect2>
|
---|
[3bb53bb] | 129 |
|
---|
[47969a6] | 130 | <sect2 role="commands">
|
---|
| 131 | <title>Command Explanations</title>
|
---|
[d298c5f] | 132 |
|
---|
[5b38e37] | 133 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 134 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 135 |
|
---|
| 136 | <para>
|
---|
[cd50e2e] | 137 | <option>--with-icu-config=/usr/bin/icu-config</option>: Use
|
---|
[5b38e37] | 138 | this switch if you have installed <xref linkend="icu"/> and wish
|
---|
| 139 | to build <application>Raptor</application> with its support.
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
[47969a6] | 142 | </sect2>
|
---|
[3bb53bb] | 143 |
|
---|
[47969a6] | 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Libraries</segtitle>
|
---|
[9b7d496] | 150 | <segtitle>Installed Directories</segtitle>
|
---|
[47969a6] | 151 |
|
---|
| 152 | <seglistitem>
|
---|
[5b38e37] | 153 | <seg>
|
---|
| 154 | rapper
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | libraptor2.so
|
---|
| 158 | </seg>
|
---|
| 159 | <seg>
|
---|
| 160 | /usr/include/raptor2 and
|
---|
| 161 | /usr/share/gtk-doc/html/raptor2
|
---|
| 162 | </seg>
|
---|
[47969a6] | 163 | </seglistitem>
|
---|
| 164 | </segmentedlist>
|
---|
| 165 |
|
---|
| 166 | <variablelist>
|
---|
| 167 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 168 | <?dbfo list-presentation="list"?>
|
---|
| 169 | <?dbhtml list-presentation="table"?>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="rapper">
|
---|
| 172 | <term><command>rapper</command></term>
|
---|
| 173 | <listitem>
|
---|
[5b38e37] | 174 | <para>
|
---|
[4c24eb0a] | 175 | is a RDF parsing and serializing utility
|
---|
[5b38e37] | 176 | </para>
|
---|
[47969a6] | 177 | <indexterm zone="raptor rapper">
|
---|
| 178 | <primary sortas="b-rapper">rapper</primary>
|
---|
| 179 | </indexterm>
|
---|
| 180 | </listitem>
|
---|
| 181 | </varlistentry>
|
---|
| 182 |
|
---|
[5b38e37] | 183 | <varlistentry id="libraptor2">
|
---|
| 184 | <term><filename class="libraryfile">libraptor2.so</filename></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>
|
---|
[4c24eb0a] | 187 | contains the <application>Raptor</application> API functions
|
---|
[5b38e37] | 188 | </para>
|
---|
| 189 | <indexterm zone="raptor libraptor2">
|
---|
| 190 | <primary sortas="c-libraptor2">libraptor2.so</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
[47969a6] | 195 | </variablelist>
|
---|
| 196 |
|
---|
| 197 | </sect2>
|
---|
| 198 |
|
---|
| 199 | </sect1>
|
---|