Skip to content

Fix a libxkbcommon runtime error

[email protected] openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2meta: unset REQUIRED_DISTRO_FEATURES for libx11 and its dependentsmeta/recipes-graphics/xorg-lib/libx11_1.6.7.bb meta/recipes-graphics/xorg-lib/libxau_1.0.9.bb meta/recipes-graphics/xorg-lib/libxcb_1.13.1.bb +2 more+8 -40 replies
2/2libxkbcommon: RDEPENDS on libx11-localemeta/recipes-graphics/xorg-lib/libxkbcommon_0.8.4.bb+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Fix a libxkbcommon runtime error

From: Ming Liu <[email protected]>

We had observed a runtime error when we run a QT application on weston compositor, as follows:
| xkbcommon: ERROR: couldn't find a Compose file for locale "C"

after some investigation, we found the libx11-locale is being required by libxkbcommon at runtime, or else we get the above error and the QT widgets could not get the keyboard events.

To fix the issue, I think there might be two ways:

1 Allow the libx11 to be built without the requirement for x11 being in
DISTRO_FEATURES, as this patch series are trying to do.
2 Create another libx11-data recipe to provide the locales of libx11.

I would like to get your input about this fix, please kindly help me review it.

Ming Liu (2):
meta: unset REQUIRED_DISTRO_FEATURES for libx11 and its dependents
libxkbcommon: RDEPENDS on libx11-locale

 meta/recipes-graphics/xorg-lib/libx11_1.6.7.bb       | 2 ++
 meta/recipes-graphics/xorg-lib/libxau_1.0.9.bb       | 2 ++
 meta/recipes-graphics/xorg-lib/libxcb_1.13.1.bb      | 4 ----
 meta/recipes-graphics/xorg-lib/libxdmcp_1.1.3.bb     | 2 ++
 meta/recipes-graphics/xorg-lib/libxkbcommon_0.8.4.bb | 4 ++++
 meta/recipes-graphics/xorg-lib/xtrans_1.4.0.bb       | 2 ++
 6 files changed, 12 insertions(+), 4 deletions(-)
Signature · 1 line
2.7.4