So the tards developing amarok want to stuff ruby and other crap down my throat. I went to the official channel on Freenode and told them the configure script is mising an option to turn off some "daap" crap I don't need or have any use for and that the configure script was broken, failing if ruby isn't available (as it's only really used during compile of "daap" anyway).
22:28 < Novell> so will this all be configurable or do I have to keep hacking files or change to some other media player ?
22:28 < markey> the latter
I guess this means I will not upgrade from 1.4.2 ever since I'm fed up with having to fix their broken crap.
Anyway, if you are like me and don't want crap you don't need and want to use amarok anyway while waiting for something better that isn't broken and hopefully with a working plugin API this is what you need to do:
Extract amarok 1.4.2 sources and go to the source dir.
Open amarok/src/configure.in.in in your favourite editor and to down to line 57 (or around there) where this code is:
if test "x$RUBY" = "xno" ; then
amarok_error_noruby=yes
DO_NOT_COMPILE="$DO_NOT_COMPILE amarok"
no_amarok=yes
fi
Change it to:
#if test "x$RUBY" = "xno" ; then
# amarok_error_noruby=yes
# DO_NOT_COMPILE="$DO_NOT_COMPILE amarok"
# no_amarok=yes
#fi
Then run:
rm -rf amarok/src/mediadevice/daap
Open amarok/src/mediadevice/Makefile.am and find the line
SUBDIRS = generic daap $(IPOD_SUBDIR) $(IFP_SUBDIR) $(NJB_SUBDIR) $(MTP_SUBDIR)
Change it to
SUBDIRS = generic $(IPOD_SUBDIR) $(IFP_SUBDIR) $(NJB_SUBDIR) $(MTP_SUBDIR)
After this, run:
make -f Makefile.cvs
This will regenerate the configure script, then just run configure as usual.
That's all folks, no daap crap or ruby required anymore. last.fm streaming and some other less useful stuff won't work without ruby however, but who cares ?
If I had a say in it, that should all be configurable at
run time via a
real plugin API..