mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
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. (From OE-Core rev: 58f92b66243a4f6aec9d3890b4d6c3d0ae0dc4d0) Signed-off-by: Hiago De Franco <hiago.franco@toradex.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
141e4cffd7
commit
8ab00f5647
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user