summaryrefslogtreecommitdiffstats
path: root/meta-xfce/recipes-xfce/xfce4-session
diff options
context:
space:
mode:
Diffstat (limited to 'meta-xfce/recipes-xfce/xfce4-session')
-rw-r--r--meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-configure.in-hard-code-path-to-iceauth.patch43
-rw-r--r--meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-Make-gdk-pixbuf-csource-available.patch31
-rw-r--r--meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-hard-code-path-to-iceauth.patch49
-rw-r--r--meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.21.1.bb (renamed from meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.20.3.bb)16
4 files changed, 89 insertions, 50 deletions
diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-configure.in-hard-code-path-to-iceauth.patch b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-configure.in-hard-code-path-to-iceauth.patch
deleted file mode 100644
index 0e20143f10..0000000000
--- a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-configure.in-hard-code-path-to-iceauth.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From a629b051f4e5462150c77b95574bbc7a33bc9666 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
3Date: Mon, 31 Dec 2012 16:35:29 +0100
4Subject: [PATCH] configure.ac: hard code path to iceauth
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9workaround AC_PATH_PROG which was meant to find programs required at build-time
10not at run-time.
11
12Upstream-Status: Inappropriate [config]
13
14Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
15
16Rebase for xfce4-session 4.20.0.
17
18Signed-off-by: Kai Kang <kai.kang@windriver.com>
19---
20 configure.ac | 8 +-------
21 1 file changed, 1 insertion(+), 7 deletions(-)
22
23diff --git a/configure.ac b/configure.ac
24index 81b362f..ccde685 100644
25--- a/configure.ac
26+++ b/configure.ac
27@@ -136,13 +136,7 @@ if test x"$ENABLE_X11" = x"yes"; then
28 AC_CHECK_FUNCS([_IceTransNoListen])
29 LIBS="$ac_LIBS"
30
31- dnl Check for iceauth
32- AC_PATH_PROG([ICEAUTH], [iceauth])
33- if test x"$ICEAUTH" != x""; then
34- AC_DEFINE_UNQUOTED([ICEAUTH_CMD], ["$ICEAUTH"], [path to iceauth])
35- else
36- AC_MSG_ERROR([iceauth missing, please check your X11 installation])
37- fi
38+ AC_DEFINE_UNQUOTED([ICEAUTH_CMD], ["$bindir/iceauth"], [path to iceauth])
39
40 dnl Find a location for the session desktop file
41 AC_MSG_CHECKING([what xsession-prefix to use])
42--
431.7.4.4
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 @@
1From ca9457673128b4024250fe43716c6bbdfad96e96 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Mon, 30 Mar 2026 01:09:33 -0700
4Subject: [PATCH] meson.build: Make gdk-pixbuf-csource available
5
6Fixes:
7 ../sources/xfce4-session-4.21.1/meson.build:50:21: ERROR: Program '/usr/bin/gdk-pixbuf-csource' not found or not executable
8
9Upstream-Status: Inappropriate [oe-specific]
10
11Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
12---
13 meson.build | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/meson.build b/meson.build
17index 6f372e0..633a5c5 100644
18--- a/meson.build
19+++ b/meson.build
20@@ -47,7 +47,7 @@ libxfce4util = dependency('libxfce4util-1.0', version: dependency_versions['libx
21 libxfce4windowing = dependency('libxfce4windowing-0', version: dependency_versions['libxfce4windowing'])
22 xfconf = dependency('libxfconf-0', version: dependency_versions['xfce4'])
23
24-gdk_pixbuf_csource = find_program(gdk_pixbuf.get_variable(pkgconfig: 'gdk_pixbuf_csource'), required: true)
25+gdk_pixbuf_csource = find_program('gdk-pixbuf-csource', required: true)
26
27 # Feature: 'x11'
28 x11_deps = []
29--
302.49.0
31
diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-hard-code-path-to-iceauth.patch b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-hard-code-path-to-iceauth.patch
new file mode 100644
index 0000000000..0a34f8f039
--- /dev/null
+++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-hard-code-path-to-iceauth.patch
@@ -0,0 +1,49 @@
1From d3561f125e6e6d6bfea0b41ba1ea02d14eb07244 Mon Sep 17 00:00:00 2001
2From: Zhang Peng <peng.zhang1.cn@windriver.com>
3Date: Tue, 17 Mar 2026 17:14:33 +0800
4Subject: [PATCH] meson.build: hard code path to iceauth
5
6Workaround find_program() which finds the native iceauth during
7cross-compilation instead of the target path.
8
9This is the meson equivalent of the autotools patch that modified
10configure.ac to hard code the iceauth path.
11
12This patch is replace the patch 0001-configure.in-hard-code-path-to-iceauth.patch
13
14Upstream-Status: Inappropriate [cross-compile specific]
15
16Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
17---
18 meson.build | 2 +-
19 xfce4-session/meson.build | 2 +-
20 2 files changed, 2 insertions(+), 2 deletions(-)
21
22diff --git a/meson.build b/meson.build
23index 7ab81ae5..c54ebafd 100644
24--- a/meson.build
25+++ b/meson.build
26@@ -75,7 +75,7 @@ if enable_x11
27 feature_cflags += '-DHAVE__ICETRANSNOLISTEN=1'
28 endif
29
30- iceauth = find_program('iceauth', required: true)
31+ # iceauth path is hard-coded below for cross-compilation
32
33 xsession_prefix = get_option('xsession-prefix')
34 if xsession_prefix == ''
35diff --git a/xfce4-session/meson.build b/xfce4-session/meson.build
36index 56a297f9..e36885e4 100644
37--- a/xfce4-session/meson.build
38+++ b/xfce4-session/meson.build
39@@ -42,7 +42,7 @@ c_args = [
40
41 if enable_x11
42 c_args += [
43- '-DICEAUTH_CMD="@0@"'.format(iceauth.full_path()),
44+ '-DICEAUTH_CMD="' + get_option('prefix') / get_option('bindir') / 'iceauth' + '"',
45 ]
46
47 session_sources += [
48--
492.50.0
diff --git a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.20.3.bb b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.21.1.bb
index af7ab98ae5..77ae5da6b8 100644
--- a/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.20.3.bb
+++ b/meta-xfce/recipes-xfce/xfce4-session/xfce4-session_4.21.1.bb
@@ -4,20 +4,22 @@ SECTION = "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"
6 6
7DEPENDS = "libwnck3 libsm libxfce4ui libxfce4windowing virtual/libx11" 7DEPENDS = "libwnck3 libsm libxfce4ui libxfce4windowing virtual/libx11 gdk-pixbuf-native"
8
9XFCE_COMPRESS_TYPE = "xz"
10XFCEBASEBUILDCLASS = "meson"
8 11
9inherit xfce update-alternatives features_check 12inherit xfce update-alternatives features_check
10 13
11SRC_URI += "file://0001-configure.in-hard-code-path-to-iceauth.patch" 14SRC_URI += "file://0001-meson.build-hard-code-path-to-iceauth.patch \
12SRC_URI[sha256sum] = "dbf00672c5316a30b7001fe852e6a5ba9f889afeab8a247545a160d4302f1fa2" 15 file://0001-meson.build-Make-gdk-pixbuf-csource-available.patch \
16"
17SRC_URI[sha256sum] = "a8fe873fdb20366a44f1345400bfb29c2ff0cfe89dfefd852e2575464b80567c"
13 18
14REQUIRED_DISTRO_FEATURES = "x11" 19REQUIRED_DISTRO_FEATURES = "x11"
15 20
16PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" 21PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
17PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit" 22PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit"
18
19EXTRA_OECONF = "GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \
20 GLIB_COMPILE_RESOURCES=${STAGING_BINDIR_NATIVE}/glib-compile-resources"
21 23
22ALTERNATIVE:${PN} = "x-session-manager" 24ALTERNATIVE:${PN} = "x-session-manager"
23ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session" 25ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session"