summaryrefslogtreecommitdiff
path: root/kde-frameworks/knewstuff/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-06 14:10:02 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-06 14:10:02 +0100
commit7e17b5aabc330abb894f2b90bef0e3fcbcd180d2 (patch)
tree0b0cd08ce6e24faf7c868b07127ee0b6b32153c7 /kde-frameworks/knewstuff/files
parentda3552023d9aae2ee5183df71a80a8169414974e (diff)
gentoo auto-resync : 06:08:2022 - 14:10:01
Diffstat (limited to 'kde-frameworks/knewstuff/files')
-rw-r--r--kde-frameworks/knewstuff/files/knewstuff-5.92.0-KDEBUG-451165.patch53
-rw-r--r--kde-frameworks/knewstuff/files/knewstuff-5.92.0-fix-valid-tar-recognition.patch27
2 files changed, 0 insertions, 80 deletions
diff --git a/kde-frameworks/knewstuff/files/knewstuff-5.92.0-KDEBUG-451165.patch b/kde-frameworks/knewstuff/files/knewstuff-5.92.0-KDEBUG-451165.patch
deleted file mode 100644
index 07f4170ae0ce..000000000000
--- a/kde-frameworks/knewstuff/files/knewstuff-5.92.0-KDEBUG-451165.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 693a2ea3926400b1482888a2df2c532852b8f971 Mon Sep 17 00:00:00 2001
-From: Alexander Lohnau <alexander.lohnau@gmx.de>
-Date: Sun, 20 Mar 2022 20:29:51 +0100
-Subject: [PATCH] Do not set user-visible name as additional agent information
-
-Instead we want the filename, which is more useful as an identifier anyways, because
-we would otherwise have to check which user-visible names originate from which knsrc file.
-
-BUG: 451165
----
- src/core/engine.cpp | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/src/core/engine.cpp b/src/core/engine.cpp
-index e7abfde8..72af9c83 100644
---- a/src/core/engine.cpp
-+++ b/src/core/engine.cpp
-@@ -145,6 +145,7 @@ public:
- QString busyMessage;
- QString useLabel;
- bool uploadEnabled = false;
-+ QString configFileName;
- };
-
- Engine::Engine(QObject *parent)
-@@ -224,6 +225,7 @@ bool Engine::init(const QString &configfile)
- conf.reset(new KConfig(configfile));
- qCWarning(KNEWSTUFFCORE) << "Using a deprecated location for the knsrc file" << configfile
- << " - please contact the author of the software which provides this file to get it updated to use the new location";
-+ configFileName = QFileInfo(configfile).baseName();
- } else if (isRelativeConfig && actualConfig.isEmpty()) {
- configFileName = QFileInfo(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("knsrcfiles/%1").arg(configfile))).baseName();
- conf.reset(new KConfig(QStringLiteral("knsrcfiles/%1").arg(configfile), KConfig::FullConfig, QStandardPaths::GenericDataLocation));
-@@ -234,6 +236,7 @@ bool Engine::init(const QString &configfile)
- configFileName = configFileInfo.baseName();
- conf.reset(new KConfig(configfile));
- }
-+ d->configFileName = configFileName;
-
- if (conf->accessMode() == KConfig::NoAccess) {
- Q_EMIT signalErrorCode(KNSCore::ConfigFileError, i18n("Configuration file exists, but cannot be opened: \"%1\"", configfile), configfile);
-@@ -425,7 +428,7 @@ void Engine::slotProviderFileLoaded(const QDomDocument &doc)
-
- QSharedPointer<KNSCore::Provider> provider;
- if (isAtticaProviderFile || n.attribute(QStringLiteral("type")).toLower() == QLatin1String("rest")) {
-- provider.reset(new AtticaProvider(m_categories, d->name));
-+ provider.reset(new AtticaProvider(m_categories, d->configFileName));
- connect(provider.data(), &Provider::categoriesMetadataLoded, this, [this](const QList<Provider::CategoryMetadata> &categories) {
- d->categoriesMetadata = categories;
- Q_EMIT signalCategoriesMetadataLoded(categories);
---
-GitLab
-
diff --git a/kde-frameworks/knewstuff/files/knewstuff-5.92.0-fix-valid-tar-recognition.patch b/kde-frameworks/knewstuff/files/knewstuff-5.92.0-fix-valid-tar-recognition.patch
deleted file mode 100644
index 7926b3cee8fa..000000000000
--- a/kde-frameworks/knewstuff/files/knewstuff-5.92.0-fix-valid-tar-recognition.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 82f04bff174a4bb307aa9b39aedf271c200b0545 Mon Sep 17 00:00:00 2001
-From: Alexander Lohnau <alexander.lohnau@gmx.de>
-Date: Mon, 7 Mar 2022 21:27:09 +0100
-Subject: [PATCH] Fix certain tars not being recognized as valid archives
-
-KArchive can handle those too.
-
-BUG: 450662
----
- src/core/installation.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/core/installation.cpp b/src/core/installation.cpp
-index c3ba0e15..45694465 100644
---- a/src/core/installation.cpp
-+++ b/src/core/installation.cpp
-@@ -566,6 +566,7 @@ QStringList Installation::installDownloadedFileAndUncompress(const KNSCore::Entr
- archive.reset(new KZip(payloadfile));
- // clang-format off
- } else if (mimeType.inherits(QStringLiteral("application/tar"))
-+ || mimeType.inherits(QStringLiteral("application/x-tar")) // BUG 450662
- || mimeType.inherits(QStringLiteral("application/x-gzip"))
- || mimeType.inherits(QStringLiteral("application/x-bzip"))
- || mimeType.inherits(QStringLiteral("application/x-lzma"))
---
-GitLab
-