Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540714 - net-misc/dleyna new package addition (used by grilo)
Summary: net-misc/dleyna new package addition (used by grilo)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 509228
  Show dependency tree
 
Reported: 2015-02-20 02:55 UTC by Jan Höppner
Modified: 2015-06-09 23:55 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Höppner 2015-02-20 02:55:36 UTC
The grilo framework is used by many applications for media discovery. For example, when using Rhythmbox and you activate the grilo plugin you should be able to discover and play media shared by UPNP/DLNA servers on your network.

However, grilo seems to have switched to use dleyna at one point, which is neither part of any package nor is it in portage at all! To be able to discover media with the grilo plugin though (and therefore with Rhythmbox for example) you need to have dleyna installed.

What dleyna is and what it offers can be found on their website: https://01.org/dleyna

At the moment, when you start grilo-test-ui-0.2 the following warning comes up:

(grilo-test-ui-0.2:8604): 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

The same warning appears when you start Rhythmbox with the grilo plugin enabled and you won't be able to discover any media on your network.

To fix this issue for now I found this ebuild by x11tete11x on github: https://github.com/x11tete11x/x11tete11x/tree/master/net-misc/dleyna-linux

Adding this via layman and then installing dleyna-linux solved the problem and I am able to discover and play media across the network.

Though, I'd like to see an official ebuild with proper support in the portage tree.

The source code for dleyna-linux can also be found on github: https://github.com/01org/dleyna-linux

Let me know if you need more information on that topic and I'd be happy to provide them.

Best regards
Jan

Reproducible: Always

Steps to Reproduce:
1. Start grilo-test-ui-0.2
2.
3.
Actual Results:  
Grilo isn't able to discover any media due to the missing dleyna component and displays the following warning:

(grilo-test-ui-0.2:8604): 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

Expected Results:  
No warning should be displayed and grilo should be able to discover media on the network. This would make it possible to play media through i.e. rhythmbox across the network again.

Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.18.1-gentoo x86_64)
=================================================================
System uname: Linux-3.18.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16350716 total,  13175084 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 17 Feb 2015 17:30:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.9
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo angelos x11tete11x x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cg
i-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updm
ap.d /etc/texmf/web2c"
CXXFLAGS="-march=core-avx2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j5 --load-average 5.01 --quiet"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news parallel-fetch preserve-libs protect-
owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-m
irror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-mue
nster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.i
nformatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solution
s.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j13 -l9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --e
xclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/angelos /var/lib/layman/x11tete11x /usr/local/portage"
USE="3dnow X \ a52 acl acpi alsa amd64 avahi berkdb bitmap-fonts bzip2 cli cracklib crypt cxx dbus dri dvd exif ffmpeg fortran gdbm gif gstreamer gtk gtk3 iconv ios ipod
 ipv6 jpeg libav libnotify mmx modules ncurses networkmanager nls nptl nsplugin opengl openmp pam pcre png policykit pulseaudio python readline session smp sse sse2 ssl
startup-notification stream svg systemd tcpd threads tiff truetype truetype-fonts type1-fonts udisks unicode vcd win32codecs xinerama xmp xulrunner zlib" ABI_X86="64" AL
SA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio vi
a82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file
 authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter fil
e_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLI
GRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver ol
dstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc multiboot" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bay
rad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION=
"libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TA
RGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit
sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Pacho Ramos gentoo-dev 2015-02-20 11:07:24 UTC
@gnome, should we try to package that dleyna-linux package or the separate dleyna packages?
Comment 2 Pacho Ramos gentoo-dev 2015-03-08 10:46:23 UTC
Looks like Gilles has being doing some work on this in gnome overlay :)
Comment 3 Stefan G. Weichinger 2015-03-21 12:34:02 UTC
Just some feedback from me:

The ebuild from x11tete11x works for me ...
The ebuilds in the gnome-overlay don't.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-03-26 15:12:33 UTC
Added missing dleyna-connector-dbus and now I get a working dleyna integration in gnome-photos. Ebuilds are in the gnome overlay and shall migrate in a few days if everything is fine.
Comment 5 Stefan G. Weichinger 2015-03-26 16:11:54 UTC
(In reply to Gilles Dartiguelongue from comment #4)
> Added missing dleyna-connector-dbus and now I get a working dleyna
> integration in gnome-photos. Ebuilds are in the gnome overlay and shall
> migrate in a few days if everything is fine.

Your ebuilds work for me, thanks!

Tested with rhythmbox ...
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-06-09 23:55:28 UTC
Added to gentoo-x86 with Gnome 3.16.