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