meta-xfce: upgrade core components to 4.21.x and fix cascading build issues
v2 cover meta-xfce: upgrade core components to 4.21.x and fix cascading build issues
From: Zhang Peng <[email protected]>
v2: Rebased onto the latest master branch.
- tumbler: Include a fix patch that is not yet part of the 4.21.1 release. This patch was previously submitted to
the mailing list but has not been merged yet. https://lists.openembedded.org/g/openembedded-devel/message/124664
==========
Upgrade meta-xfce core components from 4.20.x to the 4.21.x development series.
This patch series must be applied as a whole and individual patches should NOT be cherry-picked independently, because of the following dependency chain:
libxfce4ui 4.21.x moved libxfce4util-1.0 from Requires to Requires.private in its pkg-config file, so pkg-config --libs libxfce4ui-2 no longer emits -lxfce4util. This causes DSO missing link errors for autotools consumers that use libxfce4util symbols but rely on libxfce4ui to pull in the link dependency. As a result, all downstream components that depend on libxfce4ui must be upgraded together, and several packages require additional build fixes:
- xfdesktop: switch to meson build system to correctly declare libxfce4util dependency and avoid the DSO link issue
- xfwm4: backport patch to add missing libxfce4util build flags
- xfce4-datetime-setter: fix link failure due to missing libxfce4util dependency
- xfce-polkit: fix link failure by adding missing gtk+-3.0 dependency
- xfce4-datetime-plugin: fix build with xfce4-panel 4.21.x API changes
Recipe upgrades (patches 01-10):
libxfce4ui 4.20.2 -> 4.21.7 garcon 4.20.0 -> 4.21.0 xfce4-appfinder 4.20.0 -> 4.21.0 xfce4-power-manager 4.20.0 -> 4.21.1 xfce4-session 4.20.3 -> 4.21.1 xfce4-panel 4.20.1 -> 4.21.1 xfce4-settings 4.20.1 -> 4.21.1 tumbler 4.20.1 -> 4.21.1 thunar 4.20.7 -> 4.21.4 xfconf 4.20.0 -> 4.21.2
Build fixes (patches 11-15):
xfdesktop, xfce4-datetime-plugin, xfwm4,
xfce4-datetime-setter, xfce-polkit
Zhang Peng (15):
libxfce4ui: upgrade 4.20.2 -> 4.21.7
garcon: upgrade 4.20.0 -> 4.21.0
xfce4-appfinder: upgrade 4.20.0 -> 4.21.0
xfce4-power-manager: upgrade 4.20.0 -> 4.21.1
xfce4-session: upgrade 4.20.3 -> 4.21.1
xfce4-panel: upgrade 4.20.1 -> 4.21.1
xfce4-settings: upgrade 4.20.1 -> 4.21.1
tumbler: upgrade 4.20.1 -> 4.21.1
thunar: upgrade 4.20.7 -> 4.21.4
xfconf: upgrade 4.20.0 -> 4.21.2
xfdesktop: switch to meson build system
xfce4-datetime-plugin: fix build with xfce4-panel 4.21.x
xfwm4: backport patch to add missing libxfce4util build flags
xfce4-datetime-setter: fix link failure due to missing libxfce4util
dependency
xfce-polkit: fix link failure by adding missing gtk+-3.0 dependency
...d-missing-direct-dependency-on-gtk-3.patch | 52 ++++++++
.../xfce-polkit/xfce-polkit_0.3.bb | 7 +-
...g-direct-dependencies-to-fix-link-fa.patch | 35 ++++++
.../xfce4-datetime-setter_3.32.2.bb | 6 +-
.../datetime/xfce4-datetime-plugin_0.8.3.bb | 2 +
.../{garcon_4.20.0.bb => garcon_4.21.0.bb} | 8 +-
...splay-full-path-in-generated-headers.patch | 38 ++++++
...xfce4ui_4.20.2.bb => libxfce4ui_4.21.7.bb} | 25 ++--
.../{thunar_4.20.7.bb => thunar_4.21.4.bb} | 12 +-
...here-there-are-no-plugins-gracefully.patch | 57 +++++++++
.../{tumbler_4.20.1.bb => tumbler_4.21.1.bb} | 25 ++--
...er_4.20.0.bb => xfce4-appfinder_4.21.0.bb} | 5 +-
...splay-full-path-in-generated-headers.patch | 36 ++++++
...-panel_4.20.1.bb => xfce4-panel_4.21.1.bb} | 9 +-
...splay-full-path-in-generated-headers.patch | 36 ++++++
....20.0.bb => xfce4-power-manager_4.21.1.bb} | 13 +-
...nfigure.in-hard-code-path-to-iceauth.patch | 43 -------
...eson.build-hard-code-path-to-iceauth.patch | 49 ++++++++
...sion_4.20.3.bb => xfce4-session_4.21.1.bb} | 12 +-
...splay-full-path-in-generated-headers.patch | 36 ++++++
...ngs_4.20.1.bb => xfce4-settings_4.21.1.bb} | 17 ++-
...gdbus-headers-are-generated-before-i.patch | 116 ++++++++++++++++++
.../{xfconf_4.20.0.bb => xfconf_4.21.2.bb} | 12 +-
.../xfdesktop/xfdesktop_4.20.1.bb | 12 +-
...build-Add-missing-libxfce4util-flags.patch | 59 +++++++++
meta-xfce/recipes-xfce/xfwm4/xfwm4_4.20.0.bb | 5 +-
26 files changed, 611 insertions(+), 116 deletions(-)
create mode 100644 meta-xfce/recipes-apps/xfce-polkit/files/0001-configure.ac-add-missing-direct-dependency-on-gtk-3.patch
create mode 100644 meta-xfce/recipes-apps/xfce4-datetime-setter/files/0001-build-add-missing-direct-dependencies-to-fix-link-fa.patch
rename meta-xfce/recipes-xfce/garcon/{garcon_4.20.0.bb => garcon_4.21.0.bb} (68%)
create mode 100644 meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui/0001-build-Do-not-display-full-path-in-generated-headers.patch
rename meta-xfce/recipes-xfce/libxfce4ui/{libxfce4ui_4.20.2.bb => libxfce4ui_4.21.7.bb} (61%)
rename meta-xfce/recipes-xfce/thunar/{thunar_4.20.7.bb => thunar_4.21.4.bb} (63%)
create mode 100644 meta-xfce/recipes-xfce/tumbler/files/0001-Handle-cases-where-there-are-no-plugins-gracefully.patch
rename meta-xfce/recipes-xfce/tumbler/{tumbler_4.20.1.bb => tumbler_4.21.1.bb} (63%)
rename meta-xfce/recipes-xfce/xfce4-appfinder/{xfce4-appfinder_4.20.0.bb => xfce4-appfinder_4.21.0.bb} (72%)
create mode 100644 meta-xfce/recipes-xfce/xfce4-panel/files/0001-build-Do-not-display-full-path-in-generated-headers.patch
rename meta-xfce/recipes-xfce/xfce4-panel/{xfce4-panel_4.20.1.bb => xfce4-panel_4.21.1.bb} (84%)
create mode 100644 meta-xfce/recipes-xfce/xfce4-power-manager/files/0001-build-Do-not-display-full-path-in-generated-headers.patch
rename meta-xfce/recipes-xfce/xfce4-power-manager/{xfce4-power-manager_4.20.0.bb => xfce4-power-manager_4.21.1.bb} (77%)
delete mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-configure.in-hard-code-path-to-iceauth.patch
create mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-hard-code-path-to-iceauth.patch
rename meta-xfce/recipes-xfce/xfce4-session/{xfce4-session_4.20.3.bb => xfce4-session_4.21.1.bb} (75%)
create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/files/0001-build-Do-not-display-full-path-in-generated-headers.patch
rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.20.1.bb => xfce4-settings_4.21.1.bb} (67%)
create mode 100644 meta-xfce/recipes-xfce/xfconf/xfconf/0001-build-Make-sure-gdbus-headers-are-generated-before-i.patch
rename meta-xfce/recipes-xfce/xfconf/{xfconf_4.20.0.bb => xfconf_4.21.2.bb} (64%)
create mode 100644 meta-xfce/recipes-xfce/xfwm4/xfwm4/0001-build-Add-missing-libxfce4util-flags.patchSignature · 1 line
2.34.1
PATCH v2 1/15 libxfce4ui: upgrade 4.20.2 -> 4.21.7
From: Zhang Peng <[email protected]>
ChangeLog:
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.7
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.6
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.5
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.4
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.3
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.2
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.1
https://gitlab.xfce.org/xfce/libxfce4ui/-/tags/libxfce4ui-4.21.0
Backport upstream patch to fix full buildpath in headers issues.
---
...splay-full-path-in-generated-headers.patch | 38 +++++++++++++++++++
...xfce4ui_4.20.2.bb => libxfce4ui_4.21.7.bb} | 25 ++++++------
2 files changed, 50 insertions(+), 13 deletions(-)
create mode 100644 meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui/0001-build-Do-not-display-full-path-in-generated-headers.patch
rename meta-xfce/recipes-xfce/libxfce4ui/{libxfce4ui_4.20.2.bb => libxfce4ui_4.21.7.bb} (61%)meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui/0001-build-Do-not-display-full-path-in-generated-headers.patch new file +38 -0
@@ -0,0 +1,38 @@ +From b8bf147d621739a1b8a4d1cc8398d1c90288e9d6 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <[email protected]> +Date: Mon, 16 Mar 2026 16:21:51 +0100 +Subject: [PATCH] build: Do not display full path in generated headers + +Fixes: #144 + +Upstream-Status: Backport [https://gitlab.xfce.org/xfce/libxfce4ui/-/commit/b8bf147d621739a1b8a4d1cc8398d1c90288e9d6] + +Signed-off-by: Zhang Peng <[email protected]> +--- + libxfce4ui/meson.build | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/libxfce4ui/meson.build b/libxfce4ui/meson.build +index 8cac84eb..ca5ac927 100644 +--- a/libxfce4ui/meson.build ++++ b/libxfce4ui/meson.build +@@ -102,7 +102,7 @@ libxfce4ui_enums += gnome.mkenums( + install_dir: libxfce4ui_install_dir, + sources: libxfce4ui_enum_headers, + fhead: '#if !defined(_LIBXFCE4UI_INSIDE_LIBXFCE4UI_H) && !defined(LIBXFCE4UI_COMPILATION)\n#error "Only <libxfce4ui/libxfce4ui.h> can be included directly, this file is not part of the public API."\n#endif\n\n#ifndef __LIBXFCE4UI_ENUM_TYPES_H__\n#define __LIBXFCE4UI_ENUM_TYPES_H__\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n\n', +- fprod: '/* enumerations from "@filename@" */\n\n', ++ fprod: '/* enumerations from "@basename@" */\n\n', + vhead: 'GType @enum_name@_get_type(void) G_GNUC_CONST;\n#define XFCE_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n\n', + ftail: 'G_END_DECLS\n\n#endif /* !__LIBXFCE4UI_ENUM_TYPES_H__ */', + ) +@@ -111,7 +111,7 @@ libxfce4ui_enums += gnome.mkenums( + install_header: false, + sources: libxfce4ui_enum_headers, + fhead: '#include "libxfce4ui-enums.h"\n#include "xfce-gtk-extensions.h"\n#include "libxfce4ui-enum-types.h"\n#include "libxfce4ui-visibility.h"\n\n', +- fprod: '/* enumerations from "@filename@" */\n\n', ++ fprod: '/* enumerations from "@basename@" */\n\n', + vhead: 'GType\n@enum_name@_get_type(void)\n{\n static GType type = 0;\n\n if(!type) {\n static const G@Type@Value values[] = {', + vprod: ' { @VALUENAME@, "@VALUENAME@", "@valuenick@" },', + vtail: ' { 0, NULL, NULL }\n\t};\n\ttype = g_@type@_register_static("@EnumName@", values);\n }\n\n return type;\n}\n\n', +-- +2.34.1
meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.21.7.bb renamed from meta-xfce/recipes-xfce/libxfce4ui/libxfce4ui_4.20.2.bb +12 -13
@@ -5,29 +5,28 @@ LICENSE = "LGPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=4cf66a4984120007c9881cc871cf49db" DEPENDS = "intltool-native perl-native gtk+3 libxfce4util xfce4-dev-tools xfconf" +XFCE_COMPRESS_TYPE = "xz" +XFCEBASEBUILDCLASS = "meson" + inherit xfce gtk-doc gobject-introspection features_check +# libxfce4ui uses 'gtk-doc' instead of 'docs' for meson option +GTKDOC_MESON_OPTION = "gtk-doc" + # xfce4 depends on libwnck3. gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG. # cairo would at least needed to be built with xlib. ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11','opengl', "", d)}" # TODO: Check if 0001-... can go -SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch" -SRC_URI[sha256sum] = "5d3d67b1244a10cee0e89b045766c05fe1035f7938f0410ac6a3d8222b5df907" +SRC_URI += "file://0001-libxfce4kbd-private-xfce4-keyboard-shortcuts.xml-fix.patch \ + file://0001-build-Do-not-display-full-path-in-generated-headers.patch \ + " +SRC_URI[sha256sum] = "a72a7af39cf183819bcfb61b1747d425261e966ccb172b2fc28f1494f524bd17" -EXTRA_OECONF += "--with-vendor-info=${DISTRO}" -EXTRA_OECONF += "--disable-vala" +EXTRA_OEMESON = "-Dvala=disabled -Dvendor-info=${DISTRO}" PACKAGECONFIG ??= " \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11','x11', "", d)} \ " -PACKAGECONFIG[gladeui2] = "--enable-gladeui2,--disable-gladeui2,glade" -PACKAGECONFIG[x11] = "--enable-startup-notification,--disable-startup-notification,libepoxy libice libsm startup-notification" - - -PACKAGES += "${PN}-glade" -FILES:${PN}-glade = " \ - ${libdir}/glade \ - ${datadir}/glade \ -" +PACKAGECONFIG[x11] = "-Dstartup-notification=enabled,-Dstartup-notification=disabled,libepoxy libice libsm startup-notification"
Signature · 1 line
2.34.1
PATCH v2 2/15 garcon: upgrade 4.20.0 -> 4.21.0
In reply to [email protected]From: Zhang Peng <[email protected]>
4.21.0 (2025-03-23)
======
- build: Automate copyright year management
- build: Define xfce4 min version >= 4.18
- Replace deprecated exo with libxfce4ui 4.21.0
- meson-build: Add tests option
- meson-build: Use SPDX license expression
- meson-build: Update debug/optimization flag management
- autotools-build: Fix EXTRA_DIST redefinition
- Add meson build
- Set up GNU symbol visibility
- garcon: Remove include guard from private header
- garcon: Don't install garcon-marshal.h
- Translation Updates:
Albanian, Amharic, Arabic, Armenian, Armenian (Armenia), Asturian, Basque, Belarusian, Bengali, Bulgarian, Catalan, Chinese (China), Chinese (Hong Kong), Chinese (Taiwan), Croatian, Czech, Danish, Dutch, Eastern Armenian, English (Australia), English (United Kingdom), Esperanto, Estonian, Finnish, French, Galician, Georgian, German, Greek, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Interlingue, Italian, Japanese, Kabyle, Kazakh, Korean, Lithuanian, Malay, Norwegian Bokmål, Norwegian Nynorsk, Occitan (post 1500), Polish, Portuguese, Portuguese (Brazil), Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Uyghur, Welsh
---
.../garcon/{garcon_4.20.0.bb => garcon_4.21.0.bb} | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
rename meta-xfce/recipes-xfce/garcon/{garcon_4.20.0.bb => garcon_4.21.0.bb} (68%)meta-xfce/recipes-xfce/garcon/garcon_4.21.0.bb renamed from meta-xfce/recipes-xfce/garcon/garcon_4.20.0.bb +7 -1
@@ -5,6 +5,8 @@ LICENSE = "LGPL-2.0-only & GFDL-1.1-no-invariants-only" LIC_FILES_CHKSUM = "file://COPYING;md5=04a01abcbdabffae1ca26335a293276b" DEPENDS = "xfce4-dev-tools-native libxfce4ui intltool-native" +XFCE_COMPRESS_TYPE = "xz" + inherit xfce gtk-doc gobject-introspection features_check # xfce4 depends on libwnck3, gtk+3 and libepoxy need to be built with x11 PACKAGECONFIG.
@@ -12,12 +14,16 @@ inherit xfce gtk-doc gobject-introspection features_check ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" SRC_URI += "file://0001-xfce-applications.menu-don-t-bloat-settings-menu-by-.patch" -SRC_URI[sha256sum] = "7fb8517c12309ca4ddf8b42c34bc0c315e38ea077b5442bfcc4509415feada8f" +SRC_URI[sha256sum] = "3acc3f6b81059199f4e6646da7b6ca39edf84ea90dd3ff87088ffca6aa108269" EXTRA_OECONF = "--disable-gtk-doc" do_compile:prepend() { export GIR_EXTRA_LIBS_PATH="${B}/garcon/.libs" + # g-ir-scanner needs garcon/garcon-config.h but it's generated in ${B}/garcon/ + mkdir -p ${B}/garcon/garcon ${B}/garcon-gtk/garcon + ln -sf ${B}/garcon/garcon-config.h ${B}/garcon/garcon/ + ln -sf ${B}/garcon/garcon-config.h ${B}/garcon-gtk/garcon/ } FILES:${PN} += "${datadir}/desktop-directories"
Signature · 1 line
2.34.1
PATCH v2 3/15 xfce4-appfinder: upgrade 4.20.0 -> 4.21.0
In reply to [email protected]From: Zhang Peng <[email protected]>
4.21.0 (2025-03-23)
======
- Replace deprecated exo with libxfce4ui 4.21.0
- Remove manual registration of resources
- meson: Add missing file to EXTRA_DIST
- Hide dash from list view when comment is empty
- build: Automate copyright year management
- meson: Check for headers
- Fix potential dereference of NULL
- Add support to Meson
- Translation Updates:
Albanian, Basque, Catalan, Danish, Greek, Hungarian, Romanian, Slovak
---
.../{xfce4-appfinder_4.20.0.bb => xfce4-appfinder_4.21.0.bb} | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
rename meta-xfce/recipes-xfce/xfce4-appfinder/{xfce4-appfinder_4.20.0.bb => xfce4-appfinder_4.21.0.bb} (72%)meta-xfce/recipes-xfce/xfce4-appfinder/xfce4-appfinder_4.21.0.bb renamed from meta-xfce/recipes-xfce/xfce4-appfinder/xfce4-appfinder_4.20.0.bb +4 -1
@@ -5,10 +5,13 @@ LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "glib-2.0 gtk+3 libxfce4util libxfce4ui garcon xfconf" +XFCE_COMPRESS_TYPE = "xz" +XFCEBASEBUILDCLASS = "meson" + inherit xfce features_check REQUIRED_DISTRO_FEATURES = "x11" -SRC_URI[sha256sum] = "82ca82f77dc83e285db45438c2fe31df445148aa986ffebf2faabee4af9e7304" +SRC_URI[sha256sum] = "e3befc3e73d2315074eb88933f2b042c5b417f4f7f24be9bd4f4508a091037b7" FILES:${PN} += "${datadir}/metainfo"
Signature · 1 line
2.34.1
PATCH v2 4/15 xfce4-power-manager: upgrade 4.20.0 -> 4.21.1
In reply to [email protected]From: Zhang Peng <[email protected]>
Add patch to fix absolute buildpath in generated enum files.
---
...splay-full-path-in-generated-headers.patch | 36 +++++++++++++++++++
....20.0.bb => xfce4-power-manager_4.21.1.bb} | 13 ++++---
2 files changed, 42 insertions(+), 7 deletions(-)
create mode 100644 meta-xfce/recipes-xfce/xfce4-power-manager/files/0001-build-Do-not-display-full-path-in-generated-headers.patch
rename meta-xfce/recipes-xfce/xfce4-power-manager/{xfce4-power-manager_4.20.0.bb => xfce4-power-manager_4.21.1.bb} (77%)meta-xfce/recipes-xfce/xfce4-power-manager/files/0001-build-Do-not-display-full-path-in-generated-headers.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 3f69abae74f4c0ad41c8fa2886148db834ddb9f1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <[email protected]> +Date: Mon, 16 Mar 2026 16:46:52 +0100 +Subject: [PATCH] build: Do not display full path in generated headers + +Upstream-Status: Backport [https://gitlab.xfce.org/xfce/xfce4-power-manager/-/commit/3f69abae74f4c0ad41c8fa2886148db834ddb9f1] + +Signed-off-by: Zhang Peng <[email protected]> +--- + common/meson.build | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/common/meson.build b/common/meson.build +index 7f71309f..cdae226f 100644 +--- a/common/meson.build ++++ b/common/meson.build +@@ -37,7 +37,7 @@ common_sources += gnome.mkenums( + install_header: false, + sources: 'xfpm-enum-glib.h', + fhead: '#ifndef _XFPM_ENUM_TYPES_H\n#define _XFPM_ENUM_TYPES_H\n#include <glib-object.h>\nG_BEGIN_DECLS\n', +- fprod: '/* enumerations from "@filename@" */\n', ++ fprod: '/* enumerations from "@basename@" */\n', + vhead: 'GType @enum_name@_get_type (void);\n#define XFPM_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n', + ftail: 'G_END_DECLS\n\n#endif /* _XFPM_ENUM_TYPES_H__ */', + ) +@@ -46,7 +46,7 @@ common_sources += gnome.mkenums( + install_header: false, + sources: 'xfpm-enum-glib.h', + fhead: '#include "xfpm-enum-types.h"\n#include "xfpm-enum-glib.h"\n\n', +- fprod: '\n/* enumerations from "@filename@" */\n', ++ fprod: '\n/* enumerations from "@basename@" */\n', + vhead: 'GType\n@enum_name@_get_type (void)\n{\n\tstatic GType type = 0;\n\tif (type == 0) {\n\tstatic const G@Type@Value values[] = {', + vprod: '\t{ @VALUENAME@, "@VALUENAME@", "@valuenick@" },', + vtail: '\t{ 0, NULL, NULL }\n\t};\n\ttype = g_@type@_register_static ("@EnumName@", values);\n }\n\treturn type;\n}\n', +-- +2.34.1
meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.21.1.bb renamed from meta-xfce/recipes-xfce/xfce4-power-manager/xfce4-power-manager_4.20.0.bb +6 -7
@@ -11,18 +11,17 @@ REQUIRED_DISTRO_FEATURES = "x11" DEPENDS += "libnotify libxrandr virtual/libx11 libxext xfce4-panel upower libxscrnsaver" -SRC_URI[sha256sum] = "971391cef63352833bdd92df28957392e17e1f2b3d486c0f57294fd204d6ed29" +XFCE_COMPRESS_TYPE = "xz" +XFCEBASEBUILDCLASS = "meson" -EXTRA_OECONF = " \ - GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \ - --enable-panel-plugins \ -" +SRC_URI += "file://0001-build-Do-not-display-full-path-in-generated-headers.patch" +SRC_URI[sha256sum] = "bb89be7b1be431b29e765e2c632e98fb20a688e495e4ef18495bd70c1524767a" PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \ " -PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit" -PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native" +PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit" +PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native" PACKAGES += "xfce4-powermanager-plugin"
Signature · 1 line
2.34.1
PATCH v2 5/15 xfce4-session: upgrade 4.20.3 -> 4.21.1
In reply to [email protected]From: Zhang Peng <[email protected]>
Changelog:
https://gitlab.xfce.org/xfce/xfce4-session/-/tags/xfce4-session-4.21.1
https://gitlab.xfce.org/xfce/xfce4-session/-/tags/xfce4-session-4.21.0
https://gitlab.xfce.org/xfce/xfce4-session/-/tags/xfce4-session-4.20.4
Refresh patch to algined with meson build.
---
...nfigure.in-hard-code-path-to-iceauth.patch | 43 ----------------
...eson.build-hard-code-path-to-iceauth.patch | 49 +++++++++++++++++++
...sion_4.20.3.bb => xfce4-session_4.21.1.bb} | 12 ++---
3 files changed, 55 insertions(+), 49 deletions(-)
delete mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-configure.in-hard-code-path-to-iceauth.patch
create mode 100644 meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-hard-code-path-to-iceauth.patch
rename meta-xfce/recipes-xfce/xfce4-session/{xfce4-session_4.20.3.bb => xfce4-session_4.21.1.bb} (75%)meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-configure.in-hard-code-path-to-iceauth.patch deleted +0 -43
@@ -1,43 +0,0 @@ -From a629b051f4e5462150c77b95574bbc7a33bc9666 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]> -Date: Mon, 31 Dec 2012 16:35:29 +0100 -Subject: [PATCH] configure.ac: hard code path to iceauth -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -workaround AC_PATH_PROG which was meant to find programs required at build-time -not at run-time. - -Upstream-Status: Inappropriate [config] - -Signed-off-by: Andreas Müller <[email protected]> - -Rebase for xfce4-session 4.20.0. - -Signed-off-by: Kai Kang <[email protected]> ---- - configure.ac | 8 +------- - 1 file changed, 1 insertion(+), 7 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 81b362f..ccde685 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -136,13 +136,7 @@ if test x"$ENABLE_X11" = x"yes"; then - AC_CHECK_FUNCS([_IceTransNoListen]) - LIBS="$ac_LIBS" - -- dnl Check for iceauth -- AC_PATH_PROG([ICEAUTH], [iceauth]) -- if test x"$ICEAUTH" != x""; then -- AC_DEFINE_UNQUOTED([ICEAUTH_CMD], ["$ICEAUTH"], [path to iceauth]) -- else -- AC_MSG_ERROR([iceauth missing, please check your X11 installation]) -- fi -+ AC_DEFINE_UNQUOTED([ICEAUTH_CMD], ["$bindir/iceauth"], [path to iceauth]) - - dnl Find a location for the session desktop file - AC_MSG_CHECKING([what xsession-prefix to use]) --- -1.7.4.4
meta-xfce/recipes-xfce/xfce4-session/xfce4-session/0001-meson.build-hard-code-path-to-iceauth.patch new file +49 -0
49 lines not on this page · raw message
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 +6 -6
@@ -6,18 +6,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "libwnck3 libsm libxfce4ui libxfce4windowing virtual/libx11" +XFCE_COMPRESS_TYPE = "xz" +XFCEBASEBUILDCLASS = "meson" + inherit xfce update-alternatives features_check -SRC_URI += "file://0001-configure.in-hard-code-path-to-iceauth.patch" -SRC_URI[sha256sum] = "dbf00672c5316a30b7001fe852e6a5ba9f889afeab8a247545a160d4302f1fa2" +SRC_URI += "file://0001-meson.build-hard-code-path-to-iceauth.patch" +SRC_URI[sha256sum] = "a8fe873fdb20366a44f1345400bfb29c2ff0cfe89dfefd852e2575464b80567c" REQUIRED_DISTRO_FEATURES = "x11" PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" -PACKAGECONFIG[polkit] = "--enable-polkit, --disable-polkit, polkit" - -EXTRA_OECONF = "GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \ - GLIB_COMPILE_RESOURCES=${STAGING_BINDIR_NATIVE}/glib-compile-resources" +PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit" ALTERNATIVE:${PN} = "x-session-manager" ALTERNATIVE_TARGET[x-session-manager] = "${bindir}/xfce4-session"
Signature · 1 line
2.34.1
PATCH v2 6/15 xfce4-panel: upgrade 4.20.1 -> 4.21.1
In reply to [email protected]From: Zhang Peng <[email protected]>
Changelog:
https://gitlab.xfce.org/xfce/xfce4-panel/-/tags/xfce4-panel-4.21.1
https://gitlab.xfce.org/xfce/xfce4-panel/-/tags/xfce4-panel-4.21.0
https://gitlab.xfce.org/xfce/xfce4-panel/-/tags/xfce4-panel-4.20.7
https://gitlab.xfce.org/xfce/xfce4-panel/-/tags/xfce4-panel-4.20.6
https://gitlab.xfce.org/xfce/xfce4-panel/-/tags/xfce4-panel-4.20.5
https://gitlab.xfce.org/xfce/xfce4-panel/-/tags/xfce4-panel-4.20.4
https://gitlab.xfce.org/xfce/xfce4-panel/-/tags/xfce4-panel-4.20.3
https://gitlab.xfce.org/xfce/xfce4-panel/-/tags/xfce4-panel-4.20.2
---
...splay-full-path-in-generated-headers.patch | 36 +++++++++++++++++++
...-panel_4.20.1.bb => xfce4-panel_4.21.1.bb} | 9 +++--
2 files changed, 43 insertions(+), 2 deletions(-)
create mode 100644 meta-xfce/recipes-xfce/xfce4-panel/files/0001-build-Do-not-display-full-path-in-generated-headers.patch
rename meta-xfce/recipes-xfce/xfce4-panel/{xfce4-panel_4.20.1.bb => xfce4-panel_4.21.1.bb} (84%)meta-xfce/recipes-xfce/xfce4-panel/files/0001-build-Do-not-display-full-path-in-generated-headers.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 61f40b65637695abe9d9e2f80ca99d3c076c96e8 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <[email protected]> +Date: Mon, 16 Mar 2026 16:31:23 +0100 +Subject: [PATCH] build: Do not display full path in generated headers + +Upstream-Status: Backport [https://gitlab.xfce.org/xfce/xfce4-panel/-/commit/61f40b65637695abe9d9e2f80ca99d3c076c96e8] + +Signed-off-by: Zhang Peng <[email protected]> +--- + libxfce4panel/meson.build | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/libxfce4panel/meson.build b/libxfce4panel/meson.build +index 38d8ad198..3fee75d58 100644 +--- a/libxfce4panel/meson.build ++++ b/libxfce4panel/meson.build +@@ -67,7 +67,7 @@ libpanel_enums += gnome.mkenums( + install_dir: libpanel_install_dir, + sources: libpanel_headers, + fhead: '#if !defined(_LIBXFCE4PANEL_INSIDE_LIBXFCE4PANEL_H) && !defined(LIBXFCE4PANEL_COMPILATION)\n#error "Only <libxfce4panel/libxfce4panel.h> can be included directly, this file may disappear or change contents"\n#endif\n\n#ifndef __LIBXFCE4PANEL_ENUM_TYPES_H__\n#define __LIBXFCE4PANEL_ENUM_TYPES_H__\n#include <glib-object.h>\nG_BEGIN_DECLS\n', +- fprod: '/* enumerations from "@filename@" */\n', ++ fprod: '/* enumerations from "@basename@" */\n', + vhead: 'GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define XFCE_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n', + ftail: 'G_END_DECLS\n\n#endif /* !__LIBXFCE4PANEL_ENUM_TYPES_H__ */', + ) +@@ -76,7 +76,7 @@ libpanel_enums += gnome.mkenums( + install_header: false, + sources: libpanel_headers, + fhead: '#include "libxfce4panel-enums.h"\n#include "libxfce4panel-enum-types.h"\n\n#include "libxfce4panel-visibility.h"', +- fprod: '\n/* enumerations from "@filename@" */', ++ fprod: '\n/* enumerations from "@basename@" */', + vhead: 'GType\n@enum_name@_get_type (void)\n{\n\tstatic GType type = 0;\n\tif (type == 0) {\n\tstatic const G@Type@Value values[] = {', + vprod: '\t{ @VALUENAME@, "@VALUENAME@", "@valuenick@" },', + vtail: '\t{ 0, NULL, NULL }\n\t};\n\ttype = g_@type@_register_static ("@EnumName@", values);\n }\n\treturn type;\n}\n', +-- +2.34.1
meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.21.1.bb renamed from meta-xfce/recipes-xfce/xfce4-panel/xfce4-panel_4.20.1.bb +7 -2
@@ -7,6 +7,10 @@ DEPENDS = "garcon exo gtk+3 cairo virtual/libx11 libxfce4windowing libxml2 \ libwnck3 vala-native \ " +XFCE_COMPRESS_TYPE = "xz" +XFCEBASEBUILDCLASS = "meson" +GTKDOC_MESON_OPTION = "gtk-doc" + inherit xfce gtk-doc gobject-introspection features_check mime-xdg REQUIRED_DISTRO_FEATURES = "x11"
@@ -14,10 +18,11 @@ REQUIRED_DISTRO_FEATURES = "x11" SRC_URI += " \ file://0001-windowmenu-do-not-display-desktop-icon-when-no-windo.patch \ file://0002-use-lxdm-to-replace-dm-tool.patch \ + file://0001-build-Do-not-display-full-path-in-generated-headers.patch \ " -SRC_URI[sha256sum] = "5a7c8097527555640ab3d00307505c7c1b7302d11d92874f88842ea969483519" +SRC_URI[sha256sum] = "c940dae515bef4af08a126011d2fd873ce99e815157ba8cef5332195bb60e51e" -EXTRA_OECONF += "--disable-vala GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen" +EXTRA_OEMESON += "-Dvala=disabled" python populate_packages:prepend() { plugin_dir = d.expand('${libdir}/xfce4/panel/plugins/')
Signature · 1 line
2.34.1
PATCH v2 7/15 xfce4-settings: upgrade 4.20.1 -> 4.21.1
In reply to [email protected]From: Zhang Peng <[email protected]>
Changelog:
https://gitlab.xfce.org/xfce/xfce4-settings/-/blob/master/NEWS
Backport patch to avoid add full path in generated headers.
---
...splay-full-path-in-generated-headers.patch | 36 +++++++++++++++++++
...ngs_4.20.1.bb => xfce4-settings_4.21.1.bb} | 17 +++++----
2 files changed, 44 insertions(+), 9 deletions(-)
create mode 100644 meta-xfce/recipes-xfce/xfce4-settings/files/0001-build-Do-not-display-full-path-in-generated-headers.patch
rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.20.1.bb => xfce4-settings_4.21.1.bb} (67%)meta-xfce/recipes-xfce/xfce4-settings/files/0001-build-Do-not-display-full-path-in-generated-headers.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 93fa2ed9a987c0f03c9f5aa0f31cb770d1cc5f17 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <[email protected]> +Date: Mon, 16 Mar 2026 16:44:43 +0100 +Subject: [PATCH] build: Do not display full path in generated headers + +Upstream-Status: Backport [https://gitlab.xfce.org/xfce/xfce4-settings/-/commit/93fa2ed9a987c0f03c9f5aa0f31cb770d1cc5f17] + +Signed-off-by: Zhang Peng <[email protected]> +--- + dialogs/mime-settings/meson.build | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/dialogs/mime-settings/meson.build b/dialogs/mime-settings/meson.build +index b7ca8dc7..5ac9a936 100644 +--- a/dialogs/mime-settings/meson.build ++++ b/dialogs/mime-settings/meson.build +@@ -30,7 +30,7 @@ enums += gnome.mkenums( + install_header: false, + sources: 'xfce-mime-helper.h', + fhead: '#ifndef __XFCE_MIME_HELPER_ENUM_TYPES_H__\n#define __XFCE_MIME_HELPER_ENUM_TYPES_H__\n#include <libxfce4ui/libxfce4ui.h>\nG_BEGIN_DECLS\n', +- fprod: '/* enumerations from "@filename@" */\n', ++ fprod: '/* enumerations from "@basename@" */\n', + vhead: 'GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define XFCE_MIME_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n', + ftail: 'G_END_DECLS\n\n#endif /* !__XFCE_MIME_HELPER_ENUM_TYPES_H__ */', + ) +@@ -39,7 +39,7 @@ enums += gnome.mkenums( + install_header: false, + sources: 'xfce-mime-helper.h', + fhead: '#undef GTK_DISABLE_DEPRECATED\n#define GTK_ENABLE_BROKEN\n#include "xfce-mime-helper.h"\n\n#include "xfce-mime-helper-enum-types.h"', +- fprod: '\n/* enumerations from "@filename@" */', ++ fprod: '\n/* enumerations from "@basename@" */', + vhead: 'GType\n@enum_name@_get_type (void)\n{\n\tstatic GType type = 0;\n\tif (type == 0) {\n\tstatic const G@Type@Value values[] = {', + vprod: '\t{ @VALUENAME@, "@VALUENAME@", "@valuenick@" },', + vtail: '\t{ 0, NULL, NULL }\n\t};\n\ttype = g_@type@_register_static ("@EnumName@", values);\n }\n\treturn type;\n}\n', +-- +2.51.2
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.21.1.bb renamed from meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_4.20.1.bb +8 -9
@@ -5,25 +5,24 @@ LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "exo garcon libxi virtual/libx11 xrandr libxcursor libxklavier upower" +XFCE_COMPRESS_TYPE = "xz" +XFCEBASEBUILDCLASS = "meson" + inherit xfce features_check mime-xdg REQUIRED_DISTRO_FEATURES = "x11" -SRC_URI[sha256sum] = "fd0d602853ea75d94024e5baae2d2bf5ca8f8aa4dad7bfd5d08f9ff8afee77b2" - -EXTRA_OECONF += " \ - GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \ - --enable-maintainer-mode --disable-debug \ -" +SRC_URI += "file://0001-build-Do-not-display-full-path-in-generated-headers.patch" +SRC_URI[sha256sum] = "e57a33d0bb9d63d0ef6f469c2d42cbf66e37d9127cc204de411b7385274e26d0" PACKAGECONFIG ??= " \ notify \ ${@bb.utils.contains('DISTRO_FEATURES','alsa','sound-setter', bb.utils.contains('DISTRO_FEATURES','pulseaudio','sound-setter','',d),d)} \ ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)} \ " -PACKAGECONFIG[notify] = "--enable-libnotify,--disable-libnotify,libnotify" -PACKAGECONFIG[sound-setter] = "--enable-sound-settings, --disable-sound-settings, libcanberra, libcanberra sound-theme-freedesktop" -PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native" +PACKAGECONFIG[notify] = "-Dlibnotify=enabled,-Dlibnotify=disabled,libnotify" +PACKAGECONFIG[sound-setter] = "-Dsound-settings=true,-Dsound-settings=false,libcanberra,libcanberra sound-theme-freedesktop" +PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native" FILES:${PN} += " \ ${libdir}/xfce4 \
Signature · 1 line
2.34.1
PATCH v2 8/15 tumbler: upgrade 4.20.1 -> 4.21.1
In reply to [email protected]From: Zhang Peng <[email protected]>
Changelog:
https://gitlab.xfce.org/xfce/tumbler/-/tags/tumbler-4.21.1
https://gitlab.xfce.org/xfce/tumbler/-/tags/tumbler-4.21.0
Backport patch for handle case where no plugins gracefully.
---
...here-there-are-no-plugins-gracefully.patch | 57 +++++++++++++++++++
.../{tumbler_4.20.1.bb => tumbler_4.21.1.bb} | 25 ++++----
2 files changed, 71 insertions(+), 11 deletions(-)
create mode 100644 meta-xfce/recipes-xfce/tumbler/files/0001-Handle-cases-where-there-are-no-plugins-gracefully.patch
rename meta-xfce/recipes-xfce/tumbler/{tumbler_4.20.1.bb => tumbler_4.21.1.bb} (63%)meta-xfce/recipes-xfce/tumbler/files/0001-Handle-cases-where-there-are-no-plugins-gracefully.patch new file +57 -0
@@ -0,0 +1,57 @@ +From 95244ee0d1f3184e2c2cae9d33095dc03829b10e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <[email protected]> +Date: Fri, 20 Feb 2026 17:07:56 +0100 +Subject: [PATCH] Handle cases where there are no plugins gracefully + +Not sure it makes much sense to allow the cache plugin not to be built, +but then again, why not? It could be replaced by a customized +implementation, and it has always been possible not to build it, so we +might as well leave it as it is. + +Fixes: #109 +(cherry picked from commit b4f4db4bfc1a45f0a405c4516e38394a44c90fcf) + +Upstream-Status: Backport [https://gitlab.xfce.org/xfce/tumbler/-/commit/95244ee0d1f3184e2c2cae9d33095dc03829b10e] + +Signed-off-by: Zhang Peng <[email protected]> +--- + tumbler/tumbler-cache-plugin.c | 5 ++++- + tumblerd/tumbler-registry.c | 7 ++++++- + 2 files changed, 10 insertions(+), 2 deletions(-) + +diff --git a/tumbler/tumbler-cache-plugin.c b/tumbler/tumbler-cache-plugin.c +index 50700a3..e308638 100644 +--- a/tumbler/tumbler-cache-plugin.c ++++ b/tumbler/tumbler-cache-plugin.c +@@ -188,7 +188,10 @@ tumbler_cache_plugin_get_default (void) + g_object_add_weak_pointer (G_OBJECT (plugin), (gpointer) &plugin); + + if (!g_type_module_use (G_TYPE_MODULE (plugin))) +- return NULL; ++ { ++ g_object_unref (plugin); ++ return NULL; ++ } + } + + return G_TYPE_MODULE (plugin); +diff --git a/tumblerd/tumbler-registry.c b/tumblerd/tumbler-registry.c +index 705dbc9..b58e831 100644 +--- a/tumblerd/tumbler-registry.c ++++ b/tumblerd/tumbler-registry.c +@@ -534,7 +534,12 @@ tumbler_registry_update_supported (TumblerRegistry *registry) + + /* abort if there are no thumbnailers */ + if (thumbnailers == NULL) +- return; ++ { ++ /* we need NULL-terminated arrays for the _get_supported() dbus call anyway */ ++ registry->uri_schemes = g_new0 (gchar *, 1); ++ registry->mime_types = g_new0 (gchar *, 1); ++ return; ++ } + + /* clear visited flag of all thumbnailers */ + for (lp = thumbnailers; lp != NULL; lp = lp->next) +-- +2.50.0
meta-xfce/recipes-xfce/tumbler/tumbler_4.21.1.bb renamed from meta-xfce/recipes-xfce/tumbler/tumbler_4.20.1.bb +14 -11
@@ -5,23 +5,26 @@ LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "xfce4-dev-tools-native libxfce4util" +XFCE_COMPRESS_TYPE = "xz" +XFCEBASEBUILDCLASS = "meson" +GTKDOC_MESON_OPTION = "gtk-doc" + inherit xfce gtk-doc systemd -SRC_URI[sha256sum] = "87b90df8f30144a292d70889e710c8619d8b8803f0e1db3280a4293367a42eae" +SRC_URI += " file://0001-Handle-cases-where-there-are-no-plugins-gracefully.patch" +SRC_URI[sha256sum] = "0f499f79a2a7ee49726a433584dd8a680d514101b72bd1b003360611ce1dc244" INSANE_SKIP:${PN} = "dev-so" PACKAGECONFIG ??= "" -PACKAGECONFIG[cover-thumbnailer] = "--enable-cover-thumbnailer,--disable-cover-thumbnailer,curl gdk-pixbuf" -PACKAGECONFIG[desktop-thumbnailer] = "--enable-desktop-thumbnailer,--disable-desktop-thumbnailer,gdk-pixbuf" -PACKAGECONFIG[font-thumbnailer] = "--enable-font-thumbnailer,--disable-font-thumbnailer,freetype gdk-pixbuf" -PACKAGECONFIG[gstreamer-thumbnailer] = "--enable-gstreamer-thumbnailer,--disable-gstreamer-thumbnailer,gstreamer1.0 gstreamer1.0-plugins-base" -PACKAGECONFIG[jpeg-thumbnailer] = "--enable-jpeg-thumbnailer,--disable-jpeg-thumbnailer,gdk-pixbuf" -PACKAGECONFIG[odf-thumbnailer] = "--enable-odf-thumbnailer,--disable-odf-thumbnailer,gdk-pixbuf libxml2 libgsf" -PACKAGECONFIG[pixbuf-thumbnailer] = "--enable-pixbuf-thumbnailer,--disable-pixbuf-thumbnailer,gdk-pixbuf" -PACKAGECONFIG[poppler-thumbnailer] = "--enable-poppler-thumbnailer,--disable-poppler-thumbnailer,gdk-pixbuf poppler" - -EXTRA_OECONF = "GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen" +PACKAGECONFIG[cover-thumbnailer] = "-Dcover-thumbnailer=enabled,-Dcover-thumbnailer=disabled,curl gdk-pixbuf" +PACKAGECONFIG[desktop-thumbnailer] = "-Ddesktop-thumbnailer=enabled,-Ddesktop-thumbnailer=disabled,gdk-pixbuf" +PACKAGECONFIG[font-thumbnailer] = "-Dfont-thumbnailer=enabled,-Dfont-thumbnailer=disabled,freetype gdk-pixbuf" +PACKAGECONFIG[gstreamer-thumbnailer] = "-Dgst-thumbnailer=enabled,-Dgst-thumbnailer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" +PACKAGECONFIG[jpeg-thumbnailer] = "-Djpeg-thumbnailer=enabled,-Djpeg-thumbnailer=disabled,gdk-pixbuf" +PACKAGECONFIG[odf-thumbnailer] = "-Dodf-thumbnailer=enabled,-Dodf-thumbnailer=disabled,gdk-pixbuf libxml2 libgsf" +PACKAGECONFIG[pixbuf-thumbnailer] = "-Dpixbuf-thumbnailer=enabled,-Dpixbuf-thumbnailer=disabled,gdk-pixbuf" +PACKAGECONFIG[poppler-thumbnailer] = "-Dpoppler-thumbnailer=enabled,-Dpoppler-thumbnailer=disabled,gdk-pixbuf poppler" do_install:append() { # Makefile seems to race on creation of symlink. So ensure creation here
Signature · 1 line
2.34.1
PATCH v2 9/15 thunar: upgrade 4.20.7 -> 4.21.4
In reply to [email protected]From: Zhang Peng <[email protected]>
Changelog:
https://gitlab.xfce.org/xfce/thunar/-/tags/thunar-4.21.4
https://gitlab.xfce.org/xfce/thunar/-/tags/thunar-4.21.3
https://gitlab.xfce.org/xfce/thunar/-/tags/thunar-4.21.2
https://gitlab.xfce.org/xfce/thunar/-/tags/thunar-4.21.1
https://gitlab.xfce.org/xfce/thunar/-/tags/thunar-4.21.0
---
.../thunar/{thunar_4.20.7.bb => thunar_4.21.4.bb} | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
rename meta-xfce/recipes-xfce/thunar/{thunar_4.20.7.bb => thunar_4.21.4.bb} (63%)meta-xfce/recipes-xfce/thunar/thunar_4.21.4.bb renamed from meta-xfce/recipes-xfce/thunar/thunar_4.20.7.bb +8 -4
@@ -3,17 +3,21 @@ HOMEPAGE = "https://docs.xfce.org/xfce/thunar/start" SECTION = "x11" LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -DEPENDS = "libxml-parser-perl-native exo gdk-pixbuf libxfce4ui libnotify xfce4-panel udev" +DEPENDS = "libxml-parser-perl-native libxslt-native docbook-xsl-stylesheets-native exo gdk-pixbuf libxfce4ui libnotify xfce4-panel udev" + +XFCE_COMPRESS_TYPE = "xz" +XFCEBASEBUILDCLASS = "meson" +GTKDOC_MESON_OPTION = "gtk-doc" inherit xfce gobject-introspection features_check mime-xdg perlnative gtk-doc REQUIRED_DISTRO_FEATURES = "x11" -SRC_URI[sha256sum] = "e0dfbb732c3d7c9174d1c0216dd6177f1d4e9297e623dbced32efd3f3e8682e5" +SRC_URI[sha256sum] = "85f2c7fba6e891eb0df04b94139d519778130ecde95a6e629ac611d8cc9c6a7c" PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" -PACKAGECONFIG[pcre] = "--enable-pcre2,--disable-pcre2,libpcre2" -PACKAGECONFIG[x11] = ",,libsm startup-notification" +PACKAGECONFIG[pcre] = "-Dpcre2=enabled,-Dpcre2=disabled,libpcre2" +PACKAGECONFIG[x11] = "-Dx11=enabled -Dsession-management=enabled,-Dx11=disabled,libsm startup-notification" FILES:${PN} += " \ ${libdir}/thunarx-3/* \
Signature · 1 line
2.34.1
PATCH v2 10/15 xfconf: upgrade 4.20.0 -> 4.21.2
In reply to [email protected]From: Zhang Peng <[email protected]>
4.21.2 (2026-03-16)
======
- Destroy GDBusProxy and GDBusConnection on library shutdown
- Make xfconf_init()/xfconf_shutdown() multithread-safe
- Emit signals on the thread that "owns" the channel or binding
- Revert "Make libxfconf multithread-safe"
4.21.1 (2026-03-13)
======
- Make libxfconf multithread-safe
- I18n: Update po/LINGUAS list
- build: Fix typo in optimization level
- README.md: Add uninstall info
- Update README after switchover to meson
- Update also .gitlab-ci.yml
- Remove autotools build
- common: Fix -Wlogical-op warning
- meson-build: Use configure_file() to generate GNU visibility files
- I18n: Update po/LINGUAS list
- Translation Updates:
Arabic, Estonian, Georgian, Occitan (post 1500), Polish, Slovenian, Thai, Uyghur, Vietnamese
4.21.0 (2025-03-23)
======
- build: Automate copyright year management
- meson-build: Add missing function checks
- meson-build: Use SPDX license expression
- meson-build: Add tests option
- meson-build: Use 'pkgconfig_define' in dep.get_variable()
- meson-build: Use 'dependencies' in cc.alignment()
- meson-build: Update debug/optimization flag management
- meson-build: Add missing gir prefixes
- meson-build: Use path builder and fs instead of literal '/'
- Add meson build
- tests: Always cleanup xfconfd process
- tests: Enable t-list-channels test
- tests: Fix test failure because of xfconfd not running
- Migrate to xdt-gen-visibility and xdt-check-abi
- channel: Complete and harmonize docs of get_string_list()/get_arrayv()
- channel: Warn in case of failure in get_string_list()
- channel: Fix get_arrayv() return value
- Translation Updates:
Albanian, Slovak
https://gitlab.xfce.org/xfce/xfconf/-/blob/xfconf-4.21.2/NEWS?ref_type=tags
---
...gdbus-headers-are-generated-before-i.patch | 116 ++++++++++++++++++
.../{xfconf_4.20.0.bb => xfconf_4.21.2.bb} | 12 +-
2 files changed, 123 insertions(+), 5 deletions(-)
create mode 100644 meta-xfce/recipes-xfce/xfconf/xfconf/0001-build-Make-sure-gdbus-headers-are-generated-before-i.patch
rename meta-xfce/recipes-xfce/xfconf/{xfconf_4.20.0.bb => xfconf_4.21.2.bb} (64%)meta-xfce/recipes-xfce/xfconf/xfconf/0001-build-Make-sure-gdbus-headers-are-generated-before-i.patch new file +116 -0
@@ -0,0 +1,116 @@ +From 6fc6e4408ea021ee8a210e691f1a13b807121a3c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <[email protected]> +Date: Thu, 19 Mar 2026 18:33:41 +0100 +Subject: [PATCH] build: Make sure gdbus headers are generated before including + them + +Fixes: #48 + +Upstream-Status: Backport [https://gitlab.xfce.org/xfce/xfconf/-/commit/6fc6e4408ea021ee8a210e691f1a13b807121a3c] + +Signed-off-by: Zhang Peng <[email protected]> +--- + .scan-build-false-positives | 2 ++ + common/meson.build | 36 +++++++++++++++++++----------------- + xfconf/meson.build | 5 ++++- + xfconfd/meson.build | 1 + + 4 files changed, 26 insertions(+), 18 deletions(-) + +diff --git a/.scan-build-false-positives b/.scan-build-false-positives +index d925d3f..7ab5ec6 100644 +--- a/.scan-build-false-positives ++++ b/.scan-build-false-positives +@@ -1,5 +1,7 @@ + # gdbus-codegen generated code + xfconf-gdbus-bindings.c:[0-9]+:[0-9]+: warning: Value stored to .+skeleton.+ during its initialization is never read \[deadcode.DeadStores\] ++xfconf-gdbus-bindings.c:[0-9]+:[0-9]+: warning: Value stored to .+skeleton.+ during its initialization is never read \[deadcode.DeadStores\] ++xfconf-gdbus-bindings.c:[0-9]+:[0-9]+: warning: Value stored to .+skeleton.+ during its initialization is never read \[deadcode.DeadStores\] + + # gobject-introspection generated code + Xfconf-0.c:[0-9]+:[0-9]+: warning: Access to field .+message.+ results in a dereference of a null pointer \(loaded from variable .+error.+\) \[core.NullDereference\] +diff --git a/common/meson.build b/common/meson.build +index 08acd5b..fe30c38 100644 +--- a/common/meson.build ++++ b/common/meson.build +@@ -22,6 +22,24 @@ xfconf_visibility_sources += configure_file( + command: [xdt_gen_visibility, '--kind=source', '@INPUT@', '@OUTPUT@'], + ) + ++xfconf_dbus_xml = configure_file( ++ configuration: configuration_data({ ++ 'XFCONF_SERVICE_NAME_PREFIX': xfconf_service_name_prefix, ++ 'XFCONF_SERVICE_PATH_PREFIX': xfconf_service_path_prefix, ++ }), ++ input: 'xfconf-dbus.xml.in', ++ output: 'xfconf-dbus.xml', ++) ++ ++xfconf_gdbus_sources = gnome.gdbus_codegen( ++ 'xfconf-gdbus-bindings', ++ sources: xfconf_dbus_xml, ++ interface_prefix: '@[email protected]'.format(xfconf_service_name_prefix), ++ namespace: 'Xfconf', ++ annotations: ['@[email protected]'.format(xfconf_service_name_prefix), 'org.gtk.GDBus.C.Name', 'Exported'], ++ install_header: false, ++) ++ + xfconf_common = static_library( + 'xfconf-common', + xfconf_common_sources, +@@ -61,25 +79,9 @@ xfconf_gvaluefuncs = static_library( + install: false, + ) + +-xfconf_dbus_xml = configure_file( +- configuration: configuration_data({ +- 'XFCONF_SERVICE_NAME_PREFIX': xfconf_service_name_prefix, +- 'XFCONF_SERVICE_PATH_PREFIX': xfconf_service_path_prefix, +- }), +- input: 'xfconf-dbus.xml.in', +- output: 'xfconf-dbus.xml', +-) +- + xfconf_dbus = static_library( + 'xfconf-dbus', +- gnome.gdbus_codegen( +- 'xfconf-gdbus-bindings', +- sources: xfconf_dbus_xml, +- interface_prefix: '@[email protected]'.format(xfconf_service_name_prefix), +- namespace: 'Xfconf', +- annotations: ['@[email protected]'.format(xfconf_service_name_prefix), 'org.gtk.GDBus.C.Name', 'Exported'], +- install_header: false, +- ), ++ xfconf_gdbus_sources, + c_args: [ + '-DG_LOG_DOMAIN="@0@"'.format('xfconf-common'), + ], +diff --git a/xfconf/meson.build b/xfconf/meson.build +index e3ecd55..15cafa5 100644 +--- a/xfconf/meson.build ++++ b/xfconf/meson.build +@@ -39,7 +39,10 @@ xfconf_version = '@[email protected]'.format(xfconf_so_version) + xfconf = library( + xfconf_pkgname, + xfconf_sources, +- sources: xfconf_visibility_sources, ++ sources: [ ++ xfconf_visibility_sources, ++ xfconf_gdbus_sources, ++ ], + version: xfconf_version, + soversion: xfconf_so_version, + c_args: [ +diff --git a/xfconfd/meson.build b/xfconfd/meson.build +index 6e46a58..13e614e 100644 +--- a/xfconfd/meson.build ++++ b/xfconfd/meson.build +@@ -56,6 +56,7 @@ executable( + sources: [ + xfce_revision_h, + xfconf_visibility_sources, ++ xfconf_gdbus_sources, + ], + c_args: c_args, + include_directories: [ +-- +2.50.0
meta-xfce/recipes-xfce/xfconf/xfconf_4.21.2.bb renamed from meta-xfce/recipes-xfce/xfconf/xfconf_4.20.0.bb +7 -5
@@ -5,11 +5,14 @@ LICENSE = "GPL-2.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" DEPENDS = "libxfce4util perl intltool-native xfce4-dev-tools-native" -inherit xfce gtk-doc gobject-introspection bash-completion vala +XFCE_COMPRESS_TYPE = "xz" +XFCEBASEBUILDCLASS = "meson" +GTKDOC_MESON_OPTION = "gtk-doc" -EXTRA_OECONF += "GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen" +inherit xfce gtk-doc gobject-introspection bash-completion vala -SRC_URI[sha256sum] = "8bc43c60f1716b13cf35fc899e2a36ea9c6cdc3478a8f051220eef0f53567efd" +SRC_URI += "file://0001-build-Make-sure-gdbus-headers-are-generated-before-i.patch" +SRC_URI[sha256sum] = "99aa4366e909ba7b9f746aba48b610b9e9d2933aeb283c7fa5f37a7c3dc7a3a6" FILES:${PN} += "${libdir}/xfce4/xfconf/xfconfd \ ${libdir}/gio/modules/libxfconfgsettingsbackend.so \
@@ -17,6 +20,5 @@ FILES:${PN} += "${libdir}/xfce4/xfconf/xfconfd \ ${systemd_user_unitdir}/xfconfd.service \ " -FILES:${PN}-dev += "${libdir}/gio/modules/libxfconfgsettingsbackend.la" +PACKAGECONFIG[gsettings-backend] = "-Dgsettings-backend=true,-Dgsettings-backend=false," -PACKAGECONFIG[gsettings-backend] = "--enable-gsettings-backend,--disable-gsettings-backend,"
Signature · 1 line
2.34.1
PATCH v2 11/15 xfdesktop: switch to meson build system
In reply to [email protected]From: Zhang Peng <[email protected]>
Switch from autotools to meson build system. The upstream 4.20.1 source already ships a meson.build.
libxfce4ui 4.21.7 moved libxfce4util-1.0 from Requires to Requires.private in its pkg-config file, so pkg-config --libs libxfce4ui-2 no longer emits -lxfce4util. This causes DSO missing link errors for autotools consumers that use libxfce4util symbols but rely on libxfce4ui to pull in the link dependency. The meson build correctly declares libxfce4util in its own dependencies, avoiding this issue.
Add PACKAGECONFIG[tests] (disabled by default)
--- meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.20.1.bb | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-)
meta-xfce/recipes-xfce/xfdesktop/xfdesktop_4.20.1.bb +4 -8
@@ -9,7 +9,6 @@ DEPENDS = " \ garcon \ glib-2.0 \ gtk+3 \ - intltool \ libwnck3 \ libxfce4ui \ libxfce4util \
@@ -18,6 +17,8 @@ DEPENDS = " \ xfconf \ " +XFCEBASEBUILDCLASS = "meson" + inherit xfce features_check REQUIRED_DISTRO_FEATURES = "x11"
@@ -25,12 +26,7 @@ REQUIRED_DISTRO_FEATURES = "x11" SRC_URI[sha256sum] = "acccde849265bbf4093925ba847977b7abf70bb2977e4f78216570e887c157b8" PACKAGECONFIG ??= "notify" -PACKAGECONFIG[notify] = "--enable-notifications,--disable-notifications,libnotify" - -EXTRA_OECONF = "GDBUS_CODEGEN=${STAGING_BINDIR_NATIVE}/gdbus-codegen \ - GLIB_COMPILE_RESOURCES=${STAGING_BINDIR_NATIVE}/glib-compile-resources \ - GLIB_GENMARSHAL=${STAGING_BINDIR_NATIVE}/glib-genmarshal \ - GLIB_MKENUMS=${STAGING_BINDIR_NATIVE}/glib-mkenums \ - " +PACKAGECONFIG[notify] = "-Dnotifications=enabled,-Dnotifications=disabled,libnotify" +PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false," FILES:${PN} += "${datadir}/backgrounds"
Signature · 1 line
2.34.1
PATCH v2 12/15 xfce4-datetime-plugin: fix build with xfce4-panel 4.21.x
In reply to [email protected]From: Zhang Peng <[email protected]>
xfce4-panel 4.21.x added include guards to libxfce4panel sub-headers, requiring consumers to include <libxfce4panel/libxfce4panel.h> instead of individual headers like <libxfce4panel/xfce-panel-plugin.h>.
Since there is no new upstream release with this fix, add -DLIBXFCE4PANEL_COMPILATION to CFLAGS as a workaround to bypass the include guard check.
--- .../datetime/xfce4-datetime-plugin_0.8.3.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-xfce/recipes-panel-plugins/datetime/xfce4-datetime-plugin_0.8.3.bb +2 -0
@@ -5,4 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" inherit xfce-panel-plugin +CFLAGS += "-DLIBXFCE4PANEL_COMPILATION" + SRC_URI[sha256sum] = "6b2eeb79fb586868737426cbd2a4cd43c7f8c58507d8a2f578e0150187cc00b0"
Signature · 1 line
2.34.1
PATCH v2 13/15 xfwm4: backport patch to add missing libxfce4util build flags
In reply to [email protected]From: Zhang Peng <[email protected]>
When libxfce4ui is upgrade to 4.21.x, pkgconfig sets private flags by default and no longer exposes libxfce4util flags. This causes build failures in xfwm4 settings-dialogs due to missing CFLAGS and LIBS.
Backport upstream fix to add LIBXFCE4UTIL_CFLAGS and LIBXFCE4UTIL_LIBS to settings-dialogs/Makefile.am.
--- ...build-Add-missing-libxfce4util-flags.patch | 59 +++++++++++++++++++ meta-xfce/recipes-xfce/xfwm4/xfwm4_4.20.0.bb | 5 +- 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 meta-xfce/recipes-xfce/xfwm4/xfwm4/0001-build-Add-missing-libxfce4util-flags.patch
meta-xfce/recipes-xfce/xfwm4/xfwm4/0001-build-Add-missing-libxfce4util-flags.patch new file +59 -0
@@ -0,0 +1,59 @@ +From 6468f80ee9283c03fc18f67361b20c6efdf3df50 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <[email protected]> +Date: Mon, 3 Feb 2025 11:09:59 +0100 +Subject: [PATCH] build: Add missing libxfce4util flags +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +This will be necessary when xfwm4 is built against a meson release of +libxfce4ui, which sets private flags by default in pkgconfig (and +therefore no longer exposes libxfce4util flags). + +Signed-off-by: Gaël Bonithon <[email protected]> + +Upstream-Status: Backport [https://gitlab.xfce.org/xfce/xfwm4/-/commit/6468f80ee9283c03fc18f67361b20c6efdf3df50] + +Signed-off-by: Zhang Peng <[email protected]> +--- + settings-dialogs/Makefile.am | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/settings-dialogs/Makefile.am b/settings-dialogs/Makefile.am +index 3a1d2a510..86c6ab9be 100644 +--- a/settings-dialogs/Makefile.am ++++ b/settings-dialogs/Makefile.am +@@ -44,6 +44,7 @@ xfwm4_settings_CFLAGS = \ + $(GLIB_CFLAGS) \ + $(DBUS_GLIB_CFLAGS) \ + $(LIBXFCE4UI_CFLAGS) \ ++ $(LIBXFCE4UTIL_CFLAGS) \ + $(LIBXFCE4KBD_PRIVATE_CFLAGS) \ + $(LIBXFCONF_CFLAGS) \ + -DDATADIR=\"$(datadir)\" \ +@@ -56,6 +57,7 @@ xfwm4_settings_LDADD = \ + $(GLIB_LIBS) \ + $(DBUS_GLIB_LIBS) \ + $(LIBXFCE4UI_LIBS) \ ++ $(LIBXFCE4UTIL_LIBS) \ + $(LIBXFCE4KBD_PRIVATE_LIBS) \ + $(LIBXFCONF_LIBS) + +@@ -70,6 +72,7 @@ xfwm4_tweaks_settings_CFLAGS = \ + $(GLIB_CFLAGS) \ + $(DBUS_GLIB_CFLAGS) \ + $(LIBXFCE4UI_CFLAGS) \ ++ $(LIBXFCE4UTIL_CFLAGS) \ + $(LIBXFCONF_CFLAGS) \ + -DDATADIR=\"$(datadir)\" \ + -DSRCDIR=\"$(top_srcdir)\" \ +@@ -81,6 +84,7 @@ xfwm4_tweaks_settings_LDADD = \ + $(GLIB_LIBS) \ + $(DBUS_GLIB_LIBS) \ + $(LIBXFCE4UI_LIBS) \ ++ $(LIBXFCE4UTIL_LIBS) \ + $(LIBXFCONF_LIBS) + + AM_CPPFLAGS = \ +-- +2.50.0
meta-xfce/recipes-xfce/xfwm4/xfwm4_4.20.0.bb +4 -1
@@ -9,7 +9,10 @@ inherit xfce update-alternatives features_check REQUIRED_DISTRO_FEATURES = "x11" -SRC_URI += "file://xfwm4-fix-incompatible-pointer-type-error.patch" +SRC_URI += " \ + file://xfwm4-fix-incompatible-pointer-type-error.patch \ + file://0001-build-Add-missing-libxfce4util-flags.patch \ + " SRC_URI[sha256sum] = "a58b63e49397aa0d8d1dcf0636be93c8bb5926779aef5165e0852890190dcf06"
Signature · 1 line
2.34.1
PATCH v2 14/15 xfce4-datetime-setter: fix link failure due to missing libxfce4util dependency
In reply to [email protected]From: Zhang Peng <[email protected]>
After libxfce4ui upgrade to 4.21.x, its pkgconfig sets libxfce4util as Requires.private, so the linker no longer automatically pulls in libxfce4util. This causes an undefined reference to 'xfce_textdomain' when linking xfce4-datetime-settings.
Add patch for libxfce4util-1.0 and common_deps (gtk+-3.0 etc.) as explicit dependencies in xfce/meson.build.
--- ...g-direct-dependencies-to-fix-link-fa.patch | 35 +++++++++++++++++++ .../xfce4-datetime-setter_3.32.2.bb | 6 ++-- 2 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 meta-xfce/recipes-apps/xfce4-datetime-setter/files/0001-build-add-missing-direct-dependencies-to-fix-link-fa.patch
meta-xfce/recipes-apps/xfce4-datetime-setter/files/0001-build-add-missing-direct-dependencies-to-fix-link-fa.patch new file +35 -0
@@ -0,0 +1,35 @@ +From 57fc1ba0b433f2f95cd9eb011cf64a4f28b281b4 Mon Sep 17 00:00:00 2001 +From: Zhang Peng <[email protected]> +Date: Mon, 23 Mar 2026 16:44:28 +0800 +Subject: [PATCH] build: add missing direct dependencies to fix link failures + +xfce/ sources directly call symbols from libxfce4util (xfce_textdomain) +and gtk+-3.0 (gtk_builder_*, gtk_combo_box_*, gtk_widget_*), but only +libxfce4ui-2 was listed as a dependency. Since libxfce4ui-2 correctly +places these in Requires.private, the client must declare its own direct +dependencies. + +Upstream-Status: Submitted [https://github.com/schnitzeltony/xfce4-datetime-setter/pull/4] + +Signed-off-by: Zhang Peng <[email protected]> +--- + xfce/meson.build | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/xfce/meson.build b/xfce/meson.build +index 2acab2f..f1386a5 100644 +--- a/xfce/meson.build ++++ b/xfce/meson.build +@@ -7,8 +7,9 @@ xfce_datetime_c_args = [ + '-DHAVE_CONFIG_H', + ] + +-xfce_datetime_deps = [ ++xfce_datetime_deps = common_deps + [ + libxfce4ui_dep, ++ dependency('libxfce4util-1.0'), + ] + + resource_data = files( +-- +2.50.0
meta-xfce/recipes-apps/xfce4-datetime-setter/xfce4-datetime-setter_3.32.2.bb +4 -2
@@ -6,10 +6,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=75859989545e37968a99b631ef42722e" DEPENDS = "glib-2.0-native libxfce4ui" -SRC_URI = "git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https;branch=master \ +SRC_URI = "\ + git://github.com/schnitzeltony/xfce4-datetime-setter.git;protocol=https;branch=master \ file://fix-inner-dependency.patch \ file://0001-Fix-build-with-meson-0.61.patch \ -" + file://0001-build-add-missing-direct-dependencies-to-fix-link-fa.patch \ + " SRCREV = "5c7a73a3824b03b91719e05e2604b97c7a72d50f"
Signature · 1 line
2.34.1
PATCH v2 15/15 xfce-polkit: fix link failure by adding missing gtk+-3.0 dependency
In reply to [email protected]From: Zhang Peng <[email protected]>
After libxfce4ui upgrade to 4.21.x, its pkgconfig moves gtk+-3.0 to Requires.private, so the linker no longer automatically pulls in libgtk-3. This causes an undefined reference to 'gtk_combo_box_set_model' when linking xfce-polkit.
Add patch for explicit PKG_CHECK_MODULES for gtk+-3.0 in configure.ac and wire GTK3_CFLAGS/GTK3_LIBS into src/Makefile.am.
--- ...d-missing-direct-dependency-on-gtk-3.patch | 52 +++++++++++++++++++ .../xfce-polkit/xfce-polkit_0.3.bb | 7 +-- 2 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 meta-xfce/recipes-apps/xfce-polkit/files/0001-configure.ac-add-missing-direct-dependency-on-gtk-3.patch
meta-xfce/recipes-apps/xfce-polkit/files/0001-configure.ac-add-missing-direct-dependency-on-gtk-3.patch new file +52 -0
@@ -0,0 +1,52 @@ +From a89bd475c3cf7dc39618bcc9979fc618d7acd537 Mon Sep 17 00:00:00 2001 +From: Zhang Peng <[email protected]> +Date: Mon, 23 Mar 2026 16:52:58 +0800 +Subject: [PATCH] configure.ac: add missing direct dependency on gtk+-3.0 + +xfce-polkit sources directly call GTK+ symbols (gtk_combo_box_set_model, +gtk_widget_show, etc.), but only libxfce4ui-2 was listed as a dependency. +Since libxfce4ui-2 correctly places gtk+-3.0 in Requires.private, the +client must declare its own direct dependency on gtk+-3.0. + +See https://people.freedesktop.org/~dbn/pkg-config-guide.html#writing + +Upstream-Status: Submitted [https://github.com/ncopa/xfce-polkit/pull/14] + +Signed-off-by: Zhang Peng <[email protected]> +--- + configure.ac | 1 + + src/Makefile.am | 2 ++ + 2 files changed, 3 insertions(+) + +diff --git a/configure.ac b/configure.ac +index 88f2432..15c09c9 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -4,6 +4,7 @@ AC_PROG_CC + + PKG_CHECK_MODULES([GLIB], [glib-2.0]) + PKG_CHECK_MODULES([LIBXFCE4UI], [libxfce4ui-2]) ++PKG_CHECK_MODULES([GTK3], [gtk+-3.0]) + PKG_CHECK_MODULES([POLKIT_AGENT], [polkit-agent-1]) + + AC_CONFIG_FILES([ +diff --git a/src/Makefile.am b/src/Makefile.am +index 514605a..f13e4cb 100644 +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -10,11 +10,13 @@ xfce_polkit_SOURCES = \ + + xfce_polkit_CFLAGS = @GLIB_CFLAGS@ \ + @LIBXFCE4UI_CFLAGS@ \ ++ @GTK3_CFLAGS@ \ + @POLKIT_AGENT_CFLAGS@ + + + xfce_polkit_LDADD = @GLIB_LIBS@ \ + @LIBXFCE4UI_LIBS@ \ ++ @GTK3_LIBS@ \ + @POLKIT_AGENT_LIBS@ + + +-- +2.50.0
meta-xfce/recipes-apps/xfce-polkit/xfce-polkit_0.3.bb +4 -3
@@ -7,7 +7,8 @@ DEPENDS = "libxfce4ui polkit" inherit xfce-app features_check REQUIRED_DISTRO_FEATURES = "polkit" -SRC_URI = " \ - git://github.com/ncopa/${BPN}.git;branch=master;protocol=https \ -" +SRC_URI = "\ + git://github.com/ncopa/${BPN}.git;branch=master;protocol=https \ + file://0001-configure.ac-add-missing-direct-dependency-on-gtk-3.patch \ + " SRCREV = "6d3282cc1734c305850d48f5bf4b4d94e88885e9"
Signature · 1 line
2.34.1