First: I'm not an Ubuntu user, but I would like to help newbies to get XMMS working on Ubuntu Hardy Heron.
Why: a) A guy entered #xmms on Freenode and wanted to install XMMS on him Ubuntu, so I tried to help him.
b) XMMS is still a good player, and if somebody wants to use it, why not help him?
We will install XMMS from source, but there are alternatives though like:
1) change your distro
2) try gutsy packages
OK, let's start
First Step:
We need to download the required packages to compile XMMS
# sudo apt-get install autotools-dev automake1.9 libtool gettext libasound2-dev libaudiofile-dev \
libgl1-mesa-dev libglib1.2-dev libgtk1.2-dev libesd0-dev libice-dev libmikmod2-dev libogg-dev \
libsm-dev libvorbis-dev libxxf86vm-dev libxml-dev libssl-dev build-essential make
Depending on your internet connection and your machine this may take some minutes.
Second Step:
Prepare the XMMS for compiling
Create a directory in your HOME directory:
# mkdir ~/build
Change the working directory to it:
# cd ~/build
Download XMMS sources:
# wget http://legacy.xmms2.org/xmms-1.2.11.tar.gz
Unpack it:
# tar xvf xmms-1.2.11.tar.gz
Change the working directory to the source directory:
# cd xmms-1.2.11/
Third Step:
Compiling it:
This generates the necessary files, and checks your system:
# ./configure --prefix=/usr
The actually compiling
# make
Fourth Step:
Install it:
# sudo make install
After install we no longer need the source directory:
# cd
# rm -rf ~/build
That's it, now we can run XMMS: press ALT+F2 write xmms there and hit enter and enjoy your music.
NOTE: many people say that XMMS is old, buggy,no UTF-8 support, etc. Yes maybe all is true, but it's an audio player not a media library organizer, so it plays music and you listen, that's all and it does that job.
UPDATE:
Flac Plugin
We need to get the build dependencies
# sudo apt-get build-dep flac
You already know what's this ;)
# mkdir ~/build
# cd ~/build
Get flac's sources
# apt-get source flac
Another well known step:)
# cd flac-1.2.1
# ./configure
# make
It's enough to copy the plugin, not to install the whole flac stuff, this is good if will be flac update, note, an update wont break the plugin.
# cp src/plugin_xmms/.libs/libxmms-flac.so ~/.xmms/Plugins
# cd
# rm -rf ~/build
UPDATE2:
Knuta's Ubuntu & Debian repo
Check out here
Apr 26, 2008
Apr 21, 2008
Nexuiz On OpenSolaris
I knew nexuiz for a while, to be honest it's not my style, but I need something to play here, so I tried to build it, finally I got it work.. if you are interested "howto" follow me:
So, we need to get nexuiz from here: http://alientrap.org/nexuiz
unzip it:
# unzip nexuiz-24.zip
change the working directory:
# cd Nexuiz/sources/
unzip the engine's source:
# unzip enginesource20080229.zip
# cd darkplaces
now, we need to change some files:
1. open `makefile` with your favorite text editor
add `SHELL=/usr/bin/bash` at the beginning, and if you have installed OSS (opensound system) add `DP_SOUND_API=OSS` I added it after `ifndef DP_MAKE_TARGET`
save & close
2. run this command:
# perl -pi -e 's/\bmodel_t\b/lh_dp_model_t/g' *.c *.h
it will replace the `model_t` function with `lh_dp_model_t`, we need this because `model_t` it's an internal solaris function
3. open `vid_glx.c` comment out line 292:
// vid_usingdgamouse = !!vid_dgamouse.integer;
save & close
4. open `snd_bsd.c`
a) comment out line 95
// break;
b) comment out line 197 and add `SndSys_Shutdown ();`
// SNDDMA_Shutdown ();
SndSys_Shutdown ();
5. now we can compile it:
# gmake cl-nexuiz
it should compile OK.
6. move the data files from Nexuiz to our folder:
# mv ../../data .
7. we can now play!
here are some screenshots:
thanks goes to guys @ #alientrap on irc.anynet.org
So, we need to get nexuiz from here: http://alientrap.org/nexuiz
unzip it:
# unzip nexuiz-24.zip
change the working directory:
# cd Nexuiz/sources/
unzip the engine's source:
# unzip enginesource20080229.zip
# cd darkplaces
now, we need to change some files:
1. open `makefile` with your favorite text editor
add `SHELL=/usr/bin/bash` at the beginning, and if you have installed OSS (opensound system) add `DP_SOUND_API=OSS` I added it after `ifndef DP_MAKE_TARGET`
save & close
2. run this command:
# perl -pi -e 's/\bmodel_t\b/lh_dp_model_t/g' *.c *.h
it will replace the `model_t` function with `lh_dp_model_t`, we need this because `model_t` it's an internal solaris function
3. open `vid_glx.c` comment out line 292:
// vid_usingdgamouse = !!vid_dgamouse.integer;
save & close
4. open `snd_bsd.c`
a) comment out line 95
// break;
b) comment out line 197 and add `SndSys_Shutdown ();`
// SNDDMA_Shutdown ();
SndSys_Shutdown ();
5. now we can compile it:
# gmake cl-nexuiz
it should compile OK.
6. move the data files from Nexuiz to our folder:
# mv ../../data .
7. we can now play!
here are some screenshots:
thanks goes to guys @ #alientrap on irc.anynet.org
Subscribe to:
Posts (Atom)
-
First: I'm not an Ubuntu user, but I would like to help newbies to get XMMS working on Ubuntu Hardy Heron. Why: a) A guy entered #xmms...