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