[OE-core] [PATCH] avahi: avoid depending on skipped package

Jens Rehsack sno at netbsd.org
Tue Dec 11 17:02:02 UTC 2018


Yes, for name-resolution via zeroconf.

> Am 28.11.2018 um 12:20 schrieb Burton, Ross <ross.burton at intel.com>:
> 
> Is Avahi actually useful without DBus?
> 
> This reminds me that I've been wanting to gut that recipe for a long time now...
> 
> Ross
> On Wed, 28 Nov 2018 at 08:16, Jens Rehsack <sno at netbsd.org> wrote:
>> 
>> When built without D-Bus, libavahi-client is not build:
>>  Building libavahi-client:           no   (You need avahi-daemon and D-Bus!)
>> which causes avahi-dev RDEPENDS failing when creating an image
>> containing development-tools:
>> *   - nothing provides libavahi-client = 0.7-r0 needed by avahi-dev-0.7-r0.cortexa8hf-neon
>> 
>> Signed-off-by: Jens Rehsack <sno at netbsd.org>
>> ---
>> meta/recipes-connectivity/avahi/avahi_0.7.bb | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>> 
>> diff --git a/meta/recipes-connectivity/avahi/avahi_0.7.bb b/meta/recipes-connectivity/avahi/avahi_0.7.bb
>> index 3d5f334a88..2e04d304c7 100644
>> --- a/meta/recipes-connectivity/avahi/avahi_0.7.bb
>> +++ b/meta/recipes-connectivity/avahi/avahi_0.7.bb
>> @@ -38,7 +38,8 @@ FILES_libavahi-glib = "${libdir}/libavahi-glib.so.*"
>> FILES_libavahi-gobject = "${libdir}/libavahi-gobject.so.*  ${libdir}/girepository-1.0/Avahi*.typelib"
>> FILES_avahi-utils = "${bindir}/avahi-*"
>> 
>> -RDEPENDS_${PN}-dev = "avahi-daemon (= ${EXTENDPKGV}) libavahi-core (= ${EXTENDPKGV}) libavahi-client (= ${EXTENDPKGV})"
>> +RDEPENDS_${PN}-dev = "avahi-daemon (= ${EXTENDPKGV}) libavahi-core (= ${EXTENDPKGV})"
>> +RDEPENDS_${PN}-dev += "${@["", " libavahi-client (= ${EXTENDPKGV})"][bb.utils.contains('PACKAGECONFIG', 'dbus', 1, 0, d)]}"
>> 
>> RRECOMMENDS_avahi-daemon_append_libc-glibc = " libnss-mdns"
>> 
>> --
>> 2.17.1
>> 
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core at lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
Jens Rehsack - rehsack at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181211/ed4946ec/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181211/ed4946ec/attachment.sig>


More information about the Openembedded-core mailing list