[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 |
|
---|
| 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 76 | <para role="optional">
|
---|
| 77 | <xref linkend="lcms2"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
[67033e54] | 80 | <para condition="html" role="usernotes">
|
---|
| 81 | User Notes: <ulink url='&blfs-wiki;/babl'/>
|
---|
| 82 | </para>
|
---|
[9ce06cc9] | 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
[67033e54] | 86 | <title>Installation of Babl</title>
|
---|
[9ce06cc9] | 87 |
|
---|
[5694241] | 88 | <para>
|
---|
| 89 | First, if you are on i686, fix a compilation error caused by a target
|
---|
| 90 | option type mismatch.
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <screen><userinput remap="pre">case $(uname -m) in
|
---|
| 94 | i?86) sed -i '27 s/no_cflags/sse2_cflags/' extensions/meson.build ;;
|
---|
| 95 | esac</userinput></screen>
|
---|
| 96 |
|
---|
[67033e54] | 97 | <para>
|
---|
| 98 | Install <application>Babl</application> by running the following commands:
|
---|
| 99 | </para>
|
---|
[9ce06cc9] | 100 |
|
---|
[e8c8ab1] | 101 | <screen><userinput>mkdir bld &&
|
---|
| 102 | cd bld &&
|
---|
| 103 |
|
---|
| 104 | meson --prefix=/usr .. &&
|
---|
| 105 | ninja </userinput></screen>
|
---|
[9ce06cc9] | 106 |
|
---|
[67033e54] | 107 | <para>
|
---|
[e8c8ab1] | 108 | To test the results, issue: <command>ninja test</command>.
|
---|
[67033e54] | 109 | </para>
|
---|
[9ce06cc9] | 110 |
|
---|
[67033e54] | 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
[9ce06cc9] | 114 |
|
---|
[e8c8ab1] | 115 | <screen role="root"><userinput>ninja install &&
|
---|
[b1478b35] | 116 |
|
---|
[e8c8ab1] | 117 | install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics &&
|
---|
| 118 | install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/babl &&
|
---|
| 119 | install -v -m644 docs/graphics/*.{html,svg} /usr/share/gtk-doc/html/babl/graphics</userinput></screen>
|
---|
[9ce06cc9] | 120 | </sect2>
|
---|
| 121 |
|
---|
| 122 | <sect2 role="commands">
|
---|
| 123 | <title>Command Explanations</title>
|
---|
| 124 |
|
---|
[67033e54] | 125 | <para>
|
---|
[53917fdf] | 126 | <command>install -v -m755 -d
|
---|
| 127 | /usr/share/gtk-doc/html/babl/graphics</command>: This and the subsequent
|
---|
| 128 | commands install the library html documentation under
|
---|
| 129 | <filename class="directory">/usr/share/gtk-doc/html</filename> where
|
---|
| 130 | other gtk packages put the programmer-oriented documentation.
|
---|
[67033e54] | 131 | </para>
|
---|
[05e5e009] | 132 |
|
---|
[9ce06cc9] | 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | <sect2 role="content">
|
---|
| 136 | <title>Contents</title>
|
---|
| 137 |
|
---|
| 138 | <segmentedlist>
|
---|
[c3c56b2] | 139 | <segtitle>Installed Programs</segtitle>
|
---|
[9ce06cc9] | 140 | <segtitle>Installed Libraries</segtitle>
|
---|
| 141 | <segtitle>Installed Directories</segtitle>
|
---|
| 142 |
|
---|
| 143 | <seglistitem>
|
---|
[c3c56b2] | 144 | <seg>None</seg>
|
---|
[b1478b35] | 145 | <seg>libbabl-0.1.so and libraries in /usr/lib/babl-0.1</seg>
|
---|
[53917fdf] | 146 | <seg>
|
---|
[b1478b35] | 147 | /usr/{include,lib}/babl-0.1 and
|
---|
[53917fdf] | 148 | /usr/share/gtk-doc/html/babl
|
---|
| 149 | </seg>
|
---|
[9ce06cc9] | 150 | </seglistitem>
|
---|
| 151 | </segmentedlist>
|
---|
| 152 |
|
---|
| 153 | <variablelist>
|
---|
| 154 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 155 | <?dbfo list-presentation="list"?>
|
---|
| 156 | <?dbhtml list-presentation="table"?>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="libbabl">
|
---|
[b1478b35] | 159 | <term><filename class='libraryfile'>libbabl-0.1.so</filename></term>
|
---|
[9ce06cc9] | 160 | <listitem>
|
---|
[67033e54] | 161 | <para>
|
---|
| 162 | contains functions to access BablFishes to convert between formats.
|
---|
| 163 | </para>
|
---|
[9ce06cc9] | 164 | <indexterm zone="babl libbabl">
|
---|
[b1478b35] | 165 | <primary sortas="c-libbabl">libbabl-0.1.so</primary>
|
---|
[9ce06cc9] | 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 | </variablelist>
|
---|
| 170 | </sect2>
|
---|
| 171 | </sect1>
|
---|