source: general/graphlib/giflib.xml@ 53d31c69

gimp3 lazarus trunk
Last change on this file since 53d31c69 was 81e35e0d, checked in by Douglas R. Reno <renodr@…>, 5 months ago

Fix a rendering error in my giflib update

  • Property mode set to 100644
File size: 7.9 KB
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[d4e57f76]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[316af37c]7 <!ENTITY giflib-download-http "https://sourceforge.net/projects/giflib/files/giflib-&giflib-version;.tar.gz">
[b9982ea]8 <!ENTITY giflib-download-ftp " ">
[e4e1474]9 <!ENTITY giflib-http-md5sum "913dd251492134e235ee3c9a91987a4d">
10 <!ENTITY giflib-http-size "440 KB">
11 <!ENTITY giflib-buildsize "4.0 MB (with documentation)">
[ed07746]12 <!ENTITY giflib-time "less than 0.1 SBU (with documentation)">
[d4e57f76]13]>
14
15<sect1 id="giflib" xreflabel="giflib-&giflib-version;">
[9bd60d4]16 <?dbhtml filename="giflib.html"?>
17
18
[10fddb0]19 <title>giflib-&giflib-version;</title>
[9bd60d4]20
21 <indexterm zone="giflib">
[b9982ea]22 <primary sortas="a-giflib">giflib</primary>
[9bd60d4]23 </indexterm>
24
25 <sect2 role="package">
[10fddb0]26 <title>Introduction to giflib</title>
[9bd60d4]27
[09f0998]28 <para>
29 The <application>giflib</application> package contains libraries
30 for reading and writing GIFs as well as programs for converting and
31 working with GIF files.
32 </para>
[9bd60d4]33
[e8b3f50]34 &lfs121_checked;
[bd32b6fd]35
[9bd60d4]36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
[09f0998]39 <para>
40 Download (HTTP): <ulink url="&giflib-download-http;"/>
41 </para>
[9bd60d4]42 </listitem>
43 <listitem>
[09f0998]44 <para>
[0044091]45 Download (FTP): <ulink url="&giflib-download-ftp;"/>
[09f0998]46 </para>
[9bd60d4]47 </listitem>
48 <listitem>
[09f0998]49 <para>
[0044091]50 Download MD5 sum: &giflib-http-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &giflib-http-size;
[09f0998]56 </para>
[10fddb0]57 </listitem>
[9bd60d4]58 <listitem>
[09f0998]59 <para>
60 Estimated disk space required: &giflib-buildsize;
61 </para>
[9bd60d4]62 </listitem>
63 <listitem>
[09f0998]64 <para>
65 Estimated build time: &giflib-time;
66 </para>
[9bd60d4]67 </listitem>
68 </itemizedlist>
69
[e4e1474]70 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
71 <itemizedlist spacing="compact">
72 <listitem>
73 <para>
74 Required patch:
75 <ulink url="&patch-root;/giflib-&giflib-version;-upstream_fixes-1.patch"/>
76 </para>
77 </listitem>
78 </itemizedlist>
79
[10fddb0]80 <bridgehead renderas="sect3">giflib Dependencies</bridgehead>
[9bd60d4]81
[5a18fa4]82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
[8558044]84 <xref linkend="xmlto"/>
[b9982ea]85 </para>
[9bd60d4]86
87 </sect2>
88
89 <sect2 role="installation">
[10fddb0]90 <title>Installation of giflib</title>
[9bd60d4]91
[e4e1474]92 <para>
93 First, prevent the build process from installing XML files instead of man
94 pages:
95 </para>
96
97<screen><userinput remap="pre">patch -Np1 -i ../giflib-&giflib-version;-upstream_fixes-1.patch</userinput></screen>
98
99 <para>
100 Next, remove an unnecessary dependency on <xref linkend="imagemagick"/>
101 by moving a file into an expected location:
102 </para>
103
[81e35e0d]104<screen><userinput remap="pre">cp pic/gifgrid.gif doc/giflib-logo.gif</userinput></screen>
[e4e1474]105
[09f0998]106 <para>
107 Install <application>giflib</application> by running the following
108 commands:
109 </para>
[9bd60d4]110
[ed07746]111<screen><userinput>make</userinput></screen>
[9bd60d4]112
[09f0998]113<!-- <para>
114 To test the results, issue: <command>make check-TESTS</command>. Test
115 suite results are kept in <filename>test.sh.log</filename>.
116 </para>
[ed07746]117 There doesn't seem to be a test suite in 5.1.6 -->
118
[09f0998]119 <para>
120 This package does not come with a test suite.
121 </para>
[10fddb0]122
[09f0998]123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
[9bd60d4]126
[e641675]127<screen role="root"><userinput>make PREFIX=/usr install &amp;&amp;
[17273d0]128
[0781cb6b]129rm -fv /usr/lib/libgif.a &amp;&amp;
130
[0d27bb9]131find doc \( -name Makefile\* -o -name \*.1 \
[07357c23]132 -o -name \*.xml \) -exec rm -v {} \; &amp;&amp;
133
134install -v -dm755 /usr/share/doc/giflib-&giflib-version; &amp;&amp;
135cp -v -R doc/* /usr/share/doc/giflib-&giflib-version;</userinput></screen>
[0d27bb9]136<!--
[09f0998]137 <para>
138 If <xref linkend="xmlto"/> is installed, then the API documentation has
139 been built. If you wish to install the distributed and the just built
140 documentations, issue, as the <systemitem
141 class="username">root</systemitem> user:
142 </para>
[0d27bb9]143-->
[9bd60d4]144 </sect2>
145
[26deddbf]146 <sect2 role="commands">
147 <title>Command Explanations</title>
148
[0781cb6b]149 <para>
150 <command>rm -fv /usr/lib/libgif.a</command>: This command removes a
151 static library which is not used by any BLFS package.
152 </para>
153
[07357c23]154 <para>
155 <command>find doc ... -exec rm -v {} \;</command>: This command removes
156 <filename>Makefiles</filename>, man and xml files from the documentation
157 directory that would otherwise be installed by the commands that follow.
158 </para>
159
[26deddbf]160 </sect2>
161
[9bd60d4]162 <sect2 role="content">
163 <title>Contents</title>
164
165 <segmentedlist>
166 <segtitle>Installed Programs</segtitle>
167 <segtitle>Installed Library</segtitle>
168 <segtitle>Installed Directory</segtitle>
169
170 <seglistitem>
[0a7cf69a]171 <seg>gif2rgb, gifbuild, gifclrmp, giffix, giftext, and giftool</seg>
[f867424]172 <seg>libgif.so</seg>
[9bd60d4]173 <seg>/usr/share/doc/giflib-&giflib-version;</seg>
174 </seglistitem>
175 </segmentedlist>
176
177 <variablelist>
178 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
179 <?dbfo list-presentation="list"?>
180 <?dbhtml list-presentation="table"?>
181
[b9982ea]182 <varlistentry id="gif2rgb">
183 <term><command>gif2rgb</command></term>
[9bd60d4]184 <listitem>
[09f0998]185 <para>
[4c24eb0a]186 converts images saved as GIF to 24-bit RGB images
[09f0998]187 </para>
[b9982ea]188 <indexterm zone="giflib gif2rgb">
189 <primary sortas="b-gif2rgb">gif2rgb</primary>
[9bd60d4]190 </indexterm>
191 </listitem>
192 </varlistentry>
193
[b9982ea]194 <varlistentry id="gifbuild">
195 <term><command>gifbuild</command></term>
[9bd60d4]196 <listitem>
[09f0998]197 <para>
[4c24eb0a]198 dumps GIF data in a textual format, or undumps it to a GIF
[09f0998]199 </para>
[b9982ea]200 <indexterm zone="giflib gifbuild">
201 <primary sortas="b-gifbuild">gifbuild</primary>
[9bd60d4]202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 <varlistentry id="gifclrmp">
207 <term><command>gifclrmp</command></term>
208 <listitem>
[09f0998]209 <para>
[4c24eb0a]210 modifies GIF image colormaps
[09f0998]211 </para>
[9bd60d4]212 <indexterm zone="giflib gifclrmp">
213 <primary sortas="b-gifclrmp">gifclrmp</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="giffix">
219 <term><command>giffix</command></term>
220 <listitem>
[09f0998]221 <para>
[4c24eb0a]222 clumsily attempts to fix truncated GIF images
[09f0998]223 </para>
[9bd60d4]224 <indexterm zone="giflib giffix">
[de2551f]225 <primary sortas="b-giffix">giffix</primary>
[9bd60d4]226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 <varlistentry id="giftext">
231 <term><command>giftext</command></term>
232 <listitem>
[09f0998]233 <para>
[4c24eb0a]234 prints (text only) general information about a GIF file
[09f0998]235 </para>
[9bd60d4]236 <indexterm zone="giflib giftext">
237 <primary sortas="b-giftext">giftext</primary>
238 </indexterm>
239 </listitem>
240 </varlistentry>
241
[b9982ea]242 <varlistentry id="giftool">
243 <term><command>giftool</command></term>
[9bd60d4]244 <listitem>
[09f0998]245 <para>
[4c24eb0a]246 is a GIF transformation tool
[09f0998]247 </para>
[b9982ea]248 <indexterm zone="giflib giftool">
249 <primary sortas="b-giftool">giftool</primary>
[9bd60d4]250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="libgif">
[b9982ea]255 <term><filename class="libraryfile">libgif.so</filename></term>
[9bd60d4]256 <listitem>
[09f0998]257 <para>
258 contains API functions required by the
259 <application>giflib</application> programs and any other programs
260 needing library functionality to read, write and manipulate GIF
[4c24eb0a]261 images
[09f0998]262 </para>
[9bd60d4]263 <indexterm zone="giflib libgif">
[f867424]264 <primary sortas="c-libgif">libgif.so</primary>
[9bd60d4]265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 </variablelist>
270
271 </sect2>
[d4e57f76]272
273</sect1>
Note: See TracBrowser for help on using the repository browser.