All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES
@ 2022-11-10  8:36 mingli.yu
  2022-11-10  8:36 ` [PATCH 02/14] waylandpp: " mingli.yu
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

gnome-calculator depends on gtk4 which depends on libepoxy(an opengl
related library) [1].

Fixes:
   ERROR: Nothing PROVIDES 'gtk4-native' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb DEPENDS on or otherwise requires it)
  gtk4-native 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', 'gnome-calculator', 'gtk4-native']

[1] https://github.com/anholt/libepoxy/

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 .../recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb b/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb
index 31513a5f6..66a29a094 100644
--- a/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb
@@ -26,7 +26,7 @@ inherit gnomebase gobject-introspection gnome-help vala gtk-icon-cache gettext f
 def gnome_verdir(v):
     return oe.utils.trim_version(v, 1)
 
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 SRC_URI[archive.sha256sum] = "33dab1bca43658d66520958b0f674cb0ad3185cfd30c12e459e7f69481c5c6a0"
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 02/14] waylandpp: add opengl to REQUIRED_DISTRO_FEATURES
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 03/14] libnma: " mingli.yu
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

waylandpp needs virtual/libgles2 which is available when opengl
is enabled in mesa recipe, so also add the check for waylandpp.

Fixes:
  ERROR: Nothing PROVIDES 'virtual/libgles2' (but /build/layers/meta-openembedded/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb DEPENDS on or otherwise requires it). Close matches:
    virtual/imlib2
    virtual/libc
    virtual/libsdl2
  ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
  Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'waylandpp', 'virtual/libgles2']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb
index f075f2a3a..0deed332c 100644
--- a/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb
+++ b/meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb
@@ -10,7 +10,9 @@ DEPENDS:append:class-target = " waylandpp-native wayland virtual/egl virtual/lib
 S = "${WORKDIR}/git"
 SRCREV = "4321ed5c7b4bffa41b8a2a13dc7f3ece1191f4f3"
 
-inherit cmake pkgconfig
+inherit cmake pkgconfig features_check
+
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 EXTRA_OECMAKE:class-native = " \
 	-DBUILD_SCANNER=ON \
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 03/14] libnma: add opengl to REQUIRED_DISTRO_FEATURES
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
  2022-11-10  8:36 ` [PATCH 02/14] waylandpp: " mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 04/14] network-manager-applet: " mingli.yu
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

libnma depends on gtk4 which needs opengl DISTRO_FEATURES enabled.

Fixes:
  ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/meta-openembedded/meta-gnome/recipes-connectivity/libnma/libnma_1.8.38.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', 'network-manager-applet', 'libnma', 'gtk4']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-gnome/recipes-connectivity/libnma/libnma_1.8.38.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-connectivity/libnma/libnma_1.8.38.bb b/meta-gnome/recipes-connectivity/libnma/libnma_1.8.38.bb
index 75c704bc2..341e29c08 100644
--- a/meta-gnome/recipes-connectivity/libnma/libnma_1.8.38.bb
+++ b/meta-gnome/recipes-connectivity/libnma/libnma_1.8.38.bb
@@ -7,7 +7,7 @@ DEPENDS = "glib-2.0 gtk+3 gtk4 networkmanager"
 GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gobject-introspection gtk-doc gettext vala features_check
 
-REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG','gcr','x11','',d)}"
+REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG','gcr','x11','',d)} opengl"
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
 
 SRC_URI[archive.sha256sum] = "5ed93eae18456ff5a8a4f408178c1ee198dc8d3a46c65f9075b101916e64e8b4"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 04/14] network-manager-applet: add opengl to REQUIRED_DISTRO_FEATURES
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
  2022-11-10  8:36 ` [PATCH 02/14] waylandpp: " mingli.yu
  2022-11-10  8:36 ` [PATCH 03/14] libnma: " mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 05/14] gssdp: check opengl is enabled or not mingli.yu
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

Fixes:
  ERROR: Nothing PROVIDES 'libnma' (but /build/layers/meta-openembedded/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.26.0.bb DEPENDS on or otherwise requires it)
  libnma 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', 'network-manager-applet', 'libnma']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 .../network-manager-applet/network-manager-applet_1.26.0.bb     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.26.0.bb b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.26.0.bb
