# XMMS 1.2.11
# ===========
# Slackware 9.0's 'xmms' package includes version 1.2.7, 9.1's includes
# version 1.2.8, 10.0, 10.1, 10.2, and 11.0's include 1.2.10
#
# As of Slackware 12.0, XMMS is no longer included, I think because they
# still don't have a GTK+ 2.x based version.
# A previous version of this howto used the default prefix (/usr/local).
# If you're replacing one installed under that prefix, cd into it's source
# and run 'make uninstall' before proceeding here.
# If you ever want to uninstall XMMS, or clean up files from an old version
# before installing the new one, skip down to the bottom
cd
test -f installed/xmms-1.2.11.tar.bz2 && mv installed/xmms-1.2.11.tar.bz2 .
test ! -f xmms-1.2.11.tar.bz2 &&
wget http://www.xmms.org/files/1.2.x/xmms-1.2.11.tar.bz2
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "xmms-*" -exec rm -r {} \;
tar xjvf ~/xmms-1.2.11.tar.bz2
cd xmms-1.2.11
test $UID = 0 && chown -R root:root .
./configure \
--prefix=/usr \
--localstatedir=/var/lib \
--enable-simd \
--disable-nls
make
# Become root to install it
su
# Remove the Slackware package, install it
test -x /sbin/removepkg && /sbin/removepkg xmms
make install
# Check these directories for old files from previous versions, they may
# cause trouble:
# /usr/include/xmms
# /usr/lib/xmms (especially in here)
# /usr/share/xmms
# Skins can be installed into either ~/.xmms/Skins/ or system-wide into
# /usr/share/xmms/Skins/
#
# You can either extract them in to one of those directories, or just put
# the archive in there. If you do that, make sure you have the necessary
# unarchiver(s) in your PATH:
# unzip
# tar
# gzip
# bzip2
#
# This will install (system-wide) the top 10 skins by # of downloads as
# seen on February 12, 2008:
mkdir -p /usr/share/xmms/Skins
cd /usr/share/xmms/Skins
wget -N http://www.xmms.org/files/Skins/m2n.tar.gz \
http://www.xmms.org/files/Skins/maXMMS.tar.gz \
http://www.xmms.org/files/Skins/Winamp_X_XMMS_1.01.tar.gz \
http://www.xmms.org/files/Skins/chaos_XMMS.zip \
http://www.xmms.org/files/Skins/LinuxDotCom.tar.gz \
http://www.xmms.org/files/Skins/UltrafinaSEM.zip \
http://www.xmms.org/files/Skins/ColderXMMS.tar.gz \
http://www.xmms.org/files/Skins/nixamp2.tar.gz \
http://www.xmms.org/files/Skins/fiRe.tar.gz \
http://www.xmms.org/files/Skins/Helix-Sawfish-xmms.tar.gz
# Become yourself again
exit
# This doesn't seem to come with a desktop icon, but you probably already
# have several on your system:
find /usr/share/icons -type f | grep -i xmms
# One of these days (years?) I'm going to add installation of plugins
# If you ever want to uninstall XMMS, this should do it:
cd
su
test -d src/xmms-* && ( cd src/xmms-* ; make uninstall )
for pfx in /usr /usr/local; do
( cd ${pfx}/bin ; rm -f wmxmms xmms xmms-config )
( cd ${pfx}/man/man1 ; rm -f xmms.1 wmxmms.1 )
( cd ${pfx}/X11R6/bin ; rm -f wmxmms xmms )
test -d ${pfx}/include/xmms && rm -r ${pfx}/include/xmms
test -d ${pfx}/lib/xmms && rm -r ${pfx}/lib/xmms
test -d ${pfx}/share/xmms && rm -r ${pfx}/share/xmms
rm -f ${pfx}/lib/libxmms.* ${pfx}/share/aclocal/xmms.m4
done
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "xmms-*" -exec rm -r {} \;
rm -f ~/installed/xmms-*.tar.*