[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 " ">
|
---|
[99580c0] | 9 | <!ENTITY babl-md5sum "d559a93836bd5a5f539113379c7c4abd">
|
---|
[f3fd948] | 10 | <!ENTITY babl-size "304 KB">
|
---|
| 11 | <!ENTITY babl-buildsize "12 MB (with tests)">
|
---|
| 12 | <!ENTITY babl-time "0.3 SBU (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 |
|
---|
[98fd8b9] | 36 | &lfs111_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 |
|
---|
[67033e54] | 94 | <para>
|
---|
| 95 | Install <application>Babl</application> by running the following commands:
|
---|
| 96 | </para>
|
---|
[9ce06cc9] | 97 |
|
---|
[e8c8ab1] | 98 | <screen><userinput>mkdir bld &&
|
---|
| 99 | cd bld &&
|
---|
| 100 |
|
---|
[b7e2ce4] | 101 | meson --prefix=/usr --buildtype=release .. &&
|
---|
[e8c8ab1] | 102 | ninja </userinput></screen>
|
---|
[9ce06cc9] | 103 |
|
---|
[67033e54] | 104 | <para>
|
---|
[e8c8ab1] | 105 | To test the results, issue: <command>ninja test</command>.
|
---|
[67033e54] | 106 | </para>
|
---|
[9ce06cc9] | 107 |
|
---|
[67033e54] | 108 | <para>
|
---|
| 109 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 110 | </para>
|
---|
[9ce06cc9] | 111 |
|
---|
[e8c8ab1] | 112 | <screen role="root"><userinput>ninja install &&
|
---|
[b1478b35] | 113 |
|
---|
[e8c8ab1] | 114 | install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics &&
|
---|
| 115 | install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/babl &&
|
---|
| 116 | install -v -m644 docs/graphics/*.{html,svg} /usr/share/gtk-doc/html/babl/graphics</userinput></screen>
|
---|
[9ce06cc9] | 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
[67033e54] | 122 | <para>
|
---|
[53917fdf] | 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.
|
---|
[67033e54] | 128 | </para>
|
---|
[05e5e009] | 129 |
|
---|
[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>
|
---|
[b1478b35] | 142 | <seg>libbabl-0.1.so and libraries in /usr/lib/babl-0.1</seg>
|
---|
[53917fdf] | 143 | <seg>
|
---|
[b1478b35] | 144 | /usr/{include,lib}/babl-0.1 and
|
---|
[53917fdf] | 145 | /usr/share/gtk-doc/html/babl
|
---|
| 146 | </seg>
|
---|
[9ce06cc9] | 147 | </seglistitem>
|
---|
| 148 | </segmentedlist>
|
---|
| 149 |
|
---|
| 150 | <variablelist>
|
---|
| 151 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 152 | <?dbfo list-presentation="list"?>
|
---|
| 153 | <?dbhtml list-presentation="table"?>
|
---|
| 154 |
|
---|
| 155 | <varlistentry id="libbabl">
|
---|
[4c24eb0a] | 156 | <term><filename class="libraryfile">libbabl-0.1.so</filename></term>
|
---|
[9ce06cc9] | 157 | <listitem>
|
---|
[67033e54] | 158 | <para>
|
---|
[4c24eb0a] | 159 | contains functions to access BablFishes to convert between formats
|
---|
[67033e54] | 160 | </para>
|
---|
[9ce06cc9] | 161 | <indexterm zone="babl libbabl">
|
---|
[b1478b35] | 162 | <primary sortas="c-libbabl">libbabl-0.1.so</primary>
|
---|
[9ce06cc9] | 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 | </variablelist>
|
---|
| 167 | </sect2>
|
---|
[4c24eb0a] | 168 |
|
---|
[9ce06cc9] | 169 | </sect1>
|
---|