libspelling: require opengl distro feature
PATCH 1/4 libspelling: require opengl distro feature
From: Chen Qi <[email protected]>
The gkt4 in DEPENDS has 'opengl' in its REQUIRED_DISTRO_FEATURES, so libspelling also needs to set this.
--- meta-gnome/recipes-gnome/libspelling/libspelling_0.4.2.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/libspelling/libspelling_0.4.2.bb +4 -1
@@ -5,7 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" DEPENDS = "enchant2 gtk4 gtksourceview5 icu" -inherit gnomebase pkgconfig gettext gi-docgen vala gobject-introspection +inherit gnomebase pkgconfig gettext gi-docgen vala gobject-introspection features_check + +# reason: gtk4 requires opengl distro feature +REQUIRED_DISTRO_FEATURES = "opengl" GIR_MESON_OPTION = '' GIDOCGEN_MESON_OPTION = 'docs'
Signature · 1 line
2.25.1
PATCH 2/4 sysprof: require opengl distro feature when gtk4 is dependend on
From: Chen Qi <[email protected]>
gkt4 has 'opengl' in its REQUIRED_DISTRO_FEATURES, so when it is depended upon by sysprof, 'opengl' distro feature should also be required.
--- meta-gnome/recipes-gnome/sysprof/sysprof_3.48.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/sysprof/sysprof_3.48.0.bb +4 -1
@@ -4,7 +4,7 @@ LICENSE = "GPL-3.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://src/sysprof/sysprof-application.c;endline=17;md5=a3de8df3b0f8876dd01e1388d2d4b607" -inherit gnomebase gnome-help gettext systemd upstream-version-is-even gsettings mime mime-xdg +inherit gnomebase gnome-help gettext systemd upstream-version-is-even gsettings mime mime-xdg features_check DEPENDS += " \ glib-2.0-native \
@@ -20,6 +20,9 @@ SRC_URI += "file://0001-meson-Check-for-libunwind-instead-of-libunwind-gener.pat " SRC_URI[archive.sha256sum] = "07d9081a66cf2fb52753f48ff2b85ada75c60ff1bc1af1bd14d8aeb627972168" +# reason: gtk4 requires opengl distro feature +REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk', 'opengl', '', d)}" + PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'sysprofd', '', d)} \ ${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)} \ agent \
Signature · 1 line
2.25.1
PATCH 3/4 grilo-plugins: consider opengl distro feature for default PACKAGECONFIG
In reply to [email protected]From: Chen Qi <[email protected]>
gnome-online-accounts requires opengl by default, so lua-factory PACKAGECONFIG should rely on opengl by default.
--- meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/grilo/grilo-plugins_0.3.16.bb +4 -1
@@ -15,7 +15,10 @@ inherit gnomebase gnome-help vala SRC_URI += "file://0001-Avoid-running-trackertestutils.patch" SRC_URI[archive.sha256sum] = "fe6f4dbe586c6b8ba2406394e202f22d009d642a96eb3a54f32f6a21d084cdcb" -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'tracker', '', d)} lua-factory" +# gnome-online-accounts requires opengl by default, so lua-factory PACKAGECONFIG relies on opengl by default. +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'gobject-introspection-data', 'tracker', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'lua-factory', '', d)} \ + " PACKAGECONFIG[tracker] = "-Denable-tracker3=yes,-Denable-tracker3=no,tinysparql,localsearch" PACKAGECONFIG[lua-factory] = "-Denable-lua-factory=yes,-Denable-lua-factory=no,lua libarchive json-glib gnome-online-accounts"
Signature · 1 line
2.25.1
PATCH 4/4 gnome-boxes: require opengl distro feature
In reply to [email protected]From: Chen Qi <[email protected]>
spice-gtk requires opengl distro feature, so gnome-boxes should require it too.
--- .../recipes-gnome/gnome-boxes/gnome-boxes_47.0.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
meta-gnome/dynamic-layers/meta-virtualization/recipes-gnome/gnome-boxes/gnome-boxes_47.0.bb +2 -1
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://copyright;md5=a65e9b0c9f78617732f09f68fc4ef79a" GNOMEBASEBUILDCLASS = "meson" -REQUIRED_DISTRO_FEATURES += "gobject-introspection-data" +# reason for opengl: spice-gtk requires opengl +REQUIRED_DISTRO_FEATURES += "gobject-introspection-data opengl" DEPENDS = " \ glib-2.0 \
Signature · 1 line
2.25.1