summaryrefslogtreecommitdiffstats
path: root/meta-xfce/recipes-xfce/thunar
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xfce/recipes-xfce/thunar')
-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.bb (renamed from meta-xfce/recipes-xfce/thunar/thunar_4.20.7.bb)16
2 files changed, 47 insertions, 6 deletions
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.20.7.bb b/meta-xfce/recipes-xfce/thunar/thunar_4.21.5.bb
index a03804496b..d8e9edfc25 100644
--- a/meta-xfce/recipes-xfce/thunar/thunar_4.20.7.bb
+++ b/meta-xfce/recipes-xfce/thunar/thunar_4.21.5.bb
@@ -3,17 +3,21 @@ HOMEPAGE = "https://docs.xfce.org/xfce/thunar/start"
3SECTION = "x11" 3SECTION = "x11"
4LICENSE = "GPL-2.0-or-later" 4LICENSE = "GPL-2.0-or-later"
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" 5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6DEPENDS = "libxml-parser-perl-native exo gdk-pixbuf libxfce4ui libnotify xfce4-panel udev" 6DEPENDS = "libxml-parser-perl-native libxslt-native docbook-xsl-stylesheets-native exo gdk-pixbuf libxfce4ui libnotify xfce4-panel udev"
7 7
8inherit xfce gobject-introspection features_check mime-xdg perlnative gtk-doc 8XFCE_COMPRESS_TYPE = "xz"
9XFCEBASEBUILDCLASS = "meson"
10GTKDOC_MESON_OPTION = "gtk-doc"
9 11
10REQUIRED_DISTRO_FEATURES = "x11" 12inherit xfce gobject-introspection mime-xdg perlnative gtk-doc
11 13
12SRC_URI[sha256sum] = "e0dfbb732c3d7c9174d1c0216dd6177f1d4e9297e623dbced32efd3f3e8682e5" 14SRC_URI[sha256sum] = "eddbd4bab29c73718734e0bfcf650ceea8b4fcc8cb2cbb0b24fe22b286a2be00"
15
16SRC_URI += "file://0001-Properly-guard-gdkx.h-include.patch"
13 17
14PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" 18PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
15PACKAGECONFIG[pcre] = "--enable-pcre2,--disable-pcre2,libpcre2" 19PACKAGECONFIG[pcre] = "-Dpcre2=enabled,-Dpcre2=disabled,libpcre2"
16PACKAGECONFIG[x11] = ",,libsm startup-notification" 20PACKAGECONFIG[x11] = "-Dx11=enabled -Dsession-management=enabled,-Dx11=disabled,libsm startup-notification virtual/libx11"
17 21
18FILES:${PN} += " \ 22FILES:${PN} += " \
19 ${libdir}/thunarx-3/* \ 23 ${libdir}/thunarx-3/* \