[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 |
|
---|
[166d300] | 7 | <!ENTITY babl-download-http "https://download.gimp.org/pub/babl/0.1/babl-&babl-version;.tar.xz">
|
---|
[8dfc5c3] | 8 | <!ENTITY babl-download-ftp " ">
|
---|
[059e4c3] | 9 | <!ENTITY babl-md5sum "4f2c317328d89242e552fcb5ef66a844">
|
---|
| 10 | <!ENTITY babl-size "288 KB">
|
---|
| 11 | <!ENTITY babl-buildsize "17 MB (with tests)">
|
---|
[e8c8ab1] | 12 | <!ENTITY babl-time "less than 0.1 SBU (Using parallelism=4; with tests)">
|
---|
[9ce06cc9] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="babl" xreflabel="babl-&babl-version;">
|
---|
| 16 | <?dbhtml filename="babl.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[58cb64de] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[9ce06cc9] | 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>babl-&babl-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="babl">
|
---|
| 26 | <primary sortas="a-Babl">Babl</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[67033e54] | 30 | <title>Introduction to Babl</title>
|
---|
[9ce06cc9] | 31 |
|
---|
[67033e54] | 32 | <para>
|
---|
| 33 | The <application>Babl</application> package is a dynamic, any to any,
|
---|
| 34 | pixel format translation library.
|
---|
| 35 | </para>
|
---|
[9ce06cc9] | 36 |
|
---|
[7ee3d2dc] | 37 | &lfs90_checked;
|
---|
[9ce06cc9] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[67033e54] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&babl-download-http;"/>
|
---|
| 44 | </para>
|
---|
[9ce06cc9] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[67033e54] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&babl-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[9ce06cc9] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[67033e54] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &babl-md5sum;
|
---|
| 54 | </para>
|
---|
[9ce06cc9] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[67033e54] | 57 | <para>
|
---|
| 58 | Download size: &babl-size;
|
---|
| 59 | </para>
|
---|
[9ce06cc9] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[67033e54] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &babl-buildsize;
|
---|
| 64 | </para>
|
---|
[9ce06cc9] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[67033e54] | 67 | <para>
|
---|
| 68 | Estimated build time: &babl-time;
|
---|
| 69 | </para>
|
---|
[9ce06cc9] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[262f8897] | 73 | <bridgehead renderas="sect3">Babl Dependencies</bridgehead>
|
---|
| 74 |
|
---|
[af532c1] | 75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 76 | <para role="recommended">
|
---|
[73567480] | 77 | <xref linkend="gobject-introspection"/> and
|
---|
| 78 | <xref linkend="librsvg"/>
|
---|
[af532c1] | 79 | </para>
|
---|
| 80 |
|
---|
[262f8897] | 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
[3bb6b25] | 83 | <xref linkend="lcms2"/> and
|
---|
| 84 | <ulink url="&w3m-url;">w3m</ulink>
|
---|
[262f8897] | 85 | </para>
|
---|
| 86 |
|
---|
[67033e54] | 87 | <para condition="html" role="usernotes">
|
---|
| 88 | User Notes: <ulink url='&blfs-wiki;/babl'/>
|
---|
| 89 | </para>
|
---|
[9ce06cc9] | 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
[67033e54] | 93 | <title>Installation of Babl</title>
|
---|
[9ce06cc9] | 94 |
|
---|
[67033e54] | 95 | <para>
|
---|
| 96 | Install <application>Babl</application> by running the following commands:
|
---|
| 97 | </para>
|
---|
[9ce06cc9] | 98 |
|
---|
[e8c8ab1] | 99 | <screen><userinput>mkdir bld &&
|
---|
| 100 | cd bld &&
|
---|
| 101 |
|
---|
| 102 | meson --prefix=/usr .. &&
|
---|
| 103 | ninja </userinput></screen>
|
---|
[9ce06cc9] | 104 |
|
---|
[67033e54] | 105 | <para>
|
---|
[e8c8ab1] | 106 | To test the results, issue: <command>ninja test</command>.
|
---|
[67033e54] | 107 | </para>
|
---|
[9ce06cc9] | 108 |
|
---|
[67033e54] | 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
[9ce06cc9] | 112 |
|
---|
[e8c8ab1] | 113 | <screen role="root"><userinput>ninja install &&
|
---|
[b1478b35] | 114 |
|
---|
[e8c8ab1] | 115 | install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics &&
|
---|
| 116 | install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/babl &&
|
---|
| 117 | install -v -m644 docs/graphics/*.{html,svg} /usr/share/gtk-doc/html/babl/graphics</userinput></screen>
|
---|
[9ce06cc9] | 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="commands">
|
---|
| 121 | <title>Command Explanations</title>
|
---|
| 122 |
|
---|
[67033e54] | 123 | <para>
|
---|
[53917fdf] | 124 | <command>install -v -m755 -d
|
---|
| 125 | /usr/share/gtk-doc/html/babl/graphics</command>: This and the subsequent
|
---|
| 126 | commands install the library html documentation under
|
---|
| 127 | <filename class="directory">/usr/share/gtk-doc/html</filename> where
|
---|
| 128 | other gtk packages put the programmer-oriented documentation.
|
---|
[67033e54] | 129 | </para>
|
---|
[05e5e009] | 130 |
|
---|
[9ce06cc9] | 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
| 135 |
|
---|
| 136 | <segmentedlist>
|
---|
[c3c56b2] | 137 | <segtitle>Installed Programs</segtitle>
|
---|
[9ce06cc9] | 138 | <segtitle>Installed Libraries</segtitle>
|
---|
| 139 | <segtitle>Installed Directories</segtitle>
|
---|
| 140 |
|
---|
| 141 | <seglistitem>
|
---|
[c3c56b2] | 142 | <seg>None</seg>
|
---|
[b1478b35] | 143 | <seg>libbabl-0.1.so and libraries in /usr/lib/babl-0.1</seg>
|
---|
[53917fdf] | 144 | <seg>
|
---|
[b1478b35] | 145 | /usr/{include,lib}/babl-0.1 and
|
---|
[53917fdf] | 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">
|
---|
[b1478b35] | 157 | <term><filename class='libraryfile'>libbabl-0.1.so</filename></term>
|
---|
[9ce06cc9] | 158 | <listitem>
|
---|
[67033e54] | 159 | <para>
|
---|
| 160 | contains functions to access BablFishes to convert between formats.
|
---|
| 161 | </para>
|
---|
[9ce06cc9] | 162 | <indexterm zone="babl libbabl">
|
---|
[b1478b35] | 163 | <primary sortas="c-libbabl">libbabl-0.1.so</primary>
|
---|
[9ce06cc9] | 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 | </variablelist>
|
---|
| 168 | </sect2>
|
---|
| 169 | </sect1>
|
---|