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