Quantcast
Channel: Squeezebox : Community : Forums - Linux / Unix
Viewing all articles
Browse latest Browse all 1518

Help making a FreeBSD port for Logitech Media Server

$
0
0
Hi Everyone,

I am a FreeBSD ports developer, and would like to update our port of squeezeboxserver 7.5.4, and rename it to logitechmediaserver. The goal is to make it possible to simply install the latest stable release with a simple "pkg install logitechmediaserver", and then start it with "service logitechmediaserver start". This work would likely make it possible to have Logitech Media Server also available on FreeNAS, DragonFlyBSD and PC-BSD. In essence, it would mean a similar practice to what is already mentioned on the wiki, but with an update version and using the latest FreeBSD tools (the new pkg):
http://wiki.slimdevices.com/index.ph...tallationGuide

Details of our current (outdated) port are here:
http://www.freshports.org/audio/squeezeboxserver

In fixing this port, it needs to be done "the right way". This means, rather than shipping many CPAN dependencies with the port, it should instead depend on existing FreeBSD ports which provide those CPAN dependencies. If a CPAN dependency is missing, I will create a separate port to add that to our ports system. Also, it is not customary to simply run a ./buildme.sh script for FreeBSD ports. Instead I should understand the required actions and convert them into the standard FreeBSD ports Makefile format.

I have a few questions regarding the port:
  1. Which version of logitechmediaserver should I put in the ports tree? The main wiki page (http://wiki.slimdevices.com/index.ph...h_Media_Server) provides a link to 7.7.5, but the https://github.com/Logitech/slimserver GitHub account has branches for 7.7, 7.8, 7.9 and 10.0.
  2. Will the database system work by default without pulling in any dependencies? The wiki at http://wiki.slimdevices.com/index.php/SQLite states that sqlite is no loner used, and that logitechmediaserver now bundles its own instance of MySQL (http://wiki.slimdevices.com/index.php/MySQL), which will be configured and run by itself. How does this work in the build system?
  3. How can I get separate ports for libmediascan and the Media::Scan perl module working? They appear to be on https://github.com/andygrundman/libmediascan, and I have used the most recent commit as version 0.1, even though there is no tagged release. When the libmediascan.so library is loaded it gives an FFmpeg error (http://ffmpeg.org/pipermail/libav-us...ay/009162.html), which the FFmpeg developers say is due to it incorrectly using the FFmpeg API (http://ffmpeg.org/pipermail/libav-us...ay/009164.html). This is not surprising given the last GitHub commit was nearly 5 years ago.


Thanks in advance for your help!

Regards,
Ben

Viewing all articles
Browse latest Browse all 1518

Trending Articles