Please add it to PACKAGECONFIG_DISTRO variable, where it was originally. Also, 
previously it was done in the arago.conf distro configuration, as adjusting 
PACKAGECONFIGs from their default values is considered a distro-specific 
change. Plus, it avoids creating tons of one-line .bbappends (though in the 
case of qtbase, we already have a .bbappend for other reasons). Lastly, 
refrain from using :append w/o additional overrides and use += instead - it 
automatically handles whitespaces and is much easier to undo downstream.


On Tue, Jun 18, 2024 at 05:54:53PM +0530, Chirag Shilwant wrote:
> From: Sai Sree Kartheek Adivi <[email protected]>
> 
> - For QT apps to use physical keyboard, xkbcommon has to be added in
> PACKAGECONFIG. This was supported until 09.01 using xkbcommon-evdev which at
> present is an invalid PACKAGECONFIG & hence was dropped from meta-arago [1].
> 
> - Hence, add xkbcommon to PACKAGECONFIG which will enable the use of
> physical keyboard in QT apps.
> 
> [1]: 
> https://git.ti.com/cgit/arago-project/meta-arago/commit/?h=scarthgap&id=de16946741249265a38acb7bb503b39a0c2b4175
> 
> Signed-off-by: Sai Sree Kartheek Adivi <[email protected]>
> Signed-off-by: Chirag Shilwant <[email protected]>
> ---
> v2: Add xkbcommon in PACKAGECONFIG to all platforms instead of making it k3 
> machine specific
> 
>  meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend 
> b/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend
> index 8ae8110b..4ecfd7ed 100644
> --- a/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend
> +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend
> @@ -4,6 +4,8 @@ GLES_EXTRA_DEPS = "libdrm wayland"
>  
>  PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl 
> ${GLES_EXTRA_DEPS}"
>  
> +PACKAGECONFIG:append = " xkbcommon"
> +
>  PR:append = ".arago17"
>  
>  QT_CONFIG_FLAGS += "-qpa ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 
> 'wayland', 'eglfs', d)}"
> -- 
> 2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15401): 
https://lists.yoctoproject.org/g/meta-arago/message/15401
Mute This Topic: https://lists.yoctoproject.org/mt/106739547/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to