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

Burton, Ross ross.burton at intel.com
Fri May 3 09:58:23 UTC 2019


I'd much prefer a dependency that is conditional on the
DISTRO_FEATURES and have an alternative recipe that just ships the
locale data.

Ross

On Thu, 2 May 2019 at 20:41, <liu.ming50 at gmail.com> wrote:
>
> 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
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list