From patchwork Tue Nov 7 10:02:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 33992 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 BF450C4332F for ; Tue, 7 Nov 2023 10:02:32 +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.6920.1699351343685728149 for ; Tue, 07 Nov 2023 02:02:24 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: t-online.de, ip: 194.25.134.80, mailfrom: f_l_k@t-online.de) Received: from fwd80.aul.t-online.de (fwd80.aul.t-online.de [10.223.144.106]) by mailout01.t-online.de (Postfix) with SMTP id 00AEFDB63 for ; Tue, 7 Nov 2023 11:02:21 +0100 (CET) Received: from intel-corei7-64.fritz.box ([84.154.173.54]) by fwd80.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1r0Iua-15Lsht0; Tue, 7 Nov 2023 11:02:20 +0100 From: Markus Volk To: openembedded-devel@lists.openembedded.org Subject: [meta-gnome][RFC][PATCH] Adjust vala build according to changes in vala.bbclass Date: Tue, 7 Nov 2023 11:02:42 +0100 Message-ID: <20231107100242.1048673-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1699351340-4B7FDED2-4AC4950E/0/0 CLEAN NORMAL X-TOI-MSGID: 91a0a228-d459-42c1-8da6-647926792596 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 ; Tue, 07 Nov 2023 10:02:32 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/106444 Signed-off-by: Markus Volk --- .../recipes-gnome/gnome-boxes/gnome-boxes_45.0.bb | 1 + meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb | 3 +++ meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb | 2 +- .../recipes-gnome/gnome-calculator/gnome-calculator_45.0.2.bb | 1 + meta-gnome/recipes-gnome/gsound/gsound_1.0.3.bb | 2 ++ meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.0.bb | 1 + meta-gnome/recipes-gnome/rest/rest_0.9.1.bb | 2 -- meta-gnome/recipes-gnome/tracker/tracker-miners_3.6.2.bb | 2 +- .../libcloudproviders/libcloudproviders_0.3.4.bb | 1 + meta-oe/recipes-gnome/gcr/gcr3_3.41.1.bb | 3 +++ meta-oe/recipes-support/libosinfo/libosinfo_1.11.0.bb | 4 +++- 11 files changed, 17 insertions(+), 5 deletions(-) diff --git a/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_45.0.bb b/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_45.0.bb index f2aeb8878..fc1235109 100644 --- a/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_45.0.bb +++ b/meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_45.0.bb @@ -33,6 +33,7 @@ inherit gnomebase gsettings pkgconfig mime-xdg gtk-icon-cache gobject-introspect SRC_URI[archive.sha256sum] = "cc63080eefa147a8472ab1a5ff087b97a27ab723a4ee005ed41e8c9dd7798e41" GIR_MESON_OPTION = "" +VALA_MESON_OPTION = "" FILES:${PN} += "${datadir}" diff --git a/meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb b/meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb index 36eb8ca19..8737b6d7e 100644 --- a/meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb +++ b/meta-gnome/recipes-connectivity/gtk-vnc/gtk-vnc_1.3.1.bb @@ -15,6 +15,9 @@ DEPENDS = " \ GNOMEBASEBUILDCLASS = "meson" REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" GIR_MESON_OPTION = "" +VALA_MESON_OPTION = "with-vala" +VALA_MESON_ENABLE_FLAG ?= 'enabled' +VALA_MESON_DISABLE_FLAG ?= 'disabled' PACKAGECONFIG[pulseaudio] = "-Dpulseaudio=enabled,-Dpulseaudio=disabled,pulseaudio" PACKAGECONFIG[sasl] = "-Dsasl=enabled,-Dsasl=disabled,cyrus-sasl" diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb index 0af9f5600..e91fa1bc6 100644 --- a/meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.78.0.bb @@ -6,7 +6,7 @@ GNOMEBASEBUILDCLASS = "meson" DEPENDS = "mozjs-115 cairo" -inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even pkgconfig +inherit gnomebase gsettings gobject-introspection gettext features_check upstream-version-is-even pkgconfig SRC_URI[archive.sha256sum] = "fbaa20e0917668830800f92951688f9fc08f01296affd5cdb4b35f750be27dc9" SRC_URI += " \ diff --git a/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_45.0.2.bb b/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_45.0.2.bb index cde2e1d3c..3482f76a5 100644 --- a/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_45.0.2.bb +++ b/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_45.0.2.bb @@ -18,6 +18,7 @@ DEPENDS = " \ GIR_MESON_OPTION = 'disable-introspection' GIR_MESON_ENABLE_FLAG = 'false' GIR_MESON_DISABLE_FLAG = 'true' +VALA_MESON_OPTION = '' GNOMEBASEBUILDCLASS = "meson" GTKIC_VERSION = '4' diff --git a/meta-gnome/recipes-gnome/gsound/gsound_1.0.3.bb b/meta-gnome/recipes-gnome/gsound/gsound_1.0.3.bb index bdef603f0..d01067eb1 100644 --- a/meta-gnome/recipes-gnome/gsound/gsound_1.0.3.bb +++ b/meta-gnome/recipes-gnome/gsound/gsound_1.0.3.bb @@ -9,6 +9,8 @@ DEPENDS = " \ GNOMEBASEBUILDCLASS = "meson" +VALA_MESON_OPTION = "enable_vala" + inherit gnomebase gettext gobject-introspection vala SRC_URI[archive.sha256sum] = "ca2d039e1ebd148647017a7f548862350bc9af01986d39f10cfdc8e95f07881a" diff --git a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.0.bb b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.0.bb index 81ae8317d..06353efab 100644 --- a/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.0.bb +++ b/meta-gnome/recipes-gnome/libgweather/libgweather4_4.4.0.bb @@ -15,6 +15,7 @@ SRC_URI += "file://0001-Allow-building-gir-in-cross-environments.patch" SRC_URI[archive.sha256sum] = "366e866ff2a708b894cfea9475b8e8ff54cb3e2b477ea72a8ade0dabee5f48a4" GTKDOC_MESON_OPTION = "gtk_doc" +VALA_MESON_OPTION = "enable_vala" DEPENDS = " \ geocode-glib \ diff --git a/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb b/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb index 3a81a58f6..e46cbfc69 100644 --- a/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb +++ b/meta-gnome/recipes-gnome/rest/rest_0.9.1.bb @@ -17,8 +17,6 @@ DEPENDS = " \ inherit gnomebase gobject-introspection vala pkgconfig gi-docgen -EXTRA_OEMESON = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)}" - PACKAGECONFIG ?= "" PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false" PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false" diff --git a/meta-gnome/recipes-gnome/tracker/tracker-miners_3.6.2.bb b/meta-gnome/recipes-gnome/tracker/tracker-miners_3.6.2.bb index a0a41d7f8..684291605 100644 --- a/meta-gnome/recipes-gnome/tracker/tracker-miners_3.6.2.bb +++ b/meta-gnome/recipes-gnome/tracker/tracker-miners_3.6.2.bb @@ -14,7 +14,7 @@ DEPENDS = " \ GNOMEBASEBUILDCLASS = "meson" -inherit gnomebase gsettings gobject-introspection vala bash-completion features_check +inherit gnomebase gsettings gobject-introspection bash-completion features_check SRC_URI:append = " \ file://0001-fix-reproducibility.patch \ diff --git a/meta-gnome/recipes-support/libcloudproviders/libcloudproviders_0.3.4.bb b/meta-gnome/recipes-support/libcloudproviders/libcloudproviders_0.3.4.bb index 36089238f..21fe4d119 100644 --- a/meta-gnome/recipes-support/libcloudproviders/libcloudproviders_0.3.4.bb +++ b/meta-gnome/recipes-support/libcloudproviders/libcloudproviders_0.3.4.bb @@ -3,6 +3,7 @@ LICENSE="LGPL-3.0-or-later" LIC_FILES_CHKSUM = "file://LICENSE;md5=e6a600fd5e1d9cbde2d983680233ad02" GNOMEBASEBUILDCLASS = "meson" +VALA_MESON_OPTION ?= 'vapigen' DEPENDS = "glib-2.0" diff --git a/meta-oe/recipes-gnome/gcr/gcr3_3.41.1.bb b/meta-oe/recipes-gnome/gcr/gcr3_3.41.1.bb index ba5660a5e..a5bb868bb 100644 --- a/meta-oe/recipes-gnome/gcr/gcr3_3.41.1.bb +++ b/meta-oe/recipes-gnome/gcr/gcr3_3.41.1.bb @@ -17,6 +17,8 @@ CFLAGS += "-D_GNU_SOURCE" GNOMEBASEBUILDCLASS = "meson" GTKDOC_MESON_OPTION = "gtk_doc" +VALA_MESON_OPTION ?= '' + inherit gnomebase gtk-icon-cache gi-docgen features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg UPSTREAM_CHECK_REGEX = "[^\d\.](?P3.(?!9\d+)\d+(\.\d+)+)\.tar" @@ -39,6 +41,7 @@ PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" FILES:${PN} += " \ ${datadir}/dbus-1 \ ${datadir}/gcr-3 \ + ${datadir}/vala \ ${systemd_user_unitdir}/gcr-ssh-agent.socket \ ${systemd_user_unitdir}/gcr-ssh-agent.service \ " diff --git a/meta-oe/recipes-support/libosinfo/libosinfo_1.11.0.bb b/meta-oe/recipes-support/libosinfo/libosinfo_1.11.0.bb index 16e0cf8f7..ca6f9ba3f 100644 --- a/meta-oe/recipes-support/libosinfo/libosinfo_1.11.0.bb +++ b/meta-oe/recipes-support/libosinfo/libosinfo_1.11.0.bb @@ -18,6 +18,9 @@ inherit meson pkgconfig gtk-doc gobject-introspection vala DEPENDS = "glib-2.0 libsoup libxslt" +VALA_MESON_OPTION = 'enable-vala' +VALA_MESON_ENABLE_FLAG = 'enabled' +VALA_MESON_DISABLE_FLAG = 'disabled' GIR_MESON_OPTION = "enable-introspection" GIR_MESON_ENABLE_FLAG = 'enabled' GIR_MESON_DISABLE_FLAG = 'disabled' @@ -26,7 +29,6 @@ GTKDOC_MESON_OPTION = "enable-gtk-doc" EXTRA_OEMESON += " \ -Dwith-pci-ids-path=${datadir}/pci.ids \ -Dwith-usb-ids-path=${datadir}/usb.ids \ - ${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Denable-vala=enabled', '-Denable-vala=disabled', d)} \ " RDEPENDS:${PN} = "pciutils-ids usbids"