Coherence can act as a standalone DLNA/UPnP media server and/or renderer. It also provides a python framework and Dbus API for application development. Reproducible: Always Further information is at http://coherence.beebits.net/
Created attachment 171188 [details] ebuild for coherence-0.5.8
Created attachment 171189 [details] patch to automatic bind interface detection Patch has been submitted upstream at https://coherence.beebits.net/ticket/159
The current version has a bundled copy of louie signal switching utility, but to use the system version you need the ebuild at #225475
Created attachment 182298 [details] coherence init.d Added a coherence init.d script - first one I've made, improvements are likely needed. It looks for a /etc/coherence.conf config file. Copying the ebuild to 0.6.0 works too, just need to remove the patch lines.
the ebuild of coherence, as well as the ebuild of louie are missing the dependency dev-python/setuptools. When trying to emerge without it, you end up with this error message: * ${python} setup.py build "$@" || die "compilation failed"
Created attachment 188708 [details] New working ebuild for Coherence 0.6.2 Updated the ebuild for Coherence 0.6.2. Works great on my system.
Created attachment 202901 [details] New ebuild for coherence-0.6.4 Updated for Coherence 0.6.4. Added a few minor improvements including the addition of dev-python/setuptools to the DEPENDS tree, added RESTRICT="mirror" to prevent portage from trying to pull Coherence from Gentoo mirrors (makes the ebuild cleaner), and added an "if" statement to the installation step in case you want to use Mike Woods' init.d script (place it in the subdir "files" as always). Can't say the init.d script works for me but I haven't played around with it at all either.
Is this the same ebuild that is provided in sabayon overlay? (http://gpo.zugaina.org/dev-python/coherence)
Chris, could you explain why you've added RESTRICT=mirror?
I've added a very slightly modified version of this ebuild to Funtoo Linux - coherence-0.6.6.ebuild. It is in the media-video category. Feel free to grab. I hope to also integrate a real initscript into the ebuild soon, as well - I've mainly added this to my tree to facilitate my own testing (trying to get transcoding working on my PS3! :)
Created attachment 213726 [details] coherence-0.6.6.ebuild Slightly more refined ebuild for coherence. Still lots of warning when started. I was interested in this for my XBOX 360 but never got it to work correctly. Good luck.
The current Coherence-0.6.6 source tarball is missing key files and thus doesn't work -- the earlier 0.6.6 version they had on their site was working. Be warned if you're trying out the 0.6.6 ebuild.
Created attachment 214256 [details] coherence-0.6.6.1.ebuild Updated coherence ebuild to 0.6.6.1. -Added some more deps based on warnings in logs. -Removed USE flag while deps are being sorted out. -Need to work out some way to install a sane default config file. -Successfully streamed a mpeg file to my TV.
(In reply to comment #13) > Created an attachment (id=214256) [details] > coherence-0.6.6.1.ebuild > > Updated coherence ebuild to 0.6.6.1. > > -Added some more deps based on warnings in logs. > -Removed USE flag while deps are being sorted out. > -Need to work out some way to install a sane default config file. > -Successfully streamed a mpeg file to my TV. > Added to portage tree. Thanks to all the contributors on this bug. Still a rough ebuild and needs help, hopefully we can get it in shape soon. Functionality works. (Please open new bugs in future)
There are much inconsistancies in the coherence-0.6.6.1.ebuild (the one in official portage) that should be fixed. 1. First of all running coherence as root is really a bad idea. Especially considering an enabled FSStore plugin. 2. Next using dbus option is not working properly because it needs a running X. Even when running as root it gives an error: Unable to activate dbus sub-system: DBusException('/usr/bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.\n',) (coherence/base.py:410) 3. There are some upstream bugs that prevent some of the command line config options to be accepted (like logfile, interface...). 4. The daemon doesn't create any pid file itself, so some options in the Gentoo init.d file need to be changed. Considering these i wrote a r1 ebuild with some config and init.d files. Please see Bug #309061 too, so could be fixed as needed.
Created attachment 233333 [details] The init.d file for coherence
Created attachment 233335 [details] The conf.d file for coherence.
Created attachment 233337 [details] The coherence.config file thet goes into /etc
Created attachment 233339 [details] The ebuild itself v.0.6.6.1 revision 1
(In reply to comment #15) <snip> I guess you missed my note in comment #14 about new bugs in the future? :)
(In reply to comment #20) > (In reply to comment #15) > <snip> > > I guess you missed my note in comment #14 about new bugs in the future? :) > Well i didn't miss it... It is simply that i do not think we should "flood" the bugs database with fixes of the same package... 'cause what should i name the new bug... "Fixes for the coherence-0.6.6.1.ebuild" ? Probably till this is stabilized it is better to stay in this bug and the bug to be reopened... And BTW why this is in media-video? Shouldn't it go to net-misc (like ices, mediatomb and other such services) OR to dev-python (since it actually offers an app framework for such services)?