Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-kservice for openSUSE:Factory checked in at 2025-10-12 22:22:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-kservice (Old) and /work/SRC/openSUSE:Factory/.kf6-kservice.new.18484 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-kservice" Sun Oct 12 22:22:38 2025 rev:20 rq:1310870 version:6.19.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-kservice/kf6-kservice.changes 2025-09-15 19:53:35.332822947 +0200 +++ /work/SRC/openSUSE:Factory/.kf6-kservice.new.18484/kf6-kservice.changes 2025-10-12 22:23:46.896259037 +0200 @@ -1,0 +2,17 @@ +Tue Oct 7 17:06:24 UTC 2025 - Christophe Marin <[email protected]> + +- Update to 6.19.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.19.0 +- Changes since 6.18.0: + * Update dependency version to 6.19.0 + * disable some tests that fail on Windows ATM + * ci: require passing tests on all platforms + * Silence clazy warning about temporary container that is not worth fixing + * kbuildsycoca: Utilize QDateTime method that is significantly faster + * KService: Simlify code for reading schemeHandlers a bit, avoid unused Q_D + * KMimeAssociations: Slightly more consistent log messaged, avoid Q_UNUSED for variable that is printed in log + * Update version to 6.19.0 + +------------------------------------------------------------------- Old: ---- kservice-6.18.0.tar.xz kservice-6.18.0.tar.xz.sig New: ---- kservice-6.19.0.tar.xz kservice-6.19.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-kservice.spec ++++++ --- /var/tmp/diff_new_pack.LIrewV/_old 2025-10-12 22:23:47.496284162 +0200 +++ /var/tmp/diff_new_pack.LIrewV/_new 2025-10-12 22:23:47.500284329 +0200 @@ -19,11 +19,11 @@ %define qt6_version 6.8.0 %define rname kservice -# Full KF6 version (e.g. 6.18.0) +# Full KF6 version (e.g. 6.19.0) %{!?_kf6_version: %global _kf6_version %{version}} %bcond_without released Name: kf6-kservice -Version: 6.18.0 +Version: 6.19.0 Release: 0 Summary: Plugin framework for desktop services License: LGPL-2.1-or-later ++++++ kservice-6.18.0.tar.xz -> kservice-6.19.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kservice-6.18.0/.kde-ci.yml new/kservice-6.19.0/.kde-ci.yml --- old/kservice-6.18.0/.kde-ci.yml 2025-09-08 10:14:27.000000000 +0200 +++ new/kservice-6.19.0/.kde-ci.yml 2025-10-05 14:38:48.000000000 +0200 @@ -12,4 +12,4 @@ Options: test-before-installing: True - require-passing-tests-on: ['Linux', 'FreeBSD'] + require-passing-tests-on: ['@all'] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kservice-6.18.0/CMakeLists.txt new/kservice-6.19.0/CMakeLists.txt --- old/kservice-6.18.0/CMakeLists.txt 2025-09-08 10:14:27.000000000 +0200 +++ new/kservice-6.19.0/CMakeLists.txt 2025-10-05 14:38:48.000000000 +0200 @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.16) -set(KF_VERSION "6.18.0") # handled by release scripts -set(KF_DEP_VERSION "6.18.0") # handled by release scripts +set(KF_VERSION "6.19.0") # handled by release scripts +set(KF_DEP_VERSION "6.19.0") # handled by release scripts project(KService VERSION ${KF_VERSION}) # Disallow in-source build @@ -11,7 +11,7 @@ # ECM setup include(FeatureSummary) -find_package(ECM 6.18.0 NO_MODULE) +find_package(ECM 6.19.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) @@ -50,7 +50,7 @@ ecm_set_disabled_deprecation_versions( QT 6.10.0 - KF 6.17.0 + KF 6.18.0 ) ki18n_install(po) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kservice-6.18.0/autotests/CMakeLists.txt new/kservice-6.19.0/autotests/CMakeLists.txt --- old/kservice-6.18.0/autotests/CMakeLists.txt 2025-09-08 10:14:27.000000000 +0200 +++ new/kservice-6.19.0/autotests/CMakeLists.txt 2025-10-05 14:38:48.000000000 +0200 @@ -15,25 +15,31 @@ kservice_unit_tests( ksycocatest ksycoca_xdgdirstest - ksycocathreadtest - kservicetest - kapplicationtradertest ) # the test plays with the timestamp of ~/.qttest/share/applications, and with the ksycoca file, other tests can collide set_tests_properties(ksycocatest PROPERTIES RUN_SERIAL TRUE) -# KServiceTest::testAllServices can fail if any service is deleted while the test runs -set_tests_properties(kservicetest PROPERTIES RUN_SERIAL TRUE) -######### kmimeassociationstest ######## +# disable some tests that fail on Windows ATM +if (NOT WIN32) + kservice_unit_tests( + ksycocathreadtest + kservicetest + kapplicationtradertest + ) -set(kmimeassociationstest_SRCS kmimeassociationstest.cpp ../src/sycoca/kmimeassociations.cpp) -ecm_qt_declare_logging_category(kmimeassociationstest_SRCS - HEADER sycocadebug.h - IDENTIFIER SYCOCA - CATEGORY_NAME kf.service.sycoca -) + # KServiceTest::testAllServices can fail if any service is deleted while the test runs + set_tests_properties(kservicetest PROPERTIES RUN_SERIAL TRUE) + + ######### kmimeassociationstest ######## -ecm_add_test(${kmimeassociationstest_SRCS} TEST_NAME kmimeassociationstest - LINK_LIBRARIES KF6::Service Qt6::Test Qt6::Xml KF6::ConfigCore KF6::CoreAddons) + set(kmimeassociationstest_SRCS kmimeassociationstest.cpp ../src/sycoca/kmimeassociations.cpp) + ecm_qt_declare_logging_category(kmimeassociationstest_SRCS + HEADER sycocadebug.h + IDENTIFIER SYCOCA + CATEGORY_NAME kf.service.sycoca + ) + ecm_add_test(${kmimeassociationstest_SRCS} TEST_NAME kmimeassociationstest + LINK_LIBRARIES KF6::Service Qt6::Test Qt6::Xml KF6::ConfigCore KF6::CoreAddons) +endif() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kservice-6.18.0/src/services/kservice.cpp new/kservice-6.19.0/src/services/kservice.cpp --- old/kservice-6.18.0/src/services/kservice.cpp 2025-09-08 10:14:27.000000000 +0200 +++ new/kservice-6.19.0/src/services/kservice.cpp 2025-10-05 14:38:48.000000000 +0200 @@ -759,12 +759,7 @@ QStringList KService::supportedProtocols() const { - Q_D(const KService); - - QStringList ret; - - ret << schemeHandlers(); - + QStringList ret = schemeHandlers(); const QStringList protocols = property<QStringList>(QStringLiteral("X-KDE-Protocols")); for (const QString &protocol : protocols) { if (!ret.contains(protocol)) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kservice-6.18.0/src/services/kserviceaction.cpp new/kservice-6.19.0/src/services/kserviceaction.cpp --- old/kservice-6.18.0/src/services/kserviceaction.cpp 2025-09-08 10:14:27.000000000 +0200 +++ new/kservice-6.19.0/src/services/kserviceaction.cpp 2025-10-05 14:38:48.000000000 +0200 @@ -11,7 +11,6 @@ #include "ksycoca_p.h" #include <QDataStream> -#include <QVariant> #include <KConfigGroup> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kservice-6.18.0/src/sycoca/kbuildsycoca.cpp new/kservice-6.19.0/src/sycoca/kbuildsycoca.cpp --- old/kservice-6.18.0/src/sycoca/kbuildsycoca.cpp 2025-09-08 10:14:27.000000000 +0200 +++ new/kservice-6.19.0/src/sycoca/kbuildsycoca.cpp 2025-10-05 14:38:48.000000000 +0200 @@ -588,7 +588,7 @@ // modified timestamp of 0 (UNIX Epoch). In this case, always assume // the file as been changed. if (timestamp == 0) { - static qint64 now = QDateTime::currentDateTimeUtc().toSecsSinceEpoch(); + static qint64 now = QDateTime::currentSecsSinceEpoch(); timestamp = now; } hash += timestamp; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kservice-6.18.0/src/sycoca/kmimeassociations.cpp new/kservice-6.19.0/src/sycoca/kmimeassociations.cpp --- old/kservice-6.18.0/src/sycoca/kmimeassociations.cpp 2025-09-08 10:14:27.000000000 +0200 +++ new/kservice-6.19.0/src/sycoca/kmimeassociations.cpp 2025-10-05 14:38:48.000000000 +0200 @@ -106,9 +106,8 @@ void KMimeAssociations::parseAddedAssociations(const KConfigGroup &group, const QString &file, int basePreference) { - Q_UNUSED(file) // except in debug statements QMimeDatabase db; - const auto keyList = group.keyList(); + const QStringList keyList = group.keyList(); for (const QString &mimeName : keyList) { const QStringList services = group.readXdgListEntry(mimeName); const QString resolvedMimeName = mimeName.startsWith(QLatin1String("x-scheme-handler/")) ? mimeName : db.mimeTypeForName(mimeName).name(); @@ -132,14 +131,13 @@ void KMimeAssociations::parseRemovedAssociations(const KConfigGroup &group, const QString &file) { - Q_UNUSED(file) // except in debug statements - const auto keyList = group.keyList(); + const QStringList keyList = group.keyList(); for (const QString &mime : keyList) { const QStringList services = group.readXdgListEntry(mime); for (const QString &service : services) { KService::Ptr pService = m_serviceFactory->findServiceByStorageId(service); if (!pService) { - // qDebug() << file << "specifies unknown service" << service << "in" << group.name(); + qDebug(SYCOCA) << file << "specifies unknown service" << service << "in" << group.name(); } else { // qDebug() << "removing mime" << mime << "from service" << pService.data() << pService->entryPath(); m_offerHash.removeServiceOffer(mime, pService); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kservice-6.18.0/src/sycoca/ksycoca.cpp new/kservice-6.19.0/src/sycoca/ksycoca.cpp --- old/kservice-6.18.0/src/sycoca/ksycoca.cpp 2025-09-08 10:14:27.000000000 +0200 +++ new/kservice-6.19.0/src/sycoca/ksycoca.cpp 2025-10-05 14:38:48.000000000 +0200 @@ -659,7 +659,7 @@ // ensure files are ordered so next comparison works files.sort(); // to cover cases when extra files were added - return extraFiles.keys() != files; + return extraFiles.keys() != files; // clazy:exclude=container-anti-pattern } bool KSycocaPrivate::buildSycoca()
