glfs/general/graphlib/babl.xml
Xi Ruoyao 45ab6c70c2
more SVN prop clean up
Remove "$LastChanged$" everywhere, and also some unused $Date$
2021-04-20 19:12:02 +08:00

170 lines
4.7 KiB
XML

<?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 babl-download-http "https://download.gimp.org/pub/babl/0.1/babl-&babl-version;.tar.xz">
<!ENTITY babl-download-ftp " ">
<!ENTITY babl-md5sum "a4aae9effaf94f17a82fbd534f62e8f2">
<!ENTITY babl-size "296 KB">
<!ENTITY babl-buildsize "21 MB (with tests)">
<!ENTITY babl-time "0.1 SBU (with tests)">
]>
<sect1 id="babl" xreflabel="babl-&babl-version;">
<?dbhtml filename="babl.html"?>
<sect1info>
<date>$Date$</date>
</sect1info>
<title>babl-&babl-version;</title>
<indexterm zone="babl">
<primary sortas="a-Babl">Babl</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Babl</title>
<para>
The <application>Babl</application> package is a dynamic, any to any,
pixel format translation library.
</para>
&lfs101_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&babl-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&babl-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &babl-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &babl-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &babl-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &babl-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Babl Dependencies</bridgehead>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="gobject-introspection"/> and
<xref linkend="librsvg"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="lcms2"/> and
<ulink url="&w3m-url;">w3m</ulink>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url='&blfs-wiki;/babl'/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Babl</title>
<para>
Install <application>Babl</application> by running the following commands:
</para>
<screen><userinput>mkdir bld &amp;&amp;
cd bld &amp;&amp;
meson --prefix=/usr .. &amp;&amp;
ninja </userinput></screen>
<para>
To test the results, issue: <command>ninja test</command>.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install &amp;&amp;
install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics &amp;&amp;
install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/babl &amp;&amp;
install -v -m644 docs/graphics/*.{html,svg} /usr/share/gtk-doc/html/babl/graphics</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>install -v -m755 -d
/usr/share/gtk-doc/html/babl/graphics</command>: This and the subsequent
commands install the library html documentation under
<filename class="directory">/usr/share/gtk-doc/html</filename> where
other gtk packages put the programmer-oriented documentation.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>None</seg>
<seg>libbabl-0.1.so and libraries in /usr/lib/babl-0.1</seg>
<seg>
/usr/{include,lib}/babl-0.1 and
/usr/share/gtk-doc/html/babl
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libbabl">
<term><filename class="libraryfile">libbabl-0.1.so</filename></term>
<listitem>
<para>
contains functions to access BablFishes to convert between formats
</para>
<indexterm zone="babl libbabl">
<primary sortas="c-libbabl">libbabl-0.1.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>