Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E12B5C4332F for ; Wed, 4 Jan 2023 12:24:22 +0000 (UTC) Received: from smtp1.axis.com (smtp1.axis.com [195.60.68.17]) by mx.groups.io with SMTP id smtpd.web11.10645.1672835059873427047 for ; Wed, 04 Jan 2023 04:24:20 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: 2n.com, ip: 195.60.68.17, mailfrom: kubiznak@2n.com) From: =?iso-8859-2?Q?Petr_Kubiz=F2=E1k_-_2N?= To: "openembedded-core@lists.openembedded.org" Subject: Re: [OE-core][PATCH 1/2] gobject-introspection: check for GI_DATA_ENABLED Thread-Topic: [OE-core][PATCH 1/2] gobject-introspection: check for GI_DATA_ENABLED Thread-Index: AQHZIDIvVR7HPOD4Nkm3C4IeSj1LKa6OJ86sgAACnh8= Date: Wed, 4 Jan 2023 12:24:17 +0000 Message-ID: <35848697143b4b3a8612c027d8852575@2n.com> References: <20230104114555.575278-1-kubiznak@2n.com> <17371904FDF90491.29426@lists.openembedded.org>, In-Reply-To: Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.5.60] Content-Type: multipart/alternative; boundary="_000_35848697143b4b3a8612c027d88525752ncom_" MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 04 Jan 2023 12:24:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/175472 --_000_35848697143b4b3a8612c027d88525752ncom_ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable 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 n= ot aware of potential consequences of removing the -native dependencies, bu= t if you think it should also be done, I'm happy to update the patch. Pleas= e let me know. Petr ________________________________ From: Alexander Kanavin Sent: Wednesday, January 4, 2023 12:59:58 PM To: alex.kanavin@gmail.com Cc: Petr Kubiz=F2=E1k - 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 wrote: > > On Wed, 4 Jan 2023 at 12:46, Petr Kubiz=F2=E1k 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 > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > Links: You receive all messages sent to this group. > View/Reply Online (#175467): https://lists.openembedded.org/g/openembedde= d-core/message/175467 > Mute This Topic: https://lists.openembedded.org/mt/96048399/1686489 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [al= ex.kanavin@gmail.com] > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > --_000_35848697143b4b3a8612c027d88525752ncom_ Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable

Hi Alex,


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


This change was sufficient to remove the dependency from the target. I a= m 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 patc= h. Please let me know.


Petr


From: Alexander Kanavin &= lt;alex.kanavin@gmail.com>
Sent: Wednesday, January 4, 2023 12:59:58 PM
To: alex.kanavin@gmail.com
Cc: Petr Kubiz=F2=E1k - 2N; openembedded-core@lists.openembedded.org=
Subject: Re: [OE-core][PATCH 1/2] gobject-introspection: check for G= I_DATA_ENABLED
 
I mean, if you want to do this to reduce dependenc= y 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=3Dgmail.com@lists.openembedded.org&= gt;
wrote:
>
> On Wed, 4 Jan 2023 at 12:46, Petr Kubiz=F2=E1k <kubiznak@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
>
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
> Links: You receive all messages sent to this group.
> View/Reply Online (#175467): https://lists.openembedded.org/g/openembedded-core/message/175467
> Mute This Topic: https://lists.openembedded.org/mt/96048399/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@= gmail.com]
> -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
>
--_000_35848697143b4b3a8612c027d88525752ncom_--