From mboxrd@z Thu Jan 1 00:00:00 1970 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 CDB0CC433F5 for ; Sun, 23 Jan 2022 12:14:50 +0000 (UTC) Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) by mx.groups.io with SMTP id smtpd.web11.8802.1642940089126936461 for ; Sun, 23 Jan 2022 04:14:49 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.80, mailfrom: f_l_k@t-online.de) Received: from fwd85.dcpf.telekom.de (fwd85.aul.t-online.de [10.223.144.111]) by mailout01.t-online.de (Postfix) with SMTP id CFD7D20B; Sun, 23 Jan 2022 13:14:45 +0100 (CET) Received: from [192.168.178.83] ([84.163.32.167]) by fwd85.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nBbld-3w4pTF0; Sun, 23 Jan 2022 13:14:45 +0100 Subject: Re: [oe] [meta-gnome][PATCHv2] folks: initial add recipe To: Alexander Kanavin Cc: OpenEmbedded Devel List References: <20220120203602.3833757-1-f_l_k@t-online.de> <33c62297-f753-3c63-d409-d6ed774ace94@t-online.de> From: Markus Volk Message-ID: Date: Sun, 23 Jan 2022 13:14:44 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------E1A1DB69B35CE0FFF0B71FF7" Content-Language: en-US X-TOI-EXPURGATEID: 150726::1642940085-00014AB5-68808CA4/0/0 CLEAN NORMAL X-TOI-MSGID: def6f52b-98d6-4a2f-88de-c53f9a14aedb 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 ; Sun, 23 Jan 2022 12:14:50 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/95015 This is a multi-part message in MIME format. --------------E1A1DB69B35CE0FFF0B71FF7 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable yes, but folks is one of that gnome projects that made introspection=20 mandatory. I can't find an option to disable it with the meson buildsyste= m: https://gitlab.gnome.org/GNOME/folks/-/blob/master/meson_options.txt So i'm really unsure what to do here. But i have added some more usable PACKAGECONFIG options and sent a patchv= 3 Am 22.01.22 um 20:54 schrieb Alexander Kanavin: > Gobject introspection is inherently hostile to cross compilation=20 > environments as it requires running a cross-compiled binary with the=20 > qemu emulator. That does not always work, and if it does not, your=20 > build will break. So there must be a way to turn it off when it happens= . > > Alex > > On Sat, 22 Jan 2022 at 20:29, Markus Volk > wrote: > > I tried to make the 'folks' backends buildable and it turned out, > that > there are some more places where vala introspection is missing. > > https://github.com/openembedded/meta-openembedded/blob/461c04657c31= 51629b503fe134e9d672520aacbb/meta-gnome/recipes-gnome/evolution-data-serv= er/evolution-data-server.bb#L34 > > > https://github.com/openembedded/meta-openembedded/blob/566049b4f1dd= c049c1f89a5838d1a71bb429faa3/meta-oe/recipes-connectivity/telepathy/telep= athy-glib_0.24.1.bb#L17 > > > > Most gnome projects meanwhile make gobject-introspection mandatory > and i > can really feel why they are doing so for two important reasons. > > First it is just mandatory if you want to be able to build the whol= e > gnome universe and second it is in my option one of the greatest > features of gtk to be able to write code for it in almost every > language > available. This should not be an optional feature so people could > rely > on it. > > In both recipes introspection is disabled by default and dependent = on > 'GI_DATA_ENABLED=3Dtrue'. Wouldn't it be a good idea to just enable > Introspection by default? We already inherit gobject-introspection > anyway. > > There are also some more issues in libgdata and libical with > introspection i was able to fix locally. Will send patches for it i= f > it'll be ok making introspection mandatory. > > Am 20.01.22 um 21:36 schrieb Markus Volk: > > Signed-off-by: Markus Volk > > > --- > >=C2=A0 =C2=A0.../folks/folks_0.15.4.bb =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0| 24 +++++++++++++++++++ > >=C2=A0 =C2=A01 file changed, 24 insertions(+) > >=C2=A0 =C2=A0create mode 100644 > meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb > > > > > diff --git > a/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb > > b/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb > > > new file mode 100644 > > index 000000000..b4ca551c8 > > --- /dev/null > > +++ b/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb > > > @@ -0,0 +1,24 @@ > > +SUMMARY =3D "Folks is a contact aggregation library." > > +LICENSE =3D "LGPLv2.1" > > +LIC_FILES_CHKSUM =3D > "file://COPYING;md5=3D2d5025d4aa3495befef8f17206a5b0a1" > > + > > +DEPENDS =3D " \ > > +=C2=A0 =C2=A0 glib-2.0 \ > > +=C2=A0 =C2=A0 libgee \ > > +=C2=A0 =C2=A0 libxml2 \ > > +=C2=A0 =C2=A0 dbus-glib \ > > +=C2=A0 =C2=A0 telepathy-glib \ > > +" > > + > > +GNOMEBASEBUILDCLASS =3D "meson" > > + > > +# gobject-introspection is mandatory and cannot be configured > > +REQUIRED_DISTRO_FEATURES =3D "gobject-introspection-data" > > +GIR_MESON_OPTION =3D "" > > + > > +EXTRA_OEMESON =3D "-Deds_backend=3Dfalse -Dbluez_backend=3Dfalse > -Dofono_backend=3Dfalse -Dtelepathy_backend=3Dfalse" > > + > > +inherit gnomebase gettext gobject-introspection vala features_ch= eck > > + > > +SRC_URI[archive.sha256sum] =3D > "e71099afc9e88fad4e757ae134bc3fd63e12b901ad62b0ed5536afb79124af5f" > > + > > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > Links: You receive all messages sent to this group. > View/Reply Online (#95004): > https://lists.openembedded.org/g/openembedded-devel/message/95004 > > Mute This Topic: > https://lists.openembedded.org/mt/88611345/1686489 > > Group Owner: openembedded-devel+owner@lists.openembedded.org > > Unsubscribe: > https://lists.openembedded.org/g/openembedded-devel/unsub > > [alex.kanavin@gmail.com ] > -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- > --------------E1A1DB69B35CE0FFF0B71FF7 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

