commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2020-04-25 20:16:08 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.2738 (New) Package is "plasma5-pk-updates" Sat Apr 25 20:16:08 2020 rev:23 rq:796472 version:0.3.2 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2020-02-26 15:01:59.960826406 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.2738/plasma5-pk-updates.changes 2020-04-25 20:18:12.248769975 +0200 @@ -1,0 +2,13 @@ +Thu Apr 23 09:58:43 UTC 2020 - Fabian Vogt + +- Fix 0001-Limit-to-one-automatic-check-each-10-minutes.patch + to handle msecs properly + +--- +Fri Apr 17 14:09:14 UTC 2020 - Fabian Vogt + +- Add patch to make avoiding error messages more effective (boo#1156387): + * 0001-Limit-to-one-automatic-check-each-10-minutes.patch + * 0001-Also-treat-ErrorNotAuthorized-as-temporary.patch + +--- New: 0001-Also-treat-ErrorNotAuthorized-as-temporary.patch 0001-Limit-to-one-automatic-check-each-10-minutes.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.6JDTL4/_old 2020-04-25 20:18:17.508780820 +0200 +++ /var/tmp/diff_new_pack.6JDTL4/_new 2020-04-25 20:18:17.508780820 +0200 @@ -1,7 +1,7 @@ # # spec file for package plasma5-pk-updates # -# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,7 +22,7 @@ Summary:Software Update Manager for Plasma License:GPL-3.0-or-later Group: System/Packages -Url:https://www.kde.org/ +URL:https://www.kde.org/ Source: https://download.kde.org/stable/plasma-pk-updates/%{version}/plasma-pk-updates-%{version}.tar.xz # Updated translations Source1:plasma5-pk-updates-lang.tar.xz @@ -42,6 +42,9 @@ # PATCH-FEATURE-UPSTREAM Patch10:0001-Add-support-for-license-prompts.patch Patch11:0001-Don-t-show-an-error-for-a-failed-automatic-refresh.patch +# To be sent upstream if confirmed to work as expected +Patch12:0001-Limit-to-one-automatic-check-each-10-minutes.patch +Patch13:0001-Also-treat-ErrorNotAuthorized-as-temporary.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 ++ 0001-Also-treat-ErrorNotAuthorized-as-temporary.patch ++ >From 4cf369b6676d92dcfaed48fb3837c98ce6c6f0fa Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Fri, 17 Apr 2020 16:42:41 +0200 Subject: [PATCH] Also treat ErrorNotAuthorized as temporary This can happen if updates are checked while it's not the active session. --- src/declarative/pkupdates.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp index 1c958db..857a6a1 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -490,6 +490,7 @@ void PkUpdates::onRefreshErrorCode(PackageKit::Transaction::Error error, const Q if(!m_isManualCheck) { auto isTransientError = [] (PackageKit::Transaction::Error error) { return (error == PackageKit::Transaction::ErrorFailedInitialization) || + (error == PackageKit::Transaction::ErrorNotAuthorized) || (error == PackageKit::Transaction::ErrorNoNetwork) || (error == PackageKit::Transaction::ErrorCannotGetLock); }; -- 2.25.1 ++ 0001-Limit-to-one-automatic-check-each-10-minutes.patch ++ >From 2e968cb632acdd1dbadcd0960fc44935c962847f Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Fri, 17 Apr 2020 16:06:25 +0200 Subject: [PATCH 1/2] Limit to one automatic check each 10 minutes Otherwise each network or battery change results in a check, which can be especially annoying if those fail for some reason (e.g. no internet). --- src/plasma/contents/ui/main.qml | 8 1 file changed, 8 insertions(+) diff --git a/src/plasma/contents/ui/main.qml b/src/plasma/contents/ui/main.qml index aaec014..bb87f1b 100644 --- a/src/plasma/contents/ui/main.qml +++ b/src/plasma/contents/ui/main.qml @@ -40,6 +40,9 @@ Item property bool checkOnMobile: plasmoid.configuration.check_on_mobile property bool checkOnBattery: plasmoid.configuration.check_on_battery +property double lastCheckAttempt: PkUpdates.lastRefreshTimestamp() +
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2020-02-26 15:01:58 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.26092 (New) Package is "plasma5-pk-updates" Wed Feb 26 15:01:58 2020 rev:22 rq:778691 version:0.3.2 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2020-02-19 12:39:45.787534823 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.26092/plasma5-pk-updates.changes 2020-02-26 15:01:59.960826406 +0100 @@ -1,0 +2,6 @@ +Mon Feb 24 07:55:44 UTC 2020 - Fabian Vogt + +- Add patch to avoid error messages for a locked db (boo#1161501): + * 0001-Don-t-show-an-error-for-a-failed-automatic-refresh.patch + +--- New: 0001-Don-t-show-an-error-for-a-failed-automatic-refresh.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.haPxLy/_old 2020-02-26 15:02:00.700827882 +0100 +++ /var/tmp/diff_new_pack.haPxLy/_new 2020-02-26 15:02:00.708827898 +0100 @@ -1,7 +1,7 @@ # # spec file for package plasma5-pk-updates # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -41,6 +41,7 @@ Patch9: 0007-Port-away-from-KDELibs4Support-use-Solid-Power-inter.patch # PATCH-FEATURE-UPSTREAM Patch10:0001-Add-support-for-license-prompts.patch +Patch11:0001-Don-t-show-an-error-for-a-failed-automatic-refresh.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 ++ 0001-Don-t-show-an-error-for-a-failed-automatic-refresh.patch ++ >From 4d6cfaea1dd4a44867a6f77bdc8a6d3f0b70a396 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Thu, 23 Jan 2020 11:18:58 +0100 Subject: [PATCH] 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(), ::Transaction::statusChanged, this, ::onStatusChanged); connect(m_cacheTrans.data(), ::Transaction::finished, this, ::onFinished); -connect(m_cacheTrans.data(), ::Transaction::errorCode, this, ::onErrorCode); +connect(m_cacheTrans.data(), ::Transaction::errorCode, this, ::onRefreshErrorCode); connect(m_cacheTrans.data(), ::Transaction::requireRestart, this, ::onRequireRestart); connect(m_cacheTrans.data(), ::Transaction::repoSignatureRequired, this, ::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()); +
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2020-02-19 12:39:41 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.26092 (New) Package is "plasma5-pk-updates" Wed Feb 19 12:39:41 2020 rev:21 rq:774238 version:0.3.2 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2019-09-02 12:43:54.517762840 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.26092/plasma5-pk-updates.changes 2020-02-19 12:39:45.787534823 +0100 @@ -1,0 +2,6 @@ +Tue Jan 28 15:21:59 UTC 2020 - Wolfgang Bauer + +- Update german translations to remove a superfluous fullstop + (kde#386751) + +--- Other differences: -- ++ plasma5-pk-updates-lang.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/po/de/plasma_applet_org.kde.plasma.pkupdates.po new/po/de/plasma_applet_org.kde.plasma.pkupdates.po --- old/po/de/plasma_applet_org.kde.plasma.pkupdates.po 1970-01-01 01:00:00.0 +0100 +++ new/po/de/plasma_applet_org.kde.plasma.pkupdates.po 2020-01-28 14:37:17.0 +0100 @@ -0,0 +1,148 @@ +# Copyright (C) YEAR This_file_is_part_of_KDE +# This file is distributed under the same license as the PACKAGE package. +# +# Frederik Schwarzer , 2016, 2017. +# Burkhard Lück , 2017, 2020. +msgid "" +msgstr "" +"Project-Id-Version: \n" +"Report-Msgid-Bugs-To: https://bugs.kde.org\n; +"POT-Creation-Date: 2019-09-03 03:21+0200\n" +"PO-Revision-Date: 2020-01-27 06:04+0100\n" +"Last-Translator: Burkhard Lück \n" +"Language-Team: German \n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Lokalize 18.12.3\n" + +#: contents/config/config.qml:26 +#, kde-format +msgid "General" +msgstr "Allgemein" + +#: contents/ui/ConfigGeneral.qml:43 +#, kde-format +msgid "Check Interval" +msgstr "Prüfintervall" + +#: contents/ui/ConfigGeneral.qml:48 +#, kde-format +msgid "Daily" +msgstr "Täglich" + +#: contents/ui/ConfigGeneral.qml:53 +#, kde-format +msgid "Weekly" +msgstr "Wöchentlich" + +#: contents/ui/ConfigGeneral.qml:58 +#, kde-format +msgid "Monthly" +msgstr "Monatlich" + +#: contents/ui/ConfigGeneral.qml:66 +#, kde-format +msgid "Check for updates even on a mobile connection" +msgstr "Auch über Mobilfunkverbindung auf Aktualisierungen prüfen" + +#: contents/ui/ConfigGeneral.qml:70 +#, kde-format +msgid "Check for updates even when on battery" +msgstr "Auch im Akkubetrieb auf Aktualisierungen prüfen" + +#: contents/ui/Full.qml:64 +#, kde-format +msgid "License Agreement for %1" +msgstr "Lizenzvereinbarung für %1" + +#: contents/ui/Full.qml:71 +#, kde-format +msgid "License agreement required for %1 (from %2):" +msgstr "Zustimmung zur Lizenzvereinbarung für %1 von %2 erforderlich:" + +#: contents/ui/Full.qml:84 +#, kde-format +msgid "Do you accept?" +msgstr "Akzeptieren Sie die Lizenzvereinbarung?" + +#: contents/ui/Full.qml:120 +#, kde-format +msgid "Network is offline" +msgstr "Das Netzwerk ist deaktiviert" + +#: contents/ui/Full.qml:151 +#, kde-format +msgid "" +"Updates are automatically checked %1.Click the 'Check For Updates' " +"button below to search for updates manually." +msgstr "" +"Es wird automatisch %1 auf Aktualisierungen geprüft.Klicken Sie auf „Auf " +"Aktualisierungen prüfen“, um manuell nach Aktualisierungen zu suchen." + +#: contents/ui/Full.qml:241 +#, kde-format +msgid "Select all packages" +msgstr "Alle Pakete auswählen" + +#: contents/ui/Full.qml:273 +#, kde-format +msgid "Check For Updates" +msgstr "Auf Aktualisierungen prüfen" + +#: contents/ui/Full.qml:274 +#, kde-format +msgid "Checks for any available updates" +msgstr "Prüft auf verfügbare Aktualisierungen" + +#: contents/ui/Full.qml:287 +#, kde-format +msgid "Install Updates" +msgstr "Aktualisierungen installieren" + +#: contents/ui/Full.qml:288 +#, kde-format +msgid "Performs the software update" +msgstr "Führt die Softwareaktualisierung durch" + +#: contents/ui/Full.qml:351 +#, kde-format +msgid "weekly" +msgstr "wöchentlich" + +#: contents/ui/Full.qml:353 +#, kde-format +msgid "monthly" +msgstr "monatlich" + +#: contents/ui/Full.qml:355 +#, kde-format +msgid "daily" +msgstr "täglich" + +#: contents/ui/PackageDelegate.qml:76 +#, kde-format +msgctxt "Package Name (Version)" +msgid "%1 (%2)" +msgstr "%1 (%2)" + +#: contents/ui/PackageDelegate.qml:132 +#, kde-format +msgctxt "description of the update" +msgid "Update Description" +msgstr "Beschreibung der Aktualisierung" + +#:
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2019-09-02 12:43:53 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.7948 (New) Package is "plasma5-pk-updates" Mon Sep 2 12:43:53 2019 rev:20 rq:726206 version:0.3.2 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2019-06-30 10:16:22.639142574 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.7948/plasma5-pk-updates.changes 2019-09-02 12:43:54.517762840 +0200 @@ -1,0 +2,8 @@ +Mon Aug 26 13:59:14 UTC 2019 - Fabian Vogt + +- Implement EULA handling (boo#1148168): + * 0001-Add-support-for-license-prompts.patch +- Enable install updates functionality on Tumbleweed again (boo#1030829): + * Drop 0001-Hide-option-to-install-updates-on-Tumbleweed.patch + +--- Old: 0001-Hide-option-to-install-updates-on-Tumbleweed.patch New: 0001-Add-support-for-license-prompts.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.TZJv81/_old 2019-09-02 12:43:55.013762750 +0200 +++ /var/tmp/diff_new_pack.TZJv81/_new 2019-09-02 12:43:55.013762750 +0200 @@ -39,8 +39,8 @@ Patch7: 0004-Make-the-notifications-less-obtrusive.patch Patch8: 0006-Remove-explicit-initialization-of-default-constructe.patch Patch9: 0007-Port-away-from-KDELibs4Support-use-Solid-Power-inter.patch -# PATCH-FEATURE-OPENSUSE -Patch100: 0001-Hide-option-to-install-updates-on-Tumbleweed.patch +# PATCH-FEATURE-UPSTREAM +Patch10:0001-Add-support-for-license-prompts.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 ++ 0001-Add-support-for-license-prompts.patch ++ >From 45ee87ee0bc1cd670ffc5095ebc3cd4884ee24bf Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Mon, 26 Aug 2019 13:22:25 +0200 Subject: [PATCH] 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 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 , 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(), ::Transaction::statusChanged, this, ::onStatusChanged); @@ -306,6 +307,7 @@ void PkUpdates::installUpdates(const QStringList , bool simulate, boo connect(m_installTrans.data(), ::Transaction::package, this, ::onPackageUpdating); connect(m_installTrans.data(), ::Transaction::requireRestart, this, ::onRequireRestart); connect(m_installTrans.data(), ::Transaction::repoSignatureRequired, this, ::onRepoSignatureRequired); +connect(m_installTrans.data(), ::Transaction::eulaRequired, this, ::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; +
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2019-06-30 10:16:20 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.4615 (New) Package is "plasma5-pk-updates" Sun Jun 30 10:16:20 2019 rev:19 rq:711719 version:0.3.2 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2019-05-03 22:22:29.544716613 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.4615/plasma5-pk-updates.changes 2019-06-30 10:16:22.639142574 +0200 @@ -1,0 +2,21 @@ +Mon Jun 24 07:06:16 UTC 2019 - Fabian Vogt + +- More spec file cleanup + +--- +Sun Jun 23 17:24:08 UTC 2019 - Stefan Brüns + +- Add some upstream patches to make the notifications less obtrusive + + 0001-Replace-KIconLoader-pixmaps-with-standard-icon-names.patch + + 0002-Fix-usage-of-0-for-null-pointer-constants.patch + + 0003-Use-own-eventIds-and-ComponentName-instead-of-generi.patch + + 0004-Make-the-notifications-less-obtrusive.patch +- Rebase 0001-Hide-option-to-install-updates-on-Tumbleweed.patch +- Remove kdelibs4-support dependency + + 0006-Remove-explicit-initialization-of-default-constructe.patch + + 0007-Port-away-from-KDELibs4Support-use-Solid-Power-inter.patch +- spec file cleanup + + remove defattr + + remove some conditional code for 13.2 + +--- New: 0001-Replace-KIconLoader-pixmaps-with-standard-icon-names.patch 0002-Fix-usage-of-0-for-null-pointer-constants.patch 0003-Use-own-eventIds-and-ComponentName-instead-of-generi.patch 0004-Make-the-notifications-less-obtrusive.patch 0006-Remove-explicit-initialization-of-default-constructe.patch 0007-Port-away-from-KDELibs4Support-use-Solid-Power-inter.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.riVrg0/_old 2019-06-30 10:16:23.299143600 +0200 +++ /var/tmp/diff_new_pack.riVrg0/_new 2019-06-30 10:16:23.299143600 +0200 @@ -32,18 +32,23 @@ Patch1: 0001-Hide-updates-and-checkbox-when-system-is-offline.patch Patch2: 0002-Add-its-own-messageChanged-NOTIFY-signal-to-message.patch Patch3: 0003-Delay-PkUpdates-checkUpdates-calls-if-the-network-is-offline.patch - +# PATCH-FIX-UPSTREAM +Patch4: 0001-Replace-KIconLoader-pixmaps-with-standard-icon-names.patch +Patch5: 0002-Fix-usage-of-0-for-null-pointer-constants.patch +Patch6: 0003-Use-own-eventIds-and-ComponentName-instead-of-generi.patch +Patch7: 0004-Make-the-notifications-less-obtrusive.patch +Patch8: 0006-Remove-explicit-initialization-of-default-constructe.patch +Patch9: 0007-Port-away-from-KDELibs4Support-use-Solid-Power-inter.patch # PATCH-FEATURE-OPENSUSE Patch100: 0001-Hide-option-to-install-updates-on-Tumbleweed.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 BuildRequires: kcoreaddons-devel >= 5.25.0 -BuildRequires: kdelibs4support-devel >= 5.25.0 BuildRequires: ki18n-devel >= 5.25.0 -BuildRequires: kiconthemes-devel >= 5.25.0 BuildRequires: knotifications-devel >= 5.25.0 BuildRequires: plasma-framework-devel >= 5.25.0 +BuildRequires: solid-devel BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) @@ -51,21 +56,18 @@ BuildRequires: pkgconfig(Qt5Widgets) Requires: PackageKit Recommends: %{name}-lang = %{version} -%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" -# Use a fake version number as that the apper version is higher than 0.2 +# Use a fake version number higher than the last provided apper version (0.9.2) Provides: apper = 1.0 Obsoletes: apper < 1.0 Obsoletes: apper-lang < 1.0 -%endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Plasma applet for software updates using PackageKit. %lang_package + %prep -%setup -q -n plasma-pk-updates-%{version} -a 1 -%autopatch -p1 +%autosetup -p1 -n plasma-pk-updates-%{version} -a 1 %build %cmake_kf5 -d build @@ -77,14 +79,13 @@ %find_lang plasma_applet_org.kde.plasma.pkupdates plasma-pk-updates.lang %files lang -f plasma-pk-updates.lang -%defattr(-,root,root) %files -%defattr(-,root,root) %license LICENSE %{_kf5_qmldir}/ %{_kf5_plasmadir}/ %{_kf5_servicesdir}/ %{_kf5_appstreamdir}/ +%{_kf5_notifydir}/ %changelog ++ 0001-Hide-option-to-install-updates-on-Tumbleweed.patch ++ --- /var/tmp/diff_new_pack.riVrg0/_old 2019-06-30 10:16:23.319143631 +0200 +++
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2019-05-03 22:22:28 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.5148 (New) Package is "plasma5-pk-updates" Fri May 3 22:22:28 2019 rev:18 rq:699691 version:0.3.2 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2019-03-26 15:35:48.516412695 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.5148/plasma5-pk-updates.changes 2019-05-03 22:22:29.544716613 +0200 @@ -1,0 +2,7 @@ +Mon Apr 29 20:06:51 UTC 2019 - Markus S + +- Dependency on PackageKit +- Fix summary +- https URL + +--- Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.gWwiQx/_old 2019-05-03 22:22:30.216717977 +0200 +++ /var/tmp/diff_new_pack.gWwiQx/_new 2019-05-03 22:22:30.220717985 +0200 @@ -19,10 +19,10 @@ Name: plasma5-pk-updates Version:0.3.2 Release:0 -Summary:Plasma Software Manager for KDE +Summary:Software Update Manager for Plasma License:GPL-3.0-or-later Group: System/Packages -Url:http://www.kde.org +Url:https://www.kde.org/ Source: https://download.kde.org/stable/plasma-pk-updates/%{version}/plasma-pk-updates-%{version}.tar.xz # Updated translations Source1:plasma5-pk-updates-lang.tar.xz @@ -49,6 +49,7 @@ BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5Widgets) +Requires: PackageKit Recommends: %{name}-lang = %{version} %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" # Use a fake version number as that the apper version is higher than 0.2
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2019-03-26 15:35:47 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.25356 (New) Package is "plasma5-pk-updates" Tue Mar 26 15:35:47 2019 rev:17 rq:687415 version:0.3.2 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2018-12-28 12:32:43.912071659 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.25356/plasma5-pk-updates.changes 2019-03-26 15:35:48.516412695 +0100 @@ -1,0 +2,14 @@ +Thu Mar 21 13:31:03 UTC 2019 - alarr...@suse.com + +- Add patches already approved by upstream to delay any check for updates + until the network is online if the network is offline . The patches + also fix some visibility issues of widgets that don't make sense if + the network is offline. This is part of the fix for boo#1103678. + * 0001-Hide-updates-and-checkbox-when-system-is-offline.patch + * 0002-Add-its-own-messageChanged-NOTIFY-signal-to-message.patch + * 0003-Delay-PkUpdates-checkUpdates-calls-if-the-network-is-offline.patch + +- Rebase patch: + * 0001-Hide-option-to-install-updates-on-Tumbleweed.patch + +--- New: 0001-Hide-updates-and-checkbox-when-system-is-offline.patch 0002-Add-its-own-messageChanged-NOTIFY-signal-to-message.patch 0003-Delay-PkUpdates-checkUpdates-calls-if-the-network-is-offline.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.F3aA5q/_old 2019-03-26 15:35:49.140412432 +0100 +++ /var/tmp/diff_new_pack.F3aA5q/_new 2019-03-26 15:35:49.144412431 +0100 @@ -1,7 +1,7 @@ # # spec file for package plasma5-pk-updates # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -27,7 +27,12 @@ # Updated translations Source1:plasma5-pk-updates-lang.tar.xz # PATCH-FIX-UPSTREAM -Patch: desktop.patch +Patch0: desktop.patch +# PATCH-FIX-UPSTREAM boo#1103678 +Patch1: 0001-Hide-updates-and-checkbox-when-system-is-offline.patch +Patch2: 0002-Add-its-own-messageChanged-NOTIFY-signal-to-message.patch +Patch3: 0003-Delay-PkUpdates-checkUpdates-calls-if-the-network-is-offline.patch + # PATCH-FEATURE-OPENSUSE Patch100: 0001-Hide-option-to-install-updates-on-Tumbleweed.patch BuildRequires: PackageKit-Qt5-devel ++ 0001-Hide-option-to-install-updates-on-Tumbleweed.patch ++ --- /var/tmp/diff_new_pack.F3aA5q/_old 2019-03-26 15:35:49.156412425 +0100 +++ /var/tmp/diff_new_pack.F3aA5q/_new 2019-03-26 15:35:49.160412424 +0100 @@ -10,10 +10,10 @@ src/plasma/contents/ui/PackageDelegate.qml | 2 ++ 4 files changed, 39 insertions(+), 2 deletions(-) -diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp -index f8fd0ac..90bea08 100644 a/src/declarative/pkupdates.cpp -+++ b/src/declarative/pkupdates.cpp +Index: plasma-pk-updates-0.3.2/src/declarative/pkupdates.cpp +=== +--- plasma-pk-updates-0.3.2.orig/src/declarative/pkupdates.cpp plasma-pk-updates-0.3.2/src/declarative/pkupdates.cpp @@ -20,6 +20,7 @@ #include @@ -44,10 +44,10 @@ void PkUpdates::getUpdateDetails(const QString ) { qCDebug(PLASMA_PK_UPDATES) << "Requesting update details for" << pkgID; -diff --git a/src/declarative/pkupdates.h b/src/declarative/pkupdates.h -index 1f17da5..075da75 100644 a/src/declarative/pkupdates.h -+++ b/src/declarative/pkupdates.h +Index: plasma-pk-updates-0.3.2/src/declarative/pkupdates.h +=== +--- plasma-pk-updates-0.3.2.orig/src/declarative/pkupdates.h plasma-pk-updates-0.3.2/src/declarative/pkupdates.h @@ -55,6 +55,7 @@ class PkUpdates : public QObject Q_PROPERTY(bool isNetworkOnline READ isNetworkOnline NOTIFY networkStateChanged) Q_PROPERTY(bool isNetworkMobile READ isNetworkMobile NOTIFY networkStateChanged) @@ -68,10 +68,10 @@ signals: /** * Emitted when the number uf updates has changed -diff --git a/src/plasma/contents/ui/Full.qml
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2018-12-28 12:32:42 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.28833 (New) Package is "plasma5-pk-updates" Fri Dec 28 12:32:42 2018 rev:16 rq:660075 version:0.3.2 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2018-06-22 13:15:47.358134301 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new.28833/plasma5-pk-updates.changes 2018-12-28 12:32:43.912071659 +0100 @@ -1,0 +2,13 @@ +Wed Dec 19 15:44:49 UTC 2018 - wba...@tmo.at + +- Add desktop.patch to also translate the plasmoid name to French + (boo#1086068) + +--- +Wed Dec 19 14:23:02 UTC 2018 - wba...@tmo.at + +- Add plasma5-pk-updates-lang.tar.xz with updated French + translations, the included ones are rather incomplete + (boo#1086068) + +--- New: desktop.patch plasma5-pk-updates-lang.tar.xz Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.oG5Rhl/_old 2018-12-28 12:32:44.312071381 +0100 +++ /var/tmp/diff_new_pack.oG5Rhl/_new 2018-12-28 12:32:44.312071381 +0100 @@ -24,6 +24,10 @@ Group: System/Packages Url:http://www.kde.org Source: https://download.kde.org/stable/plasma-pk-updates/%{version}/plasma-pk-updates-%{version}.tar.xz +# Updated translations +Source1:plasma5-pk-updates-lang.tar.xz +# PATCH-FIX-UPSTREAM +Patch: desktop.patch # PATCH-FEATURE-OPENSUSE Patch100: 0001-Hide-option-to-install-updates-on-Tumbleweed.patch BuildRequires: PackageKit-Qt5-devel @@ -54,7 +58,7 @@ %lang_package %prep -%setup -q -n plasma-pk-updates-%{version} +%setup -q -n plasma-pk-updates-%{version} -a 1 %autopatch -p1 %build ++ desktop.patch ++ >From 0152062cf5ea66b10f49c9ef7b32c8825c4bd9b8 Mon Sep 17 00:00:00 2001 From: l10n daemon script Date: Thu, 14 Jun 2018 05:55:39 +0200 Subject: SVN_SILENT made messages (.desktop file) - always resolve ours In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop" --- src/plasma/metadata.desktop.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plasma/metadata.desktop.cmake b/src/plasma/metadata.desktop.cmake index 2482736..5a729b6 100644 --- a/src/plasma/metadata.desktop.cmake +++ b/src/plasma/metadata.desktop.cmake @@ -9,6 +9,7 @@ Name[de]=Softwareaktualisierungen Name[en_GB]=Software Updates Name[es]=Actualizaciones de software Name[fi]=Ohjelmistopäivitykset +Name[fr]=Mises à jour des logiciels Name[gl]=Actualizacións de software Name[it]=Aggiornamenti software Name[lt]=Programų atnaujinimai @@ -35,6 +36,7 @@ Comment[de]=Softwareaktualisierungen beziehen Comment[en_GB]=Get software updates Comment[es]=Obtener actualizaciones de software Comment[fi]=Nouda ohjelmistopäivitykset +Comment[fr]=Télécharger les mises à jour des logiciels Comment[gl]=Obteña actualizacións de software. Comment[it]=Scarica gli aggiornamenti del software Comment[lt]=Parsisiųsti programų atnaujinimus -- cgit v1.1
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2018-06-22 13:15:44 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Fri Jun 22 13:15:44 2018 rev:15 rq:616573 version:0.3.2 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2018-06-02 11:52:40.542839438 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2018-06-22 13:15:47.358134301 +0200 @@ -1,0 +2,7 @@ +Tue Jun 12 17:23:05 UTC 2018 - fab...@ritter-vogt.de + +- Add patch to hide the "Install updates" button on Tumbleweed as + the zypp PK backend can't handle it correctly: + * 0001-Hide-option-to-install-updates-on-Tumbleweed.patch + +--- New: 0001-Hide-option-to-install-updates-on-Tumbleweed.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.U4ZZjv/_old 2018-06-22 13:15:48.402095590 +0200 +++ /var/tmp/diff_new_pack.U4ZZjv/_new 2018-06-22 13:15:48.410095293 +0200 @@ -24,6 +24,8 @@ Group: System/Packages Url:http://www.kde.org Source: https://download.kde.org/stable/plasma-pk-updates/%{version}/plasma-pk-updates-%{version}.tar.xz +# PATCH-FEATURE-OPENSUSE +Patch100: 0001-Hide-option-to-install-updates-on-Tumbleweed.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 @@ -53,6 +55,7 @@ %lang_package %prep %setup -q -n plasma-pk-updates-%{version} +%autopatch -p1 %build %cmake_kf5 -d build ++ 0001-Hide-option-to-install-updates-on-Tumbleweed.patch ++ >From 475d92af692c7bbba389c7b807ee27d843cdebb7 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Tue, 12 Jun 2018 19:21:43 +0200 Subject: [PATCH] Hide option to install updates on Tumbleweed --- src/declarative/pkupdates.cpp | 16 src/declarative/pkupdates.h| 6 ++ src/plasma/contents/ui/Full.qml| 17 +++-- src/plasma/contents/ui/PackageDelegate.qml | 2 ++ 4 files changed, 39 insertions(+), 2 deletions(-) diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp index f8fd0ac..90bea08 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -20,6 +20,7 @@ #include #include +#include #include #include #include @@ -179,6 +180,21 @@ bool PkUpdates::isOnBattery() const return Solid::PowerManagement::appShouldConserveResources(); } +bool PkUpdates::isTumbleweed() const +{ +QFile osRelease("/etc/os-release"); +if(!osRelease.open(QIODevice::ReadOnly)) +return false; + +while(!osRelease.atEnd()) { +QByteArray line = osRelease.readLine(); +if(line.startsWith("NAME=\"openSUSE Tumbleweed\"")) +return true; +} + +return false; +} + void PkUpdates::getUpdateDetails(const QString ) { qCDebug(PLASMA_PK_UPDATES) << "Requesting update details for" << pkgID; diff --git a/src/declarative/pkupdates.h b/src/declarative/pkupdates.h index 1f17da5..075da75 100644 --- a/src/declarative/pkupdates.h +++ b/src/declarative/pkupdates.h @@ -55,6 +55,7 @@ class PkUpdates : public QObject Q_PROPERTY(bool isNetworkOnline READ isNetworkOnline NOTIFY networkStateChanged) Q_PROPERTY(bool isNetworkMobile READ isNetworkMobile NOTIFY networkStateChanged) Q_PROPERTY(bool isOnBattery READ isOnBattery NOTIFY isOnBatteryChanged) +Q_PROPERTY(bool isTumbleweed READ isTumbleweed CONSTANT) public: enum Activity {Idle, CheckingUpdates, GettingUpdates, InstallingUpdates}; @@ -133,6 +134,11 @@ public: */ bool isOnBattery() const; +/** + * @return whether /etc/os-release indicates openSUSE Tumbleweed + */ +bool isTumbleweed() const; + signals: /** * Emitted when the number uf updates has changed diff --git a/src/plasma/contents/ui/Full.qml b/src/plasma/contents/ui/Full.qml index eca7ec0..ca9b750 100644 --- a/src/plasma/contents/ui/Full.qml +++ b/src/plasma/contents/ui/Full.qml @@ -140,6 +140,7 @@ Item { currentIndex: -1 boundsBehavior: Flickable.StopAtBounds delegate: PackageDelegate { +checkboxVisible: !PkUpdates.isTumbleweed onClicked: { if (updatesView.currentIndex === index) { updatesView.currentIndex = -1 @@ -160,7 +161,7 @@ Item { } RowLayout { -visible: PkUpdates.count
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2018-06-02 11:52:39 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Sat Jun 2 11:52:39 2018 rev:14 rq:612310 version:0.3.2 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2018-05-18 14:25:53.202810449 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2018-06-02 11:52:40.542839438 +0200 @@ -1,0 +2,25 @@ +Fri May 25 13:38:05 UTC 2018 - wba...@tmo.at + +- Update to 0.3.2. Changes: + * Use \n instead of for the extra part of the summary + * Close the plasmoid after updates got installed + * Fix build with PackageKit-Qt 1.0.x + * List known updates on startup + * Show that the last check failed if no updates available + * Only save the last update timestep on success + * Add DefaultEvent flag to fix notification for relogin/restart + * concat the string +- Change Source URL to download.kde.org +- Drop plasma-pk-updates-lang.tar.xz, the translations are + included in the released source tarball now +- Drop patches merged upstream: + * 0001-concat-the-string.patch + * 0001-Add-DefaultEvent-flag-to-fix-notification-for-relogi.patch + * 0001-Only-save-the-last-update-timestep-on-success.patch + * 0002-Show-that-the-last-check-failed-if-no-updates-availa.patch + * 0003-List-known-updates-on-startup.patch + * 0001-Close-the-plasmoid-after-updates-got-installed.patch + * 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch +- Mark LICENSE file with %license instead of %doc + +--- @@ -4 +29 @@ -- Update translations. +- Update translations (boo#1093743) Old: 0001-Add-DefaultEvent-flag-to-fix-notification-for-relogi.patch 0001-Close-the-plasmoid-after-updates-got-installed.patch 0001-Only-save-the-last-update-timestep-on-success.patch 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch 0001-concat-the-string.patch 0002-Show-that-the-last-check-failed-if-no-updates-availa.patch 0003-List-known-updates-on-startup.patch plasma-pk-updates-0.3.1.tar.gz plasma-pk-updates-lang.tar.xz New: plasma-pk-updates-0.3.2.tar.xz Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.7TtiOJ/_old 2018-06-02 11:52:41.314811123 +0200 +++ /var/tmp/diff_new_pack.7TtiOJ/_new 2018-06-02 11:52:41.318810976 +0200 @@ -17,28 +17,13 @@ Name: plasma5-pk-updates -Version:0.3.1 +Version:0.3.2 Release:0 Summary:Plasma Software Manager for KDE License:GPL-3.0-or-later Group: System/Packages Url:http://www.kde.org -Source: https://github.com/KDE/plasma-pk-updates/archive/%{version}.tar.gz#/plasma-pk-updates-%{version}.tar.gz -Source1:plasma-pk-updates-lang.tar.xz -# PATCH-FIX-UPSTREAM -Patch1: 0001-concat-the-string.patch -# PATCH-FIX-UPSTREAM -Patch2: 0001-Add-DefaultEvent-flag-to-fix-notification-for-relogi.patch -# PATCH-FIX-UPSTREAM -Patch3: 0001-Only-save-the-last-update-timestep-on-success.patch -# PATCH-FIX-UPSTREAM -Patch4: 0002-Show-that-the-last-check-failed-if-no-updates-availa.patch -# PATCH-FIX-UPSTREAM -Patch5: 0003-List-known-updates-on-startup.patch -# PATCH-FIX-UPSTREAM -Patch6: 0001-Close-the-plasmoid-after-updates-got-installed.patch -# PATCH-FIX-UPSTREAM -Patch7: 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch +Source: https://download.kde.org/stable/plasma-pk-updates/%{version}/plasma-pk-updates-%{version}.tar.xz BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 @@ -67,9 +52,7 @@ %lang_package %prep -%setup -q -n plasma-pk-updates-%{version} -a 1 -echo "ki18n_install(po)" >> CMakeLists.txt -%autopatch -p1 +%setup -q -n plasma-pk-updates-%{version} %build %cmake_kf5 -d build @@ -85,7 +68,7 @@ %files %defattr(-,root,root) -%doc LICENSE +%license LICENSE %{_kf5_qmldir}/ %{_kf5_plasmadir}/ %{_kf5_servicesdir}/ ++ plasma-pk-updates-lang.tar.xz -> plasma-pk-updates-0.3.2.tar.xz ++ 138189 lines of diff (skipped)
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2018-05-18 14:25:49 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Fri May 18 14:25:49 2018 rev:13 rq:610124 version:0.3.1 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2018-05-13 15:54:51.308683657 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2018-05-18 14:25:53.202810449 +0200 @@ -1,0 +2,5 @@ +Thu May 17 16:01:03 UTC 2018 - christo...@krop.fr + +- Update translations. + +--- Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.bNcV8v/_old 2018-05-18 14:25:53.742790631 +0200 +++ /var/tmp/diff_new_pack.bNcV8v/_new 2018-05-18 14:25:53.742790631 +0200 @@ -20,7 +20,7 @@ Version:0.3.1 Release:0 Summary:Plasma Software Manager for KDE -License:GPL-3.0+ +License:GPL-3.0-or-later Group: System/Packages Url:http://www.kde.org Source: https://github.com/KDE/plasma-pk-updates/archive/%{version}.tar.gz#/plasma-pk-updates-%{version}.tar.gz ++ plasma-pk-updates-lang.tar.xz ++ 8752 lines of diff (skipped)
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2018-05-13 15:54:50 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Sun May 13 15:54:50 2018 rev:12 rq:605932 version:0.3.1 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2018-02-13 10:24:41.147292323 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2018-05-13 15:54:51.308683657 +0200 @@ -1,0 +2,6 @@ +Wed May 9 20:34:30 UTC 2018 - fab...@ritter-vogt.de + +- Add patch to fix tooltip text with security or important updates (boo#1090375): + * 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch + +--- New: 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.nEF5Ia/_old 2018-05-13 15:54:51.968659573 +0200 +++ /var/tmp/diff_new_pack.nEF5Ia/_new 2018-05-13 15:54:51.972659427 +0200 @@ -37,6 +37,8 @@ Patch5: 0003-List-known-updates-on-startup.patch # PATCH-FIX-UPSTREAM Patch6: 0001-Close-the-plasmoid-after-updates-got-installed.patch +# PATCH-FIX-UPSTREAM +Patch7: 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 ++ 0001-Use-n-instead-of-br-for-the-extra-part-of-the-summar.patch ++ >From 339e7d5b027c9907fbced789c50c75b249b23dd6 Mon Sep 17 00:00:00 2001 From: Fabian VogtDate: Wed, 9 May 2018 22:32:17 +0200 Subject: [PATCH] Use \n instead of for the extra part of the summary Summary: The tooltip text only supports plaintext, so it contained a literal "". A "\n" works as a newline in both the expanded representation and the tooltip. Test Plan: Hovered over the icon with available security updates. Now the text includes a newline instead of a literal "". Reviewers: lukas, jgrulich Subscribers: plasma-devel Differential Revision: https://phabricator.kde.org/D12790 --- 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 71b9847..f8fd0ac 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -131,7 +131,7 @@ QString PkUpdates::message() const if (extra.isEmpty()) return msg; else -return msg + "" + i18n("(including %1)", extra.join(i18n(" and "))); +return msg + "\n" + i18n("(including %1)", extra.join(i18n(" and "))); } else if (!isNetworkOnline()) { return i18n("Your system is offline"); } else if (!m_lastCheckSuccessful) { -- 2.16.2
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2018-02-13 10:24:39 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Tue Feb 13 10:24:39 2018 rev:11 rq:574677 version:0.3.1 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2018-01-29 14:56:33.969020947 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2018-02-13 10:24:41.147292323 +0100 @@ -1,0 +2,6 @@ +Fri Feb 9 14:05:16 UTC 2018 - fab...@ritter-vogt.de + +- Add patch to close the plasmoid after update installation (boo#1077633): + * 0001-Close-the-plasmoid-after-updates-got-installed.patch + +--- New: 0001-Close-the-plasmoid-after-updates-got-installed.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.HjiO1z/_old 2018-02-13 10:24:41.891265518 +0100 +++ /var/tmp/diff_new_pack.HjiO1z/_new 2018-02-13 10:24:41.891265518 +0100 @@ -35,6 +35,8 @@ Patch4: 0002-Show-that-the-last-check-failed-if-no-updates-availa.patch # PATCH-FIX-UPSTREAM Patch5: 0003-List-known-updates-on-startup.patch +# PATCH-FIX-UPSTREAM +Patch6: 0001-Close-the-plasmoid-after-updates-got-installed.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 ++ 0001-Close-the-plasmoid-after-updates-got-installed.patch ++ >From f7aef3bb8d7e0839470318cf9326d90ab95e0cf5 Mon Sep 17 00:00:00 2001 From: Fabian VogtDate: Fri, 9 Feb 2018 14:43:10 +0100 Subject: [PATCH] Close the plasmoid after updates got installed Summary: The plasmoid searches for the next batch of updates which might be misleading. Related: https://bugs.kde.org/show_bug.cgi?id=390143 Test Plan: Installed updates, plasmoid closed. Reviewers: lukas, jgrulich Subscribers: plasma-devel Differential Revision: https://phabricator.kde.org/D10404 --- src/declarative/pkupdates.cpp | 1 + src/declarative/pkupdates.h | 5 + src/plasma/contents/ui/Full.qml | 1 + 3 files changed, 7 insertions(+) diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp index 50265c9..71b9847 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -395,6 +395,7 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime) 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); +emit updatesInstalled(); } 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 diff --git a/src/declarative/pkupdates.h b/src/declarative/pkupdates.h index 6bb1b83..1f17da5 100644 --- a/src/declarative/pkupdates.h +++ b/src/declarative/pkupdates.h @@ -144,6 +144,11 @@ signals: */ void done(); +/** + * Emitted after updates were installed successfully + */ +void updatesInstalled(); + /** * Emitted with update details * @see getUpdateDetails() diff --git a/src/plasma/contents/ui/Full.qml b/src/plasma/contents/ui/Full.qml index 15c955f..eca7ec0 100644 --- a/src/plasma/contents/ui/Full.qml +++ b/src/plasma/contents/ui/Full.qml @@ -45,6 +45,7 @@ Item { target: PkUpdates onUpdatesChanged: populateModel() onUpdateDetail: updateDetails(packageID, updateText, urls) +onUpdatesInstalled: plasmoid.expanded = false } Component.onCompleted: populateModel() -- 2.16.1
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2018-01-29 14:56:09 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Mon Jan 29 14:56:09 2018 rev:10 rq:570318 version:0.3.1 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2018-01-16 09:35:08.437992650 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2018-01-29 14:56:33.969020947 +0100 @@ -1,0 +2,5 @@ +Sat Jan 27 19:45:12 UTC 2018 - wba...@tmo.at + +- Update translations (boo#1077851) + +--- Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.7yi7wH/_old 2018-01-29 14:56:34.596991608 +0100 +++ /var/tmp/diff_new_pack.7yi7wH/_new 2018-01-29 14:56:34.596991608 +0100 @@ -64,8 +64,8 @@ %lang_package %prep %setup -q -n plasma-pk-updates-%{version} -a 1 -%autopatch -p1 echo "ki18n_install(po)" >> CMakeLists.txt +%autopatch -p1 %build %cmake_kf5 -d build ++ plasma-pk-updates-lang.tar.xz ++ 12358 lines of diff (skipped)
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2018-01-16 09:35:05 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Tue Jan 16 09:35:05 2018 rev:9 rq:561644 version:0.3.1 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2017-09-18 19:50:27.360950085 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2018-01-16 09:35:08.437992650 +0100 @@ -1,0 +2,8 @@ +Thu Jan 4 14:02:21 UTC 2018 - fab...@ritter-vogt.de + +- Fix refresh logic on startup: + * 0001-Only-save-the-last-update-timestep-on-success.patch + * 0002-Show-that-the-last-check-failed-if-no-updates-availa.patch + * 0003-List-known-updates-on-startup.patch + +--- New: 0001-Only-save-the-last-update-timestep-on-success.patch 0002-Show-that-the-last-check-failed-if-no-updates-availa.patch 0003-List-known-updates-on-startup.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.8mkMD2/_old 2018-01-16 09:35:09.221955971 +0100 +++ /var/tmp/diff_new_pack.8mkMD2/_new 2018-01-16 09:35:09.225955783 +0100 @@ -1,7 +1,7 @@ # # spec file for package plasma5-pk-updates # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,6 +29,12 @@ Patch1: 0001-concat-the-string.patch # PATCH-FIX-UPSTREAM Patch2: 0001-Add-DefaultEvent-flag-to-fix-notification-for-relogi.patch +# PATCH-FIX-UPSTREAM +Patch3: 0001-Only-save-the-last-update-timestep-on-success.patch +# PATCH-FIX-UPSTREAM +Patch4: 0002-Show-that-the-last-check-failed-if-no-updates-availa.patch +# PATCH-FIX-UPSTREAM +Patch5: 0003-List-known-updates-on-startup.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 @@ -58,8 +64,7 @@ %lang_package %prep %setup -q -n plasma-pk-updates-%{version} -a 1 -%patch1 -p1 -%patch2 -p1 +%autopatch -p1 echo "ki18n_install(po)" >> CMakeLists.txt %build ++ 0001-Only-save-the-last-update-timestep-on-success.patch ++ >From d9708fb7efead687e38815183596eaf62fbdf3d7 Mon Sep 17 00:00:00 2001 From: Fabian VogtDate: Mon, 25 Dec 2017 17:56:47 +0100 Subject: [PATCH 1/3] Only save the last update timestep on success Summary: If the check for updates failed, it'll trigger a new check on the next timer interval (1h) now. Test Plan: Ran the check with YaST open in the background to cause the check to fail. Now the timestamp does not refresh anymore. Reviewers: lukas, jgrulich Subscribers: plasma-devel Differential Revision: https://phabricator.kde.org/D9503 --- src/declarative/pkupdates.cpp | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp index ce46df8..f04c173 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -198,11 +198,6 @@ void PkUpdates::checkUpdates(bool force) { qCDebug(PLASMA_PK_UPDATES) << "Checking updates, forced"; -// save the timestamp -KConfigGroup grp(KSharedConfig::openConfig("plasma-pk-updates"), "General"); -grp.writeEntry("Timestamp", QDateTime::currentDateTime().toMSecsSinceEpoch()); -grp.sync(); - // ask the Packagekit daemon to refresh the cache m_cacheTrans = PackageKit::Daemon::refreshCache(force); setActivity(CheckingUpdates); @@ -352,6 +347,12 @@ void PkUpdates::onFinished(PackageKit::Transaction::Exit status, uint runtime) if (trans->role() == PackageKit::Transaction::RoleRefreshCache) { if (status == PackageKit::Transaction::ExitSuccess) { qCDebug(PLASMA_PK_UPDATES) << "Cache transaction finished successfully"; + +// save the timestamp +KConfigGroup grp(KSharedConfig::openConfig("plasma-pk-updates"), "General"); +grp.writeEntry("Timestamp", QDateTime::currentDateTime().toMSecsSinceEpoch()); +grp.sync(); + return; } else { qCDebug(PLASMA_PK_UPDATES) << "Cache transaction didn't finish successfully"; -- 2.15.0 ++ 0002-Show-that-the-last-check-failed-if-no-updates-availa.patch ++ >From b372eae9c7186797f62ba3cfb25d692075326d94 Mon Sep 17 00:00:00 2001 From: Fabian Vogt
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2017-09-18 19:50:23 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Mon Sep 18 19:50:23 2017 rev:8 rq:526274 version:0.3.1 Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2017-02-03 18:56:09.835932415 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2017-09-18 19:50:27.360950085 +0200 @@ -1,0 +2,31 @@ +Thu Sep 14 19:20:00 UTC 2017 - fab...@ritter-vogt.de + +- Update to 0.3.1. Changes: + * concat the string + * reload the cache when the updates had been installed meanwhile manually + * Re-check selected packages once any is selected/deselected + * Remove Plasma/PopupApplet from desktop file + * Add notification about required restart/logout + * Fix typo in icon name + * Use new breeze icons + * Make it compile with GCC < 5 + * Simplify the logic a bit + * Change the refresh logic and avoid unnecessary calls to the Packagekit Daemon + * Add a checkbox to select/deselect all packages + * Use native plasma components +- Remove patches, now upstream: + * 0001-Add-notification-about-required-restart-logout.patch + * 0002-Remove-Plasma-PopupApplet-from-desktop-file.patch + * fix-typo-in-icon-name.patch + * use-new-breeze-icons.patch + * use-native-plasma-components.patch + * change-refresh-logic.patch + * gcc48.diff + * add-desktopfile-translations.patch +- Add patch to fix relogin/restart notification (boo#951580) + * 0001-Add-DefaultEvent-flag-to-fix-notification-for-relogi.patch +- Add patch to fix translation of status string: + * 0001-concat-the-string.patch +- Generate an updated plasma-pk-updates-lang.tar.xz + +--- Old: 0001-Add-notification-about-required-restart-logout.patch 0002-Remove-Plasma-PopupApplet-from-desktop-file.patch add-desktopfile-translations.patch change-refresh-logic.patch fix-typo-in-icon-name.patch gcc48.diff use-native-plasma-components.patch use-new-breeze-icons.patch v0.2.tar.gz New: 0001-Add-DefaultEvent-flag-to-fix-notification-for-relogi.patch 0001-concat-the-string.patch plasma-pk-updates-0.3.1.tar.gz Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.21kMOD/_old 2017-09-18 19:50:28.420801019 +0200 +++ /var/tmp/diff_new_pack.21kMOD/_new 2017-09-18 19:50:28.424800457 +0200 @@ -17,29 +17,18 @@ Name: plasma5-pk-updates -Version:0.2 +Version:0.3.1 Release:0 Summary:Plasma Software Manager for KDE License:GPL-3.0+ Group: System/Packages Url:http://www.kde.org -Source: v%{version}.tar.gz -Patch0: gcc48.diff +Source: https://github.com/KDE/plasma-pk-updates/archive/%{version}.tar.gz#/plasma-pk-updates-%{version}.tar.gz Source1:plasma-pk-updates-lang.tar.xz -# PATCH-FIX-OPENSUSE change-refresh-logic.patch -- Change the logic that the PackageKit daemon is only getting a request according to the set frequency -Patch1: change-refresh-logic.patch -# PATCH-FIX-UPSTREAM use-native-plasma-components.patch boo#953669, kde#359308 -- fixes problems with dark Plasma themes -Patch2: use-native-plasma-components.patch -# PATCH-FIX-UPSTREAM use-new-breeze-icons.patch -- use less misleading icons -Patch3: use-new-breeze-icons.patch -# PATCH-FIX-UPSTREAM fix-typo-in-icon-name.patch -- fix typo in above patch -Patch4: fix-typo-in-icon-name.patch -# PATCH-FIX-UPSTREAM add-desktopfile-translations.patch -- add translations to the .desktop file -Patch5: add-desktopfile-translations.patch -# PATCH-FIX-UPSTREAM 0001-Add-notification-about-required-restart-logout.patch -- Add notification about required restart/logout -Patch6: 0001-Add-notification-about-required-restart-logout.patch -# PATCH-FIX-UPSTREAM 0002-Remove-Plasma-PopupApplet-from-desktop-file.patch -- Remove Plasma/PopupApplet from desktop file -Patch7: 0002-Remove-Plasma-PopupApplet-from-desktop-file.patch +# PATCH-FIX-UPSTREAM +Patch1: 0001-concat-the-string.patch +# PATCH-FIX-UPSTREAM +Patch2: 0001-Add-DefaultEvent-flag-to-fix-notification-for-relogi.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 @@ -69,14 +58,8 @@ %lang_package %prep %setup -q -n plasma-pk-updates-%{version} -a 1 -%patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2017-01-31 12:14:48 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2016-09-30 15:20:48.0 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2017-02-03 18:56:09.835932415 +0100 @@ -1,0 +2,7 @@ +Thu Jan 19 18:19:13 UTC 2017 - fab...@ritter-vogt.de + +- Add upstream commits: + * 0001-Add-notification-about-required-restart-logout.patch + * 0002-Remove-Plasma-PopupApplet-from-desktop-file.patch + +--- New: 0001-Add-notification-about-required-restart-logout.patch 0002-Remove-Plasma-PopupApplet-from-desktop-file.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.iyvIKq/_old 2017-02-03 18:56:10.387854910 +0100 +++ /var/tmp/diff_new_pack.iyvIKq/_new 2017-02-03 18:56:10.391854348 +0100 @@ -1,7 +1,7 @@ # # spec file for package plasma5-pk-updates # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,6 +36,10 @@ Patch4: fix-typo-in-icon-name.patch # PATCH-FIX-UPSTREAM add-desktopfile-translations.patch -- add translations to the .desktop file Patch5: add-desktopfile-translations.patch +# PATCH-FIX-UPSTREAM 0001-Add-notification-about-required-restart-logout.patch -- Add notification about required restart/logout +Patch6: 0001-Add-notification-about-required-restart-logout.patch +# PATCH-FIX-UPSTREAM 0002-Remove-Plasma-PopupApplet-from-desktop-file.patch -- Remove Plasma/PopupApplet from desktop file +Patch7: 0002-Remove-Plasma-PopupApplet-from-desktop-file.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 @@ -71,6 +75,8 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 +%patch7 -p1 echo "ki18n_install(po)" >> CMakeLists.txt %build ++ 0001-Add-notification-about-required-restart-logout.patch ++ >From 7b66ed081d5cb93f654d919a17b73990ef1a6cd0 Mon Sep 17 00:00:00 2001 From: Jan GrulichDate: Tue, 20 Sep 2016 14:34:03 +0200 Subject: [PATCH 1/3] Add notification about required restart/logout BUG:359468 --- src/declarative/pkupdates.cpp | 26 ++ 1 file changed, 26 insertions(+) Index: plasma-pk-updates-0.2/src/declarative/pkupdates.cpp === --- plasma-pk-updates-0.2.orig/src/declarative/pkupdates.cpp +++ plasma-pk-updates-0.2/src/declarative/pkupdates.cpp @@ -22,6 +22,7 @@ #include #include #include +#include #include #include @@ -403,6 +404,31 @@ void PkUpdates::onErrorCode(PackageKit:: void PkUpdates::onRequireRestart(PackageKit::Transaction::Restart type, const QString ) { +if (type == PackageKit::Transaction::RestartSystem || type == PackageKit::Transaction::RestartSession) { +KNotification *notification = new KNotification(QLatin1String("notification"), KNotification::Persistent); + notification->setPixmap(KIconLoader::global()->loadIcon("system-software-update", KIconLoader::Desktop)); +if (type == PackageKit::Transaction::RestartSystem) { +notification->setActions(QStringList{QLatin1String("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->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.")); +} + +connect(notification, ::action1Activated, this, [type] () { +QDBusInterface interface("org.kde.ksmserver", "/KSMServer", "org.kde.KSMServerInterface", QDBusConnection::sessionBus()); +if (type == PackageKit::Transaction::RestartSystem) { +interface.asyncCall("logout", 0, 1, 2); // Options: do not ask again | reboot | force +} else { +interface.asyncCall("logout", 0, 0, 2); // Options: do
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2016-09-30 15:20:46 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2016-08-29 14:29:59.0 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2016-09-30 15:20:48.0 +0200 @@ -1,0 +2,7 @@ +Sat Sep 24 12:35:21 UTC 2016 - wba...@tmo.at + +- Add add-desktopfile-translations.patch to translate the name and + description of the plasmoid +- Update translations to the latest versions from SVN (boo#990362) + +--- New: add-desktopfile-translations.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.foflPQ/_old 2016-09-30 15:20:50.0 +0200 +++ /var/tmp/diff_new_pack.foflPQ/_new 2016-09-30 15:20:50.0 +0200 @@ -34,6 +34,8 @@ Patch3: use-new-breeze-icons.patch # PATCH-FIX-UPSTREAM fix-typo-in-icon-name.patch -- fix typo in above patch Patch4: fix-typo-in-icon-name.patch +# PATCH-FIX-UPSTREAM add-desktopfile-translations.patch -- add translations to the .desktop file +Patch5: add-desktopfile-translations.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 @@ -68,6 +70,7 @@ %patch2 -p1 %patch3 -p1 %patch4 -p1 +%patch5 -p1 echo "ki18n_install(po)" >> CMakeLists.txt %build ++ add-desktopfile-translations.patch ++ diff -ur plasma-pk-updates-0.2.orig/src/plasma/metadata.desktop.cmake plasma-pk-updates-0.2/src/plasma/metadata.desktop.cmake --- plasma-pk-updates-0.2.orig/src/plasma/metadata.desktop.cmake 2015-04-06 20:52:42.0 +0200 +++ plasma-pk-updates-0.2/src/plasma/metadata.desktop.cmake 2016-09-24 04:09:47.220024562 +0200 @@ -1,7 +1,51 @@ [Desktop Entry] Name=Software Updates +Name[ast]=Anovamientos de software +Name[ca]=Actualitzacions de programari +Name[ca@valencia]=Actualitzacions de programari +Name[cs]=Aktualizace software +Name[da]=Softwareopdateringer +Name[de]=Softwareaktualisierungen +Name[en_GB]=Software Updates +Name[es]=Actualizaciones de software +Name[fi]=Ohjelmistopäivitykset +Name[gl]=Actualizacións de sofware +Name[lt]=Programų atnaujinimai +Name[nl]=Software bijwerken +Name[nn]=Programoppdateringar +Name[pl]=Uaktualnienia oprogramowania +Name[pt]=Actualizações de Aplicações +Name[pt_BR]=Atualização de aplicativos +Name[ru]=Обновления программ +Name[sk]=Aktualizácie softvéru +Name[sv]=Uppdateringar av programvara +Name[uk]=Оновлення програм +Name[x-test]=xxSoftware Updatesxx +Name[zh_CN]=软件更新 Comment=Get software updates +Comment[ast]=Consigue anovamientos de software +Comment[ca]=Obtén les actualitzacions de programari +Comment[ca@valencia]=Obtén les actualitzacions de programari +Comment[cs]=Získejte aktualizace software +Comment[da]=Hent softwareopdateringer +Comment[de]=Softwareaktualisierungen beziehen +Comment[en_GB]=Get software updates +Comment[es]=Obtener actualizaciones de software +Comment[fi]=Nouda ohjelmistopäivitykset +Comment[gl]=Obteña actualizacións de software. +Comment[lt]=Parsisiųsti programų atnaujinimus +Comment[nl]=Elementen voor software bijwerken ophalen +Comment[nn]=Hent programoppdateringar +Comment[pl]=Pobiera uaktualnienia oprogramowania +Comment[pt]=Obter actualizações das aplicações +Comment[pt_BR]=Obter a atualização de aplicativos +Comment[ru]=Обновления программного обеспечения +Comment[sk]=Získať aktualizácie softvéru +Comment[sv]=Hämta uppdateringar av programvara +Comment[uk]=Отримання оновлень програм +Comment[x-test]=xxGet software updatesxx +Comment[zh_CN]=获取软件更新 Icon=system-software-update Type=Service ++ plasma-pk-updates-lang.tar.xz ++ 7483 lines of diff (skipped)
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2016-08-29 14:29:44 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2016-02-22 08:56:07.0 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2016-08-29 14:29:59.0 +0200 @@ -1,0 +2,11 @@ +Mon Aug 15 10:47:01 UTC 2016 - fab...@ritter-vogt.de + +- Add upstream commits fix-typo-in-icon-name.patch and + use-new-breeze-icons.patch + +--- +Fri Aug 12 23:43:51 UTC 2016 - hrvoje.sen...@gmail.com + +- Adjust filelist for the plasmoid appdata, installed with KF > 5.25.0 + +--- New: fix-typo-in-icon-name.patch use-new-breeze-icons.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.yONsXW/_old 2016-08-29 14:30:03.0 +0200 +++ /var/tmp/diff_new_pack.yONsXW/_new 2016-08-29 14:30:03.0 +0200 @@ -30,15 +30,19 @@ Patch1: change-refresh-logic.patch # PATCH-FIX-UPSTREAM use-native-plasma-components.patch boo#953669, kde#359308 -- fixes problems with dark Plasma themes Patch2: use-native-plasma-components.patch +# PATCH-FIX-UPSTREAM use-new-breeze-icons.patch -- use less misleading icons +Patch3: use-new-breeze-icons.patch +# PATCH-FIX-UPSTREAM fix-typo-in-icon-name.patch -- fix typo in above patch +Patch4: fix-typo-in-icon-name.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 -BuildRequires: kcoreaddons-devel -BuildRequires: kdelibs4support-devel -BuildRequires: ki18n-devel -BuildRequires: kiconthemes-devel -BuildRequires: knotifications-devel -BuildRequires: plasma-framework-devel +BuildRequires: kcoreaddons-devel >= 5.25.0 +BuildRequires: kdelibs4support-devel >= 5.25.0 +BuildRequires: ki18n-devel >= 5.25.0 +BuildRequires: kiconthemes-devel >= 5.25.0 +BuildRequires: knotifications-devel >= 5.25.0 +BuildRequires: plasma-framework-devel >= 5.25.0 BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) @@ -62,6 +66,8 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 echo "ki18n_install(po)" >> CMakeLists.txt %build @@ -82,5 +88,6 @@ %{_kf5_qmldir}/ %{_kf5_plasmadir}/ %{_kf5_servicesdir}/ +%{_kf5_appstreamdir}/ %changelog ++ fix-typo-in-icon-name.patch ++ >From 9662b9c5d83ad0188803830d7cf9a96a2db0d114 Mon Sep 17 00:00:00 2001 From: Fabian VogtDate: Mon, 15 Aug 2016 11:40:31 +0100 Subject: [PATCH 4/4] Fix typo in icon name Introduced in commit 9e236ec5d4d28d7498dfcc830a95590dececcf02 REVIEW: 128682 --- 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 324387f..6083d22 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -98,7 +98,7 @@ bool PkUpdates::isSystemUpToDate() const QString PkUpdates::iconName() const { if (securityCount() > 0) { -return "update-hight"; +return "update-high"; } else if (importantCount() > 0) { return "update-medium"; } else if (count() > 0) { -- 2.9.2 ++ use-new-breeze-icons.patch ++ >From 9e236ec5d4d28d7498dfcc830a95590dececcf02 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 29 Feb 2016 14:34:06 +0100 Subject: [PATCH 1/4] Use new breeze icons --- src/declarative/pkupdates.cpp | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/declarative/pkupdates.cpp b/src/declarative/pkupdates.cpp index f1e013f..324387f 100644 --- a/src/declarative/pkupdates.cpp +++ b/src/declarative/pkupdates.cpp @@ -97,12 +97,15 @@ bool PkUpdates::isSystemUpToDate() const QString PkUpdates::iconName() const { -if (securityCount() > 0) -return "security-low"; -else if (importantCount() > 0) -return "security-medium"; - -return "security-high"; +if (securityCount() > 0) { +return "update-hight"; +} else if (importantCount() > 0) { +return "update-medium"; +} else if (count() > 0) { +return "update-low"; +} else { +return "update-none"; +} } QString PkUpdates::message() const -- 2.9.2
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2016-02-22 08:56:06 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2016-02-09 16:48:50.0 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2016-02-22 08:56:07.0 +0100 @@ -1,0 +2,19 @@ +Mon Feb 15 21:36:47 UTC 2016 - wba...@tmo.at + +- Add use-native-plasma-components.patch: fixes problems with dark + Plasma themes (boo#953669, kde#359308) + +--- +Fri Feb 12 10:16:43 UTC 2016 - tittiatc...@gmail.com + +- Add translations (plasma-pk-updates-lang.tar.xz) + +--- +Thu Feb 11 14:42:21 UTC 2016 - tittiatc...@gmail.com + +- Add patch change-refresh-logic.patch. This prevents the plasmoid + from starting the PackageKit Daemon on a hourly basis. This also + prevents unnecessary notifications. + (boo#955352) + +--- New: change-refresh-logic.patch plasma-pk-updates-lang.tar.xz use-native-plasma-components.patch Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.yk4F2o/_old 2016-02-22 08:56:08.0 +0100 +++ /var/tmp/diff_new_pack.yk4F2o/_new 2016-02-22 08:56:08.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package plasma5-pk-updates # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,6 +25,11 @@ Url:http://www.kde.org Source: v%{version}.tar.gz Patch0: gcc48.diff +Source1:plasma-pk-updates-lang.tar.xz +# PATCH-FIX-OPENSUSE change-refresh-logic.patch -- Change the logic that the PackageKit daemon is only getting a request according to the set frequency +Patch1: change-refresh-logic.patch +# PATCH-FIX-UPSTREAM use-native-plasma-components.patch boo#953669, kde#359308 -- fixes problems with dark Plasma themes +Patch2: use-native-plasma-components.patch BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 @@ -39,19 +44,25 @@ BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5Widgets) +Recommends: %{name}-lang = %{version} %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" # Use a fake version number as that the apper version is higher than 0.2 Provides: apper = 1.0 Obsoletes: apper < 1.0 +Obsoletes: apper-lang < 1.0 %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Plasma applet for software updates using PackageKit. +%lang_package %prep -%setup -q -n plasma-pk-updates-%{version} +%setup -q -n plasma-pk-updates-%{version} -a 1 %patch0 -p1 +%patch1 -p1 +%patch2 -p1 +echo "ki18n_install(po)" >> CMakeLists.txt %build %cmake_kf5 -d build @@ -59,6 +70,11 @@ %install %kf5_makeinstall -C build + %find_lang pkupdates plasma-pk-updates.lang + %find_lang plasma_applet_org.kde.plasma.pkupdates plasma-pk-updates.lang + +%files lang -f plasma-pk-updates.lang +%defattr(-,root,root) %files %defattr(-,root,root) ++ change-refresh-logic.patch ++ >From 06e21dffef7286d79718bdf49590aa8d90c24991 Mon Sep 17 00:00:00 2001 From: Raymond WooninckDate: Thu, 11 Feb 2016 10:15:41 +0100 Subject: change the refresh logic and avoid unnecessary calls to the PackageKit Daemon diff -urB plasma-pk-updates-0.2/src/declarative/pkupdates.cpp new/src/declarative/pkupdates.cpp --- plasma-pk-updates-0.2/src/declarative/pkupdates.cpp 2015-04-06 20:52:42.0 +0200 +++ new/src/declarative/pkupdates.cpp 2016-02-11 15:49:38.001607501 +0100 @@ -189,19 +189,20 @@ return i18n("Last updated: never"); } -void PkUpdates::checkUpdates(bool force) +void PkUpdates::checkUpdates() { -qDebug() << "Checking updates, forced:" << force; +qDebug() << "Checking updates, forced"; -if (force) { // save the timestamp -KConfigGroup grp(KSharedConfig::openConfig("plasma-pk-updates"), "General"); -grp.writeEntry("Timestamp", QDateTime::currentDateTime().toMSecsSinceEpoch()); -grp.sync(); -} +// save the timestamp +KConfigGroup
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2016-02-09 16:48:49 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2015-10-26 12:48:48.0 +0100 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2016-02-09 16:48:50.0 +0100 @@ -1,0 +2,7 @@ +Fri Feb 5 07:56:14 UTC 2016 - tittiatc...@gmail.com + +- Change the obsoletes for apper to a higher version number to + make sure that it gets removed. Current apper version is 0.9.2 and + therefore higher than the version of plasma5-pk-updates + +--- Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.ygoge9/_old 2016-02-09 16:48:50.0 +0100 +++ /var/tmp/diff_new_pack.ygoge9/_new 2016-02-09 16:48:50.0 +0100 @@ -40,8 +40,9 @@ BuildRequires: pkgconfig(Qt5Quick) BuildRequires: pkgconfig(Qt5Widgets) %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" -Provides: apper = %{version} -Obsoletes: apper < %{version} +# Use a fake version number as that the apper version is higher than 0.2 +Provides: apper = 1.0 +Obsoletes: apper < 1.0 %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build
commit plasma5-pk-updates for openSUSE:Factory
Hello community, here is the log from the commit of package plasma5-pk-updates for openSUSE:Factory checked in at 2015-10-26 12:48:42 Comparing /work/SRC/openSUSE:Factory/plasma5-pk-updates (Old) and /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new (New) Package is "plasma5-pk-updates" Changes: --- /work/SRC/openSUSE:Factory/plasma5-pk-updates/plasma5-pk-updates.changes 2015-07-03 00:15:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.plasma5-pk-updates.new/plasma5-pk-updates.changes 2015-10-26 12:48:48.0 +0100 @@ -0,0 +1,5 @@ +--- +Wed Oct 21 17:56:14 UTC 2015 - hrvoje.sen...@gmail.com + +- Obsolete apper + Other differences: -- ++ plasma5-pk-updates.spec ++ --- /var/tmp/diff_new_pack.rG5AYj/_old 2015-10-26 12:48:49.0 +0100 +++ /var/tmp/diff_new_pack.rG5AYj/_new 2015-10-26 12:48:49.0 +0100 @@ -28,17 +28,21 @@ BuildRequires: PackageKit-Qt5-devel BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= 1.3.0 +BuildRequires: kcoreaddons-devel +BuildRequires: kdelibs4support-devel +BuildRequires: ki18n-devel +BuildRequires: kiconthemes-devel +BuildRequires: knotifications-devel +BuildRequires: plasma-framework-devel BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) -BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Quick) -BuildRequires: pkgconfig(Qt5DBus) -BuildRequires: plasma-framework-devel -BuildRequires: ki18n-devel -BuildRequires: kcoreaddons-devel -BuildRequires: knotifications-devel -BuildRequires: kiconthemes-devel -BuildRequires: kdelibs4support-devel +BuildRequires: pkgconfig(Qt5Widgets) +%if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" +Provides: apper = %{version} +Obsoletes: apper < %{version} +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description