Skip to contentSkip to conversation

pcp: Enable check for x11 distro feature

PATCH New Khem Raj 1 participant 6 messages Mar 6, 2022

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/6 pcp: Enable check for x11 distro feature

---
 meta-oe/recipes-support/pcp/pcp_5.3.5.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-oe/recipes-support/pcp/pcp_5.3.5.bb +4 -1
index bd09985af3..48d536e1d6 100644
@@ -18,7 +18,10 @@ SRC_URI += "file://0001-Remove-unsuitble-part-for-cross-compile.patch \
 export PCP_DIR="${RECIPE_SYSROOT_NATIVE}"
 #export PCP_RUN_DIR="${RECIPE_SYSROOT_NATIVE}"
 EXTRA_OEMAKE = "CC="${CC}" LD="${LD}""
-inherit useradd systemd 
+inherit useradd systemd features_check
+
+# Needs libx11
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SYSTEMD_AUTO_ENABLE:${PN} = "enable"
 SYSTEMD_SERVICE:${PN} = "pmcd.service pmcd.service pmie_check.service pmie_farm_check.service \
Signature · 1 line
2.35.1
author
#1 lore raw

PATCH 2/6 gfbgraph: Check for x11 distro feature

---
 meta-gnome/recipes-gnome/gfbgraph/gfbgraph_0.2.4.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/gfbgraph/gfbgraph_0.2.4.bb +4 -1
index b64b231b50..2b36003635 100644
@@ -10,7 +10,10 @@ DEPENDS = " \
     gnome-online-accounts \
 "
 
-inherit gnomebase gtk-doc gobject-introspection pkgconfig
+inherit gnomebase gtk-doc gobject-introspection pkgconfig features_check
+
+# for gnome-online-accounts
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI += " file://0001-Update-rest-requirement-to-rest-1.0.patch"
 SRC_URI[archive.md5sum] = "c38af63e49f8fe8baad99537956b69ba"
Signature · 1 line
2.35.1
author
#2 lore raw

PATCH 3/6 tepl: Check for x11 in distro features

In reply to Khem Raj
---
 meta-gnome/recipes-gnome/tepl/tepl_6.00.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-gnome/recipes-gnome/tepl/tepl_6.00.0.bb +3 -0
index 0ac7e3693d..aa1f88655c 100644
@@ -15,6 +15,9 @@ GNOMEBASEBUILDCLASS = "meson"
 
 inherit gnomebase gobject-introspection gettext features_check
 
+# for gtksourceview4
+REQUIRED_DISTRO_FEATURES = "x11"
+
 SRC_URI[archive.sha256sum] = "a86397a895dca9c0de7a5ccb063bda8f7ef691cccb950ce2cfdee367903e7a63"
 
 # gobject-introspection is mandatory and cannot be configured
Signature · 1 line
2.35.1
author
#3 lore raw

PATCH 4/6 gedit: Fix REQUIRED_DISTRO_FEATURES to not overwrite x11

In reply to Khem Raj
---
 meta-gnome/recipes-gnome/gedit/gedit_41.0.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta-gnome/recipes-gnome/gedit/gedit_41.0.bb +2 -3
index b8d686fa50..adba8ab2f9 100644
@@ -21,12 +21,11 @@ inherit gnomebase gsettings itstool gnome-help gobject-introspection gtk-doc val
 def gnome_verdir(v):
     return oe.utils.trim_version(v, 1)
 
-REQUIRED_DISTRO_FEATURES = "x11"
-
 SRC_URI[archive.sha256sum] = "7a9b18b158808d1892989165f3706c4f1a282979079ab7458a79d3c24ad4deb5"
 
 # gobject-introspection is mandatory and cannot be configured
-REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+# x11 is needed for tepl and gtksourceview4
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data x11"
 GIR_MESON_OPTION = ""
 
 GTKDOC_MESON_OPTION = "gtk_doc"
Signature · 1 line
2.35.1
author
#4 lore raw

PATCH 5/6 geary: Check for x11 in distro features

In reply to Khem Raj
---
 meta-gnome/recipes-connectivity/geary/geary_40.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-gnome/recipes-connectivity/geary/geary_40.0.bb +3 -1
index 5821122759..92f9e3cbba 100644
@@ -30,7 +30,9 @@ DEPENDS = " \
 
 RDEPENDS:${PN} = "gnome-keyring"
 
-inherit meson pkgconfig mime-xdg gtk-icon-cache gobject-introspection vala
+inherit meson pkgconfig mime-xdg gtk-icon-cache gobject-introspection vala features_check
+# for gnome-online-accounts
+REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI = " \
 	git://github.com/GNOME/geary.git;nobranch=1;protocol=https \
Signature · 1 line
2.35.1
author
#5 lore raw

PATCH 6/6 thunar-shares-plugin: Check for x11 in distro features

In reply to Khem Raj
---
 .../shares/thunar-shares-plugin_0.3.1.bb                       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-xfce/recipes-thunar-plugins/shares/thunar-shares-plugin_0.3.1.bb +2 -1
index 26e96f3612..6ed9cecefb 100644
@@ -3,7 +3,8 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
 
 inherit thunar-plugin features_check
-REQUIRED_DISTRO_FEATURES = "pam"
+# x11 is needed for thunar
+REQUIRED_DISTRO_FEATURES = "pam x11"
 
 SRC_URI[md5sum] = "0884855d60cf1031b9013b6f5b125372"
 SRC_URI[sha256sum] = "dc1d8c7caa727e76d033d4653dc0742613f57a1711d0050900659c90a84452a0"
Signature · 1 line
2.35.1