Files
meta-openembedded/meta-networking/recipes-connectivity
Andreas Fenkart e81fefb0ef networkmanager: enable vala bindings if gobject introspection is enabled
when opting out from the DISTRO_FEATURE gobject-introspection-date, the
build fails with error:
../NetworkManager-1.50.0/meson.build:849:4: ERROR: Assert failed: vala api require GObject introspection. Use -Dvapi=false to disable it

The gobject-introspection-data feature, while ultimately added to
DISTRO_FEATURES via DISTRO_FEATURE_BACKFILL, isn't available during the
vala.bbclass inheritance check. This also excludes derived variables
e.g. GI_DATA_ENABLED.

To properly disable a DISTRO_FEATURE_BACKFILL feature, it must be
included in DISTRO_FEATURE_BACKFILL_CONSIDERED, a variable that is
available during the parsing phase.

Similar situations have been resolved in:

[openembedded-core:31daea70b18b2b2266bf94063b655aaf142a6166]
librsvg: Only enable the Vala bindings if GObject Introspection is enabled
 PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vala', '', d)}"

  -- and --

[meta-openembedded:d89fc6ffbdf8f947643def51b804052bb5e7ac97
libpeas: add recipe for 2.0.5
 PACKAGECONFIG ?= "python3 gjs lua51 ${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection', 'vala', '', d)}"

Signed-off: Andreas Fenkart <afenkart@gmail.com>
2025-04-19 14:36:04 -07:00
..
2024-02-09 09:52:12 -08:00
2025-04-10 08:31:04 -07:00
2024-02-09 09:52:12 -08:00
2025-03-25 09:33:52 -07:00
2025-03-21 11:07:34 -07:00
2025-02-27 20:28:17 +00:00
2024-03-20 09:28:05 -07:00
2025-03-31 14:42:06 -07:00
2025-03-20 08:46:55 -07:00
2024-02-09 09:52:12 -08:00
2023-08-03 09:14:20 -07:00
2025-02-23 17:36:08 -08:00
2025-03-31 14:42:08 -07:00
2023-02-20 00:23:02 -08:00
2023-05-26 08:28:37 -07:00
2025-03-06 06:58:00 -08:00