giflib-5.1.1

Introduction to giflib

The giflib package contains libraries for reading and writing GIFs as well as programs for converting and working with GIF files.

This package is known to build and work properly using an LFS-7.7 platform.

Package Information

  • Download (HTTP): http://downloads.sourceforge.net/giflib/giflib-5.1.1.tar.bz2

  • Download (HTTP) MD5 sum: 1c39333192712788c6568c78a949f13e

  • Download (HTTP) size: 640 KB

  • Estimated disk space required: 6.7 MB (with documentation; additional 0.4 MB for the tests)

  • Estimated build time: 0.1 SBU (with documentation)

giflib Dependencies

Optional

xmlto-0.0.26 (for html documentation)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/giflib

Installation of giflib

Install giflib by running the following commands:

./configure --prefix=/usr --disable-static &&
make

To test the results, issue: make check. Test suite results are kept in test.sh.log.

Now, as the root user:

make install

If xmlto-0.0.26 is installed, then the API documentation has been built. If you wish to install the distributed and the just built documentations, issue, as the root user:

find doc \( -name Makefile\* -o -name \*.1 \
         -o -name \*.xml \) -exec rm -v {} \; &&

install -v -dm755 /usr/share/doc/giflib-5.1.1 &&
cp -v -R doc/* /usr/share/doc/giflib-5.1.1

Command Explanations

find doc ... -exec rm -v {} \;: This command removes Makefiles, man and xml files from the documentation directory that would otherwise be installed by the commands that follow.

--disable-static: This switch prevents installation of static versions of the libraries.

Contents

Installed Programs: gif2rgb, gifbuild, gifclrmp, gifecho, giffix, gifinto, giftext and giftool
Installed Library: libgif.so
Installed Directory: /usr/share/doc/giflib-5.1.1

Short Descriptions

gif2rgb

converts images saved as GIF to 24-bit RGB images.

gifbuild

dumps GIF data in a textual format, or undumps it to a GIF.

gifclrmp

modifies GIF image colormaps.

gifecho

generates a GIF from ASCII text.

giffix

clumsily attempts to fix truncated GIF images.

gifinto

is an end-of-pipe fitting for GIF-processing pipelines.

giftext

prints (text only) general information about a GIF file.

giftool

is a GIF transformation tool.

libgif.so

contains API functions required by the giflib programs and any other programs needing library functionality to read, write and manipulate GIF images.

Last updated on 2015-02-23 00:16:54 -0500