index 8046b139c..0c4834c94 100644
--- a/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.26.0.bb
+++ b/meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.26.0.bb
@@ -7,7 +7,7 @@ DEPENDS = "gtk+3 libnma libnotify libsecret libgudev networkmanager iso-codes ns
 GNOMEBASEBUILDCLASS = "meson"
 inherit features_check gnomebase gsettings gtk-icon-cache gettext
 
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 SRC_URI[archive.sha256sum] = "69611b29064adbd57395fe3e51a9ebde1ea794615f776900453a2bbe3d8cddfd"
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 05/14] gssdp: check opengl is enabled or not
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (2 preceding siblings ...)
  2022-11-10  8:36 ` [PATCH 04/14] network-manager-applet: " mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 06/14] gtksourceview5: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

The sniffer PACKAGECONFIG will make gssdp depend on gtk4 as below.
PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk4,"

But gtk4 needs the opengl DISTRO_FEATURES enabled, so also check
opengl in gssdp recipe to keep consistent.

Fixes:
  ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/meta-openembedded/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.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', 'gssdp', 'gtk4']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb
index 1d8cbb1ae..ad99bbffa 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb
+++ b/meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb
@@ -16,14 +16,16 @@ DEPENDS = " \
     libsoup-2.4 \
 "
 
-inherit meson pkgconfig gobject-introspection vala gtk-doc
+inherit meson pkgconfig gobject-introspection vala gtk-doc features_check
 
 SNIFFER = "${@bb.utils.contains("BBFILE_COLLECTIONS", "gnome-layer", "sniffer", "", d)}"
 
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', "${SNIFFER}", "", d)}"
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', "${SNIFFER}", "", d)}"
 
 PACKAGECONFIG[sniffer] = "-Dsniffer=true,-Dsniffer=false,gtk4,"
 
+REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'sniffer', 'opengl', '', d)}"
+
 PACKAGES =+ "gssdp-tools"
 
 FILES:gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 06/14] gtksourceview5: add opengl to REQUIRED_DISTRO_FEATURES
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (3 preceding siblings ...)
  2022-11-10  8:36 ` [PATCH 05/14] gssdp: check opengl is enabled or not mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 07/14] gnome-font-viewer: " mingli.yu
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

Fixes:
  ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.4.2.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', 'gtksourceview5', 'gtk4']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.4.2.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.4.2.bb b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.4.2.bb
index 52c270e6a..297f79fe2 100644
--- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.4.2.bb
+++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.4.2.bb
@@ -23,6 +23,7 @@ GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase lib_package gettext features_check gtk-doc gtk-icon-cache gobject-introspection vala
 
 ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
+REQUIRED_DISTRO_FEATURES = "opengl"
 
 SRC_URI = "https://download.gnome.org/sources/gtksourceview/5.4/${PNAME}-${PV}.tar.xz"
 SRC_URI[sha256sum] = "ad140e07eb841910de483c092bd4885abd29baadd6e95fa22d93ed2df0b79de7"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 07/14] gnome-font-viewer: add opengl to REQUIRED_DISTRO_FEATURES
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (4 preceding siblings ...)
  2022-11-10  8:36 ` [PATCH 06/14] gtksourceview5: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 08/14] libxfce4ui: check opengl DISTRO_FEATURES mingli.yu
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

Fixes:
  ERROR: Nothing PROVIDES 'libadwaita' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_43.0.bb DEPENDS on or otherwise requires it)
  libadwaita 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', 'gnome-font-viewer', 'libadwaita']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 .../recipes-gnome/gnome-font-viewer/gnome-font-viewer_43.0.bb   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_43.0.bb b/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_43.0.bb
index 50fd034af..130c26924 100644
--- a/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_43.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_43.0.bb
@@ -14,7 +14,7 @@ GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase gtk-icon-cache gettext features_check mime-xdg
 
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 SRC_URI[archive.sha256sum] = "81c6bffb06d5332346e00eaecaec1bdcfd617c51dfd95bcd058d6c76c76dd2b9"
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 08/14] libxfce4ui: check opengl DISTRO_FEATURES
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (5 preceding siblings ...)
  2022-11-10  8:36 ` [PATCH 07/14] gnome-font-viewer: " mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 09/14] gnome-desktop: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

Check opengl DISTRO_FEATURES to determine enable x11 in PACKAGECONFIG
or not as it make libxfce4ui depend on libepoxy when x11 enabled in
PACKAGECONFIG part.

Fixes:
  ERROR: Nothing PROVIDES 'libepoxy' (but /build/layers/meta-openembedded/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb DEPENDS on or otherwise requires it)
  libepoxy 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', 'xfce4-calculator-plugin', 'libxfce4ui', 'libepoxy']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb
