[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 |
|
---|
[742cddb5] | 38 | &lfs10_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 |
|
---|
[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 |
|
---|
[07357c23] | 125 | <para>
|
---|
| 126 | <command>find doc ... -exec rm -v {} \;</command>: This command removes
|
---|
| 127 | <filename>Makefiles</filename>, man and xml files from the documentation
|
---|
| 128 | directory that would otherwise be installed by the commands that follow.
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
[26deddbf] | 131 | </sect2>
|
---|
| 132 |
|
---|
[9bd60d4] | 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
| 135 |
|
---|
| 136 | <segmentedlist>
|
---|
| 137 | <segtitle>Installed Programs</segtitle>
|
---|
| 138 | <segtitle>Installed Library</segtitle>
|
---|
| 139 | <segtitle>Installed Directory</segtitle>
|
---|
| 140 |
|
---|
| 141 | <seglistitem>
|
---|
[0a7cf69a] | 142 | <seg>gif2rgb, gifbuild, gifclrmp, giffix, giftext, and giftool</seg>
|
---|
[f867424] | 143 | <seg>libgif.so</seg>
|
---|
[9bd60d4] | 144 | <seg>/usr/share/doc/giflib-&giflib-version;</seg>
|
---|
| 145 | </seglistitem>
|
---|
| 146 | </segmentedlist>
|
---|
| 147 |
|
---|
| 148 | <variablelist>
|
---|
| 149 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 150 | <?dbfo list-presentation="list"?>
|
---|
| 151 | <?dbhtml list-presentation="table"?>
|
---|
| 152 |
|
---|
[b9982ea] | 153 | <varlistentry id="gif2rgb">
|
---|
| 154 | <term><command>gif2rgb</command></term>
|
---|
[9bd60d4] | 155 | <listitem>
|
---|
[09f0998] | 156 | <para>
|
---|
| 157 | converts images saved as GIF to 24-bit RGB images.
|
---|
| 158 | </para>
|
---|
[b9982ea] | 159 | <indexterm zone="giflib gif2rgb">
|
---|
| 160 | <primary sortas="b-gif2rgb">gif2rgb</primary>
|
---|
[9bd60d4] | 161 | </indexterm>
|
---|
| 162 | </listitem>
|
---|
| 163 | </varlistentry>
|
---|
| 164 |
|
---|
[b9982ea] | 165 | <varlistentry id="gifbuild">
|
---|
| 166 | <term><command>gifbuild</command></term>
|
---|
[9bd60d4] | 167 | <listitem>
|
---|
[09f0998] | 168 | <para>
|
---|
| 169 | dumps GIF data in a textual format, or undumps it to a GIF.
|
---|
| 170 | </para>
|
---|
[b9982ea] | 171 | <indexterm zone="giflib gifbuild">
|
---|
| 172 | <primary sortas="b-gifbuild">gifbuild</primary>
|
---|
[9bd60d4] | 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="gifclrmp">
|
---|
| 178 | <term><command>gifclrmp</command></term>
|
---|
| 179 | <listitem>
|
---|
[09f0998] | 180 | <para>
|
---|
| 181 | modifies GIF image colormaps.
|
---|
| 182 | </para>
|
---|
[9bd60d4] | 183 | <indexterm zone="giflib gifclrmp">
|
---|
| 184 | <primary sortas="b-gifclrmp">gifclrmp</primary>
|
---|
| 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | <varlistentry id="giffix">
|
---|
| 190 | <term><command>giffix</command></term>
|
---|
| 191 | <listitem>
|
---|
[09f0998] | 192 | <para>
|
---|
| 193 | clumsily attempts to fix truncated GIF images.
|
---|
| 194 | </para>
|
---|
[9bd60d4] | 195 | <indexterm zone="giflib giffix">
|
---|
[de2551f] | 196 | <primary sortas="b-giffix">giffix</primary>
|
---|
[9bd60d4] | 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="giftext">
|
---|
| 202 | <term><command>giftext</command></term>
|
---|
| 203 | <listitem>
|
---|
[09f0998] | 204 | <para>
|
---|
| 205 | prints (text only) general information about a GIF file.
|
---|
| 206 | </para>
|
---|
[9bd60d4] | 207 | <indexterm zone="giflib giftext">
|
---|
| 208 | <primary sortas="b-giftext">giftext</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
[b9982ea] | 213 | <varlistentry id="giftool">
|
---|
| 214 | <term><command>giftool</command></term>
|
---|
[9bd60d4] | 215 | <listitem>
|
---|
[09f0998] | 216 | <para>
|
---|
| 217 | is a GIF transformation tool.
|
---|
| 218 | </para>
|
---|
[b9982ea] | 219 | <indexterm zone="giflib giftool">
|
---|
| 220 | <primary sortas="b-giftool">giftool</primary>
|
---|
[9bd60d4] | 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
| 224 |
|
---|
| 225 | <varlistentry id="libgif">
|
---|
[b9982ea] | 226 | <term><filename class="libraryfile">libgif.so</filename></term>
|
---|
[9bd60d4] | 227 | <listitem>
|
---|
[09f0998] | 228 | <para>
|
---|
| 229 | contains API functions required by the
|
---|
| 230 | <application>giflib</application> programs and any other programs
|
---|
| 231 | needing library functionality to read, write and manipulate GIF
|
---|
| 232 | images.
|
---|
| 233 | </para>
|
---|
[9bd60d4] | 234 | <indexterm zone="giflib libgif">
|
---|
[f867424] | 235 | <primary sortas="c-libgif">libgif.so</primary>
|
---|
[9bd60d4] | 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | </variablelist>
|
---|
| 241 |
|
---|
| 242 | </sect2>
|
---|
[d4e57f76] | 243 |
|
---|
| 244 | </sect1>
|
---|