Skip to contentSkip to conversation

xfce4-session: Make gdk-pixbuf-csource available

PATCH New [email protected] 1 participant 1 message Mar 30 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfce4-session: Make gdk-pixbuf-csource available

From: Mingli Yu <[email protected]>

Fixes the below error during do_configure:
../sources/xfce4-session-4.21.1/meson.build:50:21: ERROR: Program '/usr/bin/gdk-pixbuf-csource' not found or not executable

---
 ...ld-Make-gdk-pixbuf-csource-available.patch | 31 +++++++++++++++++++
 .../xfce4-session/xfce4-session_4.21.1.bb     |  6 ++--
 2 files changed, 35 insertions(+), 2 deletions(-)
 create mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-Make-gdk-pixbuf-csource-available.patch
meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-Make-gdk-pixbuf-csource-available.patch new file +31 -0
new file mode 100644
index 0000000000..6cc77262f7
@@ -0,0 +1,31 @@
+From ca9457673128b4024250fe43716c6bbdfad96e96 Mon Sep 17 00:00:00 2001
+From: Mingli Yu <[email protected]>
+Date: Mon, 30 Mar 2026 01:09:33 -0700
+Subject: [PATCH] meson.build: Make gdk-pixbuf-csource available
+
+Fixes:
+  ../sources/xfce4-session-4.21.1/meson.build:50:21: ERROR: Program '/usr/bin/gdk-pixbuf-csource' not found or not executable
+
+Upstream-Status: Inappropriate [oe-specific]
+
+Signed-off-by: Mingli Yu <[email protected]>
+---
+ meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/meson.build b/meson.build
+index 6f372e0..633a5c5 100644
+--- a/meson.build
++++ b/meson.build
+@@ -47,7 +47,7 @@ libxfce4util = dependency('libxfce4util-1.0', version: dependency_versions['libx
+ libxfce4windowing = dependency('libxfce4windowing-0', version: dependency_versions['libxfce4windowing'])
+ xfconf = dependency('libxfconf-0', version: dependency_versions['xfce4'])
+ 
+-gdk_pixbuf_csource = find_program(gdk_pixbuf.get_variable(pkgconfig: 'gdk_pixbuf_csource'), required: true)
++gdk_pixbuf_csource = find_program('gdk-pixbuf-csource', required: true)
+ 
+ # Feature: 'x11'
+ x11_deps = []
+-- 
+2.49.0
+
meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.21.1.bb +4 -2
index 61a059f051..77ae5da6b8 100644
@@ -4,14 +4,16 @@ SECTION = "x11"
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-DEPENDS = "libwnck3 libsm libxfce4ui libxfce4windowing virtual/libx11"
+DEPENDS = "libwnck3 libsm libxfce4ui libxfce4windowing virtual/libx11 gdk-pixbuf-native"
 
 XFCE_COMPRESS_TYPE = "xz"
 XFCEBASEBUILDCLASS = "meson"
 
 inherit xfce update-alternatives features_check
 
-SRC_URI += "file://0001-meson.build-hard-code-path-to-iceauth.patch"
+SRC_URI += "file://0001-meson.build-hard-code-path-to-iceauth.patch \
+            file://0001-meson.build-Make-gdk-pixbuf-csource-available.patch \
+"
 SRC_URI[sha256sum] = "a8fe873fdb20366a44f1345400bfb29c2ff0cfe89dfefd852e2575464b80567c"
 
 REQUIRED_DISTRO_FEATURES = "x11"
Signature · 1 line
2.34.1