Skip to contentSkip to conversation

qtbase: Patch to support xkbcommon 1.6.0

PATCH New Ryan Eatmon 1 participant 1 message Dec 5, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qtbase: Patch to support xkbcommon 1.6.0

xkbcommon 1.6.0 (and newer) remove 4 defintions that qtbase seems to use. Backport an upstream patch to look to see if they are defined and ignore them if they're not.

This is a temporary patch to fix our master builds while we wait for the meta-q5 patch [1] to make it to the master branch. This will be reverted once that patch is promoted.

[1] https://github.com/meta-qt5/meta-qt5/pull/545

---
 .../recipes-qt/qt5/qtbase-native_%.bbappend   |  7 +++
 ...ld-with-libxkbcommon-1.6.0-and-later.patch | 55 +++++++++++++++++++
 .../recipes-qt/qt5/qtbase_%.bbappend          |  1 +
 3 files changed, 63 insertions(+)
 create mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase-native_%.bbappend
 create mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0027-xkb-fix-build-with-libxkbcommon-1.6.0-and-later.patch
meta-arago-distro/recipes-qt/qt5/qtbase-native_%.bbappend new file +7 -0
new file mode 100644
index 00000000..e49941db
@@ -0,0 +1,7 @@
+
+FILESEXTRAPATHS:prepend := "${THISDIR}/qtbase:"
+
+SRC_URI += "\
+    file://0027-xkb-fix-build-with-libxkbcommon-1.6.0-and-later.patch \
+"
+
meta-arago-distro/recipes-qt/qt5/qtbase/0027-xkb-fix-build-with-libxkbcommon-1.6.0-and-later.patch new file +55 -0

55 lines not on this page · raw message

meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend +1 -0
index 8ae8110b..3d875683 100644
@@ -21,6 +21,7 @@ SRC_URI += "\
     file://0001-deform-Fix-how-controls-are-shown.patch \
     file://0001-qtbase-plugins-platforms-eglfs_kms-fix-compiler-erro.patch \
     file://0001-eglfs-Force-888-format-only-on-env-flag.patch \
+    file://0027-xkb-fix-build-with-libxkbcommon-1.6.0-and-later.patch \
 "
 
 python do_patch:append() {
Signature · 1 line
2.17.1