gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES
PATCH 1/14 gnome-calculator: add opengl to REQUIRED_DISTRO_FEATURES
From: Mingli Yu <[email protected]>
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/
--- .../recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gnome-calculator/gnome-calculator_42.2.bb +1 -1
@@ -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"
Signature · 1 line
2.25.1
PATCH 2/14 waylandpp: add opengl to REQUIRED_DISTRO_FEATURES
From: Mingli Yu <[email protected]>
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']
--- meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-graphics/wayland/waylandpp_1.0.0.bb +3 -1
@@ -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 \
Signature · 1 line
2.25.1
PATCH 3/14 libnma: add opengl to REQUIRED_DISTRO_FEATURES
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- meta-gnome/recipes-connectivity/libnma/libnma_1.8.38.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-connectivity/libnma/libnma_1.8.38.bb +1 -1
@@ -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"
Signature · 1 line
2.25.1
PATCH 4/14 network-manager-applet: add opengl to REQUIRED_DISTRO_FEATURES
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- .../network-manager-applet/network-manager-applet_1.26.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-connectivity/network-manager-applet/network-manager-applet_1.26.0.bb +1 -1
@@ -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"
Signature · 1 line
2.25.1
PATCH 5/14 gssdp: check opengl is enabled or not
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
meta-multimedia/recipes-connectivity/gupnp/gssdp_1.4.0.1.bb +4 -2
@@ -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"
Signature · 1 line
2.25.1
PATCH 6/14 gtksourceview5: add opengl to REQUIRED_DISTRO_FEATURES
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.4.2.bb | 1 + 1 file changed, 1 insertion(+)
meta-gnome/recipes-gnome/gtksourceview/gtksourceview5_5.4.2.bb +1 -0
@@ -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"
Signature · 1 line
2.25.1
PATCH 7/14 gnome-font-viewer: add opengl to REQUIRED_DISTRO_FEATURES
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- .../recipes-gnome/gnome-font-viewer/gnome-font-viewer_43.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gnome-font-viewer/gnome-font-viewer_43.0.bb +1 -1
@@ -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"
Signature · 1 line
2.25.1
PATCH 8/14 libxfce4ui: check opengl DISTRO_FEATURES
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.16.1.bb +1 -1
@@ -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"
Signature · 1 line
2.25.1
PATCH 9/14 gnome-desktop: add opengl to REQUIRED_DISTRO_FEATURES
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_42.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gnome-desktop/gnome-desktop_42.0.bb +1 -1
@@ -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"
Signature · 1 line
2.25.1
PATCH 10/14 ibus: add opengl related check
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- meta-gnome/recipes-support/ibus/ibus.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-gnome/recipes-support/ibus/ibus.bb +3 -1
@@ -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
Signature · 1 line
2.25.1
PATCH 11/14 nautilus: add opengl to REQUIRED_DISTRO_FEATURES
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- meta-gnome/recipes-gnome/nautilus/nautilus_42.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/nautilus/nautilus_42.2.bb +1 -1
@@ -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 \
Signature · 1 line
2.25.1
PATCH 12/14 gnome-bluetooth: add opengl to REQUIRED_DISTRO_FEATURES
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- .../recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.4.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gnome-bluetooth/gnome-bluetooth_42.4.bb +1 -1
@@ -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"
Signature · 1 line
2.25.1
PATCH 13/14 evince: add opengl to REQUIRED_DISTRO_FEATURES
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- meta-gnome/recipes-gnome/evince/evince_42.3.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/evince/evince_42.3.bb +3 -1
@@ -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)
Signature · 1 line
2.25.1
PATCH 14/14 gnome-calendar: add opengl to REQUIRED_DISTRO_FEATURES
In reply to [email protected]From: Mingli Yu <[email protected]>
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']
--- meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_42.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/gnome-calendar/gnome-calendar_42.0.bb +1 -1
@@ -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"
Signature · 1 line
2.25.1