libxkbcommon: replace locale dependecy from RDEPENDS to RRECOMMENDS
PATCH 1/1 libxkbcommon: replace locale dependecy from RDEPENDS to RRECOMMENDS
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.
---
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(-)
meta/recipes-graphics/xorg-lib/libxkbcommon_1.7.0.bb +2 -2
@@ -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"
Signature · 1 line
2.39.5