summaryrefslogtreecommitdiffstats
path: root/meta-xfce
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xfce')
-rw-r--r--meta-xfce/classes/thunar-plugin.bbclass4
-rw-r--r--meta-xfce/recipes-thunar-plugins/shares/thunar-shares-plugin_0.5.0.bb3
-rw-r--r--meta-xfce/recipes-xfce/thunar/files/0001-Properly-guard-gdkx.h-include.patch37
-rw-r--r--meta-xfce/recipes-xfce/thunar/thunar_4.21.5.bb8
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 @@
1inherit xfce features_check 1inherit xfce
2
3REQUIRED_DISTRO_FEATURES = "x11"
4 2
5DEPENDS += "thunar" 3DEPENDS += "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
6inherit thunar-plugin features_check 6inherit thunar-plugin features_check
7 7
8REQUIRED_DISTRO_FEATURES = "pam x11" 8ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
9REQUIRED_DISTRO_FEATURES = "pam"
9 10
10SRC_URI[sha256sum] = "34d4d69d413e63837c5083506b4dbf65f1fd2efe17667b1d7ad0699e1e2eb07d" 11SRC_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 @@
1From dd7fbf4540891053a4083228aac2485e6c469199 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org>
3Date: Sat, 11 Apr 2026 18:07:05 +0200
4Subject: [PATCH] Properly guard gdkx.h include
5
6Fixes: #1820
7
8Upstream-Status: Backport [https://gitlab.xfce.org/xfce/thunar/-/commit/201f8ca0c3bc7b5e651201526fc3006a130718eb]
9
10Signed-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
15diff --git a/thunar/thunar-session-client.c b/thunar/thunar-session-client.c
16index 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--
362.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"
9XFCEBASEBUILDCLASS = "meson" 9XFCEBASEBUILDCLASS = "meson"
10GTKDOC_MESON_OPTION = "gtk-doc" 10GTKDOC_MESON_OPTION = "gtk-doc"
11 11
12inherit xfce gobject-introspection features_check mime-xdg perlnative gtk-doc 12inherit xfce gobject-introspection mime-xdg perlnative gtk-doc
13
14REQUIRED_DISTRO_FEATURES = "x11"
15 13
16SRC_URI[sha256sum] = "eddbd4bab29c73718734e0bfcf650ceea8b4fcc8cb2cbb0b24fe22b286a2be00" 14SRC_URI[sha256sum] = "eddbd4bab29c73718734e0bfcf650ceea8b4fcc8cb2cbb0b24fe22b286a2be00"
17 15
16SRC_URI += "file://0001-Properly-guard-gdkx.h-include.patch"
17
18PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" 18PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
19PACKAGECONFIG[pcre] = "-Dpcre2=enabled,-Dpcre2=disabled,libpcre2" 19PACKAGECONFIG[pcre] = "-Dpcre2=enabled,-Dpcre2=disabled,libpcre2"
20PACKAGECONFIG[x11] = "-Dx11=enabled -Dsession-management=enabled,-Dx11=disabled,libsm startup-notification" 20PACKAGECONFIG[x11] = "-Dx11=enabled -Dsession-management=enabled,-Dx11=disabled,libsm startup-notification virtual/libx11"
21 21
22FILES:${PN} += " \ 22FILES:${PN} += " \
23 ${libdir}/thunarx-3/* \ 23 ${libdir}/thunarx-3/* \