Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 246166 - ebuild for Coherence DLNA/UPnP framework
Summary: ebuild for Coherence DLNA/UPnP framework
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 225475
Blocks: 293051
  Show dependency tree
 
Reported: 2008-11-09 14:46 UTC by Nick Loeve
Modified: 2011-08-10 12:44 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for coherence-0.5.8 (coherence-0.5.8-r1.ebuild,835 bytes, text/plain)
2008-11-09 14:47 UTC, Nick Loeve
Details
patch to automatic bind interface detection (0.5.8-bind_if_detection.patch,514 bytes, text/plain)
2008-11-09 14:48 UTC, Nick Loeve
Details
coherence init.d (coherence,402 bytes, text/plain)
2009-02-17 02:48 UTC, Mike Woods
Details
New working ebuild for Coherence 0.6.2 (coherence-0.6.2.ebuild,783 bytes, text/plain)
2009-04-17 18:31 UTC, Xitij Ritesh Patel
Details
New ebuild for coherence-0.6.4 (coherence-0.6.4.ebuild,1.01 KB, text/plain)
2009-09-01 20:16 UTC, Chris Shymanik (mousee)
Details
coherence-0.6.6.ebuild (coherence-0.6.6.ebuild,768 bytes, text/plain)
2009-12-22 05:53 UTC, Jeremy Olexa (darkside) (RETIRED)
Details
coherence-0.6.6.1.ebuild (coherence-0.6.6.1.ebuild,794 bytes, text/plain)
2009-12-27 05:15 UTC, Jeremy Olexa (darkside) (RETIRED)
Details
The init.d file for coherence (coherence.initd,607 bytes, text/plain)
2010-05-28 22:27 UTC, PhobosK
Details
The conf.d file for coherence. (coherence.confd,1.03 KB, text/plain)
2010-05-28 22:27 UTC, PhobosK
Details
The coherence.config file thet goes into /etc (coherence.config,3.79 KB, text/plain)
2010-05-28 22:28 UTC, PhobosK
Details
The ebuild itself v.0.6.6.1 revision 1 (coherence-0.6.6.1-r1.ebuild,1.37 KB, text/plain)
2010-05-28 22:28 UTC, PhobosK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Loeve 2008-11-09 14:46:57 UTC
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/
Comment 1 Nick Loeve 2008-11-09 14:47:37 UTC
Created attachment 171188 [details]
ebuild for coherence-0.5.8
Comment 2 Nick Loeve 2008-11-09 14:48:26 UTC
Created attachment 171189 [details]
patch to automatic bind interface detection

Patch has been submitted upstream at https://coherence.beebits.net/ticket/159
Comment 3 Nick Loeve 2008-11-09 14:50:02 UTC
The current version has a bundled copy of louie signal switching utility, but to use the system version you need the ebuild at #225475
Comment 4 Mike Woods 2009-02-17 02:48:04 UTC
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.
Comment 5 Michalis Adamidis 2009-03-19 01:01:57 UTC
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"
Comment 6 Xitij Ritesh Patel 2009-04-17 18:31:34 UTC
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.
Comment 7 Chris Shymanik (mousee) 2009-09-01 20:16:46 UTC
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.
Comment 8 skolima 2009-10-22 15:16:43 UTC
Is this the same ebuild that is provided in sabayon overlay?

(http://gpo.zugaina.org/dev-python/coherence)
Comment 9 Arun Raghavan (RETIRED) gentoo-dev 2009-12-06 10:23:07 UTC
Chris, could you explain why you've added RESTRICT=mirror?
Comment 10 Daniel Robbins 2009-12-21 23:41:42 UTC
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! :)
Comment 11 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-22 05:53:14 UTC
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.
Comment 12 Daniel Robbins 2009-12-22 05:55:22 UTC
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.
Comment 13 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-27 05:15:31 UTC
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.
Comment 14 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-27 05:20:28 UTC
(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)
Comment 15 PhobosK 2010-05-28 22:25:57 UTC
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. 
Comment 16 PhobosK 2010-05-28 22:27:09 UTC
Created attachment 233333 [details]
The init.d file for coherence
Comment 17 PhobosK 2010-05-28 22:27:32 UTC
Created attachment 233335 [details]
The conf.d file for coherence.
Comment 18 PhobosK 2010-05-28 22:28:00 UTC
Created attachment 233337 [details]
The coherence.config file thet goes into /etc
Comment 19 PhobosK 2010-05-28 22:28:48 UTC
Created attachment 233339 [details]
The ebuild itself v.0.6.6.1 revision 1
Comment 20 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-05-29 02:53:23 UTC
(In reply to comment #15)
<snip>

I guess you missed my note in comment #14 about new bugs in the future? :)
Comment 21 PhobosK 2010-05-29 06:19:22 UTC
(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)?