libtiff - Library and utilities for the Tag Image File Format ChangeLog


# libtiff 3.8.2
# =============
# Slackware 9.0 and 9.1's 'libtiff' packages include version 3.5.7, 10.0's
# includes 3.6.1, 10.1's includes 3.7.1, and 10.2's includes 3.7.3

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

# Below I blow away existing library files before running 'make install' to
# ensure that extra files aren't left behind that are no longer needed.  If
# you run a production system with multiple local users that may be using
# something linked with libtiff at the moment you're upgrading it, you'll
# want to skip that part below and you should clean up old files manually
# after the new version is installed.
# Also, be aware that if you go from an old version that uses (for example)
# as a shared library name and you upgrade to one that uses
#, if you remove the old one, any apps that are linked with
# it will fail to run.  Creating a symlink from .1 to .2 may fix it,
# leaving the old one there may allow things to continue to work too.  The
# best bet would be to rebuild and reinstall anything linked with libtiff's
# shared library.

# Prerequisites:
# gawk
# sed
# grep
# zlib
# libjpeg
# XFree86 or

test -f installed/tiff-3.8.2.tar.gz && mv installed/tiff-3.8.2.tar.gz .
test ! -f tiff-3.8.2.tar.gz &&
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "tiff-*" -exec rm -r {} \;
tar xzvf ~/tiff-3.8.2.tar.gz
cd tiff-3.8.2
test $UID = 0 && chown -R root:root .
./configure --prefix=/usr

# Become root to install it

test -x /sbin/removepkg && /sbin/removepkg libtiff
( cd /usr/lib ; rm -f libtiff.* libtiffxx.* )
make install

# You may also want to remove lines in /var/adm/packages/*elflibs* (prior
# to Slackware 10.0 it's named elflibs-*, as of 10.0 it's named
# aaa_elflibs-*) that refer to libtiff like these.  The first is from
# Slackware 9.0, the second one is from 10.2:
# usr/lib/incoming/
# usr/lib/

# Become yourself again

mkdir -p -m 0700 installed
rm -f installed/tiff-*.tar.*
mv tiff-3.8.2.tar.gz installed/

# If you ever want to uninstall libtiff, this should do it:
test -d src/libtiff-* && ( cd src/libtiff-* ; make uninstall )
for prefix in /usr /usr/local; do
  ( cd ${prefix}/bin ; rm -f bmp2tiff fax2ps fax2tiff gif2tiff pal2rgb     ppm2tiff ras2tiff raw2tiff rgb2ycbcr sgi2tiff thumbnail tiff2bw     tiff2pdf tiff2ps tiff2rgba tiffcmp tiffcp tiffdither tiffdump tiffgt     tiffinfo tiffmedian tiffset tiffsplit tiffsv )
  find /usr/doc -maxdepth 1 -type d -name "tiff-*" -exec rm -r {} \;
  ( cd ${prefix}/include ; rm -f tiff.h tiffconf.h tiffio.h tiffio.hxx     tiffvers.h )
  ( cd ${prefix}/lib ; rm -f libtiff.* libtiffxx.* )
  ( cd ${prefix}/man/man1 ; rm -f bmp2tiff.1 fax2ps.1 fax2tiff.1     gif2tiff.1 pal2rgb.1 ppm2tiff.1 ras2tiff.1 raw2tiff.1 rgb2ycbcr.1     sgi2tiff.1 thumbnail.1 tiff2bw.1 tiff2pdf.1 tiff2ps.1 tiff2rgba.1     tiffcmp.1 tiffcp.1 tiffdither.1 tiffdump.1 tiffgt.1 tiffinfo.1     tiffmedian.1 tiffset.1 tiffsplit.1 tiffsv.1 )
  ( cd ${prefix}/man/man3 ; rm -f TIFF*.3t TIFF*.3tiff libtiff.3t )
find ~/src -maxdepth 1 -type d -name "libtiff-*" -exec rm -r {} \;
rm -f ~/installed/libtiff-*.tar.*

List of HOWTOs

Last updated: 2023-09-09 10:40pm EDT(-0400)
Copyright © 2001-2023 Jason Englander. All Rights reserved.