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 giflib-download-http "https://sourceforge.net/projects/giflib/files/giflib-&giflib-version;.tar.gz">
|
---|
8 | <!ENTITY giflib-download-ftp " ">
|
---|
9 | <!ENTITY giflib-http-md5sum "6f03aee4ebe54ac2cc1ab3e4b0a049e5">
|
---|
10 | <!ENTITY giflib-http-size "436 KB">
|
---|
11 | <!ENTITY giflib-buildsize "3.2 MB (with documentation)">
|
---|
12 | <!ENTITY giflib-time "less than 0.1 SBU (with documentation)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="giflib" xreflabel="giflib-&giflib-version;">
|
---|
16 | <?dbhtml filename="giflib.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>giflib-&giflib-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="giflib">
|
---|
25 | <primary sortas="a-giflib">giflib</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to giflib</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | The <application>giflib</application> package contains libraries
|
---|
33 | for reading and writing GIFs as well as programs for converting and
|
---|
34 | working with GIF files.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs111_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&giflib-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&giflib-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &giflib-http-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &giflib-http-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &giflib-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &giflib-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">giflib Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
76 | <para role="required">
|
---|
77 | <xref linkend="xmlto"/>
|
---|
78 | </para>
|
---|
79 |
|
---|
80 | <para condition="html" role="usernotes">User Notes:
|
---|
81 | <ulink url="&blfs-wiki;/giflib"/>
|
---|
82 | </para>
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2 role="installation">
|
---|
86 | <title>Installation of giflib</title>
|
---|
87 |
|
---|
88 | <para>
|
---|
89 | Install <application>giflib</application> by running the following
|
---|
90 | commands:
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <screen><userinput>make</userinput></screen>
|
---|
94 |
|
---|
95 | <!-- <para>
|
---|
96 | To test the results, issue: <command>make check-TESTS</command>. Test
|
---|
97 | suite results are kept in <filename>test.sh.log</filename>.
|
---|
98 | </para>
|
---|
99 | There doesn't seem to be a test suite in 5.1.6 -->
|
---|
100 |
|
---|
101 | <para>
|
---|
102 | This package does not come with a test suite.
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <para>
|
---|
106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <screen role="root"><userinput>make PREFIX=/usr install &&
|
---|
110 |
|
---|
111 | rm -fv /usr/lib/libgif.a &&
|
---|
112 |
|
---|
113 | find doc \( -name Makefile\* -o -name \*.1 \
|
---|
114 | -o -name \*.xml \) -exec rm -v {} \; &&
|
---|
115 |
|
---|
116 | install -v -dm755 /usr/share/doc/giflib-&giflib-version; &&
|
---|
117 | cp -v -R doc/* /usr/share/doc/giflib-&giflib-version;</userinput></screen>
|
---|
118 | <!--
|
---|
119 | <para>
|
---|
120 | If <xref linkend="xmlto"/> is installed, then the API documentation has
|
---|
121 | been built. If you wish to install the distributed and the just built
|
---|
122 | documentations, issue, as the <systemitem
|
---|
123 | class="username">root</systemitem> user:
|
---|
124 | </para>
|
---|
125 | -->
|
---|
126 | </sect2>
|
---|
127 |
|
---|
128 | <sect2 role="commands">
|
---|
129 | <title>Command Explanations</title>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | <command>rm -fv /usr/lib/libgif.a</command>: This command removes a
|
---|
133 | static library which is not used by any BLFS package.
|
---|
134 | </para>
|
---|
135 |
|
---|
136 | <para>
|
---|
137 | <command>find doc ... -exec rm -v {} \;</command>: This command removes
|
---|
138 | <filename>Makefiles</filename>, man and xml files from the documentation
|
---|
139 | directory that would otherwise be installed by the commands that follow.
|
---|
140 | </para>
|
---|
141 |
|
---|
142 | </sect2>
|
---|
143 |
|
---|
144 | <sect2 role="content">
|
---|
145 | <title>Contents</title>
|
---|
146 |
|
---|
147 | <segmentedlist>
|
---|
148 | <segtitle>Installed Programs</segtitle>
|
---|
149 | <segtitle>Installed Library</segtitle>
|
---|
150 | <segtitle>Installed Directory</segtitle>
|
---|
151 |
|
---|
152 | <seglistitem>
|
---|
153 | <seg>gif2rgb, gifbuild, gifclrmp, giffix, giftext, and giftool</seg>
|
---|
154 | <seg>libgif.so</seg>
|
---|
155 | <seg>/usr/share/doc/giflib-&giflib-version;</seg>
|
---|
156 | </seglistitem>
|
---|
157 | </segmentedlist>
|
---|
158 |
|
---|
159 | <variablelist>
|
---|
160 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
161 | <?dbfo list-presentation="list"?>
|
---|
162 | <?dbhtml list-presentation="table"?>
|
---|
163 |
|
---|
164 | <varlistentry id="gif2rgb">
|
---|
165 | <term><command>gif2rgb</command></term>
|
---|
166 | <listitem>
|
---|
167 | <para>
|
---|
168 | converts images saved as GIF to 24-bit RGB images
|
---|
169 | </para>
|
---|
170 | <indexterm zone="giflib gif2rgb">
|
---|
171 | <primary sortas="b-gif2rgb">gif2rgb</primary>
|
---|
172 | </indexterm>
|
---|
173 | </listitem>
|
---|
174 | </varlistentry>
|
---|
175 |
|
---|
176 | <varlistentry id="gifbuild">
|
---|
177 | <term><command>gifbuild</command></term>
|
---|
178 | <listitem>
|
---|
179 | <para>
|
---|
180 | dumps GIF data in a textual format, or undumps it to a GIF
|
---|
181 | </para>
|
---|
182 | <indexterm zone="giflib gifbuild">
|
---|
183 | <primary sortas="b-gifbuild">gifbuild</primary>
|
---|
184 | </indexterm>
|
---|
185 | </listitem>
|
---|
186 | </varlistentry>
|
---|
187 |
|
---|
188 | <varlistentry id="gifclrmp">
|
---|
189 | <term><command>gifclrmp</command></term>
|
---|
190 | <listitem>
|
---|
191 | <para>
|
---|
192 | modifies GIF image colormaps
|
---|
193 | </para>
|
---|
194 | <indexterm zone="giflib gifclrmp">
|
---|
195 | <primary sortas="b-gifclrmp">gifclrmp</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | <varlistentry id="giffix">
|
---|
201 | <term><command>giffix</command></term>
|
---|
202 | <listitem>
|
---|
203 | <para>
|
---|
204 | clumsily attempts to fix truncated GIF images
|
---|
205 | </para>
|
---|
206 | <indexterm zone="giflib giffix">
|
---|
207 | <primary sortas="b-giffix">giffix</primary>
|
---|
208 | </indexterm>
|
---|
209 | </listitem>
|
---|
210 | </varlistentry>
|
---|
211 |
|
---|
212 | <varlistentry id="giftext">
|
---|
213 | <term><command>giftext</command></term>
|
---|
214 | <listitem>
|
---|
215 | <para>
|
---|
216 | prints (text only) general information about a GIF file
|
---|
217 | </para>
|
---|
218 | <indexterm zone="giflib giftext">
|
---|
219 | <primary sortas="b-giftext">giftext</primary>
|
---|
220 | </indexterm>
|
---|
221 | </listitem>
|
---|
222 | </varlistentry>
|
---|
223 |
|
---|
224 | <varlistentry id="giftool">
|
---|
225 | <term><command>giftool</command></term>
|
---|
226 | <listitem>
|
---|
227 | <para>
|
---|
228 | is a GIF transformation tool
|
---|
229 | </para>
|
---|
230 | <indexterm zone="giflib giftool">
|
---|
231 | <primary sortas="b-giftool">giftool</primary>
|
---|
232 | </indexterm>
|
---|
233 | </listitem>
|
---|
234 | </varlistentry>
|
---|
235 |
|
---|
236 | <varlistentry id="libgif">
|
---|
237 | <term><filename class="libraryfile">libgif.so</filename></term>
|
---|
238 | <listitem>
|
---|
239 | <para>
|
---|
240 | contains API functions required by the
|
---|
241 | <application>giflib</application> programs and any other programs
|
---|
242 | needing library functionality to read, write and manipulate GIF
|
---|
243 | images
|
---|
244 | </para>
|
---|
245 | <indexterm zone="giflib libgif">
|
---|
246 | <primary sortas="c-libgif">libgif.so</primary>
|
---|
247 | </indexterm>
|
---|
248 | </listitem>
|
---|
249 | </varlistentry>
|
---|
250 |
|
---|
251 | </variablelist>
|
---|
252 |
|
---|
253 | </sect2>
|
---|
254 |
|
---|
255 | </sect1>
|
---|