diff mbox series

libx11: stage the X11 locale data in the native sysroot

Message ID 20260925064255.1835508-1-f_l_k@t-online.de
State New
Headers show
Series libx11: stage the X11 locale data in the native sysroot | expand

Commit Message

Markus Volk Sept. 25, 2026, 6:42 a.m. UTC
staging.bbclass keeps ${datadir}/X11/locale out of every sysroot. ibus
1.5.34 builds its internal compose table at build time from
en_US.UTF-8/Compose and would otherwise read the build host's copy, so
libx11-native keeps the directory in its sysroot, as font-util does
with the fonts. Tested by building ibus against it.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb b/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb
index c06832e35e..db176efede 100644
--- a/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb
+++ b/meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb
@@ -39,4 +39,6 @@  FILES:${PN} += "${datadir}/X11/XKeysymDB ${datadir}/X11/XErrorDB ${datadir}/X11/
 FILES:${PN}-xcb += "${libdir}/libX11-xcb.so.*"
 FILES:${PN}-locale += "${datadir}/X11/locale ${libdir}/X11/locale"
 
+SYSROOT_DIRS_IGNORE:remove:class-native = "${datadir}/X11/locale"
+
 BBCLASSEXTEND = "native nativesdk"