Difference between revisions of "GifLib"

From CBLFS
Jump to navigationJump to search
(I added the "Contents" section from BLFS.)
Line 2: Line 2:
 
|-valign="top"
 
|-valign="top"
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/libungif/giflib-4.1.4.tar.bz2
+
| http://prdownloads.sourceforge.net/libungif/giflib-{{GifLib-Version}}.tar.bz2
 
|}
 
|}
  
Line 26: Line 26:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/giflib-4.1.4/html &&
+
  install -v -m755 -d /usr/share/doc/giflib-{{GifLib-Version}}/html &&
 
  install -v -m644 doc/*.{png,html} \
 
  install -v -m644 doc/*.{png,html} \
     /usr/share/doc/giflib-4.1.4/html &&
+
     /usr/share/doc/giflib-{{GifLib-Version}}/html &&
 
  install -v -m644 doc/*.txt \
 
  install -v -m644 doc/*.txt \
     /usr/share/doc/giflib-4.1.4
+
     /usr/share/doc/giflib-{{GifLib-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 66: Line 66:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/giflib-4.1.4/html &&
+
  install -v -m755 -d /usr/share/doc/giflib-{{GifLib-Version}}/html &&
 
  install -v -m644 doc/*.{png,html} \
 
  install -v -m644 doc/*.{png,html} \
     /usr/share/doc/giflib-4.1.4/html &&
+
     /usr/share/doc/giflib-{{GifLib-Version}}/html &&
 
  install -v -m644 doc/*.txt \
 
  install -v -m644 doc/*.txt \
     /usr/share/doc/giflib-4.1.4
+
     /usr/share/doc/giflib-{{GifLib-Version}}
  
 
= Contents =
 
= Contents =
Line 83: Line 83:
 
|-valign="top"
 
|-valign="top"
 
! Installed Directories:
 
! Installed Directories:
| /usr/share/doc/giflib-4.1.4
+
| /usr/share/doc/giflib-{{GifLib-Version}}
 
|}
 
|}
  

Revision as of 10:52, 13 December 2006

Download Source: http://prdownloads.sourceforge.net/libungif/giflib-4.1.6.tar.bz2

Introduction to GifLib

The GifLib package contains libraries for reading and writing GIFs as well as programs for converting and working with GIF files. The libraries are useful for any graphics program wishing to deal with GIF files while the programs are useful for conversion purposes as well as cleaning up images.

Dependencies

Optional

Non-Multilib

Compile the package:

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

Install the package

make install &&
install -v -m755 -d /usr/share/doc/giflib-4.1.6/html &&
install -v -m644 doc/*.{png,html} \
    /usr/share/doc/giflib-4.1.6/html &&
install -v -m644 doc/*.txt \
    /usr/share/doc/giflib-4.1.6

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" LDFLAGS="-L/usr/lib" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/giflib-4.1.6/html &&
install -v -m644 doc/*.{png,html} \
    /usr/share/doc/giflib-4.1.6/html &&
install -v -m644 doc/*.txt \
    /usr/share/doc/giflib-4.1.6

Contents

Installed Programs: gif2epsn, gif2ps, gif2rgb, gif2x11, gifasm, gifbg, gifburst, gifclip, gifclrmp, gifcolor, gifcomb, gifcompose, giffiltr, giffix, gifflip, gifhisto, gifinfo, gifinter, gifinto, gifovly, gifpos, gifrotat, gifrsize, gifspnge, giftext, gifwedge, icon2gif, raw2gif, rgb2gif, and text2gif
Installed Libraries: libgif.{so,a}
Installed Directories: /usr/share/doc/giflib-4.1.6

Short Descriptions

gif2epsn dumps images saved as GIF files on Epson type printers.
gif2ps prints GIF files on laser printers supporting PostScript.
gif2rgb converts images saved as GIF to 24-bit RGB images.
gif2x11 displays images saved as GIF files under X Window System.
gifasm assembles multiple GIFs into one, or burst a multiple-image GIF.
gifbg generates a single-color test pattern GIF.
gifburst bursts a GIF image into subrectangles.
gifclip clips or crops a GIF image.
gifclrmp modifies GIF image colormaps.
gifcolor generates color test patterns.
gifcomb combines two GIF images of exactly the same size into one.
gifcompose uses giflib tools to compose images.
giffiltr is a template for filtering a GIF sequentially.
giffix clumsily attempts to fix truncated GIF images.
gifflip flips a GIF image along the X or Y axis or rotates an image by 90 degrees.
gifhisto generate a color-frequency histogram from a GIF.
gifinfo gives information about a GIF file.
gifinter converts between interlaced and non-interlaced images.
gifinto is an end-of-pipe fitting for GIF-processing pipelines.
gifovly generates one composite GIF from a multiple-image GIF.
gifpos changes a GIF's screen size or reconditions it.
gifrotat rotates a GIF through any desired angle.
gifrsize resizes a GIF by deletion or duplication of bits.
gifspnge is a template for filtering a GIF with in-core operations.
giftext prints (text only) general information about a GIF file.
gifwedge creates a test GIF image resembling a color monitor test pattern.
icon2gif is a converter/deconverter to/from an editable text format.
raw2gif converts raw 8-bit image data into GIF files.
rgb2gif converts 24 bit images to a GIF image using color quantization.
text2gif generates GIF images out of regular text in 8x8 font.
libgif.{so,a} contains API functions required by the giflib programs and any other programs needing library functionality to read, write and manipulate GIF images.
Retrieved from "?title=GifLib&oldid=4583"