Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kf6-knotifications for 
openSUSE:Factory checked in at 2025-04-15 16:43:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kf6-knotifications (Old)
 and      /work/SRC/openSUSE:Factory/.kf6-knotifications.new.1907 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kf6-knotifications"

Tue Apr 15 16:43:42 2025 rev:14 rq:1268860 version:6.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kf6-knotifications/kf6-knotifications.changes    
2025-03-17 22:16:48.452510526 +0100
+++ 
/work/SRC/openSUSE:Factory/.kf6-knotifications.new.1907/kf6-knotifications.changes
  2025-04-15 16:46:27.224480188 +0200
@@ -1,0 +2,13 @@
+Sat Apr  5 12:33:28 UTC 2025 - Christophe Marin <christo...@krop.fr>
+
+- Update to 6.13.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/6/6.13.0
+- Changes since 6.12.0:
+  * KNotification: Update notification when action label changes
+  * It compiles fine without qt6.9 deprecated methods
+  * It compiles fine without kf6.12 deprecated methods
+  * Update dependency version to 6.13.0
+
+-------------------------------------------------------------------

Old:
----
  knotifications-6.12.0.tar.xz
  knotifications-6.12.0.tar.xz.sig

New:
----
  knotifications-6.13.0.tar.xz
  knotifications-6.13.0.tar.xz.sig

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

Other differences:
------------------
++++++ kf6-knotifications.spec ++++++
--- /var/tmp/diff_new_pack.omDdXi/_old  2025-04-15 16:46:28.400529432 +0200
+++ /var/tmp/diff_new_pack.omDdXi/_new  2025-04-15 16:46:28.400529432 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package kf6-knotifications
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,13 +19,26 @@
 %define qt6_version 6.7.0
 
 %define rname knotifications
-# Full KF6 version (e.g. 6.9.0)
+
+%bcond_without kde_python_bindings
+%if %{with kde_python_bindings}
+%if 0%{suse_version} > 1500
+%define pythons %{primary_python}
+%else
+%{?sle15_python_module_pythons}
+%endif
+%define mypython %pythons
+%define __mypython %{expand:%%__%{mypython}}
+%define mypython_sitearch %{expand:%%%{mypython}_sitearch}
+%endif
+
+# Full KF6 version (e.g. 6.13.0)
 %{!?_kf6_version: %global _kf6_version %{version}}
 # Last major and minor KF6 version (e.g. 6.0)
 %{!?_kf6_bugfix_version: %define _kf6_bugfix_version %(echo %{_kf6_version} | 
awk -F. '{print $1"."$2}')}
 %bcond_without released
 Name:           kf6-knotifications
-Version:        6.12.0
+Version:        6.13.0
 Release:        0
 Summary:        KDE Desktop notifications
 License:        LGPL-2.1-or-later
@@ -47,6 +60,16 @@
 BuildRequires:  cmake(Qt6ToolsTools) >= %{qt6_version}
 BuildRequires:  cmake(Qt6Widgets) >= %{qt6_version}
 BuildRequires:  pkgconfig(libcanberra)
+# SECTION bindings
+%if %{with kde_python_bindings}
+BuildRequires:  %{mypython}-build
+BuildRequires:  %{mypython}-devel >= 3.9
+BuildRequires:  %{mypython}-setuptools
+BuildRequires:  %{mypython}-wheel
+BuildRequires:  cmake(Shiboken6)
+BuildRequires:  cmake(PySide6)
+%endif
+# /SECTION
 
 %description
 KNotification is used to notify the user of an event. It covers feedback and
@@ -80,13 +103,26 @@
 KNotification is used to notify the user of an event. It covers feedback and
 persistent events. Development files.
 
+%if %{with kde_python_bindings}
+%package -n python3-kf6-knotifications
+Summary:        Python interface for kf6-knotifications
+
+%description -n python3-kf6-knotifications
+This package provides a python interface for kf6-knotifications.
+%endif
+
 %lang_package -n libKF6Notifications6
 
 %prep
 %autosetup -p1 -n %{rname}-%{version}
 
 %build
-%cmake_kf6 -DBUILD_QCH:BOOL=TRUE
+%cmake_kf6 \
+  -DBUILD_QCH:BOOL=TRUE \
+%if %{with kde_python_bindings}
+  -DPython_EXECUTABLE:STRING=%{__mypython}
+%endif
+%{nil}
 
 %kf6_build
 
@@ -119,3 +155,8 @@
 %{_kf6_includedir}/KNotifications/
 %{_kf6_libdir}/libKF6Notifications.so
 
+%if %{with kde_python_bindings}
+%files -n python3-kf6-knotifications
+%{mypython_sitearch}/*.so
+%endif
+


++++++ knotifications-6.12.0.tar.xz -> knotifications-6.13.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotifications-6.12.0/CMakeLists.txt 
new/knotifications-6.13.0/CMakeLists.txt
--- old/knotifications-6.12.0/CMakeLists.txt    2025-03-07 15:27:02.000000000 
+0100
+++ new/knotifications-6.13.0/CMakeLists.txt    2025-04-04 16:02:09.000000000 
+0200
@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 3.16)
 
-set(KF_VERSION "6.12.0") # handled by release scripts
-set(KF_DEP_VERSION "6.12.0") # handled by release scripts
+set(KF_VERSION "6.13.0") # handled by release scripts
+set(KF_DEP_VERSION "6.13.0") # handled by release scripts
 project(KNotifications VERSION ${KF_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 6.12.0  NO_MODULE)
+find_package(ECM 6.13.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)
 
@@ -102,8 +102,8 @@
 ecm_install_po_files_as_qm(poqm)
 
 ecm_set_disabled_deprecation_versions(
-    QT 6.8
-    KF 6.11
+    QT 6.9
+    KF 6.12
 )
 
 add_subdirectory(src)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/knotifications-6.12.0/src/knotification.cpp 
new/knotifications-6.13.0/src/knotification.cpp
--- old/knotifications-6.12.0/src/knotification.cpp     2025-03-07 
15:27:02.000000000 +0100
+++ new/knotifications-6.13.0/src/knotification.cpp     2025-04-04 
16:02:09.000000000 +0200
@@ -210,6 +210,12 @@
     d->needUpdate = true;
 
     KNotificationAction *action = new KNotificationAction(label);
+    connect(action, &KNotificationAction::labelChanged, this, [this] {
+        d->needUpdate = true;
+        if (d->id >= 0) {
+            d->updateTimer.start();
+        }
+    });
     action->setId(QString::number(d->actionIdCounter));
     d->actionIdCounter++;
 
@@ -276,6 +282,12 @@
     d->needUpdate = true;
     d->ownsActions = true;
     d->defaultAction = new KNotificationAction(label);
+    connect(d->defaultAction, &KNotificationAction::labelChanged, this, [this] 
{
+        d->needUpdate = true;
+        if (d->id >= 0) {
+            d->updateTimer.start();
+        }
+    });
 
     d->defaultAction->setId(QStringLiteral("default"));
 

Reply via email to