public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/plasma-pk-updates] rawhide: Orphaned for 6+ weeks
@ 2026-09-11 21:52 Orphaned Packages Process
0 siblings, 0 replies; only message in thread
From: Orphaned Packages Process @ 2026-09-11 21:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/plasma-pk-updates
Branch : rawhide
Commit : 3e530f8a5698b12153b25051acecdbe5109ef169
Author : Orphaned Packages Process <packaging-reports@fedoraproject.org>
Date : 2026-09-11T16:52:13-05:00
Stats : +1/-1652 in 18 file(s)
URL : https://src.fedoraproject.org/rpms/plasma-pk-updates/c/3e530f8a5698b12153b25051acecdbe5109ef169?branch=rawhide
Log:
Orphaned for 6+ weeks
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index c3f970f..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,5 +0,0 @@
-/plasma-pk-updates-0.2.tar.xz
-/plasma-pk-updates-0.2-7b484b0.tar.xz
-/plasma-pk-updates-0.2-73b70b3.tar.xz
-/plasma-pk-updates-0.3.1.tar.xz
-/plasma-pk-updates-0.3.2.tar.xz
diff --git a/0005-Several-fixes-related-to-the-network-state-and-apple.patch b/0005-Several-fixes-related-to-the-network-state-and-apple.patch
deleted file mode 100644
index b3389e5..0000000
--- a/0005-Several-fixes-related-to-the-network-state-and-apple.patch
+++ /dev/null
@@ -1,161 +0,0 @@
-From 1acf9fc8a642d254a04a7824d938ed44bbe29245 Mon Sep 17 00:00:00 2001
-From: Antonio Larrosa <antonio.larrosa@gmail.com>
-Date: Mon, 18 Mar 2019 18:00:26 +0100
-Subject: [PATCH 05/51] Several fixes related to the network state and applet
- messages/notifications.
-
-Summary:
-Hide actions that can't be taken if the system doesn't have a network
-connection.
-
-Add its own messageChanged NOTIFY signal to the message property
-
-The message property also changes when the network state changes, not only
-when isActiveChanged is emitted, so let's create its own signal that is
-emitted in both cases.
-
-Delay PkUpdates::checkUpdates calls if the network state is offline
-
-If PkUpdates::checkUpdates is called and the network state is offline,
-delay the check for updates until the network is online again.
-
-This fixes the problem that when the user logs in, the applet is run
-and just after the PkUpdates object is created, checkUpdates is called
-(from main itself). But at that point the user might have not entered
-the wifi password so the check would fail. Now, if we detect there's
-no network, we just delay the check until the network state is online.
-
-Note that some of these fixes may also need either one or more of the following
-fixes depending on your system:
-
-https://gitlab.gnome.org/GNOME/glib/merge_requests/719
-https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/138
-https://github.com/hughsie/PackageKit-Qt/pull/30
-
-Test Plan:
-Reboot a laptop with no network connection. The applet showed
-network failure notifications before the commits but not after them.
-Also, connect and disconnect and check the applet contents. Before the
-commits are applied the applet contained options that make no sense without
-network. After the commits are applied it just shows a "Network is offline"
-message which makes more sense.
-
-Reviewers: jgrulich
-
-Reviewed By: jgrulich
-
-Differential Revision: https://phabricator.kde.org/D19862
----
- src/declarative/pkupdates.cpp | 20 ++++++++++++++++++++
- src/declarative/pkupdates.h | 6 +++++-
- src/plasma/contents/ui/Full.qml | 4 ++--
- 3 files changed, 27 insertions(+), 3 deletions(-)
-
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index f8fd0ac..94b712e 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -54,6 +54,10 @@ PkUpdates::PkUpdates(QObject *parent) :
-
- connect(Solid::PowerManagement::notifier(), &Solid::PowerManagement::Notifier::appShouldConserveResourcesChanged,
- this, &PkUpdates::isOnBatteryChanged);
-+
-+ connect(PackageKit::Daemon::global(), &PackageKit::Daemon::networkStateChanged, this, &PkUpdates::doDelayedCheckUpdates);
-+ connect(this, &PkUpdates::isActiveChanged, this, &PkUpdates::messageChanged);
-+ connect(this, &PkUpdates::networkStateChanged, this, &PkUpdates::messageChanged);
- }
-
- PkUpdates::~PkUpdates()
-@@ -167,6 +171,16 @@ bool PkUpdates::isNetworkOnline() const
- return (PackageKit::Daemon::networkState() > PackageKit::Daemon::Network::NetworkOffline);
- }
-
-+void PkUpdates::doDelayedCheckUpdates()
-+{
-+ if (m_checkUpdatesWhenNetworkOnline && isNetworkOnline())
-+ {
-+ qCDebug(PLASMA_PK_UPDATES) << "CheckUpdates was delayed. Doing it now";
-+ m_checkUpdatesWhenNetworkOnline = false;
-+ checkUpdates();
-+ }
-+}
-+
- bool PkUpdates::isNetworkMobile() const
- {
- qCDebug(PLASMA_PK_UPDATES) << "Is net mobile:" << (PackageKit::Daemon::networkState() == PackageKit::Daemon::Network::NetworkMobile);
-@@ -198,6 +212,12 @@ QString PkUpdates::timestamp() const
-
- void PkUpdates::checkUpdates(bool force)
- {
-+ if (!isNetworkOnline())
-+ {
-+ qCDebug(PLASMA_PK_UPDATES) << "Checking updates delayed. Network is offline";
-+ m_checkUpdatesWhenNetworkOnline = true;
-+ return;
-+ }
- qCDebug(PLASMA_PK_UPDATES) << "Checking updates, forced";
-
- // ask the Packagekit daemon to refresh the cache
-diff --git a/src/declarative/pkupdates.h b/src/declarative/pkupdates.h
-index 1f17da5..d9cb063 100644
---- a/src/declarative/pkupdates.h
-+++ b/src/declarative/pkupdates.h
-@@ -46,7 +46,7 @@ class PkUpdates : public QObject
- Q_PROPERTY(int securityCount READ securityCount NOTIFY updatesChanged)
- Q_PROPERTY(bool isSystemUpToDate READ isSystemUpToDate NOTIFY updatesChanged)
- Q_PROPERTY(QString iconName READ iconName NOTIFY updatesChanged)
-- Q_PROPERTY(QString message READ message NOTIFY isActiveChanged)
-+ Q_PROPERTY(QString message READ message NOTIFY messageChanged)
- Q_PROPERTY(int percentage READ percentage NOTIFY percentageChanged)
- Q_PROPERTY(QString timestamp READ timestamp NOTIFY updatesChanged)
- Q_PROPERTY(QString statusMessage READ statusMessage NOTIFY statusMessageChanged)
-@@ -161,6 +161,7 @@ signals:
- void percentageChanged();
- void networkStateChanged();
- void isOnBatteryChanged();
-+ void messageChanged();
-
- public slots:
- /**
-@@ -201,6 +202,8 @@ public slots:
- */
- Q_INVOKABLE void getUpdateDetails(const QString & pkgID);
-
-+ Q_INVOKABLE void doDelayedCheckUpdates();
-+
- private slots:
- void getUpdates();
- void onChanged();
-@@ -233,6 +236,7 @@ private:
- int m_percentage = 0;
- Activity m_activity = Idle;
- bool m_lastCheckSuccessful = false;
-+ bool m_checkUpdatesWhenNetworkOnline = false;
- };
-
- #endif // PLASMA_PK_UPDATES_H
-diff --git a/src/plasma/contents/ui/Full.qml b/src/plasma/contents/ui/Full.qml
-index eca7ec0..7cf37eb 100644
---- a/src/plasma/contents/ui/Full.qml
-+++ b/src/plasma/contents/ui/Full.qml
-@@ -127,7 +127,7 @@ Item {
- id: updatesScrollArea
- Layout.fillWidth: true
- Layout.fillHeight: true
-- visible: PkUpdates.count && !PkUpdates.isActive
-+ visible: PkUpdates.count && PkUpdates.isNetworkOnline && !PkUpdates.isActive
-
- ListView {
- id: updatesView
-@@ -160,7 +160,7 @@ Item {
- }
-
- RowLayout {
-- visible: PkUpdates.count && !PkUpdates.isActive
-+ visible: PkUpdates.count && PkUpdates.isNetworkOnline && !PkUpdates.isActive
- PlasmaComponents.CheckBox {
- id: chkSelectAll
- anchors {
---
-2.28.0
-
diff --git a/0006-Don-t-force-a-check-for-updates-when-the-applet-runs.patch b/0006-Don-t-force-a-check-for-updates-when-the-applet-runs.patch
deleted file mode 100644
index 964b994..0000000
--- a/0006-Don-t-force-a-check-for-updates-when-the-applet-runs.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From 4150bd6264d209b300598abea14fd9fce63c2f6e Mon Sep 17 00:00:00 2001
-From: Antonio Larrosa <antonio.larrosa@gmail.com>
-Date: Wed, 3 Apr 2019 14:21:29 +0200
-Subject: [PATCH 06/51] Don't force a check for updates when the applet runs
-
-Summary:
-The timer in main.qml has "triggeredOnStart: true" so it already
-checks when the applet runs if the condition to check for updates
-is true and if so, it calls PkUpdates.checkUpdates.
-
-Previously, if a user configures the applet so that it only checks
-for updates weekly, the applet ignores this configuration and
-forces a check for updates every time the user logs in the system
-(even more than once per day)
-
-Reviewers: jgrulich
-
-Reviewed By: jgrulich
-
-Differential Revision: https://phabricator.kde.org/D20231
----
- src/declarative/main.cpp | 1 -
- src/plasma/contents/ui/main.qml | 3 ---
- 2 files changed, 4 deletions(-)
-
-diff --git a/src/declarative/main.cpp b/src/declarative/main.cpp
-index ddb76e9..1db16e6 100644
---- a/src/declarative/main.cpp
-+++ b/src/declarative/main.cpp
-@@ -29,7 +29,6 @@ int main(int argc, char *argv[])
-
- PkUpdates * upd = new PkUpdates(qApp);
- QObject::connect(upd, &PkUpdates::done, qApp, &QCoreApplication::quit);
-- upd->checkUpdates();
-
- return app.exec();
- }
-diff --git a/src/plasma/contents/ui/main.qml b/src/plasma/contents/ui/main.qml
-index d667a5c..b18f15d 100644
---- a/src/plasma/contents/ui/main.qml
-+++ b/src/plasma/contents/ui/main.qml
-@@ -95,9 +95,6 @@ Item
- }
-
- Component.onCompleted: {
-- if(!needsForcedUpdate() && batteryAllowed) {
-- PkUpdates.checkUpdates(false);
-- }
- timer.start()
- }
- }
---
-2.28.0
-
diff --git a/0008-Replace-KIconLoader-pixmaps-with-standard-icon-names.patch b/0008-Replace-KIconLoader-pixmaps-with-standard-icon-names.patch
deleted file mode 100644
index 8f10c1d..0000000
--- a/0008-Replace-KIconLoader-pixmaps-with-standard-icon-names.patch
+++ /dev/null
@@ -1,113 +0,0 @@
-From ed80a9912267006be4c0c574d1811f640368090d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
-Date: Thu, 20 Jun 2019 03:08:46 +0200
-Subject: [PATCH 08/51] Replace KIconLoader + pixmaps with standard icon names
-
-Summary: Let the notification host handle the theming and the like.
-
-Reviewers: lukas, jgrulich, ngraham
-
-Reviewed By: ngraham
-
-Subscribers: zzag
-
-Differential Revision: https://phabricator.kde.org/D21972
----
- CMakeLists.txt | 1 -
- src/declarative/CMakeLists.txt | 2 --
- src/declarative/pkupdates.cpp | 14 +++++++++-----
- 3 files changed, 9 insertions(+), 8 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 18ce831..d2dd2cb 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -26,7 +26,6 @@ find_package(KF5 REQUIRED
- I18n
- CoreAddons # KFormat
- Notifications
-- IconThemes # KIconLoader
- KDELibs4Support #Solid::Power
- )
-
-diff --git a/src/declarative/CMakeLists.txt b/src/declarative/CMakeLists.txt
-index 606cf12..558c293 100644
---- a/src/declarative/CMakeLists.txt
-+++ b/src/declarative/CMakeLists.txt
-@@ -15,7 +15,6 @@ target_link_libraries(plasmapk_qmlplugins
- KF5::I18n
- KF5::CoreAddons
- KF5::Notifications
-- KF5::IconThemes
- KF5::ConfigCore
- KF5::KDELibs4Support
- PK::packagekitqt5
-@@ -40,6 +39,5 @@ target_link_libraries(plasmapk-console
- KF5::ConfigCore
- KF5::KDELibs4Support
- KF5::Notifications
-- KF5::IconThemes
- PK::packagekitqt5
- )
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index 94b712e..9fdb538 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -28,7 +28,6 @@
- #include <KFormat>
- #include <KNotification>
- #include <Solid/PowerManagement>
--#include <KIconLoader>
- #include <KConfigGroup>
- #include <KSharedConfig>
-
-@@ -37,6 +36,11 @@
-
- Q_LOGGING_CATEGORY(PLASMA_PK_UPDATES, "plasma-pk-updates")
-
-+namespace
-+{
-+ const auto s_pkUpdatesIconName = QStringLiteral("system-software-update");
-+} // namespace {
-+
- PkUpdates::PkUpdates(QObject *parent) :
- QObject(parent),
- m_updatesTrans(Q_NULLPTR),
-@@ -391,7 +395,7 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- if (upCount > 0) {
- KNotification::event(KNotification::Notification, i18n("Software Updates Available"),
- i18np("You have 1 new update", "You have %1 new updates", upCount),
-- KIconLoader::global()->loadIcon("system-software-update", KIconLoader::Desktop), 0, KNotification::Persistent);
-+ s_pkUpdatesIconName, 0, KNotification::Persistent);
- }
- } else {
- qCDebug(PLASMA_PK_UPDATES) << "Check updates transaction didn't finish successfully";
-@@ -414,7 +418,7 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- qCDebug(PLASMA_PK_UPDATES) << "Update packages transaction finished successfully";
- KNotification::event(KNotification::Notification, i18n("Updates Installed"),
- i18np("Successfully updated %1 package", "Successfully updated %1 packages", packages.count()),
-- KIconLoader::global()->loadIcon("system-software-update", KIconLoader::Desktop), 0, KNotification::Persistent);
-+ s_pkUpdatesIconName, 0, KNotification::Persistent);
- emit updatesInstalled();
- } else {
- qCDebug(PLASMA_PK_UPDATES) << "Update packages transaction didn't finish successfully";
-@@ -441,14 +445,14 @@ void PkUpdates::onErrorCode(PackageKit::Transaction::Error error, const QString
- return;
-
- KNotification::event(KNotification::Error, i18n("Update Error"), details,
-- KIconLoader::global()->loadIcon("system-software-update", KIconLoader::Desktop), 0, KNotification::Persistent);
-+ s_pkUpdatesIconName, 0, KNotification::Persistent);
- }
-
- void PkUpdates::onRequireRestart(PackageKit::Transaction::Restart type, const QString &packageID)
- {
- if (type == PackageKit::Transaction::RestartSystem || type == PackageKit::Transaction::RestartSession) {
- KNotification *notification = new KNotification(QLatin1String("notification"), KNotification::Persistent | KNotification::DefaultEvent);
-- notification->setPixmap(KIconLoader::global()->loadIcon("system-software-update", KIconLoader::Desktop));
-+ notification->setIconName(s_pkUpdatesIconName);
- if (type == PackageKit::Transaction::RestartSystem) {
- notification->setActions(QStringList{QLatin1String("Restart")});
- notification->setTitle(i18n("Restart is required"));
---
-2.28.0
-
diff --git a/0009-Fix-usage-of-0-for-null-pointer-constants.patch b/0009-Fix-usage-of-0-for-null-pointer-constants.patch
deleted file mode 100644
index 72f1e95..0000000
--- a/0009-Fix-usage-of-0-for-null-pointer-constants.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From 27bcd6a78c29fc70797619b4f8fb92e0d47bf6cd Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
-Date: Thu, 20 Jun 2019 03:31:23 +0200
-Subject: [PATCH 09/51] Fix usage of 0 for null pointer constants
-
-Summary: Depends on D21972
-
-Reviewers: lukas, jgrulich, ngraham
-
-Reviewed By: ngraham
-
-Differential Revision: https://phabricator.kde.org/D21973
----
- src/declarative/pkupdates.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index 9fdb538..0832551 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -395,7 +395,7 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- if (upCount > 0) {
- KNotification::event(KNotification::Notification, i18n("Software Updates Available"),
- i18np("You have 1 new update", "You have %1 new updates", upCount),
-- s_pkUpdatesIconName, 0, KNotification::Persistent);
-+ s_pkUpdatesIconName, nullptr, KNotification::Persistent);
- }
- } else {
- qCDebug(PLASMA_PK_UPDATES) << "Check updates transaction didn't finish successfully";
-@@ -418,7 +418,7 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- qCDebug(PLASMA_PK_UPDATES) << "Update packages transaction finished successfully";
- KNotification::event(KNotification::Notification, i18n("Updates Installed"),
- i18np("Successfully updated %1 package", "Successfully updated %1 packages", packages.count()),
-- s_pkUpdatesIconName, 0, KNotification::Persistent);
-+ s_pkUpdatesIconName, nullptr, KNotification::Persistent);
- emit updatesInstalled();
- } else {
- qCDebug(PLASMA_PK_UPDATES) << "Update packages transaction didn't finish successfully";
-@@ -445,7 +445,7 @@ void PkUpdates::onErrorCode(PackageKit::Transaction::Error error, const QString
- return;
-
- KNotification::event(KNotification::Error, i18n("Update Error"), details,
-- s_pkUpdatesIconName, 0, KNotification::Persistent);
-+ s_pkUpdatesIconName, nullptr, KNotification::Persistent);
- }
-
- void PkUpdates::onRequireRestart(PackageKit::Transaction::Restart type, const QString &packageID)
---
-2.28.0
-
diff --git a/0010-Use-own-eventIds-and-ComponentName-instead-of-generi.patch b/0010-Use-own-eventIds-and-ComponentName-instead-of-generi.patch
deleted file mode 100644
index 5c7685b..0000000
--- a/0010-Use-own-eventIds-and-ComponentName-instead-of-generi.patch
+++ /dev/null
@@ -1,141 +0,0 @@
-From 7268a2da05f8f80de9b03752555d066d6dc01254 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
-Date: Sat, 22 Jun 2019 00:51:36 +0200
-Subject: [PATCH 10/51] Use own eventIds and ComponentName instead of generic
- plasma workspace ones
-
-Summary:
-Currently, the notifications from the update applet use the standard
-events from plasma workspace, which poses a number of problems:
-
-- the notifications can not be configured
-- the notifications are shown as originating from plasma workspace
-- grouping does not work properly (update notifications are mixed with
- others from PWS)
-- the notifications are filled with non-informative elements
-
-Depends on D21973
-
-Reviewers: jgrulich, lukas, ngraham, fvogt
-
-Reviewed By: ngraham
-
-Differential Revision: https://phabricator.kde.org/D22026
----
- src/declarative/CMakeLists.txt | 1 +
- src/declarative/pkupdates.cpp | 28 ++++++++++++++++------
- src/declarative/plasma_pk_updates.notifyrc | 23 ++++++++++++++++++
- 3 files changed, 45 insertions(+), 7 deletions(-)
- create mode 100644 src/declarative/plasma_pk_updates.notifyrc
-
-diff --git a/src/declarative/CMakeLists.txt b/src/declarative/CMakeLists.txt
-index 558c293..bdeb5b1 100644
---- a/src/declarative/CMakeLists.txt
-+++ b/src/declarative/CMakeLists.txt
-@@ -22,6 +22,7 @@ target_link_libraries(plasmapk_qmlplugins
-
- install(TARGETS plasmapk_qmlplugins DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/PackageKit)
- install(FILES qmldir DESTINATION ${QML_INSTALL_DIR}/org/kde/plasma/PackageKit)
-+install(FILES plasma_pk_updates.notifyrc DESTINATION ${KNOTIFYRC_INSTALL_DIR} )
-
- # test binary
- set(plasmapk_console_SRCS
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index 0832551..4de20dd 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -39,6 +39,11 @@ Q_LOGGING_CATEGORY(PLASMA_PK_UPDATES, "plasma-pk-updates")
- namespace
- {
- const auto s_pkUpdatesIconName = QStringLiteral("system-software-update");
-+ const auto s_componentName = QStringLiteral("plasma_pk_updates");
-+ const auto s_eventIdUpdatesAvailable = QStringLiteral("updatesAvailable");
-+ const auto s_eventIdUpdatesInstalled = QStringLiteral("updatesInstalled");
-+ const auto s_eventIdRestartRequired = QStringLiteral("restartRequired");
-+ const auto s_eventIdError = QStringLiteral("updateError");
- } // namespace {
-
- PkUpdates::PkUpdates(QObject *parent) :
-@@ -393,9 +398,11 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- qCDebug(PLASMA_PK_UPDATES) << "Check updates transaction finished successfully";
- const int upCount = count();
- if (upCount > 0) {
-- KNotification::event(KNotification::Notification, i18n("Software Updates Available"),
-+ KNotification::event(s_eventIdUpdatesAvailable,
-+ QString(),
- i18np("You have 1 new update", "You have %1 new updates", upCount),
-- s_pkUpdatesIconName, nullptr, KNotification::Persistent);
-+ s_pkUpdatesIconName, nullptr, KNotification::Persistent,
-+ s_componentName);
- }
- } else {
- qCDebug(PLASMA_PK_UPDATES) << "Check updates transaction didn't finish successfully";
-@@ -416,9 +423,12 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- return;
- } else if (status == PackageKit::Transaction::ExitSuccess) {
- qCDebug(PLASMA_PK_UPDATES) << "Update packages transaction finished successfully";
-- KNotification::event(KNotification::Notification, i18n("Updates Installed"),
-+ KNotification::event(s_eventIdUpdatesInstalled,
-+ i18n("Updates Installed"),
- i18np("Successfully updated %1 package", "Successfully updated %1 packages", packages.count()),
-- s_pkUpdatesIconName, nullptr, KNotification::Persistent);
-+ s_pkUpdatesIconName, nullptr,
-+ KNotification::Persistent,
-+ s_componentName);
- emit updatesInstalled();
- } else {
- qCDebug(PLASMA_PK_UPDATES) << "Update packages transaction didn't finish successfully";
-@@ -444,14 +454,18 @@ void PkUpdates::onErrorCode(PackageKit::Transaction::Error error, const QString
- if (error == PackageKit::Transaction::ErrorBadGpgSignature)
- return;
-
-- KNotification::event(KNotification::Error, i18n("Update Error"), details,
-- s_pkUpdatesIconName, nullptr, KNotification::Persistent);
-+ KNotification::event(s_eventIdError, i18n("Update Error"),
-+ details,
-+ s_pkUpdatesIconName, nullptr,
-+ KNotification::Persistent,
-+ s_componentName);
- }
-
- void PkUpdates::onRequireRestart(PackageKit::Transaction::Restart type, const QString &packageID)
- {
- if (type == PackageKit::Transaction::RestartSystem || type == PackageKit::Transaction::RestartSession) {
-- KNotification *notification = new KNotification(QLatin1String("notification"), KNotification::Persistent | KNotification::DefaultEvent);
-+ KNotification *notification = new KNotification(s_eventIdRestartRequired, KNotification::Persistent);
-+ notification->setComponentName(s_componentName);
- notification->setIconName(s_pkUpdatesIconName);
- if (type == PackageKit::Transaction::RestartSystem) {
- notification->setActions(QStringList{QLatin1String("Restart")});
-diff --git a/src/declarative/plasma_pk_updates.notifyrc b/src/declarative/plasma_pk_updates.notifyrc
-new file mode 100644
-index 0000000..0cec66b
---- /dev/null
-+++ b/src/declarative/plasma_pk_updates.notifyrc
-@@ -0,0 +1,23 @@
-+[Global]
-+IconName=system-software-update
-+Comment=Software Updates
-+
-+[Event/updatesAvailable]
-+Name=Updates Available
-+Comment=Software updates for the system are available
-+Action=Popup
-+
-+[Event/updatesInstalled]
-+Name=Updates Installed
-+Comment=The updates have been installed successfully
-+Action=Popup
-+
-+[Event/restartRequired]
-+Name=Restart Required
-+Comment=A session or computer restart is required
-+Action=Popup
-+
-+[Event/updateError]
-+Name=Update Error
-+Comment=An error occured
-+Action=Popup
---
-2.28.0
-
diff --git a/0011-Make-the-notifications-less-obtrusive.patch b/0011-Make-the-notifications-less-obtrusive.patch
deleted file mode 100644
index 6a5d6b1..0000000
--- a/0011-Make-the-notifications-less-obtrusive.patch
+++ /dev/null
@@ -1,102 +0,0 @@
-From 50383c74098bf19cea1b90a2edea7477ff8b062d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
-Date: Sat, 22 Jun 2019 23:04:42 +0200
-Subject: [PATCH 11/51] Make the notifications less obtrusive
-
-Summary:
-Currently, whenever the PK package cache is refreshed, a new notification
-is show, even when the update count does not change. The notification
-also persists after the update has installed.
-
-To make the notifications less obtrusive:
-1. Skip the "You have N new updates" message generation completely when
- the update count is unchanged.
-2. In case the update count changes, close the old one generate a new one. Using "CloseOnTimeout" has the
-3. Change the "Updates Installed" notification from "Persistent" to
- "CloseOnTimeout". The notification is still in the history.
-4. After update installation, also remove the "You have N new updates"
- Popup.
-
-Depends on D22026
-
-Test Plan: call `pkcon refresh` multiple times
-
-Reviewers: jgrulich, lukas, ngraham, fvogt
-
-Reviewed By: ngraham, fvogt
-
-Differential Revision: https://phabricator.kde.org/D22027
----
- src/declarative/pkupdates.cpp | 19 ++++++++++++++++---
- src/declarative/pkupdates.h | 3 +++
- 2 files changed, 19 insertions(+), 3 deletions(-)
-
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index 4de20dd..937e318 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -397,12 +397,22 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- if (m_lastCheckSuccessful) {
- qCDebug(PLASMA_PK_UPDATES) << "Check updates transaction finished successfully";
- const int upCount = count();
-- if (upCount > 0) {
-- KNotification::event(s_eventIdUpdatesAvailable,
-+ if (upCount != m_lastUpdateCount && m_lastNotification) {
-+ qCDebug(PLASMA_PK_UPDATES) << "Disposing old update count notification";
-+ m_lastNotification->close();
-+ }
-+ if (upCount > 0 && upCount != m_lastUpdateCount) {
-+ m_lastUpdateCount = upCount;
-+ m_lastNotification = KNotification::event(s_eventIdUpdatesAvailable,
- QString(),
- i18np("You have 1 new update", "You have %1 new updates", upCount),
- s_pkUpdatesIconName, nullptr, KNotification::Persistent,
- s_componentName);
-+ connect(m_lastNotification, &KNotification::closed, this, [this] {
-+ qCDebug(PLASMA_PK_UPDATES) << "Old notification closed";
-+ m_lastNotification = nullptr;
-+ m_lastUpdateCount = 0;
-+ });
- }
- } else {
- qCDebug(PLASMA_PK_UPDATES) << "Check updates transaction didn't finish successfully";
-@@ -423,11 +433,14 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- return;
- } else if (status == PackageKit::Transaction::ExitSuccess) {
- qCDebug(PLASMA_PK_UPDATES) << "Update packages transaction finished successfully";
-+ if (m_lastNotification) {
-+ m_lastNotification->close();
-+ }
- KNotification::event(s_eventIdUpdatesInstalled,
- i18n("Updates Installed"),
- i18np("Successfully updated %1 package", "Successfully updated %1 packages", packages.count()),
- s_pkUpdatesIconName, nullptr,
-- KNotification::Persistent,
-+ KNotification::CloseOnTimeout,
- s_componentName);
- emit updatesInstalled();
- } else {
-diff --git a/src/declarative/pkupdates.h b/src/declarative/pkupdates.h
-index d9cb063..ef02cc9 100644
---- a/src/declarative/pkupdates.h
-+++ b/src/declarative/pkupdates.h
-@@ -29,6 +29,7 @@
- #include <PackageKit/Transaction>
-
- class QTimer;
-+class KNotification;
-
- Q_DECLARE_LOGGING_CATEGORY(PLASMA_PK_UPDATES)
-
-@@ -229,6 +230,8 @@ private:
- QPointer<PackageKit::Transaction> m_cacheTrans;
- QPointer<PackageKit::Transaction> m_installTrans;
- QPointer<PackageKit::Transaction> m_detailTrans;
-+ QPointer<KNotification> m_lastNotification;
-+ int m_lastUpdateCount = 0;
- QVariantMap m_updateList;
- QStringList m_importantList;
- QStringList m_securityList;
---
-2.28.0
-
diff --git a/0012-Fix-minor-typos.patch b/0012-Fix-minor-typos.patch
deleted file mode 100644
index cfb34a6..0000000
--- a/0012-Fix-minor-typos.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 29e49f1c16d08110eb67108b0328f1b55ab87461 Mon Sep 17 00:00:00 2001
-From: Yuri Chornoivan <yurchor@ukr.net>
-Date: Mon, 24 Jun 2019 08:04:54 +0300
-Subject: [PATCH 12/51] Fix minor typos
-
----
- src/declarative/pkupdates.cpp | 2 +-
- src/declarative/pkupdates.h | 2 +-
- src/declarative/plasma_pk_updates.notifyrc | 2 +-
- 3 files changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index 937e318..34bcf4f 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -329,7 +329,7 @@ void PkUpdates::onPackage(PackageKit::Transaction::Info info, const QString &pac
-
- switch (info) {
- case PackageKit::Transaction::InfoBlocked:
-- // Blocked updates are not instalable updates so there is no
-+ // Blocked updates are not installable updates so there is no
- // reason to show/count them
- return;
- case PackageKit::Transaction::InfoImportant:
-diff --git a/src/declarative/pkupdates.h b/src/declarative/pkupdates.h
-index ef02cc9..900242b 100644
---- a/src/declarative/pkupdates.h
-+++ b/src/declarative/pkupdates.h
-@@ -90,7 +90,7 @@ public:
- QString iconName() const;
-
- /**
-- * @return the overal status with number of available updates
-+ * @return the overall status with number of available updates
- */
- QString message() const;
-
-diff --git a/src/declarative/plasma_pk_updates.notifyrc b/src/declarative/plasma_pk_updates.notifyrc
-index 0cec66b..b8ff728 100644
---- a/src/declarative/plasma_pk_updates.notifyrc
-+++ b/src/declarative/plasma_pk_updates.notifyrc
-@@ -19,5 +19,5 @@ Action=Popup
-
- [Event/updateError]
- Name=Update Error
--Comment=An error occured
-+Comment=An error occurred
- Action=Popup
---
-2.28.0
-
diff --git a/0013-Fix-warning-remove-unsigned-int-0-check.patch b/0013-Fix-warning-remove-unsigned-int-0-check.patch
deleted file mode 100644
index 5f4a0fa..0000000
--- a/0013-Fix-warning-remove-unsigned-int-0-check.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 6214113c8a2976e1fc421f3d825325a7f253d7e9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
-Date: Thu, 20 Jun 2019 22:31:49 +0200
-Subject: [PATCH 13/51] Fix warning, remove unsigned int < 0 check
-
-Summary:
-The bindings return an unsigned int value (with 101% denoting
-an undeterminate value), checking for < 0 is pointless.
-
-Reviewers: lukas, jgrulich, ngraham
-
-Reviewed By: jgrulich
-
-Differential Revision: https://phabricator.kde.org/D21974
----
- src/declarative/pkupdates.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index 34bcf4f..5a5e6ce 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -352,7 +352,7 @@ void PkUpdates::onPackageUpdating(PackageKit::Transaction::Info info, const QStr
-
- const uint percent = m_installTrans->percentage();
-
-- if (percent >= 0 && percent <= 100) {
-+ if (percent <= 100) {
- setStatusMessage(i18nc("1 installation status, 2 pkg name, 3 percentage", "%1 %2 (%3%)",
- PkStrings::infoPresent(info), PackageKit::Daemon::packageName(packageID), percent));
- } else {
---
-2.28.0
-
diff --git a/0014-Remove-explicit-initialization-of-default-constructe.patch b/0014-Remove-explicit-initialization-of-default-constructe.patch
deleted file mode 100644
index c5e0ad0..0000000
--- a/0014-Remove-explicit-initialization-of-default-constructe.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 04cb8277574b07b78b7f7f03dea1aa4080f09f58 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
-Date: Fri, 21 Jun 2019 00:03:35 +0200
-Subject: [PATCH 14/51] Remove explicit initialization of default constructed
- members
-
-Summary:
-All four are of type QPointer<PackageKit::Transaction> and are thus
-default initialized, no need to do it explicitly.
-
-Reviewers: lukas, jgrulich, ngraham
-
-Reviewed By: jgrulich
-
-Differential Revision: https://phabricator.kde.org/D21975
----
- src/declarative/pkupdates.cpp | 6 +-----
- 1 file changed, 1 insertion(+), 5 deletions(-)
-
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index 5a5e6ce..ffccff7 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -47,11 +47,7 @@ namespace
- } // namespace {
-
- PkUpdates::PkUpdates(QObject *parent) :
-- QObject(parent),
-- m_updatesTrans(Q_NULLPTR),
-- m_cacheTrans(Q_NULLPTR),
-- m_installTrans(Q_NULLPTR),
-- m_detailTrans(Q_NULLPTR)
-+ QObject(parent)
- {
- setStatusMessage(i18n("Idle"));
-
---
-2.28.0
-
diff --git a/0015-Port-away-from-KDELibs4Support-use-Solid-Power-inter.patch b/0015-Port-away-from-KDELibs4Support-use-Solid-Power-inter.patch
deleted file mode 100644
index a8ba5b0..0000000
--- a/0015-Port-away-from-KDELibs4Support-use-Solid-Power-inter.patch
+++ /dev/null
@@ -1,142 +0,0 @@
-From 6cff71f9dab014e1ea824e334ee029a5c62c35fa Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <stefan.bruens@rwth-aachen.de>
-Date: Fri, 21 Jun 2019 01:08:28 +0200
-Subject: [PATCH 15/51] Port away from KDELibs4Support, use Solid::Power
- interface
-
-Summary:
-The Solid::Power implementation does not track the state itself (to
-avoid querying the initial state even when it is not used), so track
-the state inside PkUpdates and query the initial state from the interface
-asynchronously.
-
-Test Plan:
-The initial state is printed correctly in the debug output, same for
-change notifications.
-
-Depends on D21975
-
-Reviewers: lukas, jgrulich
-
-Reviewed By: jgrulich
-
-Differential Revision: https://phabricator.kde.org/D21976
----
- CMakeLists.txt | 2 +-
- src/declarative/CMakeLists.txt | 4 ++--
- src/declarative/pkupdates.cpp | 29 ++++++++++++++++++++++-------
- src/declarative/pkupdates.h | 1 +
- 4 files changed, 26 insertions(+), 10 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d2dd2cb..48c4013 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -26,7 +26,7 @@ find_package(KF5 REQUIRED
- I18n
- CoreAddons # KFormat
- Notifications
-- KDELibs4Support #Solid::Power
-+ Solid # Solid::Power
- )
-
- find_package(packagekitqt5 REQUIRED)
-diff --git a/src/declarative/CMakeLists.txt b/src/declarative/CMakeLists.txt
-index bdeb5b1..183a8d0 100644
---- a/src/declarative/CMakeLists.txt
-+++ b/src/declarative/CMakeLists.txt
-@@ -16,7 +16,7 @@ target_link_libraries(plasmapk_qmlplugins
- KF5::CoreAddons
- KF5::Notifications
- KF5::ConfigCore
-- KF5::KDELibs4Support
-+ KF5::Solid
- PK::packagekitqt5
- )
-
-@@ -38,7 +38,7 @@ target_link_libraries(plasmapk-console
- KF5::I18n
- KF5::CoreAddons
- KF5::ConfigCore
-- KF5::KDELibs4Support
-+ KF5::Solid
- KF5::Notifications
- PK::packagekitqt5
- )
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index ffccff7..db85eb1 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -27,7 +27,8 @@
- #include <KLocalizedString>
- #include <KFormat>
- #include <KNotification>
--#include <Solid/PowerManagement>
-+#include <Solid/Power>
-+#include <Solid/AcPluggedJob>
- #include <KConfigGroup>
- #include <KSharedConfig>
-
-@@ -47,18 +48,32 @@ namespace
- } // namespace {
-
- PkUpdates::PkUpdates(QObject *parent) :
-- QObject(parent)
-+ QObject(parent),
-+ m_isOnBattery(true)
- {
- setStatusMessage(i18n("Idle"));
-
- connect(PackageKit::Daemon::global(), &PackageKit::Daemon::changed, this, &PkUpdates::onChanged);
- connect(PackageKit::Daemon::global(), &PackageKit::Daemon::updatesChanged, this, &PkUpdates::onUpdatesChanged);
- connect(PackageKit::Daemon::global(), &PackageKit::Daemon::networkStateChanged, this, &PkUpdates::networkStateChanged);
-- connect(Solid::PowerManagement::notifier(), &Solid::PowerManagement::Notifier::resumingFromSuspend, this,
-+ connect(Solid::Power::self(), &Solid::Power::resumeFromSuspend, this,
- [this] {PackageKit::Daemon::stateHasChanged(QStringLiteral("resume"));});
-
-- connect(Solid::PowerManagement::notifier(), &Solid::PowerManagement::Notifier::appShouldConserveResourcesChanged,
-- this, &PkUpdates::isOnBatteryChanged);
-+ connect(Solid::Power::self(), &Solid::Power::acPluggedChanged, this, [this] (bool acPlugged) {
-+ qCDebug(PLASMA_PK_UPDATES) << "acPluggedChanged onBattery:" << m_isOnBattery << "->" << !acPlugged;
-+ if (!acPlugged != m_isOnBattery) {
-+ m_isOnBattery = !acPlugged;
-+ emit PkUpdates::isOnBatteryChanged();
-+ }
-+ });
-+ auto acPluggedJob = Solid::Power::self()->isAcPlugged(this);
-+ connect(acPluggedJob , &Solid::Job::result, this, [this] (Solid::Job* job) {
-+ bool acPlugged = static_cast<Solid::AcPluggedJob*>(job)->isPlugged();
-+ qCDebug(PLASMA_PK_UPDATES) << "acPlugged initial state" << acPlugged;
-+ m_isOnBattery = !acPlugged;
-+ emit PkUpdates::isOnBatteryChanged();
-+ });
-+ acPluggedJob->start();
-
- connect(PackageKit::Daemon::global(), &PackageKit::Daemon::networkStateChanged, this, &PkUpdates::doDelayedCheckUpdates);
- connect(this, &PkUpdates::isActiveChanged, this, &PkUpdates::messageChanged);
-@@ -194,8 +209,8 @@ bool PkUpdates::isNetworkMobile() const
-
- bool PkUpdates::isOnBattery() const
- {
-- qCDebug(PLASMA_PK_UPDATES) << "Is on battery:" << Solid::PowerManagement::appShouldConserveResources();
-- return Solid::PowerManagement::appShouldConserveResources();
-+ qCDebug(PLASMA_PK_UPDATES) << "Is on battery:" << m_isOnBattery;
-+ return m_isOnBattery;
- }
-
- void PkUpdates::getUpdateDetails(const QString &pkgID)
-diff --git a/src/declarative/pkupdates.h b/src/declarative/pkupdates.h
-index 900242b..877bd52 100644
---- a/src/declarative/pkupdates.h
-+++ b/src/declarative/pkupdates.h
-@@ -240,6 +240,7 @@ private:
- Activity m_activity = Idle;
- bool m_lastCheckSuccessful = false;
- bool m_checkUpdatesWhenNetworkOnline = false;
-+ bool m_isOnBattery;
- };
-
- #endif // PLASMA_PK_UPDATES_H
---
-2.28.0
-
diff --git a/0030-Add-support-for-license-prompts.patch b/0030-Add-support-for-license-prompts.patch
deleted file mode 100644
index b5fcb7a..0000000
--- a/0030-Add-support-for-license-prompts.patch
+++ /dev/null
@@ -1,296 +0,0 @@
-From 92675896ed9d1b4a6f41143803630768a46eab7a Mon Sep 17 00:00:00 2001
-From: Fabian Vogt <fabian@ritter-vogt.de>
-Date: Mon, 26 Aug 2019 13:22:25 +0200
-Subject: [PATCH 30/51] Add support for license prompts
-
-Summary:
-Currently, if a transaction requires accepting a license, it just fails.
-This implements a basic dialog (which makes it easier to read the
-license than displaying it inline) and the necessary backend
-functionality.
-
-It was necessary to move the list of packages out of a QObject property
-into a new member to allow restarting the transaction outside of the
-onFinished slot.
-
-Test Plan:
-Downgraded two packages with EULAs and searched for updates.
-Hit the install updates button and got two license prompts.
-Only after accepting both with the "Yes" button are the updates installed.
-
-Reviewers: lukas, jgrulich, bruns, antlarr
-
-Differential Revision: https://phabricator.kde.org/D23462
----
- src/declarative/pkupdates.cpp | 61 ++++++++++++++++++++++++++++-----
- src/declarative/pkupdates.h | 29 ++++++++++++++++
- src/plasma/contents/ui/Full.qml | 59 +++++++++++++++++++++++++++++++
- 3 files changed, 141 insertions(+), 8 deletions(-)
-
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index db85eb1..9eac70f 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -296,8 +296,9 @@ void PkUpdates::installUpdates(const QStringList &packageIds, bool simulate, boo
- flags = PackageKit::Transaction::TransactionFlagNone;
- }
-
-- m_installTrans = PackageKit::Daemon::updatePackages(packageIds, flags);
-- m_installTrans->setProperty("packages", packageIds);
-+ m_requiredEulas.clear();
-+ m_packages = packageIds;
-+ m_installTrans = PackageKit::Daemon::updatePackages(m_packages, flags);
- setActivity(InstallingUpdates);
-
- connect(m_installTrans.data(), &PackageKit::Transaction::statusChanged, this, &PkUpdates::onStatusChanged);
-@@ -306,6 +307,7 @@ void PkUpdates::installUpdates(const QStringList &packageIds, bool simulate, boo
- connect(m_installTrans.data(), &PackageKit::Transaction::package, this, &PkUpdates::onPackageUpdating);
- connect(m_installTrans.data(), &PackageKit::Transaction::requireRestart, this, &PkUpdates::onRequireRestart);
- connect(m_installTrans.data(), &PackageKit::Transaction::repoSignatureRequired, this, &PkUpdates::onRepoSignatureRequired);
-+ connect(m_installTrans.data(), &PackageKit::Transaction::eulaRequired, this, &PkUpdates::onEulaRequired);
- }
-
- void PkUpdates::onChanged()
-@@ -431,16 +433,19 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- qCDebug(PLASMA_PK_UPDATES) << "Total number of updates: " << count();
- emit done();
- } else if (trans->role() == PackageKit::Transaction::RoleUpdatePackages) {
-- const QStringList packages = trans->property("packages").toStringList();
-- qCDebug(PLASMA_PK_UPDATES) << "Finished updating packages:" << packages;
-+ qCDebug(PLASMA_PK_UPDATES) << "Finished updating packages:" << m_packages;
- if (status == PackageKit::Transaction::ExitNeedUntrusted) {
- qCDebug(PLASMA_PK_UPDATES) << "Transaction needs untrusted packages";
- // restart transaction with "untrusted" flag
-- installUpdates(packages, false /*simulate*/, true /*untrusted*/);
-+ installUpdates(m_packages, false /*simulate*/, true /*untrusted*/);
-+ return;
-+ } else if (status == PackageKit::Transaction::ExitEulaRequired) {
-+ qCDebug(PLASMA_PK_UPDATES) << "Acceptance of EULAs required";
-+ promptNextEulaAgreement();
- return;
- } else if (status == PackageKit::Transaction::ExitSuccess && trans->transactionFlags().testFlag(PackageKit::Transaction::TransactionFlagSimulate)) {
- qCDebug(PLASMA_PK_UPDATES) << "Simulation finished with success, restarting the transaction";
-- installUpdates(packages, false /*simulate*/, false /*untrusted*/);
-+ installUpdates(m_packages, false /*simulate*/, false /*untrusted*/);
- return;
- } else if (status == PackageKit::Transaction::ExitSuccess) {
- qCDebug(PLASMA_PK_UPDATES) << "Update packages transaction finished successfully";
-@@ -449,7 +454,7 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- }
- KNotification::event(s_eventIdUpdatesInstalled,
- i18n("Updates Installed"),
-- i18np("Successfully updated %1 package", "Successfully updated %1 packages", packages.count()),
-+ i18np("Successfully updated %1 package", "Successfully updated %1 packages", m_packages.count()),
- s_pkUpdatesIconName, nullptr,
- KNotification::CloseOnTimeout,
- s_componentName);
-@@ -475,7 +480,7 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- void PkUpdates::onErrorCode(PackageKit::Transaction::Error error, const QString &details)
- {
- qWarning() << "PK error:" << details << "type:" << PackageKit::Daemon::enumToString<PackageKit::Transaction>((int)error, "Error");
-- if (error == PackageKit::Transaction::ErrorBadGpgSignature)
-+ if (error == PackageKit::Transaction::ErrorBadGpgSignature || error == PackageKit::Transaction::ErrorNoLicenseAgreement)
- return;
-
- KNotification::event(s_eventIdError, i18n("Update Error"),
-@@ -553,6 +558,46 @@ void PkUpdates::onRepoSignatureRequired(const QString &packageID, const QString
- qCDebug(PLASMA_PK_UPDATES) << "Repo sig required" << packageID;
- }
-
-+void PkUpdates::onEulaRequired(const QString &eulaID, const QString &packageID, const QString &vendor, const QString &licenseAgreement)
-+{
-+ m_requiredEulas[eulaID] = {packageID, vendor, licenseAgreement};
-+}
-+
-+void PkUpdates::promptNextEulaAgreement()
-+{
-+ if(m_requiredEulas.empty()) {
-+ // Restart the transaction
-+ installUpdates(m_packages, false, false);
-+ return;
-+ }
-+
-+ QString eulaID = m_requiredEulas.firstKey();
-+ const EulaData &eula = m_requiredEulas[eulaID];
-+ emit eulaRequired(eulaID, eula.packageID, eula.vendor, eula.licenseAgreement);
-+}
-+
-+void PkUpdates::eulaAgreementResult(const QString &eulaID, bool agreed)
-+{
-+ if(!agreed) {
-+ qCDebug(PLASMA_PK_UPDATES) << "EULA declined";
-+ // Do the same as the failure case in onFinished
-+ checkUpdates(false /* force */);
-+ return;
-+ }
-+
-+ m_eulaTrans = PackageKit::Daemon::acceptEula(eulaID);
-+ connect(m_eulaTrans.data(), &PackageKit::Transaction::finished, this,
-+ [this, eulaID] (PackageKit::Transaction::Exit exit, uint) {
-+ if (exit == PackageKit::Transaction::ExitSuccess) {
-+ m_requiredEulas.remove(eulaID);
-+ promptNextEulaAgreement();
-+ } else {
-+ qCWarning(PLASMA_PK_UPDATES) << "EULA acceptance failed";
-+ }
-+ }
-+ );
-+}
-+
- void PkUpdates::setStatusMessage(const QString &message)
- {
- m_statusMessage = message;
-diff --git a/src/declarative/pkupdates.h b/src/declarative/pkupdates.h
-index 877bd52..0f48d2d 100644
---- a/src/declarative/pkupdates.h
-+++ b/src/declarative/pkupdates.h
-@@ -156,6 +156,17 @@ signals:
- */
- void updateDetail(const QString &packageID, const QString &updateText, const QStringList &urls);
-
-+ /**
-+ * Emitted when an EULA agreement prevents the transaction from running
-+ * @param eulaId the EULA identifier
-+ * @param packageID ID of the package for which an EULA is required
-+ * @param vendorName the vendor name
-+ * @param licenseAgreement the EULA text
-+ *
-+ * @see eulaAgreementResult()
-+ */
-+ void eulaRequired(const QString &eulaID, const QString &packageID, const QString &vendor, const QString &licenseAgreement);
-+
- // private ;)
- void statusMessageChanged();
- void isActiveChanged();
-@@ -205,6 +216,11 @@ public slots:
-
- Q_INVOKABLE void doDelayedCheckUpdates();
-
-+ /**
-+ * If agreed to eulaID, starts an EULA acceptance transaction and continues.
-+ */
-+ Q_INVOKABLE void eulaAgreementResult(const QString &eulaID, bool agreed);
-+
- private slots:
- void getUpdates();
- void onChanged();
-@@ -221,15 +237,25 @@ private slots:
- const QDateTime &issued, const QDateTime &updated);
- void onRepoSignatureRequired(const QString & packageID, const QString & repoName, const QString & keyUrl, const QString & keyUserid,
- const QString & keyId, const QString & keyFingerprint, const QString & keyTimestamp, PackageKit::Transaction::SigType type);
-+ void onEulaRequired(const QString &eulaID, const QString &packageID, const QString &vendor, const QString &licenseAgreement);
-
- private:
-+ struct EulaData {
-+ QString packageID;
-+ QString vendor;
-+ QString licenseAgreement;
-+ };
-+
- void setStatusMessage(const QString &message);
- void setActivity(Activity act);
- void setPercentage(int value);
-+ void promptNextEulaAgreement();
- QPointer<PackageKit::Transaction> m_updatesTrans;
- QPointer<PackageKit::Transaction> m_cacheTrans;
- QPointer<PackageKit::Transaction> m_installTrans;
- QPointer<PackageKit::Transaction> m_detailTrans;
-+ QPointer<PackageKit::Transaction> m_eulaTrans;
-+ QStringList m_packages;
- QPointer<KNotification> m_lastNotification;
- int m_lastUpdateCount = 0;
- QVariantMap m_updateList;
-@@ -241,6 +267,9 @@ private:
- bool m_lastCheckSuccessful = false;
- bool m_checkUpdatesWhenNetworkOnline = false;
- bool m_isOnBattery;
-+ // If a transaction failed because of required EULAs,
-+ // this contains a map of their IDs to their data
-+ QMap<QString, EulaData> m_requiredEulas;
- };
-
- #endif // PLASMA_PK_UPDATES_H
-diff --git a/src/plasma/contents/ui/Full.qml b/src/plasma/contents/ui/Full.qml
-index 7cf37eb..de2a47e 100644
---- a/src/plasma/contents/ui/Full.qml
-+++ b/src/plasma/contents/ui/Full.qml
-@@ -22,6 +22,7 @@
- import QtQuick 2.1
- import QtQuick.Layouts 1.1
- import QtQuick.Controls 1.3
-+import QtQuick.Dialogs 1.2
- import org.kde.plasma.components 2.0 as PlasmaComponents
- import org.kde.plasma.extras 2.0 as PlasmaExtras
- import org.kde.plasma.core 2.0 as PlasmaCore
-@@ -46,10 +47,68 @@ Item {
- onUpdatesChanged: populateModel()
- onUpdateDetail: updateDetails(packageID, updateText, urls)
- onUpdatesInstalled: plasmoid.expanded = false
-+ onEulaRequired: eulaDialog.showPrompt(eulaID, packageID, vendor, licenseAgreement)
- }
-
- Component.onCompleted: populateModel()
-
-+ Dialog {
-+ property string eulaID: ""
-+ property string packageName: ""
-+ property string vendor: ""
-+ property string licenseText: ""
-+
-+ property bool buttonClicked: false
-+
-+ id: eulaDialog
-+ title: i18n("License Agreement for %1").arg(packageName)
-+ standardButtons: StandardButton.Yes | StandardButton.No
-+
-+ ColumnLayout {
-+ anchors.fill: parent
-+
-+ Label {
-+ text: i18n("License agreement required for %1 (from %2):").arg(eulaDialog.packageName).arg(eulaDialog.vendor)
-+ }
-+
-+ TextArea {
-+ Layout.fillWidth: true
-+ Layout.fillHeight: true
-+ Layout.minimumWidth: 400
-+ Layout.minimumHeight: 200
-+ text: eulaDialog.licenseText
-+ readOnly: true
-+ }
-+
-+ Label {
-+ text: i18n("Do you accept?")
-+ }
-+ }
-+
-+ onVisibleChanged: {
-+ // onRejected does not fire on dialog closing, so implement that ourselves
-+ if(!visible && !buttonClicked)
-+ onNo();
-+ }
-+ onNo: {
-+ buttonClicked = true;
-+ PkUpdates.eulaAgreementResult(this.eulaID, false);
-+ }
-+ onYes: {
-+ buttonClicked = true;
-+ PkUpdates.eulaAgreementResult(this.eulaID, true);
-+ }
-+
-+ function showPrompt(eulaID, packageID, vendor, licenseAgreement) {
-+ this.eulaID = eulaID;
-+ this.packageName = PkUpdates.packageName(packageID);
-+ this.vendor = vendor;
-+ this.licenseText = licenseAgreement;
-+
-+ this.visible = true;
-+ }
-+ }
-+
- ListModel {
- id: updatesModel
- }
---
-2.28.0
-
diff --git a/0035-Make-action-buttons-translatable.patch b/0035-Make-action-buttons-translatable.patch
deleted file mode 100644
index 25a171d..0000000
--- a/0035-Make-action-buttons-translatable.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 7ef715bc7e1470e58470382e9d13f3d89b6669e6 Mon Sep 17 00:00:00 2001
-From: Yuri Chornoivan <yurchor@ukr.net>
-Date: Sat, 26 Oct 2019 22:53:08 +0300
-Subject: [PATCH 35/51] Make action buttons translatable
-
----
- src/declarative/pkupdates.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index 9eac70f..401c887 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -497,11 +497,11 @@ void PkUpdates::onRequireRestart(PackageKit::Transaction::Restart type, const QS
- notification->setComponentName(s_componentName);
- notification->setIconName(s_pkUpdatesIconName);
- if (type == PackageKit::Transaction::RestartSystem) {
-- notification->setActions(QStringList{QLatin1String("Restart")});
-+ notification->setActions(QStringList{i18nc("@action:button", "Restart")});
- notification->setTitle(i18n("Restart is required"));
- notification->setText(i18n("The computer will have to be restarted after the update for the changes to take effect."));
- } else {
-- notification->setActions(QStringList{QLatin1String("Logout")});
-+ notification->setActions(QStringList{i18nc("@action:button", "Logout")});
- notification->setTitle(i18n("Session restart is required"));
- notification->setText(i18n("You will need to log out and back in after the update for the changes to take effect."));
- }
---
-2.28.0
-
diff --git a/0042-Don-t-show-an-error-for-a-failed-automatic-refresh.patch b/0042-Don-t-show-an-error-for-a-failed-automatic-refresh.patch
deleted file mode 100644
index 4c81428..0000000
--- a/0042-Don-t-show-an-error-for-a-failed-automatic-refresh.patch
+++ /dev/null
@@ -1,190 +0,0 @@
-From 4d6cfaea1dd4a44867a6f77bdc8a6d3f0b70a396 Mon Sep 17 00:00:00 2001
-From: Fabian Vogt <fabian@ritter-vogt.de>
-Date: Thu, 23 Jan 2020 11:18:58 +0100
-Subject: [PATCH 42/51] Don't show an error for a failed automatic refresh
-
-Summary:
-If it's an automatically triggered refresh, the first time it fails a likely
-transient (no network, locking failed, init failed) error is not shown.
-
-Test Plan:
-Started zypper in the background, which locks the database.
-Reset the timestamp to 0 and started the applet in plasmawindowed.
-The first autorefresh error wasn't displayed, but the subsequent ones were.
-After quitting zypper it refreshed successfully and the count was reset.
-
-Reviewers: bruns, antlarr
-
-Differential Revision: https://phabricator.kde.org/D27423
----
- src/declarative/pkupdates.cpp | 42 +++++++++++++++++++++++++++++----
- src/declarative/pkupdates.h | 7 +++++-
- src/plasma/contents/ui/Full.qml | 2 +-
- src/plasma/contents/ui/main.qml | 2 +-
- 4 files changed, 45 insertions(+), 8 deletions(-)
-
-diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp
-index 401c887..1c958db 100644
---- a/src/declarative/pkupdates.cpp
-+++ b/src/declarative/pkupdates.cpp
-@@ -197,7 +197,7 @@ void PkUpdates::doDelayedCheckUpdates()
- {
- qCDebug(PLASMA_PK_UPDATES) << "CheckUpdates was delayed. Doing it now";
- m_checkUpdatesWhenNetworkOnline = false;
-- checkUpdates();
-+ checkUpdates(true /* force */, m_isManualCheck /* manual */);
- }
- }
-
-@@ -230,8 +230,10 @@ QString PkUpdates::timestamp() const
- return i18n("Last check: never");
- }
-
--void PkUpdates::checkUpdates(bool force)
-+void PkUpdates::checkUpdates(bool force, bool manual)
- {
-+ m_isManualCheck = manual;
-+
- if (!isNetworkOnline())
- {
- qCDebug(PLASMA_PK_UPDATES) << "Checking updates delayed. Network is offline";
-@@ -247,7 +249,7 @@ void PkUpdates::checkUpdates(bool force)
- // evaluate the result
- connect(m_cacheTrans.data(), &PackageKit::Transaction::statusChanged, this, &PkUpdates::onStatusChanged);
- connect(m_cacheTrans.data(), &PackageKit::Transaction::finished, this, &PkUpdates::onFinished);
-- connect(m_cacheTrans.data(), &PackageKit::Transaction::errorCode, this, &PkUpdates::onErrorCode);
-+ connect(m_cacheTrans.data(), &PackageKit::Transaction::errorCode, this, &PkUpdates::onRefreshErrorCode);
- connect(m_cacheTrans.data(), &PackageKit::Transaction::requireRestart, this, &PkUpdates::onRequireRestart);
- connect(m_cacheTrans.data(), &PackageKit::Transaction::repoSignatureRequired, this, &PkUpdates::onRepoSignatureRequired);
- }
-@@ -397,6 +399,7 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- // save the timestamp
- KConfigGroup grp(KSharedConfig::openConfig("plasma-pk-updates"), "General");
- grp.writeEntry("Timestamp", QDateTime::currentDateTime().toMSecsSinceEpoch());
-+ grp.writeEntry("FailedAutoRefeshCount", 0);
- grp.sync();
-
- return;
-@@ -462,7 +465,7 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- } else {
- qCDebug(PLASMA_PK_UPDATES) << "Update packages transaction didn't finish successfully";
- // just try to refresh cache in case of error, the user might have installed the updates manually meanwhile
-- checkUpdates(false /* force */);
-+ checkUpdates(false /* force */, false /* manual */);
- return;
- }
- setActivity(Idle);
-@@ -478,6 +481,35 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime)
- }
-
- void PkUpdates::onErrorCode(PackageKit::Transaction::Error error, const QString &details)
-+{
-+ showError(error, details);
-+}
-+
-+void PkUpdates::onRefreshErrorCode(PackageKit::Transaction::Error error, const QString &details)
-+{
-+ if(!m_isManualCheck) {
-+ auto isTransientError = [] (PackageKit::Transaction::Error error) {
-+ return (error == PackageKit::Transaction::ErrorFailedInitialization) ||
-+ (error == PackageKit::Transaction::ErrorNoNetwork) ||
-+ (error == PackageKit::Transaction::ErrorCannotGetLock);
-+ };
-+
-+ KConfigGroup grp(KSharedConfig::openConfig("plasma-pk-updates"), "General");
-+ auto failCount = grp.readEntry<qint64>("FailedAutoRefeshCount", 0);
-+ failCount += 1;
-+ grp.writeEntry("FailedAutoRefeshCount", failCount);
-+ grp.sync();
-+
-+ if(failCount <= 1 && isTransientError(error)) {
-+ qDebug(PLASMA_PK_UPDATES) << "Ignoring notification for likely transient error during automatic check";
-+ return;
-+ }
-+ }
-+
-+ showError(error, details);
-+}
-+
-+void PkUpdates::showError(PackageKit::Transaction::Error error, const QString &details)
- {
- qWarning() << "PK error:" << details << "type:" << PackageKit::Daemon::enumToString<PackageKit::Transaction>((int)error, "Error");
- if (error == PackageKit::Transaction::ErrorBadGpgSignature || error == PackageKit::Transaction::ErrorNoLicenseAgreement)
-@@ -581,7 +613,7 @@ void PkUpdates::eulaAgreementResult(const QString &eulaID, bool agreed)
- if(!agreed) {
- qCDebug(PLASMA_PK_UPDATES) << "EULA declined";
- // Do the same as the failure case in onFinished
-- checkUpdates(false /* force */);
-+ checkUpdates(false /* force */, m_isManualCheck /* manual */);
- return;
- }
-
-diff --git a/src/declarative/pkupdates.h b/src/declarative/pkupdates.h
-index 0f48d2d..c1872d0 100644
---- a/src/declarative/pkupdates.h
-+++ b/src/declarative/pkupdates.h
-@@ -181,8 +181,9 @@ public slots:
- * as a result. Consult the count() property whether there are new updates available.
- *
- * @param force whether to force the cache refresh
-+ * @param manual whether this check was triggered via explicit user interaction
- */
-- Q_INVOKABLE void checkUpdates(bool force = true);
-+ Q_INVOKABLE void checkUpdates(bool force = true, bool manual = false);
-
- /**
- * Launch the update process
-@@ -230,6 +231,7 @@ private slots:
- void onPackageUpdating(PackageKit::Transaction::Info info, const QString &packageID, const QString &summary);
- void onFinished(PackageKit::Transaction::Exit status, uint runtime);
- void onErrorCode(PackageKit::Transaction::Error error, const QString &details);
-+ void onRefreshErrorCode(PackageKit::Transaction::Error error, const QString &details);
- void onRequireRestart(PackageKit::Transaction::Restart type, const QString &packageID);
- void onUpdateDetail(const QString &packageID, const QStringList &updates, const QStringList &obsoletes, const QStringList &vendorUrls,
- const QStringList &bugzillaUrls, const QStringList &cveUrls, PackageKit::Transaction::Restart restart,
-@@ -249,6 +251,7 @@ private:
- void setStatusMessage(const QString &message);
- void setActivity(Activity act);
- void setPercentage(int value);
-+ void showError(PackageKit::Transaction::Error error, const QString &details);
- void promptNextEulaAgreement();
- QPointer<PackageKit::Transaction> m_updatesTrans;
- QPointer<PackageKit::Transaction> m_cacheTrans;
-@@ -267,6 +270,8 @@ private:
- bool m_lastCheckSuccessful = false;
- bool m_checkUpdatesWhenNetworkOnline = false;
- bool m_isOnBattery;
-+ // If the current check was triggered manually
-+ bool m_isManualCheck;
- // If a transaction failed because of required EULAs,
- // this contains a map of their IDs to their data
- QMap<QString, EulaData> m_requiredEulas;
-diff --git a/src/plasma/contents/ui/Full.qml b/src/plasma/contents/ui/Full.qml
-index de2a47e..e612738 100644
---- a/src/plasma/contents/ui/Full.qml
-+++ b/src/plasma/contents/ui/Full.qml
-@@ -272,7 +272,7 @@ Item {
- }
- text: i18n("Check For Updates")
- tooltip: i18n("Checks for any available updates")
-- onClicked: PkUpdates.checkUpdates() // circumvent the checks, the user knows what they're doing ;)
-+ onClicked: PkUpdates.checkUpdates(true /* force */, true /* manual */) // circumvent the checks, the user knows what they're doing ;)
- }
-
- PlasmaComponents.Button {
-diff --git a/src/plasma/contents/ui/main.qml b/src/plasma/contents/ui/main.qml
-index b18f15d..aaec014 100644
---- a/src/plasma/contents/ui/main.qml
-+++ b/src/plasma/contents/ui/main.qml
-@@ -54,7 +54,7 @@ Item
- interval: 1000 * 60 * 60; // 1 hour
- onTriggered: {
- if (needsForcedUpdate() && networkAllowed && batteryAllowed) {
-- PkUpdates.checkUpdates();
-+ PkUpdates.checkUpdates(true /* force */, false /* manual */);
- }
- }
- }
---
-2.28.0
-
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..5204a84
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Orphaned for 6+ weeks
diff --git a/plasma-pk-updates-0.3.2-notif.patch b/plasma-pk-updates-0.3.2-notif.patch
deleted file mode 100644
index 12666d6..0000000
--- a/plasma-pk-updates-0.3.2-notif.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up plasma-pk-updates-0.3.2/src/declarative/pkupdates.cpp.notif plasma-pk-updates-0.3.2/src/declarative/pkupdates.cpp
---- plasma-pk-updates-0.3.2/src/declarative/pkupdates.cpp.notif 2020-11-05 10:58:12.241536215 -0600
-+++ plasma-pk-updates-0.3.2/src/declarative/pkupdates.cpp 2020-11-05 11:01:43.038872828 -0600
-@@ -422,7 +422,7 @@ void PkUpdates::onFinished(PackageKit::T
- m_lastNotification = KNotification::event(s_eventIdUpdatesAvailable,
- QString(),
- i18np("You have 1 new update", "You have %1 new updates", upCount),
-- s_pkUpdatesIconName, nullptr, KNotification::Persistent,
-+ s_pkUpdatesIconName, nullptr, KNotification::CloseOnTimeout,
- s_componentName);
- connect(m_lastNotification, &KNotification::closed, this, [this] {
- qCDebug(PLASMA_PK_UPDATES) << "Old notification closed";
diff --git a/plasma-pk-updates.spec b/plasma-pk-updates.spec
deleted file mode 100644
index aa319cd..0000000
--- a/plasma-pk-updates.spec
+++ /dev/null
@@ -1,231 +0,0 @@
-%undefine __cmake_in_source_build
-
-Name: plasma-pk-updates
-Epoch: 1
-Version: 0.3.2
-Release: 23%{?dist}
-Summary: Plasma applet for system updates using PackageKit
-
-# Automatically converted from old format: GPLv2+ - review is highly recommended.
-License: GPL-2.0-or-later
-URL: https://invent.kde.org/system/plasma-pk-updates
-Source0: https://download.kde.org/stable/plasma-pk-updates/%{version}/plasma-pk-updates-%{version}.tar.xz
-
-# Upstream patches
-Patch5: 0005-Several-fixes-related-to-the-network-state-and-apple.patch
-Patch6: 0006-Don-t-force-a-check-for-updates-when-the-applet-runs.patch
-Patch8: 0008-Replace-KIconLoader-pixmaps-with-standard-icon-names.patch
-Patch9: 0009-Fix-usage-of-0-for-null-pointer-constants.patch
-Patch10: 0010-Use-own-eventIds-and-ComponentName-instead-of-generi.patch
-Patch11: 0011-Make-the-notifications-less-obtrusive.patch
-Patch12: 0012-Fix-minor-typos.patch
-Patch13: 0013-Fix-warning-remove-unsigned-int-0-check.patch
-Patch14: 0014-Remove-explicit-initialization-of-default-constructe.patch
-## Requires new SIP Power API from solid, not enabled by default
-Patch15: 0015-Port-away-from-KDELibs4Support-use-Solid-Power-inter.patch
-Patch30: 0030-Add-support-for-license-prompts.patch
-Patch35: 0035-Make-action-buttons-translatable.patch
-Patch42: 0042-Don-t-show-an-error-for-a-failed-automatic-refresh.patch
-
-# Downstream patches
-Patch100: plasma-pk-updates-0.3.2-notif.patch
-
-BuildRequires: extra-cmake-modules
-BuildRequires: kf5-kcoreaddons-devel
-BuildRequires: kf5-ki18n-devel
-BuildRequires: kf5-kiconthemes-devel
-BuildRequires: kf5-knotifications-devel
-BuildRequires: kf5-plasma-devel
-# 5.75.0-2 when WIP api's used here were enabled -- rdieter
-BuildRequires: kf5-solid-devel >= 5.75.0-2
-BuildRequires: kf5-rpm-macros
-BuildRequires: PackageKit-Qt5-devel
-BuildRequires: qt5-qtbase-devel
-BuildRequires: qt5-qtdeclarative-devel
-
-BuildRequires: libappstream-glib
-
-Requires: PackageKit
-Requires: kf5-solid%{?_isa} >= 5.75.0-2
-
-%description
-%{summary}.
-
-
-%prep
-%autosetup -p1
-
-
-%build
-%cmake_kf5
-
-%cmake_build
-
-
-%install
-%cmake_install
-
-%find_lang %{name} --all-name
-
-
-%check
-appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.plasma.pkupdates.appdata.xml ||:
-
-
-%files -f %{name}.lang
-%{_kf5_datadir}/kservices5/plasma-applet-org.kde.plasma.pkupdates.desktop
-%{_kf5_qmldir}/org/kde/plasma/PackageKit/
-%{_kf5_datadir}/plasma/plasmoids/org.kde.plasma.pkupdates/
-%{_kf5_metainfodir}/org.kde.plasma.pkupdates.appdata.xml
-%{_kf5_datadir}/knotifications5/plasma_pk_updates.notifyrc
-
-
-%changelog
-* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-23
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
-
-* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-22
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
-
-* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-21
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
-
-* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-20
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
-
-* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 1:0.3.2-19
-- convert license to SPDX
-
-* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-18
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
-
-* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-17
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-16
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
-
-* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-15
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
-
-* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-14
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
-
-* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-13
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
-
-* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-12
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.3.2-11
-- Second attempt - Rebuilt for
- https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Fri May 07 2021 Kevin Kofler <Kevin@tigcc.ticalc.org> - 1:0.3.2-10
-- Bump Epoch to work around invalid Obsoletes in plasma-discover-notifier
- (There is no version 0.5 planned any time soon, so < 0.5 doesn't make sense.)
-
-* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-9
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Thu Nov 05 2020 Rex Dieter <rdieter@fedoraproject.org> - 0.3.2-8
-- pull in upstream fixes
-- update URL
-- .spec cleanup
-
-* Tue Aug 18 2020 Rex Dieter <rdieter@fedoraproject.org> - 0.3.2-7
-- drop persistent notifications (#1316705,#1358146)
-
-* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.2-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Tue May 22 2018 Jan Grulich <jgrulich@redhat.com> - 0.3.2-1
-- 0.3.2
-
-* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-9
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Sun Jan 28 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.3.1-8
-- rebuild
-
-* Sun Jan 21 2018 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.3.1-7
-- PackageKit-Qt 1.0.x build fix upstreamed, use patch from upstream git
-
-* Sun Jan 21 2018 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.3.1-6
-- fix FTBFS with PackageKit-Qt 1.0.x: remove unused obsolete PkStrings::message
-
-* Tue Jan 16 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.3.1-5
-- pull in upstream fixes
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Thu Jun 29 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.3.1-2
-- .spec cosmetics: fix URL for real, use %%autosetup
-
-* Wed May 31 2017 Jan Grulich <jgrulich@redhat.com> - 0.3.1-1
-- Update to 0.3.1
-
-* Thu Apr 13 2017 Rex Dieter <rdieter@fedoraproject.org> - 0.2-12.20170102git73b70b3
-- update URL, fix %%snap
-
-* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-11.20160307git73b70b3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Mon Jan 02 2017 Jan Grulich <jgrulich@redhat.com> - 0.2-10-20170102git73b70b3
-- Fresh snapshot
- Resolves: kdebz#374429
-
-* Mon Mar 21 2016 Rex Dieter <rdieter@fedoraproject.org> - 0.2-9.20160307git7b484b0
-- update URL, fresh snapshot
-
-* Mon Mar 21 2016 Rex Dieter <rdieter@fedoraproject.org> - 0.2-8.20160216git
-- omit plasma update script (no longer needed)
-
-* Tue Feb 16 2016 Jan Grulich <jgrulich@redhat.com> - 0.2-7.20160216git
-- Update to latest git snapshot
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-6
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Thu Oct 29 2015 Rex Dieter <rdieter@fedoraproject.org> 0.2-5
-- rebuild (PackageKit-Qt)
-
-* Thu Oct 29 2015 Rex Dieter <rdieter@fedoraproject.org> 0.2-4
-- .spec cosmetics, (explicit) Requires: PackageKit
-
-* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.2-2
-- Rebuilt for GCC 5 C++11 ABI change
-
-* Tue Apr 07 2015 Jan Grulich <jgrulich@redhat.com> 0.2-1
-- update to 0.2
-
-* Mon Mar 30 2015 Rex Dieter <rdieter@fedoraproject.org> 0.1-4
-- enable org.kde.plasma.pkupdates by default, except not liveimage (#1206760)
-
-* Mon Mar 23 2015 Jan Grulich <jgrulich@redhat.com> - 0.1-3
-- backport minor fixes from upstream
-
-* Mon Mar 23 2015 Jan Grulich <jgrulich@redhat.com> - 0.1-2
-- fix URL
-
-* Wed Mar 18 2015 Jan Grulich <jgrulich@redhat.com> - 0.1-1
-- Initial relase
diff --git a/sources b/sources
deleted file mode 100644
index 5a16e50..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (plasma-pk-updates-0.3.2.tar.xz) = 79ab0d1d5ffd7d81f7a72610d5de3f40c7be8bedb76a9d1e3d86ec14d2f9245aa21196b0ee2923230c61cea86b0d9fe63c2aca5de93217220f621796fb11b74e
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-11 21:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 21:52 [rpms/plasma-pk-updates] rawhide: Orphaned for 6+ weeks Orphaned Packages Process
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox