[9ce06cc9] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[67033e54] | 7 | <!ENTITY babl-download-http
|
---|
[dcb114f] | 8 | "http://download.gimp.org/pub/babl/0.1/babl-&babl-version;.tar.bz2">
|
---|
[c1968e6] | 9 | <!ENTITY babl-download-ftp " ">
|
---|
| 10 | <!-- <!ENTITY babl-download-ftp
|
---|
| 11 | "ftp://ftp.gimp.org/pub/babl/0.1/babl-&babl-version;.tar.bz2">-->
|
---|
[8b319a8c] | 12 | <!ENTITY babl-md5sum "c32245f90a0b59e4714b546308d2ee34">
|
---|
| 13 | <!ENTITY babl-size "602 KB">
|
---|
| 14 | <!ENTITY babl-buildsize "15 MB (with tests)">
|
---|
[b1478b35] | 15 | <!ENTITY babl-time "0.2 SBU (with tests)">
|
---|
[9ce06cc9] | 16 | ]>
|
---|
| 17 |
|
---|
| 18 | <sect1 id="babl" xreflabel="babl-&babl-version;">
|
---|
| 19 | <?dbhtml filename="babl.html"?>
|
---|
| 20 |
|
---|
| 21 | <sect1info>
|
---|
[58cb64de] | 22 | <othername>$LastChangedBy$</othername>
|
---|
| 23 | <date>$Date$</date>
|
---|
[9ce06cc9] | 24 | </sect1info>
|
---|
| 25 |
|
---|
| 26 | <title>babl-&babl-version;</title>
|
---|
| 27 |
|
---|
| 28 | <indexterm zone="babl">
|
---|
| 29 | <primary sortas="a-Babl">Babl</primary>
|
---|
| 30 | </indexterm>
|
---|
| 31 |
|
---|
| 32 | <sect2 role="package">
|
---|
[67033e54] | 33 | <title>Introduction to Babl</title>
|
---|
[9ce06cc9] | 34 |
|
---|
[67033e54] | 35 | <para>
|
---|
| 36 | The <application>Babl</application> package is a dynamic, any to any,
|
---|
| 37 | pixel format translation library.
|
---|
| 38 | </para>
|
---|
[9ce06cc9] | 39 |
|
---|
[57ddf485] | 40 | &lfs80_checked;
|
---|
[9ce06cc9] | 41 |
|
---|
| 42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 43 | <itemizedlist spacing="compact">
|
---|
| 44 | <listitem>
|
---|
[67033e54] | 45 | <para>
|
---|
| 46 | Download (HTTP): <ulink url="&babl-download-http;"/>
|
---|
| 47 | </para>
|
---|
[9ce06cc9] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[67033e54] | 50 | <para>
|
---|
| 51 | Download (FTP): <ulink url="&babl-download-ftp;"/>
|
---|
| 52 | </para>
|
---|
[9ce06cc9] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[67033e54] | 55 | <para>
|
---|
| 56 | Download MD5 sum: &babl-md5sum;
|
---|
| 57 | </para>
|
---|
[9ce06cc9] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[67033e54] | 60 | <para>
|
---|
| 61 | Download size: &babl-size;
|
---|
| 62 | </para>
|
---|
[9ce06cc9] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[67033e54] | 65 | <para>
|
---|
| 66 | Estimated disk space required: &babl-buildsize;
|
---|
| 67 | </para>
|
---|
[9ce06cc9] | 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
[67033e54] | 70 | <para>
|
---|
| 71 | Estimated build time: &babl-time;
|
---|
| 72 | </para>
|
---|
[9ce06cc9] | 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
[67033e54] | 76 | <para condition="html" role="usernotes">
|
---|
| 77 | User Notes: <ulink url='&blfs-wiki;/babl'/>
|
---|
| 78 | </para>
|
---|
[9ce06cc9] | 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="installation">
|
---|
[67033e54] | 82 | <title>Installation of Babl</title>
|
---|
[9ce06cc9] | 83 |
|
---|
[67033e54] | 84 | <para>
|
---|
| 85 | Install <application>Babl</application> by running the following commands:
|
---|
| 86 | </para>
|
---|
[9ce06cc9] | 87 |
|
---|
[53917fdf] | 88 | <screen><userinput>./configure --prefix=/usr --disable-docs &&
|
---|
[9ce06cc9] | 89 | make</userinput></screen>
|
---|
| 90 |
|
---|
[67033e54] | 91 | <para>
|
---|
| 92 | To test the results, issue: <command>make check</command>.
|
---|
| 93 | </para>
|
---|
[9ce06cc9] | 94 |
|
---|
[67033e54] | 95 | <para>
|
---|
| 96 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 97 | </para>
|
---|
[9ce06cc9] | 98 |
|
---|
| 99 | <screen role="root"><userinput>make install &&
|
---|
[b1478b35] | 100 |
|
---|
[9ce06cc9] | 101 | install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics &&
|
---|
| 102 | install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/babl &&
|
---|
[f82ac3f] | 103 | install -v -m644 docs/graphics/*.{html,png,svg} /usr/share/gtk-doc/html/babl/graphics</userinput></screen>
|
---|
[9ce06cc9] | 104 | </sect2>
|
---|
| 105 |
|
---|
| 106 | <sect2 role="commands">
|
---|
| 107 | <title>Command Explanations</title>
|
---|
| 108 |
|
---|
[67033e54] | 109 | <para>
|
---|
[53917fdf] | 110 | <parameter>--disable-docs</parameter>: This switch disables
|
---|
| 111 | <filename>BablFishPath.html</filename> and
|
---|
| 112 | <filename>index.html</filename> generation. Remove it, if you want them.
|
---|
[d278ced] | 113 | Note that generating the docs takes a long time, up to as much as
|
---|
| 114 | 2.8 SBU.
|
---|
[67033e54] | 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
[53917fdf] | 118 |
|
---|
| 119 | <command>install -v -m755 -d
|
---|
| 120 | /usr/share/gtk-doc/html/babl/graphics</command>: This and the subsequent
|
---|
| 121 | commands install the library html documentation under
|
---|
| 122 | <filename class="directory">/usr/share/gtk-doc/html</filename> where
|
---|
| 123 | other gtk packages put the programmer-oriented documentation.
|
---|
| 124 |
|
---|
[67033e54] | 125 | </para>
|
---|
[9ce06cc9] | 126 | </sect2>
|
---|
| 127 |
|
---|
| 128 | <sect2 role="content">
|
---|
| 129 | <title>Contents</title>
|
---|
| 130 |
|
---|
| 131 | <segmentedlist>
|
---|
[c3c56b2] | 132 | <segtitle>Installed Programs</segtitle>
|
---|
[9ce06cc9] | 133 | <segtitle>Installed Libraries</segtitle>
|
---|
| 134 | <segtitle>Installed Directories</segtitle>
|
---|
| 135 |
|
---|
| 136 | <seglistitem>
|
---|
[c3c56b2] | 137 | <seg>None</seg>
|
---|
[b1478b35] | 138 | <seg>libbabl-0.1.so and libraries in /usr/lib/babl-0.1</seg>
|
---|
[53917fdf] | 139 | <seg>
|
---|
[b1478b35] | 140 | /usr/{include,lib}/babl-0.1 and
|
---|
[53917fdf] | 141 | /usr/share/gtk-doc/html/babl
|
---|
| 142 | </seg>
|
---|
[9ce06cc9] | 143 | </seglistitem>
|
---|
| 144 | </segmentedlist>
|
---|
| 145 |
|
---|
| 146 | <variablelist>
|
---|
| 147 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 148 | <?dbfo list-presentation="list"?>
|
---|
| 149 | <?dbhtml list-presentation="table"?>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="libbabl">
|
---|
[b1478b35] | 152 | <term><filename class='libraryfile'>libbabl-0.1.so</filename></term>
|
---|
[9ce06cc9] | 153 | <listitem>
|
---|
[67033e54] | 154 | <para>
|
---|
| 155 | contains functions to access BablFishes to convert between formats.
|
---|
| 156 | </para>
|
---|
[9ce06cc9] | 157 | <indexterm zone="babl libbabl">
|
---|
[b1478b35] | 158 | <primary sortas="c-libbabl">libbabl-0.1.so</primary>
|
---|
[9ce06cc9] | 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 | </variablelist>
|
---|
| 163 | </sect2>
|
---|
| 164 | </sect1>
|
---|