* [PATCH] avahi: avoid depending on skipped package
@ 2018-11-28 8:15 Jens Rehsack
2018-11-28 11:20 ` Burton, Ross
0 siblings, 1 reply; 3+ messages in thread
From: Jens Rehsack @ 2018-11-28 8:15 UTC (permalink / raw)
To: openembedded-core; +Cc: Jens Rehsack
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@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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] avahi: avoid depending on skipped package
2018-11-28 8:15 [PATCH] avahi: avoid depending on skipped package Jens Rehsack
@ 2018-11-28 11:20 ` Burton, Ross
2018-12-11 17:02 ` Jens Rehsack
0 siblings, 1 reply; 3+ messages in thread
From: Burton, Ross @ 2018-11-28 11:20 UTC (permalink / raw)
To: Jens Rehsack; +Cc: OE-core
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@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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] avahi: avoid depending on skipped package
2018-11-28 11:20 ` Burton, Ross
@ 2018-12-11 17:02 ` Jens Rehsack
0 siblings, 0 replies; 3+ messages in thread
From: Jens Rehsack @ 2018-12-11 17:02 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
[-- Attachment #1.1: Type: text/plain, Size: 2028 bytes --]
Yes, for name-resolution via zeroconf.
> Am 28.11.2018 um 12:20 schrieb Burton, Ross <ross.burton@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@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@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@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Jens Rehsack - rehsack@gmail.com
[-- Attachment #1.2: Type: text/html, Size: 3873 bytes --]
[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 849 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-12-11 17:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-28 8:15 [PATCH] avahi: avoid depending on skipped package Jens Rehsack
2018-11-28 11:20 ` Burton, Ross
2018-12-11 17:02 ` Jens Rehsack
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.