From d6c630b3f12db5fe6e56f775704e4b8544ded160 Mon Sep 17 00:00:00 2001 From: Rmys Date: Thu, 19 Jun 2025 11:44:45 +0300 Subject: [PATCH] kget ver. bump --- .../kde/applications/kget/files/gpgme.patch | 23 +++++++++++++++++++ desktop/kde/applications/kget/pspec.xml | 3 +++ 2 files changed, 26 insertions(+) create mode 100644 desktop/kde/applications/kget/files/gpgme.patch diff --git a/desktop/kde/applications/kget/files/gpgme.patch b/desktop/kde/applications/kget/files/gpgme.patch new file mode 100644 index 0000000000..3ed123b777 --- /dev/null +++ b/desktop/kde/applications/kget/files/gpgme.patch @@ -0,0 +1,23 @@ +diff -Nuar a/ui/signaturedlg.cpp b/ui/signaturedlg.cpp +--- a/ui/signaturedlg.cpp 2025-06-03 00:25:06.000000000 +0300 ++++ b/ui/signaturedlg.cpp 2025-06-19 11:38:35.315557921 +0300 +@@ -30,6 +30,7 @@ + #ifdef HAVE_QGPGME + #include + #include ++#include + #endif + + #include +@@ -185,7 +186,11 @@ + QByteArray fingerprint = fingerprintString.toLatin1(); + const GpgME::Key key = context->key(fingerprint.constData(), err); + if (err || key.isNull() || !key.numUserIDs() || !key.numSubkeys()) { ++#if GPGMEPP_VERSION >= QT_VERSION_CHECK(1, 24, 0) ++ qCDebug(KGET_DEBUG) << "There was an error while loading the key:" << err.asStdString(); ++#else + qCDebug(KGET_DEBUG) << "There was an error while loading the key:" << err; ++#endif + } else { + static const QStringList OWNERTRUST = QStringList() + << i18nc("trust level", "Unknown") << i18nc("trust level", "Undefined") << i18nc("trust level", "Never") << i18nc("trust level", "Marginal") diff --git a/desktop/kde/applications/kget/pspec.xml b/desktop/kde/applications/kget/pspec.xml index 21a2067eec..718652e6d8 100644 --- a/desktop/kde/applications/kget/pspec.xml +++ b/desktop/kde/applications/kget/pspec.xml @@ -53,6 +53,9 @@ kstatusnotifieritem-devel libktorrent-devel + + gpgme.patch + kget