libfpx - FlashPIX OpenSource Toolkit ChangeLog

HOWTO


# libfpx 1.3.1-10
# ===============
# This library is currently maintained by the developers of
# ImageMagick

# If you ever want to remove libfpx, or clean-up all old files before
# installing a new version, skip down to the bottom

# Get it
cd
test -f installed/libfpx-1.3.1-10.tar.bz2 &&
mv installed/libfpx-1.3.1-10.tar.bz2 .
test ! -f libfpx-1.3.1-10.tar.bz2 &&
wget ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/\
libfpx-1.3.1-10.tar.bz2

# Verify tarball w/ sha256sum:
# (this is from my tarball, if mine is bad, yours will be too)
echo "21e968ba90e7f091fa59e5baf72ff3d2150adba07fb4e37e9f495775185b4bb\
a  libfpx-1.3.1-10.tar.bz2" | sha256sum -c

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

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

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

# Build it
make

# Become root to install it
su

# Remove old shared libraries
rm -f /usr/local/lib*/libfpx.*

# Install it
make install
ldconfig

# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .

# Become yourself again
exit

# Save the tarball for later
cd
rm -f installed/libfpx-*.tar.*
mv libfpx-1.3.1-10.tar.bz2 installed/


# If you ever want to uninstall libfpx, this should do it:
cd
su
test -d src/libfpx-* && ( cd src/libfpx-* ; make uninstall )
( cd /usr/local/include ; rm -f fpxlib.h fpxlib-config.h )
find /usr/local/lib* -maxdepth 1 -type f -name "libfpx.*" -exec rm {} \;
find /usr/local/lib* -maxdepth 1 -type l -name "libfpx.*" -exec rm {} \;
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libfpx-*" -exec rm -r {} \;
rm -f ~/installed/libfpx-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2018-10-21 1:39pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]