index bb45ee6f4..692c79f3c 100644
--- a/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb
+++ b/meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb
@@ -18,7 +18,7 @@ EXTRA_OECONF += "--with-vendor-info=${DISTRO}"
 EXTRA_OECONF += "--disable-vala"
 
 PACKAGECONFIG ??= " \
-       ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \
+       ${@bb.utils.contains('DISTRO_FEATURES', 'opengl','x11', "", d)} \
 "
 PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade"
 PACKAGECONFIG[x11] = "--enable-startup-notification,--disable-startup-notification,libepoxy libice libsm startup-notification"
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 09/14] gnome-desktop: add opengl to REQUIRED_DISTRO_FEATURES
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (6 preceding siblings ...)
  2022-11-10  8:36 ` [PATCH 08/14] libxfce4ui: check opengl DISTRO_FEATURES mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 10/14] ibus: add opengl related check mingli.yu
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

Fixes:
  ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_42.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', 'evince', 'gnome-desktop', 'gtk4']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_42.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_42.0.bb b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_42.0.bb
index aae927a70..6eeaed0e1 100644
--- a/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_42.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_42.0.bb
@@ -10,7 +10,7 @@ GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase itstool pkgconfig upstream-version-is-even gobject-introspection features_check gtk-doc
 
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 # gobject-introspection is mandatory and cannot be configured
 REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 10/14] ibus: add opengl related check
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (7 preceding siblings ...)
  2022-11-10  8:36 ` [PATCH 09/14] gnome-desktop: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 11/14] nautilus: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

Add opengl to REQUIRED_DISTRO_FEATURES when gtk4 is configured in
PACKAGECONFIG.

Fixes:
  ERROR: Nothing PROVIDES 'gtk4' (but /build/layers/meta-openembedded/meta-gnome/recipes-support/ibus/ibus.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', 'ibus', 'gtk4']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-gnome/recipes-support/ibus/ibus.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-support/ibus/ibus.bb b/meta-gnome/recipes-support/ibus/ibus.bb
index be43d0d50..715608149 100644
--- a/meta-gnome/recipes-support/ibus/ibus.bb
+++ b/meta-gnome/recipes-support/ibus/ibus.bb
@@ -8,7 +8,7 @@ DEPENDS += " \
     iso-codes \
 "
 
-inherit gtk-icon-cache bash-completion
+inherit gtk-icon-cache bash-completion features_check
 
 # for unicode-ucd
 EXTRA_OECONF += "--with-ucd-dir=${STAGING_DATADIR}/unicode/ucd"
@@ -19,6 +19,8 @@ PACKAGECONFIG ??= " \
     ${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \
 "
 
+REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'gtk4', 'opengl', '', d)}"
+
 do_configure:prepend() {
     # run native unicode-parser
     sed -i 's:$(builddir)/unicode-parser:unicode-parser:g' ${S}/src/Makefile.am
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 11/14] nautilus: add opengl to REQUIRED_DISTRO_FEATURES
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (8 preceding siblings ...)
  2022-11-10  8:36 ` [PATCH 10/14] ibus: add opengl related check mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 12/14] gnome-bluetooth: " mingli.yu
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

Fixes:
  ERROR: Nothing PROVIDES 'gnome-desktop' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/nautilus/nautilus_42.2.bb DEPENDS on or otherwise requires it)
  gnome-desktop 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', 'nautilus', 'gnome-desktop']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-gnome/recipes-gnome/nautilus/nautilus_42.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus_42.2.bb b/meta-gnome/recipes-gnome/nautilus/nautilus_42.2.bb
index a0f928ce2..ec16b6879 100644
--- a/meta-gnome/recipes-gnome/nautilus/nautilus_42.2.bb
+++ b/meta-gnome/recipes-gnome/nautilus/nautilus_42.2.bb
@@ -24,7 +24,7 @@ def gnome_verdir(v):
 SRC_URI += " file://0001-Provide-parameter-prototype-for-functions-without-pa.patch"
 SRC_URI[archive.sha256sum] = "99212d2eb75996f181728ad04a2e2d86f2577b064e68a34c8b81a7037df4ccb2"
 
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 EXTRA_OEMESON += " \
     -Dtests=none \
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 12/14] gnome-bluetooth: add opengl to REQUIRED_DISTRO_FEATURES
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (9 preceding siblings ...)
  2022-11-10  8:36 ` [PATCH 11/14] nautilus: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 13/14] evince: " mingli.yu
  2022-11-10  8:36 ` [PATCH 14/14] gnome-calendar: " mingli.yu
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

Fixes:
  ERROR: Nothing PROVIDES 'gtk4-native' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.4.bb DEPENDS on or otherwise requires it)
  gtk4-native 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', 'gnome-bluetooth', 'gtk4-native']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 .../recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.4.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.4.bb b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.4.bb
index 75e1244f8..1c3180f9d 100644
--- a/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.4.bb
+++ b/meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.4.bb
@@ -24,7 +24,7 @@ GTKIC_VERSION = "4"
 
 inherit features_check gnomebase gtk-icon-cache gtk-doc gobject-introspection
 
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 SRC_URI[archive.sha256sum] = "1d6fcf1cdb6cc9923ab334a2c0bc37a2c1bba9d18de153d484eedc04f3c0bcdc"
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 13/14] evince: add opengl to REQUIRED_DISTRO_FEATURES
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (10 preceding siblings ...)
  2022-11-10  8:36 ` [PATCH 12/14] gnome-bluetooth: " mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  2022-11-10  8:36 ` [PATCH 14/14] gnome-calendar: " mingli.yu
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

