diff options
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.patch | 43 | ||||
| -rw-r--r-- | meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-Make-gdk-pixbuf-csource-available.patch | 31 | ||||
| -rw-r--r-- | meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-hard-code-path-to-iceauth.patch | 49 | ||||
| -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 @@ | |||
| 1 | From a629b051f4e5462150c77b95574bbc7a33bc9666 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
| 3 | Date: Mon, 31 Dec 2012 16:35:29 +0100 | ||
| 4 | Subject: [PATCH] configure.ac: hard code path to iceauth | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | workaround AC_PATH_PROG which was meant to find programs required at build-time | ||
| 10 | not at run-time. | ||
| 11 | |||
| 12 | Upstream-Status: Inappropriate [config] | ||
| 13 | |||
| 14 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
| 15 | |||
| 16 | Rebase for xfce4-session 4.20.0. | ||
| 17 | |||
| 18 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
| 19 | --- | ||
| 20 | configure.ac | 8 +------- | ||
| 21 | 1 file changed, 1 insertion(+), 7 deletions(-) | ||
| 22 | |||
| 23 | diff --git a/configure.ac b/configure.ac | ||
| 24 | index 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 | -- | ||
| 43 | 1.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 @@ | |||
| 1 | From ca9457673128b4024250fe43716c6bbdfad96e96 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Mingli Yu <mingli.yu@windriver.com> | ||
| 3 | Date: Mon, 30 Mar 2026 01:09:33 -0700 | ||
| 4 | Subject: [PATCH] meson.build: Make gdk-pixbuf-csource available | ||
| 5 | |||
| 6 | Fixes: | ||
| 7 | ../sources/xfce4-session-4.21.1/meson.build:50:21: ERROR: Program '/usr/bin/gdk-pixbuf-csource' not found or not executable | ||
| 8 | |||
| 9 | Upstream-Status: Inappropriate [oe-specific] | ||
| 10 | |||
| 11 | Signed-off-by: Mingli Yu <mingli.yu@windriver.com> | ||
| 12 | --- | ||
| 13 | meson.build | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/meson.build b/meson.build | ||
| 17 | index 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 | -- | ||
| 30 | 2.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 @@ | |||
| 1 | From d3561f125e6e6d6bfea0b41ba1ea02d14eb07244 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Zhang Peng <peng.zhang1.cn@windriver.com> | ||
| 3 | Date: Tue, 17 Mar 2026 17:14:33 +0800 | ||
| 4 | Subject: [PATCH] meson.build: hard code path to iceauth | ||
| 5 | |||
| 6 | Workaround find_program() which finds the native iceauth during | ||
| 7 | cross-compilation instead of the target path. | ||
| 8 | |||
| 9 | This is the meson equivalent of the autotools patch that modified | ||
| 10 | configure.ac to hard code the iceauth path. | ||
| 11 | |||
| 12 | This patch is replace the patch 0001-configure.in-hard-code-path-to-iceauth.patch | ||
| 13 | |||
| 14 | Upstream-Status: Inappropriate [cross-compile specific] | ||
| 15 | |||
| 16 | Signed-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 | |||
| 22 | diff --git a/meson.build b/meson.build | ||
| 23 | index 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 == '' | ||
| 35 | diff --git a/xfce4-session/meson.build b/xfce4-session/meson.build | ||
| 36 | index 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 | -- | ||
| 49 | 2.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" | |||
| 4 | LICENSE = "GPL-2.0-or-later" | 4 | LICENSE = "GPL-2.0-or-later" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 6 | 6 | ||
| 7 | DEPENDS = "libwnck3 libsm libxfce4ui libxfce4windowing virtual/libx11" | 7 | DEPENDS = "libwnck3 libsm libxfce4ui libxfce4windowing virtual/libx11 gdk-pixbuf-native" |
| 8 | |||
| 9 | XFCE_COMPRESS_TYPE = "xz" | ||
| 10 | XFCEBASEBUILDCLASS = "meson" | ||
| 8 | 11 | ||
| 9 | inherit xfce update-alternatives features_check | 12 | inherit xfce update-alternatives features_check |
| 10 | 13 | ||
| 11 | SRC_URI += "file://0001-configure.in-hard-code-path-to-iceauth.patch" | 14 | SRC_URI += "file://0001-meson.build-hard-code-path-to-iceauth.patch \ |
| 12 | SRC_URI[sha256sum] = "dbf00672c5316a30b7001fe852e6a5ba9f889afeab8a247545a160d4302f1fa2" | 15 | file://0001-meson.build-Make-gdk-pixbuf-csource-available.patch \ |
| 16 | " | ||
| 17 | SRC_URI[sha256sum] = "a8fe873fdb20366a44f1345400bfb29c2ff0cfe89dfefd852e2575464b80567c" | ||
| 13 | 18 | ||
| 14 | REQUIRED_DISTRO_FEATURES = "x11" | 19 | REQUIRED_DISTRO_FEATURES = "x11" |
| 15 | 20 | ||
| 16 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" | 21 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" |
| 17 | PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit" | 22 | PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit" |
| 18 | |||
| 19 | EXTRA_OECONF = "GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \ | ||
| 20 | GLIB_COMPILE_RESOURCES=${STAGING_BINDIR_NATIVE}/glib-compile-resources" | ||
| 21 | 23 | ||
| 22 | ALTERNATIVE:${PN} = "x-session-manager" | 24 | ALTERNATIVE:${PN} = "x-session-manager" |
| 23 | ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session" | 25 | ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session" |
