Linux HOWTOs

About | Home | Search


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

HOWTO: xmms
Description: An audio player for X
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# 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

# Prerequisites:
# GLib >= 1.2.2
# GTK+ >= 1.2.2
# XFree86 or X.org
# iconv
# esd/esound >= 0.2.8
# libmikmod
# Ogg/Vorbis
# gettext
# bison
# ALSA

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

cd
mkdir -p -m 0700 installed
rm -f installed/xmms-*.tar.*
mv xmms-1.2.11.tar.bz2 installed/

# 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.*

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>