Created attachment 417320 [details] Adding upnp-av USE flag to totem-3.18,1.ebuild On Gentoo totem can't browse upnp-servers without manually installing grilo-plugins, gupnp-av and dleyna-server. This is a standard feature on Fedora. We can archive this and improve the user experience by adding the upnp-av USE-flag depending the 3 libraries to the ebuild.
The dep is not direct -> totem needs grilo-plugins -> grilo-plugins is the one that rdepends on upnp-av stuff (via its USE flag) to achieve this
Created attachment 417366 [details] Moved dependencies from totem to grilo-plugins
You are right, so I moved the dependencies from totem to grilo-plugins ebuild.
I will change summary to try to clarify what it's really needed... is that the needed change, right?
of course, thanks. and yes it is, tested on our test server running gnome 3.18.
grilo-plugins does not depend on all dleyna packages because grilo-plugins consumers do not always use both upnp client & server side. I left it to each ebuilds to depend on the relevant part as needed.
So what would you recommend how to implement this feature? 1. Implement it in totem ebuild (like my first draft) pro: totem get a new feature contra: only totem will benefit from this kind of implementation, other ebuilds who depends on it have to implement it too 2. Implement it in grilo-plugins ebuild via a new USE flag (e.g. upnp-server) pro: also other software will benefit, updating (e.g. dependencies/slots/...) will be easier contra: [a new USE flag will be needed]
If it hadn't been for this message, I would have given up trying to make totem discover my Synology's DLNA server. $ totem (totem:28061): Grilo-WARNING **: [dleyna] grl-dleyna-servers-manager.c:138: Unable to fetch the list of available servers: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name com.intel.dleyna-server was not provided by any .service files I think the end-user experience can use some improvement :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b60b1ed0e5faf22ad562489a5046d523ff701cf commit 5b60b1ed0e5faf22ad562489a5046d523ff701cf Author: Gilles Dartiguelongue <eva@gentoo.org> AuthorDate: 2017-09-13 06:52:38 +0000 Commit: Gilles Dartiguelongue <eva@gentoo.org> CommitDate: 2017-09-13 07:27:40 +0000 media-plugins/grilo-plugins: version bump 0.3.4 → 0.3.5 Add missing gdbus-codegen dependency, Add missing dleyna-server dependency, bug #566164. Add dbusmock unittests support. Closes: https://bugs.gentoo.org/show_bug.cgi?id=566164 Package-Manager: Portage-2.3.8, Repoman-2.3.3 media-plugins/grilo-plugins/Manifest | 1 + .../grilo-plugins/grilo-plugins-0.3.5.ebuild | 132 +++++++++++++++++++++ 2 files changed, 133 insertions(+)
Reading the code of the plugin, it appears to only use dleyna-server.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/sync/gentoo.git/commit/?id=5b60b1ed0e5faf22ad562489a5046d523ff701cf commit 5b60b1ed0e5faf22ad562489a5046d523ff701cf Author: Gilles Dartiguelongue <eva@gentoo.org> AuthorDate: 2017-09-13 06:52:38 +0000 Commit: Gilles Dartiguelongue <eva@gentoo.org> CommitDate: 2017-09-13 07:27:40 +0000 media-plugins/grilo-plugins: version bump 0.3.4 → 0.3.5 Add missing gdbus-codegen dependency, Add missing dleyna-server dependency, bug #566164. Add dbusmock unittests support. Closes: https://bugs.gentoo.org/show_bug.cgi?id=566164 Package-Manager: Portage-2.3.8, Repoman-2.3.3 media-plugins/grilo-plugins/Manifest | 1 + .../grilo-plugins/grilo-plugins-0.3.5.ebuild | 132 +++++++++++++++++++++ 2 files changed, 133 insertions(+)