diff options
| author | Changqing Li <changqing.li@windriver.com> | 2026-04-14 15:55:19 +0800 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-14 02:16:52 -0700 |
| commit | fa2a8fd7a451df91e5a7d4f9334000dff9359416 (patch) | |
| tree | 8f02953845735105afc287f1d4c8b3fdb7660692 | |
| parent | 5434650e26ab6009615af8306c863a93cc696073 (diff) | |
| download | meta-openembedded-fa2a8fd7a451df91e5a7d4f9334000dff9359416.tar.gz | |
thunar: remove x11 from REQUIRED_DISTRO_FEATURES
We add x11 into REQUIRED_DISTRO_FEATURES since xfce4-panel requires it,
now, xfce4-panel not require x11, so remove x11 from
REQUIRED_DISTRO_FEATURES
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
4 files changed, 44 insertions, 8 deletions
diff --git a/meta-xfce/classes/thunar-plugin.bbclass b/meta-xfce/classes/thunar-plugin.bbclass index 82a1be6347..f38996d26e 100644 --- a/meta-xfce/classes/thunar-plugin.bbclass +++ b/meta-xfce/classes/thunar-plugin.bbclass | |||
| @@ -1,6 +1,4 @@ | |||
| 1 | inherit xfce features_check | 1 | inherit xfce |
| 2 | |||
| 3 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 4 | 2 | ||
| 5 | DEPENDS += "thunar" | 3 | DEPENDS += "thunar" |
| 6 | 4 | ||
diff --git a/meta-xfce/recipes-thunar-plugins/shares/thunar-shares-plugin_0.5.0.bb b/meta-xfce/recipes-thunar-plugins/shares/thunar-shares-plugin_0.5.0.bb index b8a18c2f51..b270ad0838 100644 --- a/meta-xfce/recipes-thunar-plugins/shares/thunar-shares-plugin_0.5.0.bb +++ b/meta-xfce/recipes-thunar-plugins/shares/thunar-shares-plugin_0.5.0.bb | |||
| @@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" | |||
| 5 | 5 | ||
| 6 | inherit thunar-plugin features_check | 6 | inherit thunar-plugin features_check |
| 7 | 7 | ||
| 8 | REQUIRED_DISTRO_FEATURES = "pam x11" | 8 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
| 9 | REQUIRED_DISTRO_FEATURES = "pam" | ||
| 9 | 10 | ||
| 10 | SRC_URI[sha256sum] = "34d4d69d413e63837c5083506b4dbf65f1fd2efe17667b1d7ad0699e1e2eb07d" | 11 | SRC_URI[sha256sum] = "34d4d69d413e63837c5083506b4dbf65f1fd2efe17667b1d7ad0699e1e2eb07d" |
| 11 | 12 | ||
diff --git a/meta-xfce/recipes-xfce/thunar/files/0001-Properly-guard-gdkx.h-include.patch b/meta-xfce/recipes-xfce/thunar/files/0001-Properly-guard-gdkx.h-include.patch new file mode 100644 index 0000000000..9d4afc7167 --- /dev/null +++ b/meta-xfce/recipes-xfce/thunar/files/0001-Properly-guard-gdkx.h-include.patch | |||
| @@ -0,0 +1,37 @@ | |||
| 1 | From dd7fbf4540891053a4083228aac2485e6c469199 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org> | ||
| 3 | Date: Sat, 11 Apr 2026 18:07:05 +0200 | ||
| 4 | Subject: [PATCH] Properly guard gdkx.h include | ||
| 5 | |||
| 6 | Fixes: #1820 | ||
| 7 | |||
| 8 | Upstream-Status: Backport [https://gitlab.xfce.org/xfce/thunar/-/commit/201f8ca0c3bc7b5e651201526fc3006a130718eb] | ||
| 9 | |||
| 10 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
| 11 | --- | ||
| 12 | thunar/thunar-session-client.c | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/thunar/thunar-session-client.c b/thunar/thunar-session-client.c | ||
| 16 | index c36719c..2832818 100644 | ||
| 17 | --- a/thunar/thunar-session-client.c | ||
| 18 | +++ b/thunar/thunar-session-client.c | ||
| 19 | @@ -30,6 +30,7 @@ | ||
| 20 | |||
| 21 | #ifdef ENABLE_LIBSM | ||
| 22 | #include <X11/SM/SMlib.h> | ||
| 23 | +#include <gdk/gdkx.h> | ||
| 24 | #endif | ||
| 25 | |||
| 26 | #include "thunar/thunar-application.h" | ||
| 27 | @@ -38,7 +39,6 @@ | ||
| 28 | #include "thunar/thunar-private.h" | ||
| 29 | #include "thunar/thunar-session-client.h" | ||
| 30 | |||
| 31 | -#include <gdk/gdkx.h> | ||
| 32 | #include <glib/gstdio.h> | ||
| 33 | |||
| 34 | |||
| 35 | -- | ||
| 36 | 2.34.1 | ||
| 37 | |||
diff --git a/meta-xfce/recipes-xfce/thunar/thunar_4.21.5.bb b/meta-xfce/recipes-xfce/thunar/thunar_4.21.5.bb index 32d4c39aa5..d8e9edfc25 100644 --- a/meta-xfce/recipes-xfce/thunar/thunar_4.21.5.bb +++ b/meta-xfce/recipes-xfce/thunar/thunar_4.21.5.bb | |||
| @@ -9,15 +9,15 @@ XFCE_COMPRESS_TYPE = "xz" | |||
| 9 | XFCEBASEBUILDCLASS = "meson" | 9 | XFCEBASEBUILDCLASS = "meson" |
| 10 | GTKDOC_MESON_OPTION = "gtk-doc" | 10 | GTKDOC_MESON_OPTION = "gtk-doc" |
| 11 | 11 | ||
| 12 | inherit xfce gobject-introspection features_check mime-xdg perlnative gtk-doc | 12 | inherit xfce gobject-introspection mime-xdg perlnative gtk-doc |
| 13 | |||
| 14 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 15 | 13 | ||
| 16 | SRC_URI[sha256sum] = "eddbd4bab29c73718734e0bfcf650ceea8b4fcc8cb2cbb0b24fe22b286a2be00" | 14 | SRC_URI[sha256sum] = "eddbd4bab29c73718734e0bfcf650ceea8b4fcc8cb2cbb0b24fe22b286a2be00" |
| 17 | 15 | ||
| 16 | SRC_URI += "file://0001-Properly-guard-gdkx.h-include.patch" | ||
| 17 | |||
| 18 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | 18 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
| 19 | PACKAGECONFIG[pcre] = "-Dpcre2=enabled,-Dpcre2=disabled,libpcre2" | 19 | PACKAGECONFIG[pcre] = "-Dpcre2=enabled,-Dpcre2=disabled,libpcre2" |
| 20 | PACKAGECONFIG[x11] = "-Dx11=enabled -Dsession-management=enabled,-Dx11=disabled,libsm startup-notification" | 20 | PACKAGECONFIG[x11] = "-Dx11=enabled -Dsession-management=enabled,-Dx11=disabled,libsm startup-notification virtual/libx11" |
| 21 | 21 | ||
| 22 | FILES:${PN} += " \ | 22 | FILES:${PN} += " \ |
| 23 | ${libdir}/thunarx-3/* \ | 23 | ${libdir}/thunarx-3/* \ |
