From: Hiago De Franco Date: Tue, 14 Jan 2025 00:25:03 +0000 (-0300) Subject: libxkbcommon: replace locale dependecy from RDEPENDS to RRECOMMENDS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58f92b66243a4f6aec9d3890b4d6c3d0ae0dc4d0;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libxkbcommon: replace locale dependecy from RDEPENDS to RRECOMMENDS 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- 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 40cf616f0bd..d87ff661d9f 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"