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"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>Rarian-&rarian-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="rarian">
|
|
|
|
<primary sortas="a-Rarian">Rarian</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Rarian</title>
|
|
|
|
|
2020-03-18 18:00:14 +08:00
|
|
|
<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>
|
2009-07-27 21:22:42 +08:00
|
|
|
|
2021-08-29 23:32:39 +08:00
|
|
|
&lfs110a_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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&rarian-download-http;"/>
|
|
|
|
</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&rarian-download-ftp;"/>
|
|
|
|
</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &rarian-md5sum;
|
|
|
|
</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
Download size: &rarian-size;
|
|
|
|
</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &rarian-buildsize;
|
|
|
|
</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &rarian-time;
|
|
|
|
</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Rarian Dependencies</bridgehead>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para role="recommended">
|
|
|
|
<xref linkend="libxslt"/> (<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>
|
|
|
|
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Rarian</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
|
2016-11-22 04:31:40 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
|
|
--disable-static \
|
2009-09-17 21:32:04 +08:00
|
|
|
--localstatedir=/var &&
|
2009-07-27 21:22:42 +08:00
|
|
|
make</userinput></screen>
|
|
|
|
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
This package does not come with a test suite.
|
|
|
|
</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2016-11-22 04:31:40 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
2009-07-27 21:22:42 +08:00
|
|
|
<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>
|
2016-11-22 04:31:40 +08:00
|
|
|
<seg>librarian.so</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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
prints a nice list of all available documents found by the
|
2021-02-19 23:20:16 +08:00
|
|
|
library
|
2020-03-18 18:00:14 +08:00
|
|
|
</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
emulates <command>scrollkeeper-config</command>
|
2020-03-18 18:00:14 +08:00
|
|
|
</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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
is a wrapper around xsltproc to mimic <command>
|
2021-02-19 23:20:16 +08:00
|
|
|
scrollkeeper-extract</command>
|
2020-03-18 18:00:14 +08:00
|
|
|
</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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
generates a unique (random) uuid
|
2020-03-18 18:00:14 +08:00
|
|
|
</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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
2021-02-19 23:20:16 +08:00
|
|
|
gets a content list (category tree)
|
2020-03-18 18:00:14 +08:00
|
|
|
</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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
is a simple wrapper to make calling <command>scrollkeeper-get-cl
|
2021-02-19 23:20:16 +08:00
|
|
|
</command> easier
|
2020-03-18 18:00:14 +08:00
|
|
|
</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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
is a simple wrapper to make calling <command>scrollkeeper-get-cl
|
2021-02-19 23:20:16 +08:00
|
|
|
</command> (extended) easier
|
2020-03-18 18:00:14 +08:00
|
|
|
</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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
emulates <command>
|
|
|
|
scrollkeeper-get-index-from-index-from-docpath</command>, <command>
|
|
|
|
scrollkeeper-get-toc-from-docpath</command>, and <command>
|
2021-02-19 23:20:16 +08:00
|
|
|
scrollkeeper-get-toc-from-id</command>
|
2020-03-18 18:00:14 +08:00
|
|
|
</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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
emulates <command>scrollkeeper-install</command> and
|
2021-02-19 23:20:16 +08:00
|
|
|
<command>scrollkeeper-uninstall</command>
|
2020-03-18 18:00:14 +08:00
|
|
|
</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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
takes in a directory full of omf's, reads and parses them and
|
2021-02-19 23:20:16 +08:00
|
|
|
spews out an equivalent scroll file
|
2020-03-18 18:00:14 +08:00
|
|
|
</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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
creates the omf file by reading an existing omf file and
|
2021-02-19 23:20:16 +08:00
|
|
|
replacing the url for a resource with the url
|
2020-03-18 18:00:14 +08:00
|
|
|
</para>
|
2009-07-27 21:22:42 +08:00
|
|
|
<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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
is a simple wrapper script to emulate <command>
|
2021-02-19 23:20:16 +08:00
|
|
|
scrollkeeper-rebuilddb</command>
|
2020-03-18 18:00:14 +08:00
|
|
|
</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>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
is compatible with the <command>scrollkeeper-update</command>
|
|
|
|
script that's required to be run when installing new omf files. It
|
2021-02-19 23:20:16 +08:00
|
|
|
converts the omf files into new-style scrolls
|
2020-03-18 18:00:14 +08:00
|
|
|
</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">
|
2021-02-19 23:20:16 +08:00
|
|
|
<term><filename class="libraryfile">librarian.{so,a}</filename></term>
|
2009-07-27 21:22:42 +08:00
|
|
|
<listitem>
|
2020-03-18 18:00:14 +08:00
|
|
|
<para>
|
|
|
|
is the API to build a list of available meta data files and
|
2021-02-19 23:20:16 +08:00
|
|
|
allows access to these
|
2020-03-18 18:00:14 +08:00
|
|
|
</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>
|