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 <[email protected]>
---
 meta/recipes-graphics/xorg-lib/libx11_1.8.13.bb | 2 ++
 1 file changed, 2 insertions(+)

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"
-- 
2.55.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#246598): 
https://lists.openembedded.org/g/openembedded-core/message/246598
Mute This Topic: https://lists.openembedded.org/mt/121422688/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to