<?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 redland-download-http "http://download.librdf.org/source/redland-&redland-version;.tar.gz">
  <!ENTITY redland-download-ftp  " ">
  <!ENTITY redland-md5sum        "e5be03eda13ef68aabab6e42aa67715e">
  <!ENTITY redland-size          "1.6 MB">
  <!ENTITY redland-buildsize     "18 MB">
  <!ENTITY redland-time          "0.2 SBU">
]>

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

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

  <title>Redland-&redland-version;</title>

  <indexterm zone="redland">
    <primary sortas="a-Redland">Redland</primary>
  </indexterm>

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

    <para><application>Redland</application> is a set of free software C libraries
    that provide support for the Resource Description Framework (RDF). </para>

    &lfs77_checked;

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

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

    <bridgehead renderas="sect4">Required</bridgehead>
    <para role="required">
      <xref linkend="rasqal"/>
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="db"/>,
      <xref linkend="libiodbc"/>,
      <xref linkend="sqlite"/>,
      <xref linkend="mariadb"/> or <ulink url="http://www.mysql.com/">MySQL</ulink>,
      <xref linkend="postgresql"/>,
      <ulink url="&sourceforge-repo;/virtuoso/">virtuoso</ulink>, and
      <ulink url="http://sourceforge.net/projects/threestore/">3store</ulink>
    </para>

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

  </sect2>

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

    <para>Install <application>Redland</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"/>

  </sect2>

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

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

      <seglistitem>
        <seg>rdfproc, redland-config and redland-db-upgrade</seg>
        <seg>librdf.so and /usr/lib/redland/librdf_storage_*.so</seg>
        <seg>/usr/lib/redland, /usr/share/gtk-doc/html/redland and
        /usr/share/redland</seg>
      </seglistitem>
    </segmentedlist>

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

      <varlistentry id="rdfproc">
        <term><command>rdfproc</command></term>
        <listitem>
          <para>is the Redland RDF processor utility.</para>
          <indexterm zone="redland rdfproc">
            <primary sortas="b-rdfproc">rdfproc</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="redland-config">
        <term><command>redland-config</command></term>
        <listitem>
          <para>is a script to get information about the installed version
          of Redland.</para>
          <indexterm zone="redland redland-config">
            <primary sortas="b-redland-config">redland-config</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="redland-db-upgrade">
        <term><command>redland-db-upgrade</command></term>
        <listitem>
          <para>upgrades older Redland databases to 0.9.12 format.</para>
          <indexterm zone="redland redland-db-upgrade">
            <primary sortas="b-redland-db-upgrade">redland-db-upgrade</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
