Fix high DPI scaling regression with Qt 6.4.1 on Windows

See https://bugreports.qt.io/browse/QTBUG-109234
This commit is contained in:
Martchus 2022-12-06 21:53:11 +01:00
parent 25ba758d58
commit a14abc0a2a
22 changed files with 159 additions and 68 deletions

View File

@ -16,7 +16,7 @@
pkgname=<%= $package_name %> pkgname=<%= $package_name %>
_qtver=6.4.1 _qtver=6.4.1
pkgver=${_qtver/-/} pkgver=${_qtver/-/}
pkgrel=1 pkgrel=2
arch=(any) arch=(any)
url='https://www.qt.io' url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom) license=(GPL3 LGPL3 FDL custom)

View File

@ -0,0 +1 @@
../mingw-w64/0013-Revert-Port-default-font-resolve-to-SystemParameters.patch

View File

@ -39,20 +39,22 @@ source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/subm
'0009-Find-fontconfig-via-pkg-config-for-correct-handling-.patch' '0009-Find-fontconfig-via-pkg-config-for-correct-handling-.patch'
'0010-Fix-dependency-of-xcb-image-on-xcb-util.patch' '0010-Fix-dependency-of-xcb-image-on-xcb-util.patch'
'0011-Allow-using-properties-of-PkgConfig-targets-for-glib.patch' '0011-Allow-using-properties-of-PkgConfig-targets-for-glib.patch'
'0012-Allow-using-properties-of-PkgConfig-targets-for-Wayl.patch') '0012-Allow-using-properties-of-PkgConfig-targets-for-Wayl.patch'
'0013-Revert-Port-default-font-resolve-to-SystemParameters.patch')
sha256sums=('532ad71cc0f9c8f7cb92766c47bc3d23263c60876becd9053802f9727af24fae' sha256sums=('532ad71cc0f9c8f7cb92766c47bc3d23263c60876becd9053802f9727af24fae'
'6aea45d1f820ff6b447a4d15773ce15389de7ed4e537788f62ed77676cc6c42f' '555998352955c22bcfbc778c70356f79c50f350deae76188a9f976121d3a47fc'
'1576f074c32c14e73a8b71445a5872b467d6ab1378e9a4eeeaf2a958b9d7cfe6' '7109f304e393223b977d48bca510158273c48fef645fda4a3a0e4f824a3e0e7a'
'36d024993349d4f671e8caf27b05213301a3e00c138a8dc1511b4869a77022b8' 'd8ea7ad9727c2b7df4e8a9460aaa715d42cfcaa4319406b49c4e3c6d14c371e3'
'9307389e5e21a9cb194606b704882c313bdbfeae933bf88d40b7cf1378638e26' 'fec43b95034a9568f7f0ef627c803b883a06954d8662a964af2a3a23a5ddbbef'
'ef675f0ecca827066dbcff73395467881a4b912afb83d0ded1bcd2a0468be5da' 'd371b4e7fe85d252b5dee5e45f89ef33ed47c09bd75e09a422ca50624648baa5'
'65dbc0e805fdd5bd43c8a9e509f20ae4159235cc2e56ce9080b9bd5c560000d6' 'b73b6de4efd0f18ad7147bdf0b76f0caf867c6858e19d797fb4e049aa2b0d488'
'5a9fad4e1765b4ddc8479255cad3dede58defb0b0103c38bde3a1cfad02298b9' 'c8974fc3c18185ad8db0c8d1c6569fc2144877a1decd9cab912df838e3470c3d'
'26eda5d063b19553d8e6f6a9bd9c447e0fdbaf672351dfe763ca310ca5552061' '51ca9371b44429005360bce0fd8b7579d9c6ef728ae1a412f4c02c2ede4c72a8'
'85cd61a2099af49c2bb93e06ead056524e9bb47ffab479f5df2fea5ffd420b69' 'eec0ef663e3b4bd017f77eb4eb2b191429b91634722043da6dc7aba86c7bfc19'
'89d93e9ac08b96b7eb6fd3d080e80404522f037803b3953f63ec7fcc9b26fd29' '43cdc8ebd6b23dd4ce451028e713f250b00b38339c3d558b2784070c2b81f531'
'b94517bf2d57a8d635207fdaf6e7ab5dd20ee66c0eb5a2080a769ffed90bab7f' 'd58e5ec17cdffab5e89e01688de0e444ff009a4264537d56c284a2364ff3ddf6'
'075d509531e4e70f9b85c9accb38cc326b27b16a231613a9e3bfe80e2e188a70') 'c58be70d806a456e622397763e9da117917d8c48f6153d2003c13758a481fff6'
'baefcd4cceff54566e16e061ba4ff06c1df1690a4bcd977d9cee8f373fe45684')
prepare () { prepare () {
cd $_pkgfqn cd $_pkgfqn

View File

@ -0,0 +1 @@
../mingw-w64/0013-Revert-Port-default-font-resolve-to-SystemParameters.patch

View File

@ -13,7 +13,7 @@
pkgname=mingw-w64-qt6-base-static pkgname=mingw-w64-qt6-base-static
_qtver=6.4.1 _qtver=6.4.1
pkgver=${_qtver/-/} pkgver=${_qtver/-/}
pkgrel=1 pkgrel=2
arch=(any) arch=(any)
url='https://www.qt.io' url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom) license=(GPL3 LGPL3 FDL custom)
@ -42,20 +42,22 @@ source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/subm
'0009-Find-fontconfig-via-pkg-config-for-correct-handling-.patch' '0009-Find-fontconfig-via-pkg-config-for-correct-handling-.patch'
'0010-Fix-dependency-of-xcb-image-on-xcb-util.patch' '0010-Fix-dependency-of-xcb-image-on-xcb-util.patch'
'0011-Allow-using-properties-of-PkgConfig-targets-for-glib.patch' '0011-Allow-using-properties-of-PkgConfig-targets-for-glib.patch'
'0012-Allow-using-properties-of-PkgConfig-targets-for-Wayl.patch') '0012-Allow-using-properties-of-PkgConfig-targets-for-Wayl.patch'
'0013-Revert-Port-default-font-resolve-to-SystemParameters.patch')
sha256sums=('532ad71cc0f9c8f7cb92766c47bc3d23263c60876becd9053802f9727af24fae' sha256sums=('532ad71cc0f9c8f7cb92766c47bc3d23263c60876becd9053802f9727af24fae'
'6aea45d1f820ff6b447a4d15773ce15389de7ed4e537788f62ed77676cc6c42f' '555998352955c22bcfbc778c70356f79c50f350deae76188a9f976121d3a47fc'
'1576f074c32c14e73a8b71445a5872b467d6ab1378e9a4eeeaf2a958b9d7cfe6' '7109f304e393223b977d48bca510158273c48fef645fda4a3a0e4f824a3e0e7a'
'36d024993349d4f671e8caf27b05213301a3e00c138a8dc1511b4869a77022b8' 'd8ea7ad9727c2b7df4e8a9460aaa715d42cfcaa4319406b49c4e3c6d14c371e3'
'9307389e5e21a9cb194606b704882c313bdbfeae933bf88d40b7cf1378638e26' 'fec43b95034a9568f7f0ef627c803b883a06954d8662a964af2a3a23a5ddbbef'
'ef675f0ecca827066dbcff73395467881a4b912afb83d0ded1bcd2a0468be5da' 'd371b4e7fe85d252b5dee5e45f89ef33ed47c09bd75e09a422ca50624648baa5'
'65dbc0e805fdd5bd43c8a9e509f20ae4159235cc2e56ce9080b9bd5c560000d6' 'b73b6de4efd0f18ad7147bdf0b76f0caf867c6858e19d797fb4e049aa2b0d488'
'5a9fad4e1765b4ddc8479255cad3dede58defb0b0103c38bde3a1cfad02298b9' 'c8974fc3c18185ad8db0c8d1c6569fc2144877a1decd9cab912df838e3470c3d'
'26eda5d063b19553d8e6f6a9bd9c447e0fdbaf672351dfe763ca310ca5552061' '51ca9371b44429005360bce0fd8b7579d9c6ef728ae1a412f4c02c2ede4c72a8'
'85cd61a2099af49c2bb93e06ead056524e9bb47ffab479f5df2fea5ffd420b69' 'eec0ef663e3b4bd017f77eb4eb2b191429b91634722043da6dc7aba86c7bfc19'
'89d93e9ac08b96b7eb6fd3d080e80404522f037803b3953f63ec7fcc9b26fd29' '43cdc8ebd6b23dd4ce451028e713f250b00b38339c3d558b2784070c2b81f531'
'b94517bf2d57a8d635207fdaf6e7ab5dd20ee66c0eb5a2080a769ffed90bab7f' 'd58e5ec17cdffab5e89e01688de0e444ff009a4264537d56c284a2364ff3ddf6'
'075d509531e4e70f9b85c9accb38cc326b27b16a231613a9e3bfe80e2e188a70') 'c58be70d806a456e622397763e9da117917d8c48f6153d2003c13758a481fff6'
'baefcd4cceff54566e16e061ba4ff06c1df1690a4bcd977d9cee8f373fe45684')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32' _architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -1,7 +1,7 @@
From cf97dadc21061c150c4cc813255b30f9f1d0aea0 Mon Sep 17 00:00:00 2001 From cf97dadc21061c150c4cc813255b30f9f1d0aea0 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Thu, 5 Nov 2020 22:08:10 +0100 Date: Thu, 5 Nov 2020 22:08:10 +0100
Subject: [PATCH 01/12] Use CMake's default import library suffix Subject: [PATCH 01/13] Use CMake's default import library suffix
Change-Id: I3dbedaec74683e5bfd008f7f2fd1e046dfb921b2 Change-Id: I3dbedaec74683e5bfd008f7f2fd1e046dfb921b2
--- ---

