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 <[email protected]>
Sent: Wednesday, January 4, 2023 12:59:58 PM
To: [email protected]
Cc: Petr Kubizňák - 2N; [email protected]
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 <[email protected]>
wrote:
>
> On Wed, 4 Jan 2023 at 12:46, Petr Kubizňák <[email protected]> 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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to