giflib-6.1.3

#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-475

### Chapter 10. Graphics and Font Libraries

- Prev

  gegl-0.4.70

- Next

  Glad-2.0.8

- Up
- Home

# giflib-6.1.3

## 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

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

- Download (HTTP): https://sourceforge.net/projects/giflib/files/giflib-6.1.3.tar.gz

- Download MD5 sum: a70e90ff780e9ebee9cb84b82bbd46a7

- Download size: 460 KB

- Estimated disk space required: 4.2 MB (with documentation)

- Estimated build time: less than 0.1 SBU (with documentation)

### 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.3 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.3

### 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.

- Prev

  gegl-0.4.70

- Next

  Glad-2.0.8

- Up
- Home