Add opengl to REQUIRED_DISTRO_FEATURES if x11 is enabled in DISTRO_FEATURES
as it needs gnome-desktop when x11 enabled.

Fixes:
  ERROR: Nothing PROVIDES 'gnome-desktop' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/evince/evince_42.3.bb DEPENDS on or otherwise requires it)
  gnome-desktop 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', 'evince', 'gnome-desktop']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-gnome/recipes-gnome/evince/evince_42.3.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/evince/evince_42.3.bb b/meta-gnome/recipes-gnome/evince/evince_42.3.bb
index 0c97f75e9..5f35d5b33 100644
--- a/meta-gnome/recipes-gnome/evince/evince_42.3.bb
+++ b/meta-gnome/recipes-gnome/evince/evince_42.3.bb
@@ -19,7 +19,9 @@ DEPENDS = " \
 
 GNOMEBASEBUILDCLASS = "meson"
 
-inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gtk-doc
+inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gtk-doc features_check
+
+REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
 
 def gnome_verdir(v):
     return oe.utils.trim_version(v, 1)
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [PATCH 14/14] gnome-calendar: add opengl to REQUIRED_DISTRO_FEATURES
  2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
                   ` (11 preceding siblings ...)
  2022-11-10  8:36 ` [PATCH 13/14] evince: " mingli.yu
@ 2022-11-10  8:36 ` mingli.yu
  12 siblings, 0 replies; 14+ messages in thread
From: mingli.yu @ 2022-11-10  8:36 UTC (permalink / raw)
  To: openembedded-devel

From: Mingli Yu <mingli.yu@windriver.com>

Fixes:
  ERROR: Nothing PROVIDES 'libadwaita' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_42.0.bb DEPENDS on or otherwise requires it)
  libadwaita 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', 'gnome-calendar', 'libadwaita']

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_42.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_42.0.bb b/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_42.0.bb
index 7b32be611..5498bb6ea 100644
--- a/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_42.0.bb
+++ b/meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_42.0.bb
@@ -20,7 +20,7 @@ GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase gsettings gtk-icon-cache gettext features_check upstream-version-is-even mime-xdg
 
-REQUIRED_DISTRO_FEATURES = "x11"
+REQUIRED_DISTRO_FEATURES = "x11 opengl"
 
 SRC_URI[archive.sha256sum] = "b63f73f55032fc1390442f94cdf6b3cab9c91c774ddd2e5c61ecfec9d2c5e9aa"
 
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-11-10  8:36 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-10  8:36 [PATCH 01/14] gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
2022-11-10  8:36 ` [PATCH 02/14] waylandpp: " mingli.yu
2022-11-10  8:36 ` [PATCH 03/14] libnma: " mingli.yu
2022-11-10  8:36 ` [PATCH 04/14] network-manager-applet: " mingli.yu
2022-11-10  8:36 ` [PATCH 05/14] gssdp: check opengl is enabled or not mingli.yu
2022-11-10  8:36 ` [PATCH 06/14] gtksourceview5: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
2022-11-10  8:36 ` [PATCH 07/14] gnome-font-viewer: " mingli.yu
2022-11-10  8:36 ` [PATCH 08/14] libxfce4ui: check opengl DISTRO_FEATURES mingli.yu
2022-11-10  8:36 ` [PATCH 09/14] gnome-desktop: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
2022-11-10  8:36 ` [PATCH 10/14] ibus: add opengl related check mingli.yu
2022-11-10  8:36 ` [PATCH 11/14] nautilus: add opengl to REQUIRED_DISTRO_FEATURES mingli.yu
2022-11-10  8:36 ` [PATCH 12/14] gnome-bluetooth: " mingli.yu
2022-11-10  8:36 ` [PATCH 13/14] evince: " mingli.yu
2022-11-10  8:36 ` [PATCH 14/14] gnome-calendar: " mingli.yu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.