Tiny Core Extensions > TCE Talk

MPD - time for an update?

(1/10) > >>

donquixote2u:
Just wondering now that tc3 is here whether its time for another look at mpd?

There seems to be quite a bit of interest in music players, and the arrival of mpd in the repos was clearly well received, with maybe a few mpd clients in the pipeline.

there seem to be a few recurring issues though, some easily dealt with.

the auto starting of mpd with a default config seems to be more of a hindrance than help, (most seem to have to kill it and restart) given mpd's wide variability of configs, so one config never fits all. Maybe forget the startup script and just put hints in tthe info file?

Like many others I had alsa problems, whereas OSS "just worked" - the alsa stuff it dragged in seemed to stop OSS working when I restarted mpd (to pick up a custom config file) from bootlocal, but not when i moved the restart to the .X.d dir? WTF? - maybe an OSS-only version would be good? (and a lot leaner)

At any rate the libao2 dependency is now redundant since with the new recursive dependency resolution liba0 is pulled in by the vorbis-tools dependency, so a recompile under libao should fix this, no?  or do I misunderstand the situation?

I must say that the mpd modules creator, Davor Serfez, did a great job of documenting his build on his own site (serfez.net) which was a huge help in understanding not only the process of compiling mpd, but extension building in general.  

Anyway I would be interested in other opinions on those two changes and possible alternative version.  

curaga:
The alsa dep should be libasound instead of the full set, so that it doesn't interfere with OSS. Fixed. Also did that to wine-gl, wine-gl-dev, and speech-dispatcher.

SamK:

--- Quote from: donquixote2u on August 17, 2010, 05:24:38 PM ---the auto starting of mpd with a default config seems to be more of a hindrance than help, (most seem to have to kill it and restart) given mpd's wide variability of configs, so one config never fits all. Maybe forget the startup script and just put hints in tthe info file?

Anyway I would be interested in other opinions on those two changes and possible alternative version.  

--- End quote ---
I also use this stop and restart method in order to obtain the MPD configuration I require; it is clumsy but does work.  I would like to see the current boot-up default of /etc/mpd.conf being discontinued in favour of /opt/.mpd/mpd.conf.  This will provide a user editable file in an area well suited to both local backup by filetool and also where /opt is persistent storage.

I have recently been informed by the developer of MPD that the next version will be released later this month (August) and contains lots of bug-fixes/new features.  Perhaps any update of mpd.tcz could also incorporate the forthcoming release.
 

donquixote2u:

--- Quote --- I would like to see the current boot-up default of /etc/mpd.conf being discontinued in favour of /opt/.mpd/mpd.conf.  This will provide a user editable file in an area well suited to both local backup by filetool and also where /opt is persistent storage.
--- End quote ---

SamK , you and I are in synch on this one - thats exactly what i did! I am also still doubtful about the value of starting mpd at load time, in my case before my second usb drive with all my music on it can be mounted.

Curaga thanks for that fast work on the alsa issue - I have fired up a TC3 version of my setup today. MPD seems to work fine starting from bootlocal without killing OSS now. The libao/liba02 redundancy is a minor issue (theyre tiny) that can wait for an mpd recompile.

 Have you all noticed that b1ackmai1er has submitted an mpc extension?  good lad! - I was trying to do learn how to that , but I can run with his now - I'm blown away by the pace of tc development, great stuff!

b1ackmai1er:
Hi donquixote2u,

Thanks for the kind words. This was my first extension and all based on Davor Serfez great work. I made some notes on how I did this which I have posted below, if you are interested.


Install compiletc.tcz
Install squashfs-tools-4.0.tcz
Install mpd.tcz

Download libmpdclient-2.3.tar.bz2 to /home/tc
Download mpc-0.19.tar.gz to /home/tc

export CFLAGS=”-march=i486 -mtune=i686 -Os -pipe”
export CXXFLAGS=”-march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti”
export LDFLAGS=”-Wl, -O1”

cd /home/tc
tar xjvf libmpdclient-2.3.tar.bz2
cd libmpdclient-2.3
sudo ./configure --prefix=/usr/local
sudo make -j2
sudo make DESTDIR=/tmp/mpc install-strip

cd /home/tc
tar xjvf mpc-0.19.tar.gz

cd mpc-0.19
sudo ./configure --prefix=/usr/local
sudo make -j2

sudo make DESTDIR=/tmp/mpc install-strip
cd /tmp/mpc

sudo mkdir usr/local/tce.installed
sudo touch usr/local/tce.installed/mpc
sudo chown root:staff usr/local/tce.installed/mpc
sudo chmod 775 usr/local/tce.installed/mpc

sudo rm -rf usr/local/include
sudo rm usr/local/lib/libmpdclient.a
sido rm usr/local/lib/libmpdclient.la
sudo rm -rf usr/local/lib/pkgconfig
sudo rm -rf usr/local/share

find usr -not -type d > ../mpc.tcz.list
cd ..

mksquashfs mpc mpc.tcz
md5sum mpc.tzc > mpc.tcz.md5.txt

Navigation

[0] Message Index

[#] Next page

Go to full version