ERROR: Slooooow dooooown... this page load was delayed.


libmng - Multiple-image Network Graphics; the animation version of PNG ChangeLog

HOWTO


# libmng 1.0.10
# =============
# Slackware 9.1, 10.0, 10.1, 10.2, and 11.0's 'libmng' packages include
# version 1.0.5, 12.0's includes version 1.0.9

# Prerequisites:
# autoconf
# automake
# libtool
# zlib
# libjpeg
# lcms

cd
test -f installed/libmng-1.0.10.tar.gz && mv installed/libmng-1.0.10.tar.gz .
test ! -f libmng-1.0.10.tar.gz &&
wget http://downloads.sf.net/libmng/libmng-1.0.10.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libmng-*" -exec rm -r {} \;
tar xzvf ~/libmng-1.0.10.tar.gz
cd libmng-1.0.10
test $UID = 0 && chown -R root:root .
cp makefiles/configure.in makefiles/Makefile.am .
autoreconf -f -i
./configure --prefix=/usr --sysconfdir=/etc
make

# Become root to install it
su

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

# Remove old library files, install it
rm -f /usr/lib/libmng.*
make install
ldconfig

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

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libmng-*.tar.*
mv libmng-1.0.10.tar.gz installed/


# If you ever want to uninstall libmng, this should do it:
cd
su
test -d src/libmng-* && ( cd src/libmng-* ; make uninstall )
( cd /usr/include ; rm -f libmng.h libmng_conf.h libmng_types.h )
( cd /usr/man/man5 ; rm -f jng.5 mng.5 )
rm -f /usr/lib/libmng.* /usr/man/man3/libmng.3
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libmng-*" -exec rm -r {} \;
rm -f ~/installed/libmng-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2008-04-09 6:40pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]