[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 |
|
---|
[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 |
|
---|
[11193870] | 36 | &lfs91_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 |
|
---|
[5a18fa4] | 59 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 60 | <para role="required">
|
---|
| 61 | <xref linkend="xmlto"/>
|
---|
[b9982ea] | 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 |
|
---|
[ed07746] | 75 | <screen><userinput>make</userinput></screen>
|
---|
[9bd60d4] | 76 |
|
---|
[ed07746] | 77 | <!-- <para>To test the results, issue: <command>make check-TESTS</command>. Test
|
---|
[0c54cea] | 78 | suite results are kept in <filename>test.sh.log</filename>.</para>
|
---|
[ed07746] | 79 | There doesn't seem to be a test suite in 5.1.6 -->
|
---|
| 80 |
|
---|
| 81 | <para>This package does not come with a test suite.</para>
|
---|
[10fddb0] | 82 |
|
---|
[9bd60d4] | 83 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 84 |
|
---|
[e641675] | 85 | <screen role="root"><userinput>make PREFIX=/usr install &&
|
---|
[93caa46] | 86 | <!-- rm -vf /usr/lib/libgif.a &&-->
|
---|
[17273d0] | 87 |
|
---|
[0d27bb9] | 88 | find doc \( -name Makefile\* -o -name \*.1 \
|
---|
[07357c23] | 89 | -o -name \*.xml \) -exec rm -v {} \; &&
|
---|
| 90 |
|
---|
| 91 | install -v -dm755 /usr/share/doc/giflib-&giflib-version; &&
|
---|
| 92 | cp -v -R doc/* /usr/share/doc/giflib-&giflib-version;</userinput></screen>
|
---|
[0d27bb9] | 93 | <!--
|
---|
| 94 | <para>If <xref linkend="xmlto"/> is installed, then the API documentation
|
---|
| 95 | has been built. If you wish to install the distributed and the just built
|
---|
| 96 | documentations, issue, as the
|
---|
| 97 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 98 | -->
|
---|
[9bd60d4] | 99 | </sect2>
|
---|
| 100 |
|
---|
[26deddbf] | 101 | <sect2 role="commands">
|
---|
| 102 | <title>Command Explanations</title>
|
---|
| 103 |
|
---|
[07357c23] | 104 | <para>
|
---|
| 105 | <command>find doc ... -exec rm -v {} \;</command>: This command removes
|
---|
| 106 | <filename>Makefiles</filename>, man and xml files from the documentation
|
---|
| 107 | directory that would otherwise be installed by the commands that follow.
|
---|
| 108 | </para>
|
---|
| 109 |
|
---|
[26deddbf] | 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>
|
---|
[0a7cf69a] | 121 | <seg>gif2rgb, gifbuild, gifclrmp, giffix, giftext, and giftool</seg>
|
---|
[f867424] | 122 | <seg>libgif.so</seg>
|
---|
[9bd60d4] | 123 | <seg>/usr/share/doc/giflib-&giflib-version;</seg>
|
---|
| 124 | </seglistitem>
|
---|
| 125 | </segmentedlist>
|
---|
| 126 |
|
---|
| 127 | <variablelist>
|
---|
| 128 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 129 | <?dbfo list-presentation="list"?>
|
---|
| 130 | <?dbhtml list-presentation="table"?>
|
---|
| 131 |
|
---|
[b9982ea] | 132 | <varlistentry id="gif2rgb">
|
---|
| 133 | <term><command>gif2rgb</command></term>
|
---|
[9bd60d4] | 134 | <listitem>
|
---|
[b9982ea] | 135 | <para>converts images saved as GIF to 24-bit RGB images.</para>
|
---|
| 136 | <indexterm zone="giflib gif2rgb">
|
---|
| 137 | <primary sortas="b-gif2rgb">gif2rgb</primary>
|
---|
[9bd60d4] | 138 | </indexterm>
|
---|
| 139 | </listitem>
|
---|
| 140 | </varlistentry>
|
---|
| 141 |
|
---|
[b9982ea] | 142 | <varlistentry id="gifbuild">
|
---|
| 143 | <term><command>gifbuild</command></term>
|
---|
[9bd60d4] | 144 | <listitem>
|
---|
[b9982ea] | 145 | <para>dumps GIF data in a textual format, or undumps it to a GIF.</para>
|
---|
| 146 | <indexterm zone="giflib gifbuild">
|
---|
| 147 | <primary sortas="b-gifbuild">gifbuild</primary>
|
---|
[9bd60d4] | 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
| 152 | <varlistentry id="gifclrmp">
|
---|
| 153 | <term><command>gifclrmp</command></term>
|
---|
| 154 | <listitem>
|
---|
| 155 | <para>modifies GIF image colormaps.</para>
|
---|
| 156 | <indexterm zone="giflib gifclrmp">
|
---|
| 157 | <primary sortas="b-gifclrmp">gifclrmp</primary>
|
---|
| 158 | </indexterm>
|
---|
| 159 | </listitem>
|
---|
| 160 | </varlistentry>
|
---|
| 161 |
|
---|
| 162 | <varlistentry id="giffix">
|
---|
| 163 | <term><command>giffix</command></term>
|
---|
| 164 | <listitem>
|
---|
| 165 | <para>clumsily attempts to fix truncated GIF images.</para>
|
---|
| 166 | <indexterm zone="giflib giffix">
|
---|
[de2551f] | 167 | <primary sortas="b-giffix">giffix</primary>
|
---|
[9bd60d4] | 168 | </indexterm>
|
---|
| 169 | </listitem>
|
---|
| 170 | </varlistentry>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="giftext">
|
---|
| 173 | <term><command>giftext</command></term>
|
---|
| 174 | <listitem>
|
---|
| 175 | <para>prints (text only) general information about a GIF file.</para>
|
---|
| 176 | <indexterm zone="giflib giftext">
|
---|
| 177 | <primary sortas="b-giftext">giftext</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
[b9982ea] | 182 | <varlistentry id="giftool">
|
---|
| 183 | <term><command>giftool</command></term>
|
---|
[9bd60d4] | 184 | <listitem>
|
---|
[b9982ea] | 185 | <para>is a GIF transformation tool.</para>
|
---|
| 186 | <indexterm zone="giflib giftool">
|
---|
| 187 | <primary sortas="b-giftool">giftool</primary>
|
---|
[9bd60d4] | 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
| 192 | <varlistentry id="libgif">
|
---|
[b9982ea] | 193 | <term><filename class="libraryfile">libgif.so</filename></term>
|
---|
[9bd60d4] | 194 | <listitem>
|
---|
[e9116cc] | 195 | <para>contains API functions required by the
|
---|
| 196 | <application>giflib</application> programs and any other programs needing
|
---|
[9bd60d4] | 197 | library functionality to read, write and manipulate GIF images.</para>
|
---|
| 198 | <indexterm zone="giflib libgif">
|
---|
[f867424] | 199 | <primary sortas="c-libgif">libgif.so</primary>
|
---|
[9bd60d4] | 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
| 204 | </variablelist>
|
---|
| 205 |
|
---|
| 206 | </sect2>
|
---|
[d4e57f76] | 207 |
|
---|
| 208 | </sect1>
|
---|