JS support is deactivated in Ubuntu mediatomb package since 10.04.
They stated that it was not easily possible to compile angainst xulrunner instead of libmozjs:_
"This was disabled deliberately because it was still depending on libmozjs, which we removed ages ago. It doesn't build against the latest xulrunner because it hard-codes header paths rather than using pkg-config, and is looking in all the wrong places for headers. I don't have the time to fix this, so it was a choice between disabling spidermonkey support or dropping it from the archive altogether"_
Please see: https://bugs.launchpad.net/ubuntu/+source/mediatomb/+bug/568275
Is there any chance from the mediatomb guys to help the ubuntu guys to have js support for mediatomb easily back again?
-> maybe by hard coded things…
Hi, I had the same issue. I've built my own to get around things. Here's my notes for how to build it with just about everything enabled. In the below notes, you have to replace the xulrunner version with your own and then export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/xulrunner-220.127.116.11 (with your xulrunner version) in your init script for mediatomb :
#build and install ffmpegthumbnailer
svn checkout http://ffmpegthumbnailer.googlecode.com/svn/trunk/ ffmpegthumbnailer
sudo checkinstall -fstrans=no -install=yes -pkgname=ffmpegthumbnailer -pkgve
rsion "2.0.0.svn`date +%Y%m%d`-0.0ubuntu1" -default
svn checkout http://mp4v2.googlecode.com/svn/trunk/ mp4v2
sudo checkinstall -fstrans=no -install=yes -pkgname=libmp4v2-0 -pkgversion "
#libjs (spidermonkey) is in xulrunner now.
sudo apt-get install xulrunner-dev
#install either MySQL or sqlite3
apt-get install libsqlite3-dev libmysqlclient-dev libmagic-dev libexif-dev libcu
#build and install Mediatomb
svn co https://svn.mediatomb.cc/svnroot/mediatomb/trunk/mediatomb mediatomb
./configure -with-js-h=/usr/include/xulrunner-18.104.22.168 -with-js-libs=/usr/lib/x
change expat.h to /usr/include/expat.h
sudo checkinstall -fstrans=no -install=yes -pkgname=mediatomb -pkgversion "0
Hi, thanks for the reply.
I already try to compile myself but stop to continue when i saw how many packages are depend on xulrunner:
OVER 80 packages just for this!!!!
Do you know if this is really needed?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.