On Wed, Jan 14, 2015 at 10:03 AM, Alexander Kanavin <
alexander.kanavin(a)intel.com> wrote:
On 01/13/2015 06:35 PM, Linux mail wrote:
Thank you very much for your answer! Right now I have upgraded the gupnp
> package and installed the latest dleyna-core but now that I try to get
> the dleyna-server alone (this is, without the dleyna-connector-dbus) I
> see it tries to install the dbus services anyway.
>
Please provide more details about what are you doing and what happens.
If you try to compile dleyna-server from source, then it will not require
dleyna-connector-dbus. Then, before you run it you need to specify the
connector name in the config file (that name is 'dbus' by default).
I'm adding dleyna-server to a Yocto distro. The recipe is pretty much the
same as the media_service_upnp
<
https://github.com/openembedded/meta-oe/blob/master/meta-multimedia/recip...
(I changed LIC_FILES_CHKSUM and SRCREV to match dleyna-core/server, as well
as erased dms-info installation), so yes, I´m compiling from source.
The output I *was* seeing is this:
WARNING: QA Issue: dleyna-server: Files/directories were installed but not
shipped
/usr/share
/usr/bin
/usr/share/dbus-1
/usr/share/dbus-1/services
/usr/share/dbus-1/services/com.intel.dleyna-server.service
ERROR: QA Issue: non -dev/-dbg/-nativesdk package contains symlink .so:
dleyna-server path
'/work/cortexa15hf-vfp-neon-3.10-oe-linux-gnueabi/dleyna-server/0.5.0-r1/packages-split/dleyna-server/usr/lib/dleyna-server/
libdleyna-server-1.0.so'
As you can see, it installs the dbus service (I can even see it in the
sysroot) so I thought the issue was because of the dbus connector not being
installed but I noticed the error is because of the shared object. Doing a
bit of google I found I need to redirect the files into the correct package
by doing: FILES_${PN} = "${libdir}/lib*.so"
Nevertheless, as you pointed out, the default connector is dbus so I will
need to change it to socket server connector in the config file.
Thank you very much!
Lucio