libungif - A library for reading and writing gif images ChangeLog

HOWTO


# libungif 4.1.4
# ==============
# Slackware 9.0 and 9.1's 'libungif' packages include version 4.1.0b1,
# 10.0 and 10.1's include 4.1.2, and 10.2 includes 4.1.3

# If you ever want to uninstall libungif, or clean up files from an old
# version before installing a new one, skip down to the bottom for
# instructions.

# Prerequisites:
# gawk
# sed
# grep
# XFree86 or X.org (unless --with-x=no is passed to configure)

cd
test -f installed/libungif-4.1.4.tar.bz2 &&
mv installed/libungif-4.1.4.tar.bz2 .
test ! -f libungif-4.1.4.tar.bz2 &&
wget http://download.sf.net/libungif/libungif-4.1.4.tar.bz2

# Verify tarball w/ md5sum:
# (this came from my sha1sum-verified tarball)
echo "76865bc1bed90ecb5992a1edcc4d6c15  libungif-4.1.4.tar.bz2" | md5sum -c

# Verify tarball w/ sha1sum:
echo "af687ffbcfe6afd1d76e33ea8cf27ffb02ed61fc  libungif-4.1.4.tar.bz2" | sha1sum -c

mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libungif-*" -exec rm -r {} \;
tar xjvf ~/libungif-4.1.4.tar.bz2
cd libungif-4.1.4
test $UID = 0 && chown -R root:root .

# If you have X installed and you leave off --with-x=no, you'll get more
# utilities (gif2x11, etc.).

./configure --prefix=/usr --with-x=no
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libungif
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libungif-*.tar.*
mv libungif-4.1.4.tar.bz2 installed/

# Slackware's package doesn't include the tools, just the library and the
# docs (which cover the tools).  See ~/src/libungif-4.1.4/util, they're
# all in there.  See ~/src/libungif-4.1.4/doc for docs about them.


# If you ever want to uninstall libungif, this should do it:
cd
su
test -d src/libungif-* && ( cd src/libungif-* ; make uninstall )
( cd /usr/bin ; rm -f 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 text2gif )
rm -f /usr/include/gif_lib.h /usr/lib/libungif.*
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libungif-*" -exec rm -r {} \;
rm -f ~/installed/libungif-*.tar.*

List of HOWTOs

Last updated: 2022-06-09 1:35pm EDT(-0400)
Copyright © 2001-2023 Jason Englander. All Rights reserved.
[HTML5]