View File

@ -1,7 +1,7 @@
From d02b3af0c5a9aa1ee4dbd7e12ae391189d4f7aad Mon Sep 17 00:00:00 2001 From d02b3af0c5a9aa1ee4dbd7e12ae391189d4f7aad Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Wed, 7 Oct 2020 12:13:37 +0200 Date: Wed, 7 Oct 2020 12:13:37 +0200
Subject: [PATCH 02/12] Fix finding D-Bus Subject: [PATCH 02/13] Fix finding D-Bus
Change-Id: Ie21eb9cbc6b1b5d9c8b34eea46f54718e5926986 Change-Id: Ie21eb9cbc6b1b5d9c8b34eea46f54718e5926986
--- ---

View File

@ -1,7 +1,7 @@
From efbef7741347ae7330168e89c90b2863fc9e84e2 Mon Sep 17 00:00:00 2001 From efbef7741347ae7330168e89c90b2863fc9e84e2 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Thu, 5 Nov 2020 21:13:19 +0100 Date: Thu, 5 Nov 2020 21:13:19 +0100
Subject: [PATCH 03/12] Fix using static PCRE2 and DBus-1 Subject: [PATCH 03/13] Fix using static PCRE2 and DBus-1
When making a static build of Qt we're using the static version of these When making a static build of Qt we're using the static version of these
libraries and must define the corresponding macros. libraries and must define the corresponding macros.

View File

@ -1,7 +1,7 @@
From a4584c905ff80fb950f24f36d9b591a7209b7f6d Mon Sep 17 00:00:00 2001 From a4584c905ff80fb950f24f36d9b591a7209b7f6d Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Thu, 5 Nov 2020 21:59:33 +0100 Date: Thu, 5 Nov 2020 21:59:33 +0100
Subject: [PATCH 04/12] Fix transitive dependencies (of static libraries) Subject: [PATCH 04/13] Fix transitive dependencies (of static libraries)
The dependencies of these libraries are not reliably picked up by their The dependencies of these libraries are not reliably picked up by their
corresponding find modules. This change allows adding the required corresponding find modules. This change allows adding the required

View File

@ -1,7 +1,7 @@
From 28d2ee07e952356a5a05740a91043632490ac03f Mon Sep 17 00:00:00 2001 From 28d2ee07e952356a5a05740a91043632490ac03f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Mon, 2 Nov 2020 13:47:45 +0100 Date: Mon, 2 Nov 2020 13:47:45 +0100
Subject: [PATCH 05/12] Fix libjpeg workaround for conflict with rpcndr.h Subject: [PATCH 05/13] Fix libjpeg workaround for conflict with rpcndr.h
Otherwise it won't compile against mingw-w64-libjpeg-turbo. This version of Otherwise it won't compile against mingw-w64-libjpeg-turbo. This version of
libjpeg seems to take care of the conflict already as long as jconfig.h is libjpeg seems to take care of the conflict already as long as jconfig.h is

View File

@ -1,7 +1,7 @@
From 6d2610683796d3620fac418a675efe6590552e7f Mon Sep 17 00:00:00 2001 From 6d2610683796d3620fac418a675efe6590552e7f Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 8 Nov 2020 00:33:12 +0100 Date: Sun, 8 Nov 2020 00:33:12 +0100
Subject: [PATCH 06/12] Support finding static MariaDB client library Subject: [PATCH 06/13] Support finding static MariaDB client library
We need to reverse the order to look for mariadb first (and only then We need to reverse the order to look for mariadb first (and only then
for mysql) because otherwise it would pick up the static library for mysql) because otherwise it would pick up the static library

View File

@ -1,7 +1,7 @@
From 789beac0adcac406e07e5feef861cea156799005 Mon Sep 17 00:00:00 2001 From 789beac0adcac406e07e5feef861cea156799005 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 8 Nov 2020 00:34:09 +0100 Date: Sun, 8 Nov 2020 00:34:09 +0100
Subject: [PATCH 07/12] Allow overriding CMAKE_FIND_LIBRARY_SUFFIXES to prefer Subject: [PATCH 07/13] Allow overriding CMAKE_FIND_LIBRARY_SUFFIXES to prefer
static libraries static libraries
Change-Id: I4c617e0706044d31da1bd56ae51615dc8ed37099 Change-Id: I4c617e0706044d31da1bd56ae51615dc8ed37099

View File

@ -1,7 +1,7 @@
From 9bd12ac979584bb0f94aa1e5ffbc8fb40e8166b6 Mon Sep 17 00:00:00 2001 From 9bd12ac979584bb0f94aa1e5ffbc8fb40e8166b6 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sat, 26 Jun 2021 22:24:12 +0200 Date: Sat, 26 Jun 2021 22:24:12 +0200
Subject: [PATCH 08/12] Fix crashes in rasterization code using setjmp Subject: [PATCH 08/13] Fix crashes in rasterization code using setjmp
MIME-Version: 1.0 MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8 Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit Content-Transfer-Encoding: 8bit

View File

@ -1,7 +1,7 @@
From c4952d4f828bbb3eca96cb215800db79d38ee81a Mon Sep 17 00:00:00 2001 From c4952d4f828bbb3eca96cb215800db79d38ee81a Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 24 Apr 2022 23:00:27 +0200 Date: Sun, 24 Apr 2022 23:00:27 +0200
Subject: [PATCH 09/12] Find fontconfig via pkg-config for correct handling of Subject: [PATCH 09/13] Find fontconfig via pkg-config for correct handling of
its dependencies its dependencies
CMake's own find module unforunately does not consider fontconfig's deps so CMake's own find module unforunately does not consider fontconfig's deps so

View File

@ -1,7 +1,7 @@
From 4b1795c6abeb6a10ab12522f0610ca69f7458c21 Mon Sep 17 00:00:00 2001 From 4b1795c6abeb6a10ab12522f0610ca69f7458c21 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 24 Apr 2022 23:49:36 +0200 Date: Sun, 24 Apr 2022 23:49:36 +0200
Subject: [PATCH 10/12] Fix dependency of xcb-image on xcb-util Subject: [PATCH 10/13] Fix dependency of xcb-image on xcb-util
Considering this linker error, xcb-image apparently depends on xcb-util: Considering this linker error, xcb-image apparently depends on xcb-util:
``` ```

View File

@ -1,7 +1,7 @@
From e05cfc4eaa778da173a0fadecff1ea21e5a80bd1 Mon Sep 17 00:00:00 2001 From e05cfc4eaa778da173a0fadecff1ea21e5a80bd1 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Tue, 26 Apr 2022 20:16:31 +0200 Date: Tue, 26 Apr 2022 20:16:31 +0200
Subject: [PATCH 11/12] Allow using properties of PkgConfig targets for glib2 Subject: [PATCH 11/13] Allow using properties of PkgConfig targets for glib2
to handle deps of static glib2 to handle deps of static glib2
Change-Id: I37d20256d17ae9cc0775e32aa479f1e433ece908 Change-Id: I37d20256d17ae9cc0775e32aa479f1e433ece908

View File

@ -1,7 +1,7 @@
From cac8f8ecffeb18060b55e535e4d90ffd90e4be41 Mon Sep 17 00:00:00 2001 From cac8f8ecffeb18060b55e535e4d90ffd90e4be41 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net> From: Martchus <martchus@gmx.net>
Date: Sun, 1 May 2022 23:28:26 +0200 Date: Sun, 1 May 2022 23:28:26 +0200
Subject: [PATCH 12/12] Allow using properties of PkgConfig targets for Wayland Subject: [PATCH 12/13] Allow using properties of PkgConfig targets for Wayland
to handle deps of static libs to handle deps of static libs
Change-Id: I2a4acf0acaf5a363d551384bb4c33c48a3792f27 Change-Id: I2a4acf0acaf5a363d551384bb4c33c48a3792f27

View File

