libxfce4util: remove bundled vapigen.m4

Commit c175507f1c ("classes/vala: remove obsolete logic") in oe-core
dropped the removal of vapigen.m4 bundled with sources.

The copy shipped in the libxfce4util tarball does not prefix the paths
it reads from vapigen.pc with PKG_CONFIG_SYSROOT_DIR, and since it is
found first via AC_CONFIG_MACRO_DIRS([m4]) it takes precedence over the
one from vala. VAPIGEN and VAPIGEN_MAKEFILE then point to the build
host, libxfce4util-1.0.vapi is never generated and do_install fails in
install-vapiDATA.

Remove it so that the one shipped by vala is used instead.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Khem Raj
2026-09-23 17:39:05 -07:00
parent a0296e4a1b
commit 2969be622c
@@ -7,4 +7,9 @@ DEPENDS = "intltool-native xfce4-dev-tools-native glib-2.0"
inherit xfce gtk-doc gobject-introspection vala
do_configure:prepend() {
# Remove vapigen.m4 bundled with sources so that the one shipped by vala is used instead.
rm -f ${S}/m4/vapigen.m4
}
SRC_URI[sha256sum] = "84bfc4daab9e466193540c3665eee42b2cf4d24e3f38fc3e8d1e0a2bebe3b8f1"