2009-07-27 21:22:42 +08:00
|
|
|
<?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;
|
|
|
|
|
2009-07-27 22:06:31 +08:00
|
|
|
<!ENTITY rarian-download-http "&gnome-download-http;/rarian/0.8/rarian-0.8.1.tar.bz2">
|
|
|
|
<!ENTITY rarian-download-ftp "&gnome-download-ftp;/rarian/0.8/rarian-0.8.1.tar.bz2">
|
2009-07-27 21:22:42 +08:00
|
|
|
<!ENTITY rarian-md5sum "75091185e13da67a0ff4279de1757b94">
|
|
|
|
<!ENTITY rarian-size "317 KB">
|
2009-07-27 22:14:43 +08:00
|
|
|
<!ENTITY rarian-buildsize "6 MB">
|
2009-07-27 21:22:42 +08:00
|
|
|
<!ENTITY rarian-time "0.2 SBU">
|
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="rarian" xreflabel="Rarian-&rarian-version;">
|
|
|
|
<?dbhtml filename="rarian.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Rarian-&rarian-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="rarian">
|
|
|
|
<primary sortas="a-Rarian">Rarian</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Rarian</title>
|
|
|
|
|
|
|
|
<para>The <application>Rarian</application> package is a documentation
|
|
|
|
metadata library based on the proposed Freedesktop.org spec. <application>
|
|
|
|
Rarian</application> is designed to be a replacement for <application>
|
|
|
|
ScrollKeeper</application>.</para>
|
|
|
|
|
2016-08-31 12:04:17 +08:00
|
|
|
&lfs7a_checked;
|
2011-12-13 11:04:32 +08:00
|
|
|
|
2009-07-27 21:22:42 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&rarian-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&rarian-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &rarian-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &rarian-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &rarian-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &rarian-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Rarian Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2009-07-27 22:06:31 +08:00
|
|
|
<para role="recommended"><xref linkend="libxslt"/>
|
2009-08-09 15:48:51 +08:00
|
|
|
(<command>rarian-sk-extract</command> will not be built without this) and
|
|
|
|
<xref linkend="DocBook"/> (without this, <application>Rarian</application>
|
|
|
|
scripts source DTDs from the net)</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/rarian"/></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Rarian</title>
|
|
|
|
|
|
|
|
<para>Install <application>Rarian</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2009-09-17 21:32:04 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
|
|
--localstatedir=/var &&
|
2009-07-27 21:22:42 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
2009-07-27 22:01:57 +08:00
|
|
|
<segtitle>Installed Library</segtitle>
|
2009-07-27 21:22:42 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>rarian-example, rarian-sk-config, rarian-sk-extract,
|
|
|
|
rarian-sk-gen-uuid, rarian-sk-get-cl, rarian-sk-get-content-list,
|
|
|
|
rarian-sk-get-extended-content-list, rarian-sk-get-scripts,
|
|
|
|
rarian-sk-install, rarian-sk-migrate, rarian-sk-preinstall,
|
|
|
|
rarian-sk-rebuild, and rarian-sk-update</seg>
|
2009-07-28 18:26:32 +08:00
|
|
|
<seg>librarian.{so,a}</seg>
|
2009-07-27 21:22:42 +08:00
|
|
|
<seg>/usr/include/rarian, /usr/share/help, /usr/share/librarian/manual,
|
2015-09-20 01:54:26 +08:00
|
|
|
/usr/share/librarian/Templates/C, and /var/lib/rarian</seg>
|
2009-07-27 21:22:42 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-example">
|
|
|
|
<term><command>rarian-example</command></term>
|
|
|
|
<listitem>
|
2009-07-27 22:06:31 +08:00
|
|
|
<para>prints a nice list of all available documents found by the
|
2009-07-27 21:22:42 +08:00
|
|
|
library.</para>
|
|
|
|
<indexterm zone="rarian rarian-example">
|
|
|
|
<primary sortas="b-rarian-example">rarian-example</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-config">
|
|
|
|
<term><command>rarian-sk-config</command></term>
|
|
|
|
<listitem>
|
2009-07-27 22:14:43 +08:00
|
|
|
<para>emulates <command>scrollkeeper-config</command>.</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian rarian-sk-config">
|
|
|
|
<primary sortas="b-rarian-sk-config">rarian-sk-config</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-extract">
|
|
|
|
<term><command>rarian-sk-extract</command></term>
|
|
|
|
<listitem>
|
2009-07-28 18:26:32 +08:00
|
|
|
<para>is a wrapper around xsltproc to mimic <command>
|
|
|
|
scrollkeeper-extract</command>.</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian rarian-sk-extract">
|
|
|
|
<primary sortas="b-rarian-sk-extract">rarian-sk-extract</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-gen-uuid">
|
|
|
|
<term><command>rarian-sk-gen-uuid</command></term>
|
|
|
|
<listitem>
|
2009-07-27 22:06:31 +08:00
|
|
|
<para>generates a unique (random) uuid.</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian rarian-sk-gen-uuid">
|
|
|
|
<primary sortas="b-rarian-sk-gen-uuid">rarian-sk-gen-uuid</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-get-cl">
|
|
|
|
<term><command>rarian-sk-get-cl</command></term>
|
|
|
|
<listitem>
|
2009-07-27 22:06:31 +08:00
|
|
|
<para>gets a content list (category tree).</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian rarian-sk-get-cl">
|
|
|
|
<primary sortas="b-rarian-sk-get-cl">rarian-sk-get-cl</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-get-content-list">
|
|
|
|
<term><command>rarian-sk-get-content-list</command></term>
|
|
|
|
<listitem>
|
2009-07-28 18:26:32 +08:00
|
|
|
<para>is a simple wrapper to make calling <command>scrollkeeper-get-cl
|
|
|
|
</command> easier.</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian rarian-sk-get-content-list">
|
2009-07-28 18:26:32 +08:00
|
|
|
<primary sortas="b-rarian-sk-get-content-list">
|
|
|
|
rarian-sk-get-content-list</primary>
|
|
|
|
|
2009-07-27 21:22:42 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-get-extended-content-list">
|
|
|
|
<term><command>rarian-sk-get-extended-content-list</command></term>
|
|
|
|
<listitem>
|
2009-07-28 18:26:32 +08:00
|
|
|
<para>is a simple wrapper to make calling <command>scrollkeeper-get-cl
|
|
|
|
</command> (extended) easier.</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian rarian-sk-get-extended-content-list">
|
2009-07-28 18:26:32 +08:00
|
|
|
<primary sortas="b-rarian-sk-get-extended-content-list">
|
|
|
|
rarian-sk-get-extended-content-list</primary>
|
2009-07-27 21:22:42 +08:00
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-get-scripts">
|
|
|
|
<term><command>rarian-sk-get-scripts</command></term>
|
|
|
|
<listitem>
|
2009-07-27 22:06:31 +08:00
|
|
|
<para><!-- Does nothing. -->
|
2009-07-28 18:26:32 +08:00
|
|
|
emulates <command>scrollkeeper-get-index-from-index-from-docpath</command>,
|
|
|
|
<command>scrollkeeper-get-toc-from-docpath</command>, and
|
|
|
|
<command>scrollkeeper-get-toc-from-id</command>.</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian rarian-sk-get-scripts">
|
|
|
|
<primary sortas="b-rarian-sk-get-scripts">rarian-sk-get-scripts</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-install">
|
|
|
|
<term><command>rarian-sk-install</command></term>
|
|
|
|
<listitem>
|
2009-07-28 18:26:32 +08:00
|
|
|
<para><!--Does nothing.--> emulates <command>scrollkeeper-install
|
|
|
|
</command> and <command>scrollkeeper-uninstall</command>.</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian rarian-sk-install">
|
|
|
|
<primary sortas="b-rarian-sk-install">rarian-sk-install</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-migrate">
|
|
|
|
<term><command>rarian-sk-migrate</command></term>
|
|
|
|
<listitem>
|
2009-07-27 22:06:31 +08:00
|
|
|
<para>takes in a directory full of omf's, reads and parses them and
|
|
|
|
spews out an equivalent scroll file.</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian rarian-sk-migrate">
|
|
|
|
<primary sortas="b-rarian-sk-migrate">rarian-sk-migrate</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-preinstall">
|
|
|
|
<term><command>rarian-sk-preinstall</command></term>
|
|
|
|
<listitem>
|
2009-07-27 22:06:31 +08:00
|
|
|
<para>creates the omf file by reading an existing omf file and
|
2009-07-27 21:22:42 +08:00
|
|
|
replacing the url for a resource with the url.</para>
|
|
|
|
<indexterm zone="rarian rarian-sk-preinstall">
|
|
|
|
<primary sortas="b-rarian-sk-preinstall">rarian-sk-preinstall</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-rebuild">
|
|
|
|
<term><command>rarian-sk-rebuild</command></term>
|
|
|
|
<listitem>
|
2009-07-28 18:26:32 +08:00
|
|
|
<para>is a simple wrapper script to emulate <command>
|
|
|
|
scrollkeeper-rebuilddb</command>.</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian rarian-sk-rebuild">
|
|
|
|
<primary sortas="b-rarian-sk-rebuild">rarian-sk-rebuild</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="rarian-sk-update">
|
|
|
|
<term><command>rarian-sk-update</command></term>
|
|
|
|
<listitem>
|
2010-04-22 03:10:06 +08:00
|
|
|
<para>is compatible with the <command>scrollkeeper-update</command>
|
2009-07-28 18:26:32 +08:00
|
|
|
script that's required to be run when installing new omf files. It
|
|
|
|
converts the omf files into new-style scrolls.</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian rarian-sk-update">
|
|
|
|
<primary sortas="b-rarian-sk-update">rarian-sk-update</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
|
|
<varlistentry id="librarian">
|
|
|
|
<term><filename class='libraryfile'>librarian.{so,a}</filename></term>
|
|
|
|
<listitem>
|
2009-07-27 22:06:31 +08:00
|
|
|
<para>is the API to build a list of available meta data files and
|
|
|
|
allows access to these.</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<indexterm zone="rarian librarian">
|
|
|
|
<primary sortas="c-librarian">librarian.{so,a}</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|