[OE-core] [PATCH 0/2] Fix a libxkbcommon runtime error

liu.ming50 at gmail.com liu.ming50 at gmail.com
Thu May 2 19:40:53 UTC 2019


From: Ming Liu <liu.ming50 at gmail.com>

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(-)

-- 
2.7.4



More information about the Openembedded-core mailing list