[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 " ">
|
---|
[7aa97712] | 9 | <!ENTITY giflib-http-md5sum "6f03aee4ebe54ac2cc1ab3e4b0a049e5">
|
---|
[7afe5ac4] | 10 | <!ENTITY giflib-http-size "436 KB">
|
---|
| 11 | <!ENTITY giflib-buildsize "3.2 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 |
|
---|
[cb097ec1] | 36 | &lfs90_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 &&
|
---|
[93caa46] | 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 |
|
---|
[26deddbf] | 110 | </sect2>
|
---|
| 111 |
|
---|
[9bd60d4] | 112 | <sect2 role="content">
|
---|
| 113 | <title>Contents</title>
|
---|
| 114 |
|
---|
| 115 | <segmentedlist>
|
---|
| 116 | <segtitle>Installed Programs</segtitle>
|
---|
| 117 | <segtitle>Installed Library</segtitle>
|
---|
| 118 | <segtitle>Installed Directory</segtitle>
|
---|
| 119 |
|
---|
| 120 | <seglistitem>
|
---|
[ed07746] | 121 | <seg>gif2rgb, gifbuild, gifclrmp, gifecho, giffix, gifinto, gifsponge,
|
---|
[b9982ea] | 122 | giftext and giftool</seg>
|
---|
[f867424] | 123 | <seg>libgif.so</seg>
|
---|
[9bd60d4] | 124 | <seg>/usr/share/doc/giflib-&giflib-version;</seg>
|
---|
| 125 | </seglistitem>
|
---|
| 126 | </segmentedlist>
|
---|
| 127 |
|
---|
| 128 | <variablelist>
|
---|
| 129 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 130 | <?dbfo list-presentation="list"?>
|
---|
| 131 | <?dbhtml list-presentation="table"?>
|
---|
| 132 |
|
---|
[a366dc3] | 133 | <!-- Seems to be removed in 5.1.0
|
---|
[b9982ea] | 134 | <varlistentry id="gif2raw">
|
---|
| 135 | <term><command>gif2raw</command></term>
|
---|
[9bd60d4] | 136 | <listitem>
|
---|
[b9982ea] | 137 | <para>converts images saved as GIF to raw pixel data.</para>
|
---|
| 138 | <indexterm zone="giflib gif2raw">
|
---|
| 139 | <primary sortas="b-gif2raw">gif2raw</primary>
|
---|
[9bd60d4] | 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
[a366dc3] | 143 | -->
|
---|
[b9982ea] | 144 | <varlistentry id="gif2rgb">
|
---|
| 145 | <term><command>gif2rgb</command></term>
|
---|
[9bd60d4] | 146 | <listitem>
|
---|
[b9982ea] | 147 | <para>converts images saved as GIF to 24-bit RGB images.</para>
|
---|
| 148 | <indexterm zone="giflib gif2rgb">
|
---|
| 149 | <primary sortas="b-gif2rgb">gif2rgb</primary>
|
---|
[9bd60d4] | 150 | </indexterm>
|
---|
| 151 | </listitem>
|
---|
| 152 | </varlistentry>
|
---|
| 153 |
|
---|
[b9982ea] | 154 | <varlistentry id="gifbuild">
|
---|
| 155 | <term><command>gifbuild</command></term>
|
---|
[9bd60d4] | 156 | <listitem>
|
---|
[b9982ea] | 157 | <para>dumps GIF data in a textual format, or undumps it to a GIF.</para>
|
---|
| 158 | <indexterm zone="giflib gifbuild">
|
---|
| 159 | <primary sortas="b-gifbuild">gifbuild</primary>
|
---|
[9bd60d4] | 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | <varlistentry id="gifclrmp">
|
---|
| 165 | <term><command>gifclrmp</command></term>
|
---|
| 166 | <listitem>
|
---|
| 167 | <para>modifies GIF image colormaps.</para>
|
---|
| 168 | <indexterm zone="giflib gifclrmp">
|
---|
| 169 | <primary sortas="b-gifclrmp">gifclrmp</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
[b9982ea] | 174 | <varlistentry id="gifecho">
|
---|
| 175 | <term><command>gifecho</command></term>
|
---|
[9bd60d4] | 176 | <listitem>
|
---|
[b9982ea] | 177 | <para>generates a GIF from ASCII text.</para>
|
---|
| 178 | <indexterm zone="giflib gifecho">
|
---|
| 179 | <primary sortas="b-gifecho">gifecho</primary>
|
---|
[9bd60d4] | 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 |
|
---|
| 184 | <varlistentry id="giffix">
|
---|
| 185 | <term><command>giffix</command></term>
|
---|
| 186 | <listitem>
|
---|
| 187 | <para>clumsily attempts to fix truncated GIF images.</para>
|
---|
| 188 | <indexterm zone="giflib giffix">
|
---|
[de2551f] | 189 | <primary sortas="b-giffix">giffix</primary>
|
---|
[9bd60d4] | 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | <varlistentry id="gifinto">
|
---|
| 195 | <term><command>gifinto</command></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>is an end-of-pipe fitting for GIF-processing pipelines.</para>
|
---|
| 198 | <indexterm zone="giflib gifinto">
|
---|
| 199 | <primary sortas="b-gifinto">gifinto</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
[ed07746] | 204 | <varlistentry id="gifsponge">
|
---|
| 205 | <term><command>gifsponge</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>is used to copy the content of GIFs from one file to
|
---|
| 208 | another. It's also used as a test of library functionality.</para>
|
---|
| 209 | <indexterm zone="giflib gifsponge">
|
---|
| 210 | <primary sortas="b-gifsponge">gifsponge</primary>
|
---|
| 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
[9bd60d4] | 215 | <varlistentry id="giftext">
|
---|
| 216 | <term><command>giftext</command></term>
|
---|
| 217 | <listitem>
|
---|
| 218 | <para>prints (text only) general information about a GIF file.</para>
|
---|
| 219 | <indexterm zone="giflib giftext">
|
---|
| 220 | <primary sortas="b-giftext">giftext</primary>
|
---|
| 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
| 224 |
|
---|
[b9982ea] | 225 | <varlistentry id="giftool">
|
---|
| 226 | <term><command>giftool</command></term>
|
---|
[9bd60d4] | 227 | <listitem>
|
---|
[b9982ea] | 228 | <para>is a GIF transformation tool.</para>
|
---|
| 229 | <indexterm zone="giflib giftool">
|
---|
| 230 | <primary sortas="b-giftool">giftool</primary>
|
---|
[9bd60d4] | 231 | </indexterm>
|
---|
| 232 | </listitem>
|
---|
| 233 | </varlistentry>
|
---|
| 234 |
|
---|
| 235 | <varlistentry id="libgif">
|
---|
[b9982ea] | 236 | <term><filename class="libraryfile">libgif.so</filename></term>
|
---|
[9bd60d4] | 237 | <listitem>
|
---|
[e9116cc] | 238 | <para>contains API functions required by the
|
---|
| 239 | <application>giflib</application> programs and any other programs needing
|
---|
[9bd60d4] | 240 | library functionality to read, write and manipulate GIF images.</para>
|
---|
| 241 | <indexterm zone="giflib libgif">
|
---|
[f867424] | 242 | <primary sortas="c-libgif">libgif.so</primary>
|
---|
[9bd60d4] | 243 | </indexterm>
|
---|
| 244 | </listitem>
|
---|
| 245 | </varlistentry>
|
---|
| 246 |
|
---|
| 247 | </variablelist>
|
---|
| 248 |
|
---|
| 249 | </sect2>
|
---|
[d4e57f76] | 250 |
|
---|
| 251 | </sect1>
|
---|