<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY raptor-download-http "http://download.librdf.org/source/raptor2-&raptor-version;.tar.gz">
  <!ENTITY raptor-download-ftp  " ">
  <!ENTITY raptor-md5sum        "a39f6c07ddb20d7dd2ff1f95fa21e2cd">
  <!ENTITY raptor-size          "1.9 MB">
  <!ENTITY raptor-buildsize     "28 MB (additional 1 MB for the tests)">
  <!ENTITY raptor-time          "0.2 SBU (additional 0.5 SBU for the tests)">
]>

<sect1 id="raptor" xreflabel="Raptor-&raptor-version;">
  <?dbhtml filename="raptor.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-02-26 20:29:00 -0500 (Thu, 26 Feb 2015) $</date>
  </sect1info>

  <title>Raptor-&raptor-version;</title>

  <indexterm zone="raptor">
    <primary sortas="a-Raptor">Raptor</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to Raptor</title>

    <para>
      <application>Raptor</application> is a C library that provides a set of
      parsers and serializers that generate Resource Description Framework
      (RDF) triples.
    </para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&raptor-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&raptor-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &raptor-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &raptor-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &raptor-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &raptor-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">Raptor Dependencies</bridgehead>

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="curl"/> and
      <xref linkend="libxslt"/>
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="gtk-doc"/>,
      <xref linkend="icu"/> and
      <ulink url="http://lloyd.github.com/yajl/">libyajl</ulink>
    </para>

    <para condition="html" role="usernotes">User Notes:
      <ulink url="&blfs-wiki;/raptor"/>
    </para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of Raptor</title>

    <para>
      Install <application>Raptor</application> by running the following
      commands:
    </para>

<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>

    <para>
      To test the results, issue: <command>make check</command>.
    </para>

    <para>
      Now, as the <systemitem class="username">root</systemitem> user:
    </para>

<screen role="root"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="../../xincludes/static-libraries.xml"/>

    <para>
      <option>--with-icu-config=/usr/bin/icu-config</option>: Use
      this switch if you have installed <xref linkend="icu"/> and wish
      to build <application>Raptor</application> with its support.
    </para>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          rapper
        </seg>
        <seg>
          libraptor2.so
        </seg>
        <seg>
          /usr/include/raptor2 and
          /usr/share/gtk-doc/html/raptor2
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="rapper">
        <term><command>rapper</command></term>
        <listitem>
          <para>
            is a RDF parsing and serializing utility.
          </para>
          <indexterm zone="raptor rapper">
            <primary sortas="b-rapper">rapper</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="libraptor2">
        <term><filename class="libraryfile">libraptor2.so</filename></term>
        <listitem>
          <para>
            contains the <application>Raptor</application> API functions.
          </para>
          <indexterm zone="raptor libraptor2">
            <primary sortas="c-libraptor2">libraptor2.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
