Hi Alex,

Yes, that's exactly the reason. I'm particularly concerned about dependency on 
glib, but other dependencies are unnecessary, too.


This change was sufficient to remove the dependency from the target. I am not 
aware of potential consequences of removing the -native dependencies, but if 
you think it should also be done, I'm happy to update the patch. Please let me 
know.


Petr

________________________________
From: Alexander Kanavin <alex.kana...@gmail.com>
Sent: Wednesday, January 4, 2023 12:59:58 PM
To: alex.kana...@gmail.com
Cc: Petr Kubizňák - 2N; openembedded-core@lists.openembedded.org
Subject: Re: [OE-core][PATCH 1/2] gobject-introspection: check for 
GI_DATA_ENABLED

I mean, if you want to do this to reduce dependency chains, then
depending on qemu-native and g-i-native isn't necessary either. But
the patch as it is seems like going halfway.

Alex

On Wed, 4 Jan 2023 at 12:54, Alexander Kanavin via
lists.openembedded.org <alex.kanavin=gmail....@lists.openembedded.org>
wrote:
>
> On Wed, 4 Jan 2023 at 12:46, Petr Kubizňák <kubiz...@2n.com> wrote:
> > When GI_DATA_ENABLED is 'False' (e.g. because
> > 'gobject-introspection-data' is not in DISTRO_FEATURES),
> > gobject-introspection should not be added to DEPENDS.
>
> Why?
>
> Alex
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#175472): 
https://lists.openembedded.org/g/openembedded-core/message/175472
Mute This Topic: https://lists.openembedded.org/mt/96048399/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to