[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">-->
|
---|
[53917fdf] | 12 | <!ENTITY babl-md5sum "50c8d12cdf5b3991590fa6cba16218a0">
|
---|
| 13 | <!ENTITY babl-size "628 KB">
|
---|
[45439b9] | 14 | <!ENTITY babl-buildsize "12 MB">
|
---|
[9ce06cc9] | 15 | <!ENTITY babl-time "0.2 SBU">
|
---|
| 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 |
|
---|
[0d3b7bb] | 40 | &lfs77_checked; &gcc5_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 | <bridgehead renderas="sect3">Babl Dependencies</bridgehead>
|
---|
[9ce06cc9] | 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[67033e54] | 79 | <para role="optional">
|
---|
[53917fdf] | 80 | <xref linkend="gobject-introspection"/>
|
---|
[67033e54] | 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <para condition="html" role="usernotes">
|
---|
| 84 | User Notes: <ulink url='&blfs-wiki;/babl'/>
|
---|
| 85 | </para>
|
---|
[9ce06cc9] | 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
[67033e54] | 89 | <title>Installation of Babl</title>
|
---|
[9ce06cc9] | 90 |
|
---|
[67033e54] | 91 | <para>
|
---|
| 92 | Install <application>Babl</application> by running the following commands:
|
---|
| 93 | </para>
|
---|
[9ce06cc9] | 94 |
|
---|
[53917fdf] | 95 | <screen><userinput>./configure --prefix=/usr --disable-docs &&
|
---|
[9ce06cc9] | 96 | make</userinput></screen>
|
---|
| 97 |
|
---|
[67033e54] | 98 | <para>
|
---|
| 99 | To test the results, issue: <command>make check</command>.
|
---|
| 100 | </para>
|
---|
[9ce06cc9] | 101 |
|
---|
[67033e54] | 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 104 | </para>
|
---|
[9ce06cc9] | 105 |
|
---|
| 106 | <screen role="root"><userinput>make install &&
|
---|
| 107 | install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics &&
|
---|
| 108 | install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/babl &&
|
---|
[f82ac3f] | 109 | install -v -m644 docs/graphics/*.{html,png,svg} /usr/share/gtk-doc/html/babl/graphics</userinput></screen>
|
---|
[9ce06cc9] | 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="commands">
|
---|
| 113 | <title>Command Explanations</title>
|
---|
| 114 |
|
---|
[67033e54] | 115 | <para>
|
---|
[53917fdf] | 116 | <parameter>--disable-docs</parameter>: This switch disables
|
---|
| 117 | <filename>BablFishPath.html</filename> and
|
---|
| 118 | <filename>index.html</filename> generation. Remove it, if you want them.
|
---|
[67033e54] | 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <para>
|
---|
[53917fdf] | 122 |
|
---|
| 123 | <command>install -v -m755 -d
|
---|
| 124 | /usr/share/gtk-doc/html/babl/graphics</command>: This and the subsequent
|
---|
| 125 | commands install the library html documentation under
|
---|
| 126 | <filename class="directory">/usr/share/gtk-doc/html</filename> where
|
---|
| 127 | other gtk packages put the programmer-oriented documentation.
|
---|
| 128 |
|
---|
[67033e54] | 129 | </para>
|
---|
[9ce06cc9] | 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="content">
|
---|
| 133 | <title>Contents</title>
|
---|
| 134 |
|
---|
| 135 | <segmentedlist>
|
---|
[c3c56b2] | 136 | <segtitle>Installed Programs</segtitle>
|
---|
[9ce06cc9] | 137 | <segtitle>Installed Libraries</segtitle>
|
---|
| 138 | <segtitle>Installed Directories</segtitle>
|
---|
| 139 |
|
---|
| 140 | <seglistitem>
|
---|
[c3c56b2] | 141 | <seg>None</seg>
|
---|
[f82ac3f] | 142 | <seg>libbabl.so and libraries in /usr/lib/babl-0.1</seg>
|
---|
[53917fdf] | 143 | <seg>
|
---|
| 144 | /usr/include/babl-0.1,
|
---|
| 145 | /usr/lib/babl-0.1 and
|
---|
| 146 | /usr/share/gtk-doc/html/babl
|
---|
| 147 | </seg>
|
---|
[9ce06cc9] | 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
| 150 |
|
---|
| 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
| 155 |
|
---|
| 156 | <varlistentry id="libbabl">
|
---|
| 157 | <term><filename class='libraryfile'>libbabl.so</filename></term>
|
---|
| 158 | <listitem>
|
---|
[67033e54] | 159 | <para>
|
---|
| 160 | contains functions to access BablFishes to convert between formats.
|
---|
| 161 | </para>
|
---|
[9ce06cc9] | 162 | <indexterm zone="babl libbabl">
|
---|
| 163 | <primary sortas="c-libbabl">libbabl.so</primary>
|
---|
| 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 | </variablelist>
|
---|
| 168 | </sect2>
|
---|
| 169 | </sect1>
|
---|