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