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