Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libKF5NetworkManagerQt for 
openSUSE:Factory checked in at 2022-11-15 13:17:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libKF5NetworkManagerQt (Old)
 and      /work/SRC/openSUSE:Factory/.libKF5NetworkManagerQt.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libKF5NetworkManagerQt"

Tue Nov 15 13:17:48 2022 rev:108 rq:1035431 version:5.100.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libKF5NetworkManagerQt/libKF5NetworkManagerQt.changes
    2022-10-11 18:02:36.349799260 +0200
+++ 
/work/SRC/openSUSE:Factory/.libKF5NetworkManagerQt.new.1597/libKF5NetworkManagerQt.changes
  2022-11-15 13:20:16.400443895 +0100
@@ -1,0 +2,11 @@
+Tue Nov  8 08:35:31 UTC 2022 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.100.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.100.0
+- Changes since 5.99.0:
+  * DeviceStatistics: Replace setRefreshRateMs call with manual DBus call
+  * Remove dead CMakeLists code
+
+-------------------------------------------------------------------

Old:
----
  networkmanager-qt-5.99.0.tar.xz
  networkmanager-qt-5.99.0.tar.xz.sig

New:
----
  networkmanager-qt-5.100.0.tar.xz
  networkmanager-qt-5.100.0.tar.xz.sig

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

Other differences:
------------------
++++++ libKF5NetworkManagerQt.spec ++++++
--- /var/tmp/diff_new_pack.EDYxqj/_old  2022-11-15 13:20:16.936446662 +0100
+++ /var/tmp/diff_new_pack.EDYxqj/_new  2022-11-15 13:20:16.940446682 +0100
@@ -17,7 +17,7 @@
 
 
 %define soversion 6
-%define _tar_path 5.99
+%define _tar_path 5.100
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
@@ -25,7 +25,7 @@
 # Only needed for the package signature condition
 %bcond_without released
 Name:           libKF5NetworkManagerQt
-Version:        5.99.0
+Version:        5.100.0
 Release:        0
 Summary:        A Qt wrapper for NetworkManager DBus API
 License:        LGPL-2.1-only OR LGPL-3.0-only


++++++ networkmanager-qt-5.99.0.tar.xz -> networkmanager-qt-5.100.0.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/networkmanager-qt-5.99.0/CMakeLists.txt 
new/networkmanager-qt-5.100.0/CMakeLists.txt
--- old/networkmanager-qt-5.99.0/CMakeLists.txt 2022-10-01 15:22:54.000000000 
+0200
+++ new/networkmanager-qt-5.100.0/CMakeLists.txt        2022-11-05 
13:33:22.000000000 +0100
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "5.99.0") # handled by release scripts
+set(KF_VERSION "5.100.0") # handled by release scripts
 project(NetworkManagerQt VERSION ${KF_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.99.0  NO_MODULE)
+find_package(ECM 5.100.0  NO_MODULE)
 set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL "https://commits.kde.org/extra-cmake-modules";)
 feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND 
FATAL_ON_MISSING_REQUIRED_PACKAGES)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/networkmanager-qt-5.99.0/src/dbus/CMakeLists.txt 
new/networkmanager-qt-5.100.0/src/dbus/CMakeLists.txt
--- old/networkmanager-qt-5.99.0/src/dbus/CMakeLists.txt        2022-10-01 
15:22:54.000000000 +0200
+++ new/networkmanager-qt-5.100.0/src/dbus/CMakeLists.txt       2022-11-05 
13:33:22.000000000 +0100
@@ -12,9 +12,6 @@
 #      headers have already been included
 # Run do-hand-edits to update the diff of the interfaces vs what is generated; 
this speeds up regenerating them since you just have to apply the diff to make 
them compile
 
-# Just the hardware related files to begin with, as these are already present 
in Solid
-#find_package(Qt4 REQUIRED)
-
 set(INTERFACE_INTROSPECTION_XML_FILES
     introspection/nm-agent-manager.xml
     introspection/org.freedesktop.NetworkManager.AccessPoint.xml
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/networkmanager-qt-5.99.0/src/devicestatistics.cpp 
new/networkmanager-qt-5.100.0/src/devicestatistics.cpp
--- old/networkmanager-qt-5.99.0/src/devicestatistics.cpp       2022-10-01 
15:22:54.000000000 +0200
+++ new/networkmanager-qt-5.100.0/src/devicestatistics.cpp      2022-11-05 
13:33:22.000000000 +0100
@@ -55,7 +55,18 @@
 void NetworkManager::DeviceStatistics::setRefreshRateMs(uint refreshRate)
 {
     Q_D(DeviceStatistics);
-    d->iface.setRefreshRateMs(refreshRate);
+
+    // HACK calling d->iface.setRefreshRateMs does a blocking DBus call as 
internally it does
+    // setProperty which returns whether the call succeeded, so Qt waits for 
it.
+    // Since this can occasionally take a quite a while, this is replaced with 
a manual DBus call.
+
+    QDBusMessage message = 
QDBusMessage::createMethodCall(NetworkManager::NetworkManagerPrivate::DBUS_SERVICE,
+                                                          d->iface.path(),
+                                                          
NetworkManager::NetworkManagerPrivate::FDO_DBUS_PROPERTIES,
+                                                          
QLatin1String("Set"));
+    message << d->iface.staticInterfaceName() << 
QLatin1String("RefreshRateMs") << 
QVariant::fromValue(QDBusVariant(refreshRate));
+
+    d->iface.connection().call(message, QDBus::NoBlock);
 }
 
 qulonglong NetworkManager::DeviceStatistics::rxBytes() const

Reply via email to