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

Ming Liu liu.ming50 at gmail.com
Fri May 3 14:22:13 UTC 2019


Hi, Ross:

Copy that, will make a V2 soon.

the best,
thank you

Burton, Ross <ross.burton at intel.com> 於 2019年5月3日 週五 上午11:58寫道:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20190503/66c8ab42/attachment.html>


More information about the Openembedded-core mailing list