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


# libtiff 4.6.0
# =============
# Slackware 14.0: libtiff 3.9.6
# Slackware 14.1: libtiff 3.9.7
# Slackware 14.2: libtiff 4.0.6
# Slackware 15.0: libtiff 4.3.0

# In addition to the provided home page link, you can also find it here:

# 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

# 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:
# zlib
# libjpeg
# jbigkit's libjbig
# xz's liblzma
# zstd
# webp
# Python
# Sphinx (see below)
# XFree86 or

# Mailing list: libtiff 4.6.0 is released
# GitLab release page: Changes in TIFF v4.6.0

# Install Sphinx:
python3 -m pip install -U pip
python3 -m pip install -U sphinx

# Get the source tarball
test -f installed/tiff-4.6.0.tar.xz && mv installed/tiff-4.6.0.tar.xz .
test ! -f tiff-4.6.0.tar.xz &&

# Verify tarball w/ gpg:
( gpg --list-keys B1FA7D81EEB8E66399178B9733EBBFC47B3DD87D > \
/dev/null 2>&1 ||
  gpg --recv-keys B1FA7D81EEB8E66399178B9733EBBFC47B3DD87D ) &&
wget -nc &&
  gpg --verify tiff-4.6.0.tar.xz.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "tiff-*" -exec rm -r {} \;
tar xJvf ~/tiff-4.6.0.tar.xz
cd tiff-4.6.0
test $UID = 0 && chown -R root:root .

# Configure the build for 64-bit
test $(uname -m) = 'x86_64' &&
./configure --prefix=/usr --libdir=/usr/lib64

# Configure the build for anything else
test $(uname -m) != 'x86_64' &&
./configure --prefix=/usr

# Build it

# Become root to install it

# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg libtiff

# You may, or may not, want to clean up old files from previously installed
# versions, if you did not remove all of them below before you started.
# Note: you may also find a libtiff and libtiffxx from the aaa_elflibs
# package.  Use lsof to see if anything running as a daemon or GUI based
# app is linked with libtiff.

# Install it
make install

# Become yourself again

mkdir -p -m 0700 installed
rm -f installed/tiff-*.tar.*
mv tiff-4.6.0.tar.xz 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

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2023-12-23 9:23pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.