Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ksysguard5 for openSUSE:Factory 
checked in at 2021-03-02 12:29:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ksysguard5 (Old)
 and      /work/SRC/openSUSE:Factory/.ksysguard5.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ksysguard5"

Tue Mar  2 12:29:00 2021 rev:115 rq:875021 version:5.21.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ksysguard5/ksysguard5.changes    2021-02-15 
23:15:03.727284848 +0100
+++ /work/SRC/openSUSE:Factory/.ksysguard5.new.2378/ksysguard5.changes  
2021-03-02 12:31:59.267645866 +0100
@@ -1,0 +2,10 @@
+Tue Feb 23 14:52:08 UTC 2021 - Fabian Vogt <[email protected]>
+
+- Update to 5.21.1
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/plasma/5/5.21.1
+- Changes since 5.21.0:
+  * Force device statistics refresh rate to be always one second (kde#433063)
+
+-------------------------------------------------------------------

Old:
----
  ksysguard-5.21.0.tar.xz
  ksysguard-5.21.0.tar.xz.sig

New:
----
  ksysguard-5.21.1.tar.xz
  ksysguard-5.21.1.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ksysguard5.spec ++++++
--- /var/tmp/diff_new_pack.cB0DKd/_old  2021-03-02 12:31:59.927646324 +0100
+++ /var/tmp/diff_new_pack.cB0DKd/_new  2021-03-02 12:31:59.931646327 +0100
@@ -18,7 +18,7 @@
 
 %bcond_without lang
 Name:           ksysguard5
-Version:        5.21.0
+Version:        5.21.1
 Release:        0
 # Full Plasma 5 version (e.g. 5.8.95)
 %{!?_plasma5_bugfix: %define _plasma5_bugfix %{version}}

++++++ ksysguard-5.21.0.tar.xz -> ksysguard-5.21.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksysguard-5.21.0/CMakeLists.txt 
new/ksysguard-5.21.1/CMakeLists.txt
--- old/ksysguard-5.21.0/CMakeLists.txt 2021-02-15 13:37:11.000000000 +0100
+++ new/ksysguard-5.21.1/CMakeLists.txt 2021-02-23 13:56:06.000000000 +0100
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 3.0)
 
 project(ksysguard)
-set(PROJECT_VERSION "5.21.0")
+set(PROJECT_VERSION "5.21.1")
 
 set(KSYSGUARD_VERSION 4.98.0)
 set(KSYSGUARD_STRING_VERSION "${KSYSGUARD_VERSION}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksysguard-5.21.0/gui/org.kde.ksysguard.appdata.xml 
new/ksysguard-5.21.1/gui/org.kde.ksysguard.appdata.xml
--- old/ksysguard-5.21.0/gui/org.kde.ksysguard.appdata.xml      2021-02-15 
13:36:32.000000000 +0100
+++ new/ksysguard-5.21.1/gui/org.kde.ksysguard.appdata.xml      2021-02-23 
13:55:29.000000000 +0100
@@ -164,9 +164,9 @@
     </screenshot>
   </screenshots>
   <releases>
+    <release version="5.21.1" date="2021-02-23"/>
     <release version="5.21.0" date="2021-02-16"/>
     <release version="5.20.5" date="2020-01-05"/>
     <release version="5.20.4" date="2020-12-01"/>
-    <release version="5.20.3" date="2020-11-10"/>
   </releases>
 </component>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ksysguard-5.21.0/plugins/global/network/NetworkManagerBackend.cpp 
new/ksysguard-5.21.1/plugins/global/network/NetworkManagerBackend.cpp
--- old/ksysguard-5.21.0/plugins/global/network/NetworkManagerBackend.cpp       
2021-02-15 13:36:32.000000000 +0100
+++ new/ksysguard-5.21.1/plugins/global/network/NetworkManagerBackend.cpp       
2021-02-23 13:55:29.000000000 +0100
@@ -34,6 +34,21 @@
 
     m_statistics = m_device->deviceStatistics();
 
+    // We always want to have the refresh rate to be 1000ms but it's a global 
property. So we store
+    // the oustide rate. override any changes and restore it when we are 
destroyed.
+    m_initialStatisticsRate = m_statistics->refreshRateMs();
+    connect(m_statistics.get(), 
&NetworkManager::DeviceStatistics::refreshRateMsChanged, this, [this] (uint 
rate) {
+        // Unfortunately we always get a change signal even when disconnecting 
before the setter and
+        // connecting afterwards, so we have to do this and assume the first 
signal after a call is
+        // caused by it. Iniitally true because of the call below
+        static bool updatingRefreshRate = true;
+        if (!updatingRefreshRate) {
+            m_initialStatisticsRate = rate;
+            m_statistics->setRefreshRateMs(1000);
+        }
+        updatingRefreshRate = !updatingRefreshRate;
+    });
+
     // We want to display speed in bytes per second, so use a fixed one-second
     // update interval here so we are independant of the actual update rate of
     // the daemon.
@@ -88,6 +103,8 @@
 
 NetworkManagerDevice::~NetworkManagerDevice()
 {
+    disconnect(m_statistics.get(), nullptr, this, nullptr);
+    m_statistics->setRefreshRateMs(m_initialStatisticsRate);
 }
 
 void NetworkManagerDevice::update()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ksysguard-5.21.0/plugins/global/network/NetworkManagerBackend.h 
new/ksysguard-5.21.1/plugins/global/network/NetworkManagerBackend.h
--- old/ksysguard-5.21.0/plugins/global/network/NetworkManagerBackend.h 
2021-02-15 13:36:32.000000000 +0100
+++ new/ksysguard-5.21.1/plugins/global/network/NetworkManagerBackend.h 
2021-02-23 13:55:29.000000000 +0100
@@ -45,6 +45,7 @@
     std::unique_ptr<QTimer> m_statisticsTimer;
     bool m_connected = false;
     bool m_restoreTimer = false;
+    uint m_initialStatisticsRate;
 };
 
 class NetworkManagerBackend : public NetworkBackend
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksysguard-5.21.0/po/fr/ksysguard.po 
new/ksysguard-5.21.1/po/fr/ksysguard.po
--- old/ksysguard-5.21.0/po/fr/ksysguard.po     2021-02-15 13:36:41.000000000 
+0100
+++ new/ksysguard-5.21.1/po/fr/ksysguard.po     2021-02-23 13:55:38.000000000 
+0100
@@ -20,7 +20,7 @@
 "POT-Creation-Date: 2020-12-02 02:37+0100\n"
 "PO-Revision-Date: 2021-01-13 13:25+0100\n"
 "Last-Translator: Xavier Besnard <[email protected]>\n"
