public inbox for openembedded-devel@lists.openembedded.org
 help / color / mirror / Atom feed
From: <mingli.yu@windriver.com>
To: <openembedded-devel@lists.openembedded.org>
Subject: [meta-xfce][PATCH] xfce4-session: Make gdk-pixbuf-csource available
Date: Mon, 30 Mar 2026 16:30:30 +0800	[thread overview]
Message-ID: <20260330083030.1895759-1-mingli.yu@windriver.com> (raw)

From: Mingli Yu <mingli.yu@windriver.com>

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

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 ...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

diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-Make-gdk-pixbuf-csource-available.patch b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-Make-gdk-pixbuf-csource-available.patch
new file mode 100644
index 0000000000..6cc77262f7
--- /dev/null
+++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-Make-gdk-pixbuf-csource-available.patch
@@ -0,0 +1,31 @@
+From ca9457673128b4024250fe43716c6bbdfad96e96 Mon Sep 17 00:00:00 2001
+From: Mingli Yu <mingli.yu@windriver.com>
+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 <mingli.yu@windriver.com>
+---
+ 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
+
diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.21.1.bb b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.21.1.bb
index 61a059f051..77ae5da6b8 100644
--- a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.21.1.bb
+++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.21.1.bb
@@ -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"
-- 
2.34.1



                 reply	other threads:[~2026-03-30  8:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260330083030.1895759-1-mingli.yu@windriver.com \
    --to=mingli.yu@windriver.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox