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-09-15 19:49:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-knotifications (Old) and /work/SRC/openSUSE:Factory/.kf6-knotifications.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-knotifications" Mon Sep 15 19:49:44 2025 rev:19 rq:1304415 version:6.18.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-knotifications/kf6-knotifications.changes 2025-08-09 20:03:29.283413457 +0200 +++ /work/SRC/openSUSE:Factory/.kf6-knotifications.new.1977/kf6-knotifications.changes 2025-09-15 19:53:18.864130031 +0200 @@ -1,0 +2,15 @@ +Mon Sep 8 13:33:08 UTC 2025 - Christophe Marin <[email protected]> + +- Update to 6.18.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.18.0 +- Changes since 6.17.0: + * Update dependency version to 6.18.0 + * Dont update id if server returns an error + * KNotification: Use std::as_const in some more cases + * NotifyByPopup: Remove trivial variable that is never used + * Bump kf ecm_set_disabled_deprecation_versions. Make sure that it compiles fine without kf 6.17 deprecated methods + * Update version to 6.18.0 + +------------------------------------------------------------------- Old: ---- knotifications-6.17.0.tar.xz knotifications-6.17.0.tar.xz.sig New: ---- knotifications-6.18.0.tar.xz knotifications-6.18.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-knotifications.spec ++++++ --- /var/tmp/diff_new_pack.L46Ic5/_old 2025-09-15 19:53:19.556159148 +0200 +++ /var/tmp/diff_new_pack.L46Ic5/_new 2025-09-15 19:53:19.556159148 +0200 @@ -32,11 +32,11 @@ %define mypython_sitearch %{expand:%%%{mypython}_sitearch} %endif -# Full KF6 version (e.g. 6.17.0) +# Full KF6 version (e.g. 6.18.0) %{!?_kf6_version: %global _kf6_version %{version}} %bcond_without released Name: kf6-knotifications -Version: 6.17.0 +Version: 6.18.0 Release: 0 Summary: KDE Desktop notifications License: LGPL-2.1-or-later ++++++ knotifications-6.17.0.tar.xz -> knotifications-6.18.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-6.17.0/CMakeLists.txt new/knotifications-6.18.0/CMakeLists.txt --- old/knotifications-6.17.0/CMakeLists.txt 2025-08-01 12:38:11.000000000 +0200 +++ new/knotifications-6.18.0/CMakeLists.txt 2025-09-08 10:13:48.000000000 +0200 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "6.17.0") # handled by release scripts -set(KF_DEP_VERSION "6.17.0") # handled by release scripts +set(KF_VERSION "6.18.0") # handled by release scripts +set(KF_DEP_VERSION "6.18.0") # handled by release scripts project(KNotifications VERSION ${KF_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 6.17.0 NO_MODULE) +find_package(ECM 6.18.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) @@ -106,7 +106,7 @@ ecm_set_disabled_deprecation_versions( QT 6.10 - KF 6.16 + KF 6.17 ) add_subdirectory(src) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-6.17.0/src/android_defaults.notifyrc new/knotifications-6.18.0/src/android_defaults.notifyrc --- old/knotifications-6.17.0/src/android_defaults.notifyrc 2025-08-01 12:38:11.000000000 +0200 +++ new/knotifications-6.18.0/src/android_defaults.notifyrc 2025-09-08 10:13:48.000000000 +0200 @@ -56,7 +56,6 @@ Name[tr]=Onulmaz Hata Name[uk]=Критична помилка Name[vi]=Lỗi nghiêm trọng -Name[x-test]=xxFatal Errorxx Name[zh_CN]=严重错误 Name[zh_TW]=嚴重錯誤 Comment=There was a serious error causing the program to exit @@ -115,14 +114,13 @@ Comment[tr]=Uygulamadan çıkacak kadar önemli bir hata oluştu Comment[uk]=Трапилась серйозна помилка, що призвела до закриття програми Comment[vi]=Đã có một lỗi nghiêm trọng khiến chương trình phải thoát -Comment[x-test]=xxThere was a serious error causing the program to exitxx Comment[zh_CN]=有一个严重错误导致程序退出 Comment[zh_TW]=程式發生了嚴重錯誤,必須離開 Action=Popup [Event/notification] Name=Notification -Name[ar]=إخطار +Name[ar]=إشعار Name[az]=Bildiriş Name[be]=Апавяшчэнне Name[bg]=Известия @@ -177,7 +175,6 @@ Name[tr]=Bildirim Name[uk]=Сповіщення Name[vi]=Thông báo -Name[x-test]=xxNotificationxx Name[zh_CN]=通知 Name[zh_TW]=通知 Comment=Something special happened in the program @@ -235,7 +232,6 @@ Comment[tr]=Uygulamada bazı özel durumlar oluştu Comment[uk]=Щось особливе сталось у програмі Comment[vi]=Thứ gì đó đặc biệt đã xảy ra trong chương trình -Comment[x-test]=xxSomething special happened in the programxx Comment[zh_CN]=这个程序中发生了特殊的事情 Comment[zh_TW]=程式中發生了特殊事件 Action=Popup @@ -297,7 +293,6 @@ Name[tr]=Uyarı Name[uk]=Попередження Name[vi]=Cảnh báo -Name[x-test]=xxWarningxx Name[zh_CN]=警告 Name[zh_TW]=警告 Comment=There was an error in the program which may cause problems @@ -355,7 +350,6 @@ Comment[tr]=Uygulamada sorunlara neden olabilecek bir hata oluştu Comment[uk]=В програмі трапилась помилка, яка може спричинити проблеми Comment[vi]=Có lỗi trong chương trình, có thể gây ra vấn đề -Comment[x-test]=xxThere was an error in the program which may cause problemsxx Comment[zh_CN]=程序中有一个错误,它可能导致一些问题 Comment[zh_TW]=程式中發生錯誤,可能造成問題 Action=Popup @@ -416,7 +410,6 @@ Name[tr]=Felaket Name[uk]=Катастрофа Name[vi]=Thảm hoạ -Name[x-test]=xxCatastrophexx Name[zh_CN]=严重故障 Name[zh_TW]=發生大災難 Comment=A very serious error occurred, at least causing the program to exit @@ -473,7 +466,6 @@ Comment[tr]=En azından uygulamadan çıkacak kadar önemli bir hata oluştu Comment[uk]=Трапилась дуже серйозна помилка, яка призвела до закриття програми Comment[vi]=Một lỗi rất nghiêm trọng đã xảy ra, ít nhất nó khiến chương trình phải thoát -Comment[x-test]=xxA very serious error occurred, at least causing the program to exitxx Comment[zh_CN]=发生了一个非常严重的错误,至少已经导致了这个程序退出 Comment[zh_TW]=發生了非常嚴重的問題,至少造成程式被迫結束 Action=Popup diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-6.17.0/src/knotification.cpp new/knotifications-6.18.0/src/knotification.cpp --- old/knotifications-6.17.0/src/knotification.cpp 2025-08-01 12:38:11.000000000 +0200 +++ new/knotifications-6.18.0/src/knotification.cpp 2025-09-08 10:13:48.000000000 +0200 @@ -245,7 +245,7 @@ int idCounter = 1; - for (KNotificationAction *action : d->actions) { + for (KNotificationAction *action : std::as_const(d->actions)) { action->setId(QString::number(idCounter)); ++idCounter; } @@ -390,7 +390,7 @@ Q_EMIT d->defaultAction->activated(); } - for (KNotificationAction *action : d->actions) { + for (KNotificationAction *action : std::as_const(d->actions)) { if (action->id() == actionId) { Q_EMIT action->activated(); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/knotifications-6.17.0/src/notifybypopup.cpp new/knotifications-6.18.0/src/notifybypopup.cpp --- old/knotifications-6.17.0/src/notifybypopup.cpp 2025-08-01 12:38:11.000000000 +0200 +++ new/knotifications-6.18.0/src/notifybypopup.cpp 2025-09-08 10:13:48.000000000 +0200 @@ -220,10 +220,8 @@ actionList.append(QStringLiteral("default")); actionList.append(notification->defaultAction()->label()); } - int actId = 0; const auto listActions = notification->actions(); for (const KNotificationAction *action : listActions) { - actId++; actionList.append(action->id()); actionList.append(action->label()); } @@ -318,8 +316,12 @@ QObject::connect(watcher, &QDBusPendingCallWatcher::finished, this, [this, notification](QDBusPendingCallWatcher *watcher) { watcher->deleteLater(); - QDBusPendingReply<uint> reply = *watcher; - m_notifications.insert(reply.argumentAt<0>(), notification); + if (!watcher->isError()) { + QDBusPendingReply<uint> reply = *watcher; + m_notifications.insert(reply.argumentAt<0>(), notification); + } else { + qCWarning(LOG_KNOTIFICATIONS) << "Failed to notify" << watcher->error().message(); + } }); return true;
