[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
|
---|
[80c8e88] | 8 | " ">
|
---|
[67033e54] | 9 | <!ENTITY babl-download-ftp
|
---|
[78bfd941] | 10 | "ftp://ftp.gimp.org/pub/babl/0.1/babl-&babl-version;.tar.bz2">
|
---|
[45439b9] | 11 | <!ENTITY babl-md5sum "9e1542ab5c0b12ea3af076a9a2f02d79">
|
---|
| 12 | <!ENTITY babl-size "440 KB">
|
---|
| 13 | <!ENTITY babl-buildsize "12 MB">
|
---|
[9ce06cc9] | 14 | <!ENTITY babl-time "0.2 SBU">
|
---|
| 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="babl" xreflabel="babl-&babl-version;">
|
---|
| 18 | <?dbhtml filename="babl.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
[58cb64de] | 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
[9ce06cc9] | 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>babl-&babl-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="babl">
|
---|
| 28 | <primary sortas="a-Babl">Babl</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
[67033e54] | 32 | <title>Introduction to Babl</title>
|
---|
[9ce06cc9] | 33 |
|
---|
[67033e54] | 34 | <para>
|
---|
| 35 | The <application>Babl</application> package is a dynamic, any to any,
|
---|
| 36 | pixel format translation library.
|
---|
| 37 | </para>
|
---|
[9ce06cc9] | 38 |
|
---|
[3d8be25] | 39 | &lfs74_checked;
|
---|
[9ce06cc9] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[67033e54] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&babl-download-http;"/>
|
---|
| 46 | </para>
|
---|
[9ce06cc9] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[67033e54] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&babl-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[9ce06cc9] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[67033e54] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &babl-md5sum;
|
---|
| 56 | </para>
|
---|
[9ce06cc9] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[67033e54] | 59 | <para>
|
---|
| 60 | Download size: &babl-size;
|
---|
| 61 | </para>
|
---|
[9ce06cc9] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[67033e54] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &babl-buildsize;
|
---|
| 66 | </para>
|
---|
[9ce06cc9] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[67033e54] | 69 | <para>
|
---|
| 70 | Estimated build time: &babl-time;
|
---|
| 71 | </para>
|
---|
[9ce06cc9] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[67033e54] | 75 | <bridgehead renderas="sect3">Babl Dependencies</bridgehead>
|
---|
[9ce06cc9] | 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[67033e54] | 78 | <para role="optional">
|
---|
| 79 | <xref linkend="gobject-introspection"/> and
|
---|
[0d7900a] | 80 | <xref linkend="vala"/>
|
---|
[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 |
|
---|
[45439b9] | 95 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[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>
|
---|
| 116 | <parameter>install -v -m755 -d
|
---|
| 117 | /usr/share/gtk-doc/html/babl/graphics</parameter>: This and the subsequent
|
---|
| 118 | commands install the library html documentation under
|
---|
| 119 | <filename class="directory">/usr/share/gtk-doc/html</filename> where other
|
---|
| 120 | gtk packages put the programmer-oriented documentation.
|
---|
| 121 | </para>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | <option>--with-vala</option>: Use <command>vapigen</command> so that
|
---|
| 125 | <application>vala</application> programs can use this application - not
|
---|
| 126 | enabled by default, may cause breakage when building
|
---|
| 127 | <application>gegl</application>.
|
---|
| 128 | </para>
|
---|
[9ce06cc9] | 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="content">
|
---|
| 132 | <title>Contents</title>
|
---|
| 133 |
|
---|
| 134 | <segmentedlist>
|
---|
[c3c56b2] | 135 | <segtitle>Installed Programs</segtitle>
|
---|
[9ce06cc9] | 136 | <segtitle>Installed Libraries</segtitle>
|
---|
| 137 | <segtitle>Installed Directories</segtitle>
|
---|
| 138 |
|
---|
| 139 | <seglistitem>
|
---|
[c3c56b2] | 140 | <seg>None</seg>
|
---|
[f82ac3f] | 141 | <seg>libbabl.so and libraries in /usr/lib/babl-0.1</seg>
|
---|
| 142 | <seg>/usr/include/babl-0.1</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">
|
---|
| 152 | <term><filename class='libraryfile'>libbabl.so</filename></term>
|
---|
| 153 | <listitem>
|
---|
[67033e54] | 154 | <para>
|
---|
| 155 | contains functions to access BablFishes to convert between formats.
|
---|
| 156 | </para>
|
---|
[9ce06cc9] | 157 | <indexterm zone="babl libbabl">
|
---|
| 158 | <primary sortas="c-libbabl">libbabl.so</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 | </variablelist>
|
---|
| 163 | </sect2>
|
---|
| 164 | </sect1>
|
---|