diff options
| author | Zhang Peng <peng.zhang1.cn@windriver.com> | 2026-03-24 20:59:25 +0800 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-03-24 09:13:52 -0700 |
| commit | 37a9b4baf8f7be5e1f450fce36375bc7e61c6608 (patch) | |
| tree | 8462b564da2e1e6c9c386bb9f08eb8828d954264 | |
| parent | f53ab756f2fdad0ba9c823df625e3f17e7159cc5 (diff) | |
| download | meta-openembedded-37a9b4baf8f7be5e1f450fce36375bc7e61c6608.tar.gz | |
xfwm4: backport patch to add missing libxfce4util build flags
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.
Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
| -rw-r--r-- | meta-xfce/recipes-xfce/xfwm4/xfwm4/0001-build-Add-missing-libxfce4util-flags.patch | 59 | ||||
| -rw-r--r-- | meta-xfce/recipes-xfce/xfwm4/xfwm4_4.20.0.bb | 5 |
2 files changed, 63 insertions, 1 deletions
diff --git a/meta-xfce/recipes-xfce/xfwm4/xfwm4/0001-build-Add-missing-libxfce4util-flags.patch b/meta-xfce/recipes-xfce/xfwm4/xfwm4/0001-build-Add-missing-libxfce4util-flags.patch new file mode 100644 index 0000000000..8fe8386f11 --- /dev/null +++ b/meta-xfce/recipes-xfce/xfwm4/xfwm4/0001-build-Add-missing-libxfce4util-flags.patch | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | From 6468f80ee9283c03fc18f67361b20c6efdf3df50 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org> | ||
| 3 | Date: Mon, 3 Feb 2025 11:09:59 +0100 | ||
| 4 | Subject: [PATCH] build: Add missing libxfce4util flags | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | This will be necessary when xfwm4 is built against a meson release of | ||
| 10 | libxfce4ui, which sets private flags by default in pkgconfig (and | ||
| 11 | therefore no longer exposes libxfce4util flags). | ||
| 12 | |||
| 13 | Signed-off-by: Gaƫl Bonithon <gael@xfce.org> | ||
| 14 | |||
| 15 | Upstream-Status: Backport [https://gitlab.xfce.org/xfce/xfwm4/-/commit/6468f80ee9283c03fc18f67361b20c6efdf3df50] | ||
| 16 | |||
| 17 | Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com> | ||
| 18 | --- | ||
| 19 | settings-dialogs/Makefile.am | 4 ++++ | ||
| 20 | 1 file changed, 4 insertions(+) | ||
| 21 | |||
| 22 | diff --git a/settings-dialogs/Makefile.am b/settings-dialogs/Makefile.am | ||
| 23 | index 3a1d2a510..86c6ab9be 100644 | ||
| 24 | --- a/settings-dialogs/Makefile.am | ||
| 25 | +++ b/settings-dialogs/Makefile.am | ||
| 26 | @@ -44,6 +44,7 @@ xfwm4_settings_CFLAGS = \ | ||
| 27 | $(GLIB_CFLAGS) \ | ||
| 28 | $(DBUS_GLIB_CFLAGS) \ | ||
| 29 | $(LIBXFCE4UI_CFLAGS) \ | ||
| 30 | + $(LIBXFCE4UTIL_CFLAGS) \ | ||
| 31 | $(LIBXFCE4KBD_PRIVATE_CFLAGS) \ | ||
| 32 | $(LIBXFCONF_CFLAGS) \ | ||
| 33 | -DDATADIR=\"$(datadir)\" \ | ||
| 34 | @@ -56,6 +57,7 @@ xfwm4_settings_LDADD = \ | ||
| 35 | $(GLIB_LIBS) \ | ||
| 36 | $(DBUS_GLIB_LIBS) \ | ||
| 37 | $(LIBXFCE4UI_LIBS) \ | ||
| 38 | + $(LIBXFCE4UTIL_LIBS) \ | ||
| 39 | $(LIBXFCE4KBD_PRIVATE_LIBS) \ | ||
| 40 | $(LIBXFCONF_LIBS) | ||
| 41 | |||
| 42 | @@ -70,6 +72,7 @@ xfwm4_tweaks_settings_CFLAGS = \ | ||
| 43 | $(GLIB_CFLAGS) \ | ||
| 44 | $(DBUS_GLIB_CFLAGS) \ | ||
| 45 | $(LIBXFCE4UI_CFLAGS) \ | ||
| 46 | + $(LIBXFCE4UTIL_CFLAGS) \ | ||
| 47 | $(LIBXFCONF_CFLAGS) \ | ||
| 48 | -DDATADIR=\"$(datadir)\" \ | ||
| 49 | -DSRCDIR=\"$(top_srcdir)\" \ | ||
| 50 | @@ -81,6 +84,7 @@ xfwm4_tweaks_settings_LDADD = \ | ||
| 51 | $(GLIB_LIBS) \ | ||
| 52 | $(DBUS_GLIB_LIBS) \ | ||
| 53 | $(LIBXFCE4UI_LIBS) \ | ||
| 54 | + $(LIBXFCE4UTIL_LIBS) \ | ||
| 55 | $(LIBXFCONF_LIBS) | ||
| 56 | |||
| 57 | AM_CPPFLAGS = \ | ||
| 58 | -- | ||
| 59 | 2.50.0 | ||
diff --git a/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.20.0.bb b/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.20.0.bb index ef5a682b77..2c0ac1d39c 100644 --- a/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.20.0.bb +++ b/meta-xfce/recipes-xfce/xfwm4/xfwm4_4.20.0.bb | |||
| @@ -9,7 +9,10 @@ inherit xfce update-alternatives features_check | |||
| 9 | 9 | ||
| 10 | REQUIRED_DISTRO_FEATURES = "x11" | 10 | REQUIRED_DISTRO_FEATURES = "x11" |
| 11 | 11 | ||
| 12 | SRC_URI += "file://xfwm4-fix-incompatible-pointer-type-error.patch" | 12 | SRC_URI += " \ |
| 13 | file://xfwm4-fix-incompatible-pointer-type-error.patch \ | ||
| 14 | file://0001-build-Add-missing-libxfce4util-flags.patch \ | ||
| 15 | " | ||
| 13 | 16 | ||
| 14 | SRC_URI[sha256sum] = "a58b63e49397aa0d8d1dcf0636be93c8bb5926779aef5165e0852890190dcf06" | 17 | SRC_URI[sha256sum] = "a58b63e49397aa0d8d1dcf0636be93c8bb5926779aef5165e0852890190dcf06" |
| 15 | 18 | ||