@ -0,0 +1,80 @@
From 52717f78f818d16f3a5921e0a40244a29e952d81 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Tue, 6 Dec 2022 21:49:55 +0100
Subject: [PATCH 13/13] Revert "Port default font resolve to
SystemParametersInfoForDpi"
This reverts commit 45358c29d53242bf5ff401d06eebec53ffc6c4c8.
---
src/gui/text/windows/qwindowsfontdatabasebase.cpp | 15 +++++++++++----
src/gui/text/windows/qwindowsfontdatabasebase_p.h | 1 +
src/plugins/platforms/windows/qwindowsscreen.cpp | 5 ++++-
3 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/gui/text/windows/qwindowsfontdatabasebase.cpp b/src/gui/text/windows/qwindowsfontdatabasebase.cpp
index f45678c65c..d05410cf5f 100644
--- a/src/gui/text/windows/qwindowsfontdatabasebase.cpp
+++ b/src/gui/text/windows/qwindowsfontdatabasebase.cpp
@@ -566,9 +566,16 @@ void QWindowsFontDatabaseBase::createDirectWriteFactory(IDWriteFactory **factory
}
#endif // directwrite && direct2d
+static int s_defaultVerticalDPI = 96; // Native Pixels
+
int QWindowsFontDatabaseBase::defaultVerticalDPI()
{
- return 96;
+ return s_defaultVerticalDPI;
+}
+
+void QWindowsFontDatabaseBase::setDefaultVerticalDPI(int d)
+{
+ s_defaultVerticalDPI = d;
}
LOGFONT QWindowsFontDatabaseBase::fontDefToLOGFONT(const QFontDef &request, const QString &faceName)
@@ -683,9 +690,9 @@ HFONT QWindowsFontDatabaseBase::systemFont()
QFont QWindowsFontDatabaseBase::systemDefaultFont()
{
// Qt 6: Obtain default GUI font (typically "Segoe UI, 9pt", see QTBUG-58610)
- NONCLIENTMETRICS ncm = {};
- ncm.cbSize = sizeof(ncm);
- SystemParametersInfoForDpi(SPI_GETNONCLIENTMETRICS, ncm.cbSize, &ncm, 0, defaultVerticalDPI());
+ NONCLIENTMETRICS ncm;
+ ncm.cbSize = FIELD_OFFSET(NONCLIENTMETRICS, lfMessageFont) + sizeof(LOGFONT);
+ SystemParametersInfo(SPI_GETNONCLIENTMETRICS, ncm.cbSize , &ncm, 0);
const QFont systemFont = QWindowsFontDatabase::LOGFONT_to_QFont(ncm.lfMessageFont);
qCDebug(lcQpaFonts) << __FUNCTION__ << systemFont;
return systemFont;
diff --git a/src/gui/text/windows/qwindowsfontdatabasebase_p.h b/src/gui/text/windows/qwindowsfontdatabasebase_p.h
index 60acc5cb06..1451eed051 100644
--- a/src/gui/text/windows/qwindowsfontdatabasebase_p.h
+++ b/src/gui/text/windows/qwindowsfontdatabasebase_p.h
@@ -57,6 +57,7 @@ public:
QFontEngine *fontEngine(const QByteArray &fontData, qreal pixelSize, QFont::HintingPreference hintingPreference) override;
static int defaultVerticalDPI();
+ static void setDefaultVerticalDPI(int d);
static QSharedPointer<QWindowsFontEngineData> data();
#if QT_CONFIG(directwrite)
diff --git a/src/plugins/platforms/windows/qwindowsscreen.cpp b/src/plugins/platforms/windows/qwindowsscreen.cpp
index f15a7a870d..6f0b949b67 100644
--- a/src/plugins/platforms/windows/qwindowsscreen.cpp
+++ b/src/plugins/platforms/windows/qwindowsscreen.cpp
@@ -182,8 +182,11 @@ static bool monitorData(HMONITOR hMonitor, QWindowsScreenData *data)
// EnumDisplayMonitors (as opposed to EnumDisplayDevices) enumerates only
// virtual desktop screens.
data->flags |= QWindowsScreenData::VirtualDesktop;
- if (info.dwFlags & MONITORINFOF_PRIMARY)
+ if (info.dwFlags & MONITORINFOF_PRIMARY) {
data->flags |= QWindowsScreenData::PrimaryScreen;
+ if ((data->flags & QWindowsScreenData::LockScreen) == 0)
+ QWindowsFontDatabase::setDefaultVerticalDPI(data->dpi.second);
+ }
return true;
}
--
2.38.1

View File

