From: Hiago De Franco <[email protected]> The error described does not occur in all cases where libxkbcommon is used. As example, a Qt application that depends on libxkbcommon might not require any locales to be installed.
Add it to RRECOMMENDS, as libxkbcommon does not seen to have any hard dependency on libx11-compose-data or libx11-locale. This change can help users decide to disable it and save some space on the rootfs. Signed-off-by: Hiago De Franco <[email protected]> --- The first version of this patch is at [1], now this patch is different and changes the RDEPENDS to RRECOMMENDS (the subject is also different), that is why I did not mark it as V2 on the subject. [1] https://lore.kernel.org/all/[email protected]/ --- meta/recipes-graphics/xorg-lib/libxkbcommon_1.7.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-graphics/xorg-lib/libxkbcommon_1.7.0.bb b/meta/recipes-graphics/xorg-lib/libxkbcommon_1.7.0.bb index 40cf616f0bd2..d87ff661d9f6 100644 --- a/meta/recipes-graphics/xorg-lib/libxkbcommon_1.7.0.bb +++ b/meta/recipes-graphics/xorg-lib/libxkbcommon_1.7.0.bb @@ -31,9 +31,9 @@ python populate_packages:prepend () { do_split_packages(d, d.expand('${libdir}'), r'^(lib.*)\.so\.*', '%s', '%s library', extra_depends='', allow_links=True) } -# Fix a following runtime error: +# Recommended to fix a possible runtime error: # xkbcommon: ERROR: couldn't find a Compose file for locale "C" -RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', 'libx11-compose-data', d)}" +RRECOMMENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', 'libx11-compose-data', d)}" BBCLASSEXTEND += "native" -- 2.39.5
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#209771): https://lists.openembedded.org/g/openembedded-core/message/209771 Mute This Topic: https://lists.openembedded.org/mt/110599470/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
