summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-10-11 08:42:47 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-10-11 13:00:29 +0200
commitec00f7bc048a6a7aa9a80572c931671287865a1d (patch)
tree8c446f2c7d0cae70cebe8add52dc014fcf0ac074 /kde-frameworks/knewstuff
parentkde-frameworks/kio: drop 5.86.0* (diff)
downloadgentoo-ec00f7bc048a6a7aa9a80572c931671287865a1d.tar.gz
gentoo-ec00f7bc048a6a7aa9a80572c931671287865a1d.tar.bz2
gentoo-ec00f7bc048a6a7aa9a80572c931671287865a1d.zip
kde-frameworks/knewstuff: drop 5.86.0*
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/knewstuff')
-rw-r--r--kde-frameworks/knewstuff/Manifest1
-rw-r--r--kde-frameworks/knewstuff/files/knewstuff-5.86.0-fix-crash-in-DownloadWidget.patch26
-rw-r--r--kde-frameworks/knewstuff/files/knewstuff-5.86.0-include-user-agent-on-KNS-requests.patch58
-rw-r--r--kde-frameworks/knewstuff/knewstuff-5.86.0-r2.ebuild54
4 files changed, 0 insertions, 139 deletions
diff --git a/kde-frameworks/knewstuff/Manifest b/kde-frameworks/knewstuff/Manifest
index 0dcd99369cc8..aca1507ba001 100644
--- a/kde-frameworks/knewstuff/Manifest
+++ b/kde-frameworks/knewstuff/Manifest
@@ -1,3 +1,2 @@
DIST knewstuff-5.85.0.tar.xz 1138788 BLAKE2B 6f037ddd3dd7d9499d19b8d10b2486ced1ab169180d69a004369158665eb098015c60fd657e9d84af7b15634a28abd13e761b2728861f3f88c02ac0510121c5c SHA512 2da81b520ecab1d43b79e75ec56cbba410bd0944b13ea53eeee5ca94c77f9c04ad91a35b0c1942516edc5101a365f2a91b774405183bc8bf82c6cd5fb53a0570
-DIST knewstuff-5.86.0.tar.xz 1142536 BLAKE2B 8b1aa8ee9e8dc54f0431f77516d3e39bb4f9ff33f72573fee27b749df692b32c850230a2bc566ee580a56b587af05822a0348cd61d58501c49b507fdf0d164bb SHA512 984291bb68e6bde5d90b35245c101c0feb64338ee4c0656802f4812c3a0619a5291307e8e5e2de99b7a34e29554e2283de6513156e7aac32f0d2198433bb45cc
DIST knewstuff-5.87.0.tar.xz 1146336 BLAKE2B 1f1beff60c59532e892e9b5f561b6a0848bd55d8c483f8195496fb9ec269c2cd4fc3f22216669b6486d5ae987b5d664bc20ffe8d867e401de7be6a6f228b009f SHA512 6979417e3a8b4b9a1dae0850cb8e333d31c1124f60c67ecc292b0b9372e6c7fcd8d5ae8f59afdcc543379b148f0fc310cfc7a24f8ae8fbf29358de0508ff307b
diff --git a/kde-frameworks/knewstuff/files/knewstuff-5.86.0-fix-crash-in-DownloadWidget.patch b/kde-frameworks/knewstuff/files/knewstuff-5.86.0-fix-crash-in-DownloadWidget.patch
deleted file mode 100644
index dbed97665d57..000000000000
--- a/kde-frameworks/knewstuff/files/knewstuff-5.86.0-fix-crash-in-DownloadWidget.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From d09ba1917cb7e035a9aac6c27c86fc4df5da3194 Mon Sep 17 00:00:00 2001
-From: Albert Astals Cid <aacid@kde.org>
-Date: Mon, 27 Sep 2021 20:05:09 +0200
-Subject: [PATCH] Fix crash in DownloadWidget
-
-BUGS: 443025
----
- src/downloadwidget.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/downloadwidget.cpp b/src/downloadwidget.cpp
-index 40df2e8c..36cfde37 100644
---- a/src/downloadwidget.cpp
-+++ b/src/downloadwidget.cpp
-@@ -97,7 +97,7 @@ Entry::List DownloadWidget::installedEntries()
- }
-
- DownloadWidgetPrivate::DownloadWidgetPrivate(DownloadWidget *qq)
-- : q(q)
-+ : q(qq)
- , engine(new KNSCore::Engine)
- , model(new KNSCore::ItemsModel(engine))
- , messageTimer(nullptr)
---
-GitLab
-
diff --git a/kde-frameworks/knewstuff/files/knewstuff-5.86.0-include-user-agent-on-KNS-requests.patch b/kde-frameworks/knewstuff/files/knewstuff-5.86.0-include-user-agent-on-KNS-requests.patch
deleted file mode 100644
index 6252d28f7b93..000000000000
--- a/kde-frameworks/knewstuff/files/knewstuff-5.86.0-include-user-agent-on-KNS-requests.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-From f687c5abd0c5e9bd5a6688b6d9d50f2536b7d33d Mon Sep 17 00:00:00 2001
-From: Aleix Pol <aleixpol@kde.org>
-Date: Fri, 24 Sep 2021 14:31:05 +0200
-Subject: [PATCH] Include a user agent on KNS requests
-
----
- src/core/jobs/httpworker.cpp | 13 +++++++++++++
- 1 file changed, 13 insertions(+)
-
-diff --git a/src/core/jobs/httpworker.cpp b/src/core/jobs/httpworker.cpp
-index 4c218b08..b81edd2d 100644
---- a/src/core/jobs/httpworker.cpp
-+++ b/src/core/jobs/httpworker.cpp
-@@ -7,7 +7,9 @@
- #include "httpworker.h"
-
- #include "knewstuffcore_debug.h"
-+#include "knewstuffcore_version.h"
-
-+#include <QCoreApplication>
- #include <QFile>
- #include <QMutex>
- #include <QMutexLocker>
-@@ -93,6 +95,15 @@ void HTTPWorker::setUrl(const QUrl &url)
- d->source = url;
- }
-
-+static void addUserAgent(QNetworkRequest &request)
-+{
-+ QString agentHeader = QStringLiteral("KNewStuff/%1").arg(QLatin1String(KNEWSTUFFCORE_VERSION_STRING));
-+ if (QCoreApplication::instance()) {
-+ agentHeader += QStringLiteral("-%1/%2").arg(QCoreApplication::instance()->applicationName(), QCoreApplication::instance()->applicationVersion());
-+ }
-+ request.setHeader(QNetworkRequest::UserAgentHeader, agentHeader);
-+}
-+
- void HTTPWorker::startRequest()
- {
- if (d->reply) {
-@@ -101,6 +112,7 @@ void HTTPWorker::startRequest()
- }
-
- QNetworkRequest request(d->source);
-+ addUserAgent(request);
- d->reply = s_httpWorkerNAM->get(request);
- connect(d->reply, &QNetworkReply::readyRead, this, &HTTPWorker::handleReadyRead);
- connect(d->reply, &QNetworkReply::finished, this, &HTTPWorker::handleFinished);
-@@ -144,6 +156,7 @@ void HTTPWorker::handleFinished()
- << d->reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt();
- d->reply->deleteLater();
- QNetworkRequest request(d->redirectUrl);
-+ addUserAgent(request);
- d->reply = s_httpWorkerNAM->get(request);
- connect(d->reply, &QNetworkReply::readyRead, this, &HTTPWorker::handleReadyRead);
- connect(d->reply, &QNetworkReply::finished, this, &HTTPWorker::handleFinished);
---
-GitLab
-
diff --git a/kde-frameworks/knewstuff/knewstuff-5.86.0-r2.ebuild b/kde-frameworks/knewstuff/knewstuff-5.86.0-r2.ebuild
deleted file mode 100644
index 06de55295853..000000000000
--- a/kde-frameworks/knewstuff/knewstuff-5.86.0-r2.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-ECM_TEST="false"
-PVCUT=$(ver_cut 1-2)
-QTMIN=5.15.2
-inherit ecm kde.org
-
-DESCRIPTION="Framework for downloading and sharing additional application data"
-
-LICENSE="LGPL-2+"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="opds"
-
-DEPEND="
- >=dev-qt/qtdeclarative-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtxml-${QTMIN}:5
- =kde-frameworks/attica-${PVCUT}*:5
- =kde-frameworks/karchive-${PVCUT}*:5
- =kde-frameworks/kcompletion-${PVCUT}*:5
- =kde-frameworks/kconfig-${PVCUT}*:5
- =kde-frameworks/kcoreaddons-${PVCUT}*:5
- =kde-frameworks/ki18n-${PVCUT}*:5
- =kde-frameworks/kiconthemes-${PVCUT}*:5
- =kde-frameworks/kio-${PVCUT}*:5
- =kde-frameworks/kitemviews-${PVCUT}*:5
- =kde-frameworks/kpackage-${PVCUT}*:5
- =kde-frameworks/kservice-${PVCUT}*:5
- =kde-frameworks/ktextwidgets-${PVCUT}*:5
- =kde-frameworks/kwidgetsaddons-${PVCUT}*:5
- =kde-frameworks/kxmlgui-${PVCUT}*:5
- opds? ( =kde-frameworks/syndication-${PVCUT}*:5 )
-"
-RDEPEND="${DEPEND}
- >=kde-frameworks/kirigami-${PVCUT}:5
-"
-
-PATCHES=(
- "${FILESDIR}/${P}-fix-crash-in-DownloadWidget.patch" # KDE-bug 443025
- "${FILESDIR}/${P}-include-user-agent-on-KNS-requests.patch"
-)
-
-src_configure() {
- local mycmakeargs=(
- $(cmake_use_find_package opds KF5Syndication)
- )
-
- ecm_src_configure
-}