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