giflib-6.1.2

Introduction to giflib

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

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

giflib Dependencies

Optional

xmlto-0.0.29 (required if you run make after make clean) [1]

Installation of giflib

Install giflib by running the following commands:

make

To test the results, issue: make check.

Now, as the root user:

make PREFIX=/usr \
     DOCDIR=/usr/share/doc/giflib-6.1.2 install &&

rm -fv /usr/lib/libgif.a

Command Explanations

rm -fv /usr/lib/libgif.a: This command removes a static library which is not used by any BLFS package.

Contents

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

Short Descriptions

gifbuild

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

gifclrmp

modifies GIF image colormaps

giffix

clumsily attempts to fix truncated GIF images

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



[1] Pre-built documentation is present in this tarball. make will detect that documentation already exists in the distribution if make clean was not run, and will not require the xmlto-0.0.29 dependency. However, running make clean will result in the pre-built documentation being deleted, thus requiring xmlto to build the documentation if make is run afterwards.