yes, but folks is one of that gnome projects that made introspection mandatory. I can't find an option to disable it with the meson buildsystem:

https://gitlab.gnome.org/G= NOME/folks/-/blob/master/meson_options.txt

So i'm really unsure what to do here.

But i have added some more usable PACKAGECONFIG options and sent a patchv3

Am 22.01.22 um 20:54 schrieb Alexander Kanavin:
Gobject introspection is inherently hostile to cross compilation environments as it requires running a cross-compiled binary with the qemu emulator. That does not always work, and if it does not, your build will break. So there must be a way to turn it off when it happens.

Alex

On Sat, 22 Jan 2022 at 20:2= 9, Markus Volk <f_l_k@t-online.de> wrote:
= I tried to make the 'folks' backends buildable and it turned out, that
there are some more places where vala introspection is missing.

https://github.com/openembedded/meta-openembedded/blob/461c04657c3151629= b503fe134e9d672520aacbb/meta-gnome/recipes-gnome/evolution-data-server/ev= olution-data-server.bb#L34

https://github.com/openembedded/meta-openembedded/blob/566049b4f1ddc049c= 1f89a5838d1a71bb429faa3/meta-oe/recipes-connectivity/telepathy/telepathy-= glib_0.24.1.bb#L17


Most gnome projects meanwhile make gobject-introspection mandatory and i
can really feel why they are doing so for two important reasons.

First it is just mandatory if you want to be able to build the whole
gnome universe and second it is in my option one of the greatest
features of gtk to be able to write code for it in almost every language
available. This should not be an optional feature so people could rely
on it.

In both recipes introspection is disabled by default and dependent on
'GI_DATA_ENABLED=3Dtrue'. Wouldn't it be a good idea to just enable
Introspection by default? We already inherit gobject-introspection anyway.

There are also some more issues in libgdata and libical with introspection i was able to fix locally. Will send patches for it if
it'll be ok making introspection mandatory.

Am 20.01.22 um 21:36 schrieb Markus Volk:
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>=C2=A0 =C2=A0.../folks/folks_0.15.4.bb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0| 24 +++++++++++++++++++
>=C2=A0 =C2=A01 file changed, 24 insertions(+)
>=C2=A0 =C2=A0create mode 100644 meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb
>
> diff --git a/meta-gnome/recipes-connectivity/folks/
folks_0.15.4.bb b/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb
> new file mode 100644
> index 000000000..b4ca551c8
> --- /dev/null
> +++ b/meta-gnome/recipes-connectivity/folks/
folks_0.15.4.bb
> @@ -0,0 +1,24 @@
> +SUMMARY =3D "Folks is a contact aggregation library."
> +LICENSE =3D "LGPLv2.1"
> +LIC_FILES_CHKSUM =3D
"file://COPYING;md5=3D2d5025d4aa3495bef= ef8f17206a5b0a1"
> +
> +DEPENDS =3D " \
> +=C2=A0 =C2=A0 glib-2.0 \
> +=C2=A0 =C2=A0 libgee \
> +=C2=A0 =C2=A0 libxml2 \
> +=C2=A0 =C2=A0 dbus-glib \
> +=C2=A0 =C2=A0 telepathy-glib \
> +"
> +
> +GNOMEBASEBUILDCLASS =3D "meson"
> +
> +# gobject-introspection is mandatory and cannot be configured
> +REQUIRED_DISTRO_FEATURES =3D "gobject-introspection-data"=
> +GIR_MESON_OPTION =3D ""
> +
> +EXTRA_OEMESON =3D "-Deds_backend=3Dfalse -Dbluez_backend=3Dfalse -Dofono_backend=3Dfalse -Dtelepathy_backend=3Dfalse"
> +
> +inherit gnomebase gettext gobject-introspection vala features_check
> +
> +SRC_URI[archive.sha256sum] =3D "e71099afc9e88fad4e757ae134bc3fd63e12b901ad62b0ed5536afb79124af= 5f"
> +

-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-
Links: You receive all messages sent to this group.
View/Reply Online (#95004): https://lists.openembedded.org/g/openembedded-devel/message/95004 Mute This Topic: https://lists.openembedded.org/mt/88611345/1686489
Group Owner: openembedded-devel= +owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [alex.kanavin@gmail.com]
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-

--------------E1A1DB69B35CE0FFF0B71FF7--