WebPlatformForEmbedded / libwpe

General-purpose library specifically developed for the WPE-flavored port of WebKit.
BSD 2-Clause "Simplified" License
49 stars 36 forks source link

Allow disabling of xkb #92

Closed donny-dont closed 2 years ago

donny-dont commented 2 years ago

The xkbcommon library is geared towards platforms using the XKB specification so it should be disableable. Add a WPE_DISABLE_XKB_INPUT option to prevent xkb code from being compiled. By default this option is off so this is not a breaking change.

The contents of wpe/input.h that require xkbcommon are split into wpe/input-xkb.h The src/input.c was renamed to src/input-xkb.c to indicate the file is specific to xkb being enabled.

donny-dont commented 2 years ago

I think something is up with the GitHub Action because its not getting past a python install for me there.

aperezdc commented 2 years ago

I think something is up with the GitHub Action because its not getting past a python install for me there.

@donny-dont: Thanks for bringing this to my attention, I fixed the CI in https://github.com/WebPlatformForEmbedded/libwpe/pull/93 — you may need to rebase your branch to pick the changes 😺

donny-dont commented 2 years ago

Closing since #94 landed