[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 |
|
---|
[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 |
|
---|
[ac0d66d] | 34 | &lfs113_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 |
|
---|
[10fddb0] | 70 | <bridgehead renderas="sect3">giflib Dependencies</bridgehead>
|
---|
[9bd60d4] | 71 |
|
---|
[5a18fa4] | 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required">
|
---|
[8558044] | 74 | <xref linkend="xmlto"/>
|
---|
[b9982ea] | 75 | </para>
|
---|
[9bd60d4] | 76 |
|
---|
[1039de3] | 77 | <para condition="html" role="usernotes">User Notes:
|
---|
[b9982ea] | 78 | <ulink url="&blfs-wiki;/giflib"/>
|
---|
| 79 | </para>
|
---|
[9bd60d4] | 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
[10fddb0] | 83 | <title>Installation of giflib</title>
|
---|
[9bd60d4] | 84 |
|
---|
[09f0998] | 85 | <para>
|
---|
| 86 | Install <application>giflib</application> by running the following
|
---|
| 87 | commands:
|
---|
| 88 | </para>
|
---|
[9bd60d4] | 89 |
|
---|
[ed07746] | 90 | <screen><userinput>make</userinput></screen>
|
---|
[9bd60d4] | 91 |
|
---|
[09f0998] | 92 | <!-- <para>
|
---|
| 93 | To test the results, issue: <command>make check-TESTS</command>. Test
|
---|
| 94 | suite results are kept in <filename>test.sh.log</filename>.
|
---|
| 95 | </para>
|
---|
[ed07746] | 96 | There doesn't seem to be a test suite in 5.1.6 -->
|
---|
| 97 |
|
---|
[09f0998] | 98 | <para>
|
---|
| 99 | This package does not come with a test suite.
|
---|
| 100 | </para>
|
---|
[10fddb0] | 101 |
|
---|
[09f0998] | 102 | <para>
|
---|
| 103 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 104 | </para>
|
---|
[9bd60d4] | 105 |
|
---|
[e641675] | 106 | <screen role="root"><userinput>make PREFIX=/usr install &&
|
---|
[17273d0] | 107 |
|
---|
[0781cb6b] | 108 | rm -fv /usr/lib/libgif.a &&
|
---|
| 109 |
|
---|
[0d27bb9] | 110 | find doc \( -name Makefile\* -o -name \*.1 \
|
---|
[07357c23] | 111 | -o -name \*.xml \) -exec rm -v {} \; &&
|
---|
| 112 |
|
---|
| 113 | install -v -dm755 /usr/share/doc/giflib-&giflib-version; &&
|
---|
| 114 | cp -v -R doc/* /usr/share/doc/giflib-&giflib-version;</userinput></screen>
|
---|
[0d27bb9] | 115 | <!--
|
---|
[09f0998] | 116 | <para>
|
---|
| 117 | If <xref linkend="xmlto"/> is installed, then the API documentation has
|
---|
| 118 | been built. If you wish to install the distributed and the just built
|
---|
| 119 | documentations, issue, as the <systemitem
|
---|
| 120 | class="username">root</systemitem> user:
|
---|
| 121 | </para>
|
---|
[0d27bb9] | 122 | -->
|
---|
[9bd60d4] | 123 | </sect2>
|
---|
| 124 |
|
---|
[26deddbf] | 125 | <sect2 role="commands">
|
---|
| 126 | <title>Command Explanations</title>
|
---|
| 127 |
|
---|
[0781cb6b] | 128 | <para>
|
---|
| 129 | <command>rm -fv /usr/lib/libgif.a</command>: This command removes a
|
---|
| 130 | static library which is not used by any BLFS package.
|
---|
| 131 | </para>
|
---|
| 132 |
|
---|
[07357c23] | 133 | <para>
|
---|
| 134 | <command>find doc ... -exec rm -v {} \;</command>: This command removes
|
---|
| 135 | <filename>Makefiles</filename>, man and xml files from the documentation
|
---|
| 136 | directory that would otherwise be installed by the commands that follow.
|
---|
| 137 | </para>
|
---|
| 138 |
|
---|
[26deddbf] | 139 | </sect2>
|
---|
| 140 |
|
---|
[9bd60d4] | 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Library</segtitle>
|
---|
| 147 | <segtitle>Installed Directory</segtitle>
|
---|
| 148 |
|
---|
| 149 | <seglistitem>
|
---|
[0a7cf69a] | 150 | <seg>gif2rgb, gifbuild, gifclrmp, giffix, giftext, and giftool</seg>
|
---|
[f867424] | 151 | <seg>libgif.so</seg>
|
---|
[9bd60d4] | 152 | <seg>/usr/share/doc/giflib-&giflib-version;</seg>
|
---|
| 153 | </seglistitem>
|
---|
| 154 | </segmentedlist>
|
---|
| 155 |
|
---|
| 156 | <variablelist>
|
---|
| 157 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 158 | <?dbfo list-presentation="list"?>
|
---|
| 159 | <?dbhtml list-presentation="table"?>
|
---|
| 160 |
|
---|
[b9982ea] | 161 | <varlistentry id="gif2rgb">
|
---|
| 162 | <term><command>gif2rgb</command></term>
|
---|
[9bd60d4] | 163 | <listitem>
|
---|
[09f0998] | 164 | <para>
|
---|
[4c24eb0a] | 165 | converts images saved as GIF to 24-bit RGB images
|
---|
[09f0998] | 166 | </para>
|
---|
[b9982ea] | 167 | <indexterm zone="giflib gif2rgb">
|
---|
| 168 | <primary sortas="b-gif2rgb">gif2rgb</primary>
|
---|
[9bd60d4] | 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
[b9982ea] | 173 | <varlistentry id="gifbuild">
|
---|
| 174 | <term><command>gifbuild</command></term>
|
---|
[9bd60d4] | 175 | <listitem>
|
---|
[09f0998] | 176 | <para>
|
---|
[4c24eb0a] | 177 | dumps GIF data in a textual format, or undumps it to a GIF
|
---|
[09f0998] | 178 | </para>
|
---|
[b9982ea] | 179 | <indexterm zone="giflib gifbuild">
|
---|
| 180 | <primary sortas="b-gifbuild">gifbuild</primary>
|
---|
[9bd60d4] | 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="gifclrmp">
|
---|
| 186 | <term><command>gifclrmp</command></term>
|
---|
| 187 | <listitem>
|
---|
[09f0998] | 188 | <para>
|
---|
[4c24eb0a] | 189 | modifies GIF image colormaps
|
---|
[09f0998] | 190 | </para>
|
---|
[9bd60d4] | 191 | <indexterm zone="giflib gifclrmp">
|
---|
| 192 | <primary sortas="b-gifclrmp">gifclrmp</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="giffix">
|
---|
| 198 | <term><command>giffix</command></term>
|
---|
| 199 | <listitem>
|
---|
[09f0998] | 200 | <para>
|
---|
[4c24eb0a] | 201 | clumsily attempts to fix truncated GIF images
|
---|
[09f0998] | 202 | </para>
|
---|
[9bd60d4] | 203 | <indexterm zone="giflib giffix">
|
---|
[de2551f] | 204 | <primary sortas="b-giffix">giffix</primary>
|
---|
[9bd60d4] | 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="giftext">
|
---|
| 210 | <term><command>giftext</command></term>
|
---|
| 211 | <listitem>
|
---|
[09f0998] | 212 | <para>
|
---|
[4c24eb0a] | 213 | prints (text only) general information about a GIF file
|
---|
[09f0998] | 214 | </para>
|
---|
[9bd60d4] | 215 | <indexterm zone="giflib giftext">
|
---|
| 216 | <primary sortas="b-giftext">giftext</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
[b9982ea] | 221 | <varlistentry id="giftool">
|
---|
| 222 | <term><command>giftool</command></term>
|
---|
[9bd60d4] | 223 | <listitem>
|
---|
[09f0998] | 224 | <para>
|
---|
[4c24eb0a] | 225 | is a GIF transformation tool
|
---|
[09f0998] | 226 | </para>
|
---|
[b9982ea] | 227 | <indexterm zone="giflib giftool">
|
---|
| 228 | <primary sortas="b-giftool">giftool</primary>
|
---|
[9bd60d4] | 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | <varlistentry id="libgif">
|
---|
[b9982ea] | 234 | <term><filename class="libraryfile">libgif.so</filename></term>
|
---|
[9bd60d4] | 235 | <listitem>
|
---|
[09f0998] | 236 | <para>
|
---|
| 237 | contains API functions required by the
|
---|
| 238 | <application>giflib</application> programs and any other programs
|
---|
| 239 | needing library functionality to read, write and manipulate GIF
|
---|
[4c24eb0a] | 240 | images
|
---|
[09f0998] | 241 | </para>
|
---|
[9bd60d4] | 242 | <indexterm zone="giflib libgif">
|
---|
[f867424] | 243 | <primary sortas="c-libgif">libgif.so</primary>
|
---|
[9bd60d4] | 244 | </indexterm>
|
---|
| 245 | </listitem>
|
---|
| 246 | </varlistentry>
|
---|
| 247 |
|
---|
| 248 | </variablelist>
|
---|
| 249 |
|
---|
| 250 | </sect2>
|
---|
[d4e57f76] | 251 |
|
---|
| 252 | </sect1>
|
---|