Skip to contentSkip to conversation

evolution-data-server: add opengl to REQUIRED_DISTRO_FEATURES

PATCH New [email protected] 1 participant 3 messages Dec 21, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 evolution-data-server: add opengl to REQUIRED_DISTRO_FEATURES

From: Mingli Yu <[email protected]>

Fixes:
ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb DEPENDS on or otherwise requires it) gtk4 was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'geary', 'evolution-data-server', 'gtk4']

---
 .../recipes-gnome/evolution-data-server/evolution-data-server.bb | 1 +
 1 file changed, 1 insertion(+)
meta-gnome/recipes-gnome/evolution-data-server/evolution-data-server.bb +1 -0
index c2f543ffc..a27115267 100644
@@ -9,6 +9,7 @@ DEPENDS = " \
 inherit pkgconfig gsettings gobject-introspection features_check cmake gtk-doc gettext perlnative vala
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 SRC_URI += " \
     file://0001-cmake-Do-not-export-CC-into-gir-compiler.patch \
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/3 libgweather4: add opengl to REQUIRED_DISTRO_FEATURES

From: Mingli Yu <[email protected]>

Fixes:
ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb DEPENDS on or otherwise requires it) gtk4 was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'libgweather4', 'gtk4']

---
 meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/libgweather/libgweather4_4.2.0.bb +3 -1
index 34d259ff3..824269e68 100644
@@ -7,7 +7,9 @@ GNOMEBASEBUILDCLASS = "meson"
 GNOMEBN = "libgweather"
 S = "${WORKDIR}/${GNOMEBN}-${PV}"
 
-inherit gnomebase gsettings gobject-introspection gettext gtk-doc vala
+inherit gnomebase gsettings gobject-introspection gettext gtk-doc vala features_check
+
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 SRC_URI += "file://0001-Allow-building-gir-in-cross-environments.patch"
 SRC_URI[archive.sha256sum] = "af8a812da0d8976a000e1d62572c256086a817323fbf35b066dbfdd8d2ca6203"
Signature · 1 line
2.25.1
#2 lore raw

PATCH 3/3 geary: add opengl to REQUIRED_DISTRO_FEATURES

In reply to [email protected]

From: Mingli Yu <[email protected]>

Fixes:
ERROR: Nothing PROVIDES 'evolution-data-server' (but /build/layers/meta-openembedded/meta-gnome/recipes-connectivity/geary/geary_43.0.bb DEPENDS on or otherwise requires it)
evolution-data-server was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'geary', 'evolution-data-server']

---
 meta-gnome/recipes-connectivity/geary/geary_43.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-connectivity/geary/geary_43.0.bb +1 -1
index 03738c554..08899fd4a 100644
@@ -41,7 +41,7 @@ S = "${WORKDIR}/git"
 SRCREV = "94d6bec861daffb27efea85a296f347db7a5af6d"
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
-REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data opengl"
 
 GIR_MESON_OPTION = ""
 EXTRA_OEMESON = "-Dprofile=release"
Signature · 1 line
2.25.1