From 626b63734ad51b53d4090156f2647ffeef2ac39c Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Tue, 15 Sep 2026 09:43:38 +0200 Subject: [PATCH] libdex: upgrade 1.0.0 -> 1.2.0 1.2.0 installs PyGObject overrides. They need python3-pygobject at runtime, so put them behind a PACKAGECONFIG that is off by default and ship them when it is enabled. AI-Generated: Uses Claude Code (Claude Opus 5) Signed-off-by: Markus Volk Signed-off-by: Khem Raj --- .../libdex/{libdex_1.0.0.bb => libdex_1.2.0.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename meta-gnome/recipes-gnome/libdex/{libdex_1.0.0.bb => libdex_1.2.0.bb} (65%) diff --git a/meta-gnome/recipes-gnome/libdex/libdex_1.0.0.bb b/meta-gnome/recipes-gnome/libdex/libdex_1.2.0.bb similarity index 65% rename from meta-gnome/recipes-gnome/libdex/libdex_1.0.0.bb rename to meta-gnome/recipes-gnome/libdex/libdex_1.2.0.bb index 7d7ae2fa2b..a7f45448ad 100644 --- a/meta-gnome/recipes-gnome/libdex/libdex_1.0.0.bb +++ b/meta-gnome/recipes-gnome/libdex/libdex_1.2.0.bb @@ -11,9 +11,13 @@ DEPENDS:append:libc-musl = " libucontext" LDFLAGS:append:libc-musl = " -lucontext" -SRC_URI[archive.sha256sum] = "7b8f5c5db3796e14e12e10422e2356766ba830b92815fee70bbc867b5b207f5d" +SRC_URI[archive.sha256sum] = "69f5b244c21f6402831c3ab8af85a01772f72fb118677388436f12f32bfb06d9" PACKAGECONFIG ?= "" +PACKAGECONFIG[pygobject] = "-Dpygobject=true,-Dpygobject=false,,python3-pygobject" + EXTRA_OEMESON += "-Dintrospection=enabled -Dvapi=false" +FILES:${PN} += "${libdir}/python3*/site-packages/gi/overrides" + REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"