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 |
|
---|
7 | <!ENTITY babl-download-http
|
---|
8 | "http://download.gimp.org/pub/babl/0.1/babl-&babl-version;.tar.bz2">
|
---|
9 | <!ENTITY babl-download-ftp " ">
|
---|
10 | <!-- <!ENTITY babl-download-ftp
|
---|
11 | "ftp://ftp.gimp.org/pub/babl/0.1/babl-&babl-version;.tar.bz2">-->
|
---|
12 | <!ENTITY babl-md5sum "9e1542ab5c0b12ea3af076a9a2f02d79">
|
---|
13 | <!ENTITY babl-size "440 KB">
|
---|
14 | <!ENTITY babl-buildsize "12 MB">
|
---|
15 | <!ENTITY babl-time "0.2 SBU">
|
---|
16 | ]>
|
---|
17 |
|
---|
18 | <sect1 id="babl" xreflabel="babl-&babl-version;">
|
---|
19 | <?dbhtml filename="babl.html"?>
|
---|
20 |
|
---|
21 | <sect1info>
|
---|
22 | <othername>$LastChangedBy$</othername>
|
---|
23 | <date>$Date$</date>
|
---|
24 | </sect1info>
|
---|
25 |
|
---|
26 | <title>babl-&babl-version;</title>
|
---|
27 |
|
---|
28 | <indexterm zone="babl">
|
---|
29 | <primary sortas="a-Babl">Babl</primary>
|
---|
30 | </indexterm>
|
---|
31 |
|
---|
32 | <sect2 role="package">
|
---|
33 | <title>Introduction to Babl</title>
|
---|
34 |
|
---|
35 | <para>
|
---|
36 | The <application>Babl</application> package is a dynamic, any to any,
|
---|
37 | pixel format translation library.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | &lfs76_checked;
|
---|
41 |
|
---|
42 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
43 | <itemizedlist spacing="compact">
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (HTTP): <ulink url="&babl-download-http;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download (FTP): <ulink url="&babl-download-ftp;"/>
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download MD5 sum: &babl-md5sum;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Download size: &babl-size;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated disk space required: &babl-buildsize;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | <listitem>
|
---|
70 | <para>
|
---|
71 | Estimated build time: &babl-time;
|
---|
72 | </para>
|
---|
73 | </listitem>
|
---|
74 | </itemizedlist>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect3">Babl Dependencies</bridgehead>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
79 | <para role="optional">
|
---|
80 | <xref linkend="gobject-introspection"/> and
|
---|
81 | <xref linkend="vala"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <para condition="html" role="usernotes">
|
---|
85 | User Notes: <ulink url='&blfs-wiki;/babl'/>
|
---|
86 | </para>
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2 role="installation">
|
---|
90 | <title>Installation of Babl</title>
|
---|
91 |
|
---|
92 | <para>
|
---|
93 | Install <application>Babl</application> by running the following commands:
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <screen><userinput>./configure --prefix=/usr &&
|
---|
97 | make</userinput></screen>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | To test the results, issue: <command>make check</command>.
|
---|
101 | </para>
|
---|
102 |
|
---|
103 | <para>
|
---|
104 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
105 | </para>
|
---|
106 |
|
---|
107 | <screen role="root"><userinput>make install &&
|
---|
108 | install -v -m755 -d /usr/share/gtk-doc/html/babl/graphics &&
|
---|
109 | install -v -m644 docs/*.{css,html} /usr/share/gtk-doc/html/babl &&
|
---|
110 | install -v -m644 docs/graphics/*.{html,png,svg} /usr/share/gtk-doc/html/babl/graphics</userinput></screen>
|
---|
111 | </sect2>
|
---|
112 |
|
---|
113 | <sect2 role="commands">
|
---|
114 | <title>Command Explanations</title>
|
---|
115 |
|
---|
116 | <para>
|
---|
117 | <parameter>install -v -m755 -d
|
---|
118 | /usr/share/gtk-doc/html/babl/graphics</parameter>: This and the subsequent
|
---|
119 | commands install the library html documentation under
|
---|
120 | <filename class="directory">/usr/share/gtk-doc/html</filename> where other
|
---|
121 | gtk packages put the programmer-oriented documentation.
|
---|
122 | </para>
|
---|
123 |
|
---|
124 | <para>
|
---|
125 | <option>--with-vala</option>: Use <command>vapigen</command> so that
|
---|
126 | <application>vala</application> programs can use this application - not
|
---|
127 | enabled by default, may cause breakage when building
|
---|
128 | <application>gegl</application>.
|
---|
129 | </para>
|
---|
130 | </sect2>
|
---|
131 |
|
---|
132 | <sect2 role="content">
|
---|
133 | <title>Contents</title>
|
---|
134 |
|
---|
135 | <segmentedlist>
|
---|
136 | <segtitle>Installed Programs</segtitle>
|
---|
137 | <segtitle>Installed Libraries</segtitle>
|
---|
138 | <segtitle>Installed Directories</segtitle>
|
---|
139 |
|
---|
140 | <seglistitem>
|
---|
141 | <seg>None</seg>
|
---|
142 | <seg>libbabl.so and libraries in /usr/lib/babl-0.1</seg>
|
---|
143 | <seg>/usr/include/babl-0.1</seg>
|
---|
144 | </seglistitem>
|
---|
145 | </segmentedlist>
|
---|
146 |
|
---|
147 | <variablelist>
|
---|
148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
149 | <?dbfo list-presentation="list"?>
|
---|
150 | <?dbhtml list-presentation="table"?>
|
---|
151 |
|
---|
152 | <varlistentry id="libbabl">
|
---|
153 | <term><filename class='libraryfile'>libbabl.so</filename></term>
|
---|
154 | <listitem>
|
---|
155 | <para>
|
---|
156 | contains functions to access BablFishes to convert between formats.
|
---|
157 | </para>
|
---|
158 | <indexterm zone="babl libbabl">
|
---|
159 | <primary sortas="c-libbabl">libbabl.so</primary>
|
---|
160 | </indexterm>
|
---|
161 | </listitem>
|
---|
162 | </varlistentry>
|
---|
163 | </variablelist>
|
---|
164 | </sect2>
|
---|
165 | </sect1>
|
---|