From d76b8994b2c4052bd11e5a76eb5b7e35de8da045 Mon Sep 17 00:00:00 2001 From: Bart Ribbers Date: Mon, 9 Dec 2019 23:08:07 +0100 Subject: [PATCH] kde/plasma-phone-components: fix QtVirtualKeyboard size (!804) --- kde/plasma-phone-components/APKBUILD | 6 ++++-- .../set-qt-virtualkeyboard-style.patch | 12 ++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 kde/plasma-phone-components/set-qt-virtualkeyboard-style.patch diff --git a/kde/plasma-phone-components/APKBUILD b/kde/plasma-phone-components/APKBUILD index 84b5739d0..fbef1cf08 100644 --- a/kde/plasma-phone-components/APKBUILD +++ b/kde/plasma-phone-components/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Bart Ribbers pkgname=plasma-phone-components pkgver=0_git20191204 -pkgrel=0 +pkgrel=1 _commit="a7a5a3f0037ba3047da2d8a6f850137e9c04bc1e" pkgdesc="Modules providing phone functionality for Plasma" arch="all !armhf" @@ -13,6 +13,7 @@ makedepends="extra-cmake-modules kpeople-dev qt5-qtdeclarative-dev kactivities-d source=" $pkgname-$_commit.tar.gz::https://invent.kde.org/kde/plasma-phone-components/-/archive/$_commit/plasma-phone-components-$_commit.tar.gz set-postmarketos-wallpaper.patch + set-qt-virtualkeyboard-style.patch " options="!check" # No tests builddir="$srcdir/$pkgname-$_commit" @@ -42,4 +43,5 @@ package() { DESTDIR="$pkgdir" make install } sha512sums="828ce22811571cc74d2caa5a3369d2f1d9f6eb5b578a6acf57344c70cf27bf5f1531a2b16bc3ca65f34630a0fac07d032a7118f1453ed4660ed90206dc6f03b8 plasma-phone-components-a7a5a3f0037ba3047da2d8a6f850137e9c04bc1e.tar.gz -5853e72077c356f8347ea1c8503d5e301505acaa39ccf2fa105abe054a3063e735f5bcb2db1c1357f53032714599bfbf687fff2cbe21a1743930b946900ff7cf set-postmarketos-wallpaper.patch" +5853e72077c356f8347ea1c8503d5e301505acaa39ccf2fa105abe054a3063e735f5bcb2db1c1357f53032714599bfbf687fff2cbe21a1743930b946900ff7cf set-postmarketos-wallpaper.patch +4ac627403b64029626e53d071af5dcedf29347cbc0a51788431cbc308efdafb61430fe812cf197bc55eba92a99c87857fcfc79c6ec35ad4997248a4e7c765bc1 set-qt-virtualkeyboard-style.patch" diff --git a/kde/plasma-phone-components/set-qt-virtualkeyboard-style.patch b/kde/plasma-phone-components/set-qt-virtualkeyboard-style.patch new file mode 100644 index 000000000..0a0c9d63b --- /dev/null +++ b/kde/plasma-phone-components/set-qt-virtualkeyboard-style.patch @@ -0,0 +1,12 @@ +diff --git a/bin/kwinwrapper b/bin/kwinwrapper +index 986b9e3..4ec1b18 100755 +--- a/bin/kwinwrapper ++++ b/bin/kwinwrapper +@@ -15,6 +15,7 @@ export PLASMA_PLATFORM=phone + export QT_QUICK_CONTROLS_STYLE=Plasma + export QT_ENABLE_GLYPH_CACHE_WORKAROUND=1 + export QT_QUICK_CONTROLS_MOBILE=true ++export QT_VIRTUALKEYBOARD_STYLE=Plasma + + # work around to fix : https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1507584 + if [ -d /usr/lib/arm-linux-gnueabihf/libhybris-egl ]; then