Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package plasma5-pa for openSUSE:Factory 
checked in at 2021-07-09 23:57:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma5-pa (Old)
 and      /work/SRC/openSUSE:Factory/.plasma5-pa.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma5-pa"

Fri Jul  9 23:57:19 2021 rev:107 rq:904530 version:5.22.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-pa/plasma5-pa.changes    2021-06-27 
18:59:16.684291521 +0200
+++ /work/SRC/openSUSE:Factory/.plasma5-pa.new.2625/plasma5-pa.changes  
2021-07-09 23:57:52.969204093 +0200
@@ -1,0 +2,10 @@
+Tue Jul  6 12:01:50 UTC 2021 - Fabian Vogt <fab...@ritter-vogt.de>
+
+- Update to 5.22.3
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/plasma/5/5.22.2
+- Changes since 5.22.2.1:
+  * Always disconnect streams (kde#439347)
+
+-------------------------------------------------------------------

Old:
----
  plasma-pa-5.22.2.1.tar.xz
  plasma-pa-5.22.2.1.tar.xz.sig

New:
----
  plasma-pa-5.22.3.tar.xz
  plasma-pa-5.22.3.tar.xz.sig

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

Other differences:
------------------
++++++ plasma5-pa.spec ++++++
--- /var/tmp/diff_new_pack.NOYUFA/_old  2021-07-09 23:57:53.625198991 +0200
+++ /var/tmp/diff_new_pack.NOYUFA/_new  2021-07-09 23:57:53.629198960 +0200
@@ -20,15 +20,15 @@
 %define qt5_version 5.12.0
 %bcond_without lang
 Name:           plasma5-pa
-Version:        5.22.2.1
+Version:        5.22.3
 Release:        0
 Summary:        The Plasma5 Volume Manager
 License:        GPL-2.0-or-later
 Group:          System/GUI/KDE
 URL:            http://www.kde.org
-Source:         
https://download.kde.org/stable/plasma/5.22.2/plasma-pa-%{version}.tar.xz
+Source:         
https://download.kde.org/stable/plasma/%{version}/plasma-pa-%{version}.tar.xz
 %if %{with lang}
-Source1:        
https://download.kde.org/stable/plasma/5.22.2/plasma-pa-%{version}.tar.xz.sig
+Source1:        
https://download.kde.org/stable/plasma/%{version}/plasma-pa-%{version}.tar.xz.sig
 Source2:        plasma.keyring
 %endif
 BuildRequires:  extra-cmake-modules >= 0.0.14

++++++ plasma-pa-5.22.2.1.tar.xz -> plasma-pa-5.22.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plasma-pa-5.22.2.1/CMakeLists.txt 
new/plasma-pa-5.22.3/CMakeLists.txt
--- old/plasma-pa-5.22.2.1/CMakeLists.txt       2021-06-22 21:09:22.000000000 
+0200
+++ new/plasma-pa-5.22.3/CMakeLists.txt 2021-07-06 12:28:56.000000000 +0200
@@ -2,7 +2,7 @@
 
 project(plasma-volume-control)
 
-set(PROJECT_VERSION "5.22.2")
+set(PROJECT_VERSION "5.22.3")
 set(PROJECT_VERSION_MAJOR 5)
 
 set(QT_MIN_VERSION "5.15.0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/plasma-pa-5.22.2.1/src/volumemonitor.cpp 
new/plasma-pa-5.22.3/src/volumemonitor.cpp
--- old/plasma-pa-5.22.2.1/src/volumemonitor.cpp        2021-06-22 
21:08:56.000000000 +0200
+++ new/plasma-pa-5.22.3/src/volumemonitor.cpp  2021-07-06 12:28:29.000000000 
+0200
@@ -58,7 +58,17 @@
     if (m_stream) {
         pa_stream_set_read_callback(m_stream, nullptr, nullptr);
         pa_stream_set_suspended_callback(m_stream, nullptr, nullptr);
-        pa_stream_disconnect(m_stream);
+        if (pa_stream_get_state(m_stream) == PA_STREAM_CREATING) {
+            pa_stream_set_state_callback(
+                m_stream,
+                [](pa_stream *s, void *) {
+                    pa_stream_disconnect(s);
+                    pa_stream_set_state_callback(s, nullptr, nullptr);
+                },
+                nullptr);
+        } else {
+            pa_stream_disconnect(m_stream);
+        }
         pa_stream_unref(m_stream);
         m_stream = nullptr;
         Q_EMIT availableChanged();

Reply via email to