[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">-->
|
---|
[45439b9] | 12 | <!ENTITY babl-md5sum "9e1542ab5c0b12ea3af076a9a2f02d79">
|
---|
| 13 | <!ENTITY babl-size "440 KB">
|
---|
| 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 |
|
---|
[6392ac9] | 40 | &lfs75_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">
|
---|
| 80 | <xref linkend="gobject-introspection"/> and
|
---|
[0d7900a] | 81 | <xref linkend="vala"/>
|
---|
[67033e54] | 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <para condition="html" role="usernotes">
|
---|
| 85 | User Notes: <ulink url='&blfs-wiki;/babl'/>
|
---|
| 86 | </para>
|
---|
[9ce06cc9] | 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="installation">
|
---|
[67033e54] | 90 | <title>Installation of Babl</title>
|
---|
[9ce06cc9] | 91 |
|
---|
[67033e54] | 92 | <para>
|
---|
| 93 | Install <application>Babl</application> by running the following commands:
|
---|
| 94 | </para>
|
---|
[9ce06cc9] | 95 |
|
---|
[45439b9] | 96 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[9ce06cc9] | 97 | make</userinput></screen>
|
---|
| 98 |
|
---|
[67033e54] | 99 | <para>
|
---|
| 100 | To test the results, issue: <command>make check</command>.
|
---|
| 101 | </para>
|
---|
[9ce06cc9] | 102 |
|
---|
[67033e54] | 103 | <para>
|
---|
| 104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 105 | </para>
|
---|
[9ce06cc9] | 106 |
|
---|
| 107 | <screen role="root"><userinput>make install &&
|
---|
| 108 | install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics &&
|
---|
| 109 | install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/babl &&
|
---|
[f82ac3f] | 110 | install -v -m644 docs/graphics/*.{html,png,svg} /usr/share/gtk-doc/html/babl/graphics</userinput></screen>
|
---|
[9ce06cc9] | 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="commands">
|
---|
| 114 | <title>Command Explanations</title>
|
---|
| 115 |
|
---|
[67033e54] | 116 | <para>
|
---|
| 117 | <parameter>install -v -m755 -d
|
---|
| 118 | /usr/share/gtk-doc/html/babl/graphics</parameter>: This and the subsequent
|
---|
| 119 | commands install the library html documentation under
|
---|
| 120 | <filename class="directory">/usr/share/gtk-doc/html</filename> where other
|
---|
| 121 | gtk packages put the programmer-oriented documentation.
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <para>
|
---|
| 125 | <option>--with-vala</option>: Use <command>vapigen</command> so that
|
---|
| 126 | <application>vala</application> programs can use this application - not
|
---|
| 127 | enabled by default, may cause breakage when building
|
---|
| 128 | <application>gegl</application>.
|
---|
| 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>
|
---|
| 143 | <seg>/usr/include/babl-0.1</seg>
|
---|
[9ce06cc9] | 144 | </seglistitem>
|
---|
| 145 | </segmentedlist>
|
---|
| 146 |
|
---|
| 147 | <variablelist>
|
---|
| 148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 149 | <?dbfo list-presentation="list"?>
|
---|
| 150 | <?dbhtml list-presentation="table"?>
|
---|
| 151 |
|
---|
| 152 | <varlistentry id="libbabl">
|
---|
| 153 | <term><filename class='libraryfile'>libbabl.so</filename></term>
|
---|
| 154 | <listitem>
|
---|
[67033e54] | 155 | <para>
|
---|
| 156 | contains functions to access BablFishes to convert between formats.
|
---|
| 157 | </para>
|
---|
[9ce06cc9] | 158 | <indexterm zone="babl libbabl">
|
---|
| 159 | <primary sortas="c-libbabl">libbabl.so</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 | </variablelist>
|
---|
| 164 | </sect2>
|
---|
| 165 | </sect1>
|
---|