[arch-commits] Commit in qt5-base/trunk (PKGBUILD qtbug-77364.patch)
Antonio Rojas
arojas at archlinux.org
Mon Sep 9 15:59:29 UTC 2019
Date: Monday, September 9, 2019 @ 15:59:28
Author: arojas
Revision: 362076
Fix keyboard input issues in webengine
Added:
qt5-base/trunk/qtbug-77364.patch
Modified:
qt5-base/trunk/PKGBUILD
-------------------+
PKGBUILD | 10 +++++++---
qtbug-77364.patch | 12 ++++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-09 08:51:32 UTC (rev 362075)
+++ PKGBUILD 2019-09-09 15:59:28 UTC (rev 362076)
@@ -5,7 +5,7 @@
pkgname=(qt5-base qt5-xcb-private-headers)
_qtver=5.13.1
pkgver=${_qtver/-/}
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -26,8 +26,10 @@
conflicts=('qtchooser')
groups=('qt' 'qt5')
_pkgfqn="${pkgbase/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('110cd08cdacab26274bf2519d3508046616c0b638f0d2f5e00bc8bad87469eab')
+source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz"
+ qtbug-77364.patch)
+sha256sums=('110cd08cdacab26274bf2519d3508046616c0b638f0d2f5e00bc8bad87469eab'
+ 'dc742814ab0c1b63da5916d96e3ef01fa96007c385ed033ae5b3a8cd8608c119')
prepare() {
cd ${_pkgfqn}
@@ -38,6 +40,8 @@
mkspecs/common/gcc-base.conf
sed -i -e "s|^\(QMAKE_LFLAGS_RELEASE.*\)|\1 ${LDFLAGS}|" \
mkspecs/common/g++-unix.conf
+
+ patch -p1 -i ../qtbug-77364.patch # Fix keyboard input in webengine
}
build() {
Added: qtbug-77364.patch
===================================================================
--- qtbug-77364.patch (rev 0)
+++ qtbug-77364.patch 2019-09-09 15:59:28 UTC (rev 362076)
@@ -0,0 +1,12 @@
+diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp
+index 04290a4ce1..27773d5762 100644
+--- a/src/widgets/kernel/qwidget.cpp
++++ b/src/widgets/kernel/qwidget.cpp
+@@ -6446,7 +6446,7 @@ void QWidget::setFocusProxy(QWidget * w)
+
+ if (changingAppFocusWidget) {
+ QWidget *newDeepestFocusProxy = d_func()->deepestFocusProxy();
+- QApplicationPrivate::focus_widget = newDeepestFocusProxy ? newDeepestFocusProxy : this;
++ QApplicationPrivate::setFocusWidget(newDeepestFocusProxy ? newDeepestFocusProxy : this, Qt::NoFocusReason);
+ }
+ }
More information about the arch-commits
mailing list