libmikmod - Portable sound library ChangeLog

HOWTO


# libmikmod 3.1.11a
# =================
# Slackware 9.0, 9.1, 10.0, and 10.1's 'libmikmod' packages include version
# 3.1.10, 10.2 and 11.0's include 3.1.11a
#
# As of Slackware 12.0, libmikmod is no longer included.  See the
# ChangeLog.

# I'm sure there are others, but this library is used by these:
# ClanLib
# gstreamer
# SDL_Sound
# XMMS

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

# Prerequisites:
# ALSA
# esd/esound

# This used to be part of the SDL howto, so we move files in ~/installed/SDL
# to ~/installed and remove any source in ~/src/SDL:
test -d ~/installed/SDL &&
mv -f ~/installed/SDL/libmikmod-*.tar.* ~/installed/
find ~/src/SDL -maxdepth 1 -type d -name "libmikmod-*" -exec rm -r {} \;

cd
test -f installed/libmikmod-3.1.11.tar.gz &&
mv installed/libmikmod-3.1.11.tar.gz .
test ! -f libmikmod-3.1.11.tar.gz &&
wget http://mikmod.raphnet.net/files/libmikmod-3.1.11.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "libmikmod-*" -exec rm -r {} \;
tar xzvf ~/libmikmod-3.1.11.tar.gz
cd libmikmod-3.1.11
test $UID = 0 && chown -R root:root .

# Apply patch from the author to bring it up to 3.1.11a:
wget -nc http://mikmod.raphnet.net/files/libmikmod-3.1.11-a.diff &&
patch -p1 < libmikmod-3.1.11-a.diff

mkdir build
cd build
../configure --prefix=/usr --disable-static
make

# Become root to install it
su

test -x /sbin/removepkg && /sbin/removepkg libmikmod
make install
ldconfig
chown -R $USER .
chmod -R u+w .

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/libmikmod-*.tar.*
mv libmikmod-3.1.11.tar.gz installed/


# If you ever want to uninstall libmikmod, this should do it:
cd
su
test -d src/libmikmod-* && ( cd src/libmikmod-* ; make uninstall )
for pfx in /usr /usr/local; do
  rm -f ${pfx}/bin/libmikmod-config \
   ${pfx}/include/mikmod.h ${pfx}/info/mikmod.info \
   ${pfx}/lib/libmikmod.* ${pfx}/man/man1/libmikmod-config.1 \
   ${pfx}/share/aclocal/libmikmod.m4
done
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libmikmod-*" -exec rm -r {} \;
rm -f ~/installed/libmikmod-*.tar.*

List of HOWTOs

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