[d4e57f76] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[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 " ">
|
---|
[085de7b0] | 9 | <!ENTITY giflib-http-md5sum "179336e739eeacee4cef2a8f789a0fcb">
|
---|
| 10 | <!ENTITY giflib-http-size "380 KB">
|
---|
| 11 | <!ENTITY giflib-buildsize "3.4 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 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
[10fddb0] | 23 | <title>giflib-&giflib-version;</title>
|
---|
[9bd60d4] | 24 |
|
---|
| 25 | <indexterm zone="giflib">
|
---|
[b9982ea] | 26 | <primary sortas="a-giflib">giflib</primary>
|
---|
[9bd60d4] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[10fddb0] | 30 | <title>Introduction to giflib</title>
|
---|
[9bd60d4] | 31 |
|
---|
[e9116cc] | 32 | <para>The <application>giflib</application> package contains libraries
|
---|
| 33 | for reading and writing GIFs as well as programs for converting and
|
---|
[b9982ea] | 34 | working with GIF files.</para>
|
---|
[9bd60d4] | 35 |
|
---|
[e641675] | 36 | &lfs84_checked;
|
---|
[bd32b6fd] | 37 |
|
---|
[9bd60d4] | 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>
|
---|
[10fddb0] | 44 | <para>Download (HTTP) MD5 sum: &giflib-http-md5sum;</para>
|
---|
[9bd60d4] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[10fddb0] | 47 | <para>Download (HTTP) size: &giflib-http-size;</para>
|
---|
| 48 | </listitem>
|
---|
[9bd60d4] | 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 |
|
---|
[10fddb0] | 57 | <bridgehead renderas="sect3">giflib Dependencies</bridgehead>
|
---|
[9bd60d4] | 58 |
|
---|
[5a18fa4] | 59 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 60 | <para role="required">
|
---|
| 61 | <xref linkend="xmlto"/>
|
---|
[b9982ea] | 62 | </para>
|
---|
[9bd60d4] | 63 |
|
---|
[1039de3] | 64 | <para condition="html" role="usernotes">User Notes:
|
---|
[b9982ea] | 65 | <ulink url="&blfs-wiki;/giflib"/>
|
---|
| 66 | </para>
|
---|
[9bd60d4] | 67 | </sect2>
|
---|
| 68 |
|
---|
| 69 | <sect2 role="installation">
|
---|
[10fddb0] | 70 | <title>Installation of giflib</title>
|
---|
[9bd60d4] | 71 |
|
---|
| 72 | <para>Install <application>giflib</application> by running the following
|
---|
| 73 | commands:</para>
|
---|
| 74 |
|
---|
[ed07746] | 75 | <screen><userinput>make</userinput></screen>
|
---|
[9bd60d4] | 76 |
|
---|
[ed07746] | 77 | <!-- <para>To test the results, issue: <command>make check-TESTS</command>. Test
|
---|
[0c54cea] | 78 | suite results are kept in <filename>test.sh.log</filename>.</para>
|
---|
[ed07746] | 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>
|
---|
[10fddb0] | 82 |
|
---|
[9bd60d4] | 83 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 84 |
|
---|
[e641675] | 85 | <screen role="root"><userinput>make PREFIX=/usr install &&
|
---|
[0d27bb9] | 86 | rm -vf /usr/lib/libgif.a &&
|
---|
[17273d0] | 87 |
|
---|
[0d27bb9] | 88 | find doc \( -name Makefile\* -o -name \*.1 \
|
---|
[07357c23] | 89 | -o -name \*.xml \) -exec rm -v {} \; &&
|
---|
| 90 |
|
---|
| 91 | install -v -dm755 /usr/share/doc/giflib-&giflib-version; &&
|
---|
| 92 | cp -v -R doc/* /usr/share/doc/giflib-&giflib-version;</userinput></screen>
|
---|
[0d27bb9] | 93 | <!--
|
---|
| 94 | <para>If <xref linkend="xmlto"/> is installed, then the API documentation
|
---|
| 95 | has been built. If you wish to install the distributed and the just built
|
---|
| 96 | documentations, issue, as the
|
---|
| 97 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 98 | -->
|
---|
[9bd60d4] | 99 | </sect2>
|
---|
| 100 |
|
---|
[26deddbf] | 101 | <sect2 role="commands">
|
---|
| 102 | <title>Command Explanations</title>
|
---|
| 103 |
|
---|
[07357c23] | 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 |
|
---|
[f867424] | 110 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 111 | href="../../xincludes/static-libraries.xml"/>
|
---|
[26deddbf] | 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
[9bd60d4] | 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>
|
---|
[ed07746] | 124 | <seg>gif2rgb, gifbuild, gifclrmp, gifecho, giffix, gifinto, gifsponge,
|
---|
[b9982ea] | 125 | giftext and giftool</seg>
|
---|
[f867424] | 126 | <seg>libgif.so</seg>
|
---|
[9bd60d4] | 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 |
|
---|
[a366dc3] | 136 | <!-- Seems to be removed in 5.1.0
|
---|
[b9982ea] | 137 | <varlistentry id="gif2raw">
|
---|
| 138 | <term><command>gif2raw</command></term>
|
---|
[9bd60d4] | 139 | <listitem>
|
---|
[b9982ea] | 140 | <para>converts images saved as GIF to raw pixel data.</para>
|
---|
| 141 | <indexterm zone="giflib gif2raw">
|
---|
| 142 | <primary sortas="b-gif2raw">gif2raw</primary>
|
---|
[9bd60d4] | 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
[a366dc3] | 146 | -->
|
---|
[b9982ea] | 147 | <varlistentry id="gif2rgb">
|
---|
| 148 | <term><command>gif2rgb</command></term>
|
---|
[9bd60d4] | 149 | <listitem>
|
---|
[b9982ea] | 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>
|
---|
[9bd60d4] | 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
[b9982ea] | 157 | <varlistentry id="gifbuild">
|
---|
| 158 | <term><command>gifbuild</command></term>
|
---|
[9bd60d4] | 159 | <listitem>
|
---|
[b9982ea] | 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>
|
---|
[9bd60d4] | 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 |
|
---|
[b9982ea] | 177 | <varlistentry id="gifecho">
|
---|
| 178 | <term><command>gifecho</command></term>
|
---|
[9bd60d4] | 179 | <listitem>
|
---|
[b9982ea] | 180 | <para>generates a GIF from ASCII text.</para>
|
---|
| 181 | <indexterm zone="giflib gifecho">
|
---|
| 182 | <primary sortas="b-gifecho">gifecho</primary>
|
---|
[9bd60d4] | 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">
|
---|
[de2551f] | 192 | <primary sortas="b-giffix">giffix</primary>
|
---|
[9bd60d4] | 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 |
|
---|
[ed07746] | 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 |
|
---|
[9bd60d4] | 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 |
|
---|
[b9982ea] | 228 | <varlistentry id="giftool">
|
---|
| 229 | <term><command>giftool</command></term>
|
---|
[9bd60d4] | 230 | <listitem>
|
---|
[b9982ea] | 231 | <para>is a GIF transformation tool.</para>
|
---|
| 232 | <indexterm zone="giflib giftool">
|
---|
| 233 | <primary sortas="b-giftool">giftool</primary>
|
---|
[9bd60d4] | 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | <varlistentry id="libgif">
|
---|
[b9982ea] | 239 | <term><filename class="libraryfile">libgif.so</filename></term>
|
---|
[9bd60d4] | 240 | <listitem>
|
---|
[e9116cc] | 241 | <para>contains API functions required by the
|
---|
| 242 | <application>giflib</application> programs and any other programs needing
|
---|
[9bd60d4] | 243 | library functionality to read, write and manipulate GIF images.</para>
|
---|
| 244 | <indexterm zone="giflib libgif">
|
---|
[f867424] | 245 | <primary sortas="c-libgif">libgif.so</primary>
|
---|
[9bd60d4] | 246 | </indexterm>
|
---|
| 247 | </listitem>
|
---|
| 248 | </varlistentry>
|
---|
| 249 |
|
---|
| 250 | </variablelist>
|
---|
| 251 |
|
---|
| 252 | </sect2>
|
---|
[d4e57f76] | 253 |
|
---|
| 254 | </sect1>
|
---|