@ -13,7 +13,7 @@
pkgname=mingw-w64-qt6-base pkgname=mingw-w64-qt6-base
_qtver=6.4.1 _qtver=6.4.1
pkgver=${_qtver/-/} pkgver=${_qtver/-/}
pkgrel=1 pkgrel=2
arch=(any) arch=(any)
url='https://www.qt.io' url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom) license=(GPL3 LGPL3 FDL custom)
@ -42,20 +42,22 @@ source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/subm
'0009-Find-fontconfig-via-pkg-config-for-correct-handling-.patch' '0009-Find-fontconfig-via-pkg-config-for-correct-handling-.patch'
'0010-Fix-dependency-of-xcb-image-on-xcb-util.patch' '0010-Fix-dependency-of-xcb-image-on-xcb-util.patch'
'0011-Allow-using-properties-of-PkgConfig-targets-for-glib.patch' '0011-Allow-using-properties-of-PkgConfig-targets-for-glib.patch'
'0012-Allow-using-properties-of-PkgConfig-targets-for-Wayl.patch') '0012-Allow-using-properties-of-PkgConfig-targets-for-Wayl.patch'
'0013-Revert-Port-default-font-resolve-to-SystemParameters.patch')
sha256sums=('532ad71cc0f9c8f7cb92766c47bc3d23263c60876becd9053802f9727af24fae' sha256sums=('532ad71cc0f9c8f7cb92766c47bc3d23263c60876becd9053802f9727af24fae'
'6aea45d1f820ff6b447a4d15773ce15389de7ed4e537788f62ed77676cc6c42f' '555998352955c22bcfbc778c70356f79c50f350deae76188a9f976121d3a47fc'
'1576f074c32c14e73a8b71445a5872b467d6ab1378e9a4eeeaf2a958b9d7cfe6' '7109f304e393223b977d48bca510158273c48fef645fda4a3a0e4f824a3e0e7a'
'36d024993349d4f671e8caf27b05213301a3e00c138a8dc1511b4869a77022b8' 'd8ea7ad9727c2b7df4e8a9460aaa715d42cfcaa4319406b49c4e3c6d14c371e3'
'9307389e5e21a9cb194606b704882c313bdbfeae933bf88d40b7cf1378638e26' 'fec43b95034a9568f7f0ef627c803b883a06954d8662a964af2a3a23a5ddbbef'
'ef675f0ecca827066dbcff73395467881a4b912afb83d0ded1bcd2a0468be5da' 'd371b4e7fe85d252b5dee5e45f89ef33ed47c09bd75e09a422ca50624648baa5'
'65dbc0e805fdd5bd43c8a9e509f20ae4159235cc2e56ce9080b9bd5c560000d6' 'b73b6de4efd0f18ad7147bdf0b76f0caf867c6858e19d797fb4e049aa2b0d488'
'5a9fad4e1765b4ddc8479255cad3dede58defb0b0103c38bde3a1cfad02298b9' 'c8974fc3c18185ad8db0c8d1c6569fc2144877a1decd9cab912df838e3470c3d'
'26eda5d063b19553d8e6f6a9bd9c447e0fdbaf672351dfe763ca310ca5552061' '51ca9371b44429005360bce0fd8b7579d9c6ef728ae1a412f4c02c2ede4c72a8'
'85cd61a2099af49c2bb93e06ead056524e9bb47ffab479f5df2fea5ffd420b69' 'eec0ef663e3b4bd017f77eb4eb2b191429b91634722043da6dc7aba86c7bfc19'
'89d93e9ac08b96b7eb6fd3d080e80404522f037803b3953f63ec7fcc9b26fd29' '43cdc8ebd6b23dd4ce451028e713f250b00b38339c3d558b2784070c2b81f531'
'b94517bf2d57a8d635207fdaf6e7ab5dd20ee66c0eb5a2080a769ffed90bab7f' 'd58e5ec17cdffab5e89e01688de0e444ff009a4264537d56c284a2364ff3ddf6'
'075d509531e4e70f9b85c9accb38cc326b27b16a231613a9e3bfe80e2e188a70') 'c58be70d806a456e622397763e9da117917d8c48f6153d2003c13758a481fff6'
'baefcd4cceff54566e16e061ba4ff06c1df1690a4bcd977d9cee8f373fe45684')
_architectures='i686-w64-mingw32 x86_64-w64-mingw32' _architectures='i686-w64-mingw32 x86_64-w64-mingw32'

View File

@ -0,0 +1 @@
../mingw-w64/0013-Revert-Port-default-font-resolve-to-SystemParameters.patch

View File

