Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-kcrash for openSUSE:Factory checked in at 2026-03-16 14:15:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-kcrash (Old) and /work/SRC/openSUSE:Factory/.kf6-kcrash.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-kcrash" Mon Mar 16 14:15:32 2026 rev:25 rq:1338908 version:6.24.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-kcrash/kf6-kcrash.changes 2026-02-16 13:04:38.106348706 +0100 +++ /work/SRC/openSUSE:Factory/.kf6-kcrash.new.8177/kf6-kcrash.changes 2026-03-16 14:17:52.378609123 +0100 @@ -1,0 +2,13 @@ +Mon Mar 9 08:07:29 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 6.24.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.24.0 +- Changes since 6.23.0: + * Update dependency version to 6.24.0 + * metadata: make sure the KCrashComplete group has an entry (kde#516658) + * Avoid using qEnvironmentVariableIntegerValue + * Update version to 6.24.0 + +------------------------------------------------------------------- Old: ---- kcrash-6.23.0.tar.xz kcrash-6.23.0.tar.xz.sig New: ---- kcrash-6.24.0.tar.xz kcrash-6.24.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-kcrash.spec ++++++ --- /var/tmp/diff_new_pack.lT2mdy/_old 2026-03-16 14:17:52.838628192 +0100 +++ /var/tmp/diff_new_pack.lT2mdy/_new 2026-03-16 14:17:52.838628192 +0100 @@ -19,11 +19,11 @@ %define qt6_version 6.8.0 %define rname kcrash -# Full KF6 version (e.g. 6.23.0) +# Full KF6 version (e.g. 6.24.0) %{!?_kf6_version: %global _kf6_version %{version}} %bcond_without released Name: kf6-kcrash -Version: 6.23.0 +Version: 6.24.0 Release: 0 Summary: An application crash handler License: LGPL-2.1-or-later ++++++ kcrash-6.23.0.tar.xz -> kcrash-6.24.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.23.0/CMakeLists.txt new/kcrash-6.24.0/CMakeLists.txt --- old/kcrash-6.23.0/CMakeLists.txt 2026-02-13 13:13:58.000000000 +0100 +++ new/kcrash-6.24.0/CMakeLists.txt 2026-03-07 21:30:03.000000000 +0100 @@ -1,14 +1,14 @@ cmake_minimum_required(VERSION 3.27) -set(KF_VERSION "6.23.0") # handled by release scripts -set(KF_DEP_VERSION "6.23.0") # handled by release scripts +set(KF_VERSION "6.24.0") # handled by release scripts +set(KF_DEP_VERSION "6.24.0") # handled by release scripts project(KCrash VERSION ${KF_VERSION}) set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) include(FeatureSummary) -find_package(ECM 6.23.0 NO_MODULE) +find_package(ECM 6.24.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) @@ -59,7 +59,7 @@ ecm_set_disabled_deprecation_versions( QT 6.11.0 - KF 6.21.0 + KF 6.23.0 ) add_subdirectory(src) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.23.0/autotests/metadatatest.cpp new/kcrash-6.24.0/autotests/metadatatest.cpp --- old/kcrash-6.23.0/autotests/metadatatest.cpp 2026-02-13 13:13:58.000000000 +0100 +++ new/kcrash-6.24.0/autotests/metadatatest.cpp 2026-03-07 21:30:03.000000000 +0100 @@ -44,6 +44,8 @@ QCOMPARE(ini.readLine(), "ABC=FOO\\nBAR\n"); QCOMPARE(ini.readLine(), "Meow=true\n"); QCOMPARE(ini.readLine(), "[KCrashComplete]\n"); + // NOTE: this entry **must** be present for KConfig to recognize the group. + QCOMPARE(ini.readLine(), "Complete=1\n"); QVERIFY(ini.atEnd()); // nothing after final newline #endif } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kcrash-6.23.0/src/metadata.cpp new/kcrash-6.24.0/src/metadata.cpp --- old/kcrash-6.23.0/src/metadata.cpp 2026-02-13 13:13:58.000000000 +0100 +++ new/kcrash-6.24.0/src/metadata.cpp 2026-03-07 21:30:03.000000000 +0100 @@ -75,6 +75,13 @@ if (fd >= 0) { constexpr std::string_view endGroup = "[KCrashComplete]\n"; write(fd, endGroup.data(), endGroup.size()); + + // KConfig cannot actually deal with empty groups! It ignores them entirely and this behavior is fairly + // ingrained. So we write a dummy value to ensure the group is always present. + // NOTE: consider this an implementation detail and don't check for it. Only check the group. + constexpr std::string_view key = "Complete=1\n"; + write(fd, key.data(), key.size()); + if (::close(fd) == -1) { fprintf(stderr, "Failed to close metadata file: %s\n", strerror(errno)); }