-"Language-Team: FR\n"
+"Language-Team: French <[email protected]>\n"
 "Language: fr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksysguard-5.21.0/po/fr/ksysguard_plugins_global.po 
new/ksysguard-5.21.1/po/fr/ksysguard_plugins_global.po
--- old/ksysguard-5.21.0/po/fr/ksysguard_plugins_global.po      2021-02-15 
13:36:41.000000000 +0100
+++ new/ksysguard-5.21.1/po/fr/ksysguard_plugins_global.po      2021-02-23 
13:55:38.000000000 +0100
@@ -6,7 +6,7 @@
 "POT-Creation-Date: 2021-01-26 10:30+0100\n"
 "PO-Revision-Date: 2020-11-22 09:11+0100\n"
 "Last-Translator: Xavier Besnard <[email protected]>\n"
-"Language-Team: FR\n"
+"Language-Team: French <[email protected]>\n"
 "Language: fr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksysguard-5.21.0/po/fr/ksysguard_plugins_process.po 
new/ksysguard-5.21.1/po/fr/ksysguard_plugins_process.po
--- old/ksysguard-5.21.0/po/fr/ksysguard_plugins_process.po     2021-02-15 
13:36:41.000000000 +0100
+++ new/ksysguard-5.21.1/po/fr/ksysguard_plugins_process.po     2021-02-23 
13:55:38.000000000 +0100
@@ -6,7 +6,7 @@
 "POT-Creation-Date: 2020-05-31 18:12+0200\n"
 "PO-Revision-Date: 2020-06-03 12:41+0200\n"
 "Last-Translator: Xavier Besnard <[email protected]>\n"
-"Language-Team: FR\n"
+"Language-Team: French <[email protected]>\n"
 "Language: fr\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ksysguard-5.21.0/po/nn/ksysguard_plugins_global.po 
new/ksysguard-5.21.1/po/nn/ksysguard_plugins_global.po
--- old/ksysguard-5.21.0/po/nn/ksysguard_plugins_global.po      2021-02-15 
13:36:50.000000000 +0100
+++ new/ksysguard-5.21.1/po/nn/ksysguard_plugins_global.po      2021-02-23 
13:55:47.000000000 +0100
@@ -6,7 +6,7 @@
 "Project-Id-Version: ksysguard\n"
 "Report-Msgid-Bugs-To: https://bugs.kde.org\n";
 "POT-Creation-Date: 2021-01-26 10:30+0100\n"
-"PO-Revision-Date: 2021-01-11 21:53+0100\n"
+"PO-Revision-Date: 2021-02-17 21:09+0100\n"
 "Last-Translator: Karl Ove Hufthammer <[email protected]>\n"
 "Language-Team: Norwegian Nynorsk <[email protected]>\n"
 "Language: nn\n"
@@ -14,7 +14,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Lokalize 20.12.0\n"
+"X-Generator: Lokalize 20.12.2\n"
 "X-Environment: kde\n"
 "X-Accelerator-Marker: &\n"
 "X-Text-Markup: kde4\n"
@@ -834,4 +834,4 @@
 #, kde-format
 msgctxt "@title"
 msgid "Power"
-msgstr ""
\ No newline at end of file
+msgstr "Straum"
\ No newline at end of file

Reply via email to