summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiago De Franco <hiago.franco@toradex.com>2025-01-13 21:25:03 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-01-20 13:38:59 +0000
commit8ab00f5647312b8e5c50fc1dd1dd7bd7ec54a033 (patch)
tree6284513518df8d29662ca6047937e7c6e7aae00f
parent141e4cffd7db243c457779c40bbaab204611e126 (diff)
downloadpoky-8ab00f5647312b8e5c50fc1dd1dd7bd7ec54a033.tar.gz
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>
-rw-r--r--meta/recipes-graphics/xorg-lib/libxkbcommon_1.7.0.bb4
1 files 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 40cf616f0b..d87ff661d9 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 () {
31 do_split_packages(d, d.expand('${libdir}'), r'^(lib.*)\.so\.*', '%s', '%s library', extra_depends='', allow_links=True) 31 do_split_packages(d, d.expand('${libdir}'), r'^(lib.*)\.so\.*', '%s', '%s library', extra_depends='', allow_links=True)
32} 32}
33 33
34# Fix a following runtime error: 34# Recommended to fix a possible runtime error:
35# xkbcommon: ERROR: couldn't find a Compose file for locale "C" 35# xkbcommon: ERROR: couldn't find a Compose file for locale "C"
36RDEPENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', 'libx11-compose-data', d)}" 36RRECOMMENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-locale', 'libx11-compose-data', d)}"
37 37
38BBCLASSEXTEND += "native" 38BBCLASSEXTEND += "native"
39 39