mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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>
This commit is contained in:
parent
f53ab756f2
commit
37a9b4baf8
@ -0,0 +1,59 @@
|
||||
From 6468f80ee9283c03fc18f67361b20c6efdf3df50 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ga=C3=ABl=20Bonithon?= <gael@xfce.org>
|
||||
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 <gael@xfce.org>
|
||||
|
||||
Upstream-Status: Backport [https://gitlab.xfce.org/xfce/xfwm4/-/commit/6468f80ee9283c03fc18f67361b20c6efdf3df50]
|
||||
|
||||
Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
|
||||
---
|
||||
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
|
||||
@ -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"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user