@ -41,20 +41,22 @@ source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/subm
'0009-Find-fontconfig-via-pkg-config-for-correct-handling-.patch' '0009-Find-fontconfig-via-pkg-config-for-correct-handling-.patch'
'0010-Fix-dependency-of-xcb-image-on-xcb-util.patch' '0010-Fix-dependency-of-xcb-image-on-xcb-util.patch'
'0011-Allow-using-properties-of-PkgConfig-targets-for-glib.patch' '0011-Allow-using-properties-of-PkgConfig-targets-for-glib.patch'
'0012-Allow-using-properties-of-PkgConfig-targets-for-Wayl.patch') '0012-Allow-using-properties-of-PkgConfig-targets-for-Wayl.patch'
'0013-Revert-Port-default-font-resolve-to-SystemParameters.patch')
sha256sums=('532ad71cc0f9c8f7cb92766c47bc3d23263c60876becd9053802f9727af24fae' sha256sums=('532ad71cc0f9c8f7cb92766c47bc3d23263c60876becd9053802f9727af24fae'
'6aea45d1f820ff6b447a4d15773ce15389de7ed4e537788f62ed77676cc6c42f' '555998352955c22bcfbc778c70356f79c50f350deae76188a9f976121d3a47fc'
'1576f074c32c14e73a8b71445a5872b467d6ab1378e9a4eeeaf2a958b9d7cfe6' '7109f304e393223b977d48bca510158273c48fef645fda4a3a0e4f824a3e0e7a'
'36d024993349d4f671e8caf27b05213301a3e00c138a8dc1511b4869a77022b8' 'd8ea7ad9727c2b7df4e8a9460aaa715d42cfcaa4319406b49c4e3c6d14c371e3'
'9307389e5e21a9cb194606b704882c313bdbfeae933bf88d40b7cf1378638e26' 'fec43b95034a9568f7f0ef627c803b883a06954d8662a964af2a3a23a5ddbbef'
'ef675f0ecca827066dbcff73395467881a4b912afb83d0ded1bcd2a0468be5da' 'd371b4e7fe85d252b5dee5e45f89ef33ed47c09bd75e09a422ca50624648baa5'
'65dbc0e805fdd5bd43c8a9e509f20ae4159235cc2e56ce9080b9bd5c560000d6' 'b73b6de4efd0f18ad7147bdf0b76f0caf867c6858e19d797fb4e049aa2b0d488'
'5a9fad4e1765b4ddc8479255cad3dede58defb0b0103c38bde3a1cfad02298b9' 'c8974fc3c18185ad8db0c8d1c6569fc2144877a1decd9cab912df838e3470c3d'
'26eda5d063b19553d8e6f6a9bd9c447e0fdbaf672351dfe763ca310ca5552061' '51ca9371b44429005360bce0fd8b7579d9c6ef728ae1a412f4c02c2ede4c72a8'
'85cd61a2099af49c2bb93e06ead056524e9bb47ffab479f5df2fea5ffd420b69' 'eec0ef663e3b4bd017f77eb4eb2b191429b91634722043da6dc7aba86c7bfc19'
'89d93e9ac08b96b7eb6fd3d080e80404522f037803b3953f63ec7fcc9b26fd29' '43cdc8ebd6b23dd4ce451028e713f250b00b38339c3d558b2784070c2b81f531'
'b94517bf2d57a8d635207fdaf6e7ab5dd20ee66c0eb5a2080a769ffed90bab7f' 'd58e5ec17cdffab5e89e01688de0e444ff009a4264537d56c284a2364ff3ddf6'
'075d509531e4e70f9b85c9accb38cc326b27b16a231613a9e3bfe80e2e188a70') 'c58be70d806a456e622397763e9da117917d8c48f6153d2003c13758a481fff6'
'baefcd4cceff54566e16e061ba4ff06c1df1690a4bcd977d9cee8f373fe45684')
prepare () { prepare () {
cd $_pkgfqn cd $_pkgfqn

View File

@ -17,7 +17,7 @@ pkgname=mingw-w64-syncthingtray-qt6
_name=${pkgname#mingw-w64-} _name=${pkgname#mingw-w64-}
_name=${_name%-qt6} _name=${_name%-qt6}
pkgver=1.3.1 pkgver=1.3.1
pkgrel=1 pkgrel=2
arch=('any') arch=('any')
pkgdesc='Tray application for Syncthing (mingw-w64)' pkgdesc='Tray application for Syncthing (mingw-w64)'
license=('GPL') license=('GPL')