Re: [OE-core] [PATCH 2/2] libgudev: Allow native build

Böszörményi Zoltán
2023-03-30T14:01:42Z

2023. 03. 30. 15:47 keltezéssel, Alexander Kanavin írta:
> Can you look into specific details of why libgudev is needed, and
> whether it can be made optional? Also, what is it from
> libfprint-native that libfprint needs?
>
> I would really like to know these details before we conclude that
> adding native variants for tricky, brittle items like all of systemd
> is indeed the only option. Maybe we can break those dependency chains.

It's verbosely explained in the patch for libfprint sent to oe-devel.
Please read that. It's also here:
https://gitlab.freedesktop.org/libfprint/libfprint/-/merge_requests/431

>
> Alex
>
>
> On Thu, 30 Mar 2023 at 15:42, Zoltan Boszormenyi <zboszor@gmail.com> wrote:
>> libgudev-native is a dependency of libfprint-native, which
>> is needed to build libfprint.
>>
>> Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
>> ---
>> meta/recipes-gnome/libgudev/libgudev_237.bb | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/meta/recipes-gnome/libgudev/libgudev_237.bb b/meta/recipes-gnome/libgudev/libgudev_237.bb
>> index 9ce43ce34b..ad3a16ab99 100644
>> --- a/meta/recipes-gnome/libgudev/libgudev_237.bb
>> +++ b/meta/recipes-gnome/libgudev/libgudev_237.bb
>> @@ -9,6 +9,8 @@ SRC_URI[archive.sha256sum] = "0d06b21170d20c93e4f0534dbb9b0a8b4f1119ffb00b4031aa
>>
>> DEPENDS = "glib-2.0 udev"
>>
>> +BBCLASSEXTEND = "native"
>> +
>> RCONFLICTS:${PN} = "systemd (<= 220)"
>>
>> LICENSE = "LGPL-2.1-only"
>> --
>> 2.39.2
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#179322): https://lists.openembedded.org/g/openembedded-core/message/179322
>> Mute This Topic: https://lists.openembedded.org/mt/97950751/1686489
>> Group Owner: openembedded-core+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>