[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 |
|
---|
[fce275e] | 7 | <!ENTITY giflib-download-http "&sourceforge-repo;/giflib/giflib-&giflib-version;.tar.bz2">
|
---|
[b9982ea] | 8 | <!ENTITY giflib-download-ftp " ">
|
---|
[07357c23] | 9 | <!ENTITY giflib-http-md5sum "1c39333192712788c6568c78a949f13e">
|
---|
| 10 | <!ENTITY giflib-http-size "640 KB">
|
---|
| 11 | <!ENTITY giflib-buildsize "6.7 MB (with documentation; additional 0.4 MB for the tests)">
|
---|
| 12 | <!ENTITY giflib-time "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 |
|
---|
[f7412376] | 36 | &lfs77_checked; &gcc5_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 |
|
---|
| 59 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[17273d0] | 60 | <para role="optional">
|
---|
[b9982ea] | 61 | <xref linkend="xmlto"/> (for html documentation)
|
---|
| 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 |
|
---|
[b01e2d2] | 75 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
[9bd60d4] | 76 | make</userinput></screen>
|
---|
| 77 |
|
---|
[07357c23] | 78 | <para>To test the results, issue: <command>make check</command>. Test suite
|
---|
| 79 | results are kept in <filename>test.sh.log</filename>.</para>
|
---|
[10fddb0] | 80 |
|
---|
[9bd60d4] | 81 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 82 |
|
---|
[17273d0] | 83 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 84 |
|
---|
[07357c23] | 85 | <para>If <xref linkend="xmlto"/> is installed, then the API documentation
|
---|
| 86 | has been built. If you wish to install the distributed and the just built
|
---|
| 87 | documentations, issue, as the
|
---|
[c894671] | 88 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[17273d0] | 89 |
|
---|
[07357c23] | 90 | <screen role="root"><userinput>find doc \( -name Makefile\* -o -name \*.1 \
|
---|
| 91 | -o -name \*.xml \) -exec rm -v {} \; &&
|
---|
| 92 |
|
---|
| 93 | install -v -dm755 /usr/share/doc/giflib-&giflib-version; &&
|
---|
| 94 | cp -v -R doc/* /usr/share/doc/giflib-&giflib-version;</userinput></screen>
|
---|
[9bd60d4] | 95 |
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
[26deddbf] | 98 | <sect2 role="commands">
|
---|
| 99 | <title>Command Explanations</title>
|
---|
| 100 |
|
---|
[07357c23] | 101 | <para>
|
---|
| 102 | <command>find doc ... -exec rm -v {} \;</command>: This command removes
|
---|
| 103 | <filename>Makefiles</filename>, man and xml files from the documentation
|
---|
| 104 | directory that would otherwise be installed by the commands that follow.
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[f867424] | 107 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 108 | href="../../xincludes/static-libraries.xml"/>
|
---|
[26deddbf] | 109 |
|
---|
| 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>
|
---|
[a366dc3] | 121 | <seg>gif2rgb, gifbuild, gifclrmp, gifecho, giffix, gifinto,
|
---|
[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 |
|
---|
| 204 | <varlistentry id="giftext">
|
---|
| 205 | <term><command>giftext</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>prints (text only) general information about a GIF file.</para>
|
---|
| 208 | <indexterm zone="giflib giftext">
|
---|
| 209 | <primary sortas="b-giftext">giftext</primary>
|
---|
| 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
| 213 |
|
---|
[b9982ea] | 214 | <varlistentry id="giftool">
|
---|
| 215 | <term><command>giftool</command></term>
|
---|
[9bd60d4] | 216 | <listitem>
|
---|
[b9982ea] | 217 | <para>is a GIF transformation tool.</para>
|
---|
| 218 | <indexterm zone="giflib giftool">
|
---|
| 219 | <primary sortas="b-giftool">giftool</primary>
|
---|
[9bd60d4] | 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="libgif">
|
---|
[b9982ea] | 225 | <term><filename class="libraryfile">libgif.so</filename></term>
|
---|
[9bd60d4] | 226 | <listitem>
|
---|
[e9116cc] | 227 | <para>contains API functions required by the
|
---|
| 228 | <application>giflib</application> programs and any other programs needing
|
---|
[9bd60d4] | 229 | library functionality to read, write and manipulate GIF images.</para>
|
---|
| 230 | <indexterm zone="giflib libgif">
|
---|
[f867424] | 231 | <primary sortas="c-libgif">libgif.so</primary>
|
---|
[9bd60d4] | 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
| 236 | </variablelist>
|
---|
| 237 |
|
---|
| 238 | </sect2>
|
---|
[d4e57f76] | 239 |
|
---|
| 240 | </sect1>
|
---|