Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kf6-kpackage for openSUSE:Factory checked in at 2026-05-11 16:51:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kf6-kpackage (Old) and /work/SRC/openSUSE:Factory/.kf6-kpackage.new.1966 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-kpackage" Mon May 11 16:51:41 2026 rev:27 rq:1352098 version:6.26.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kf6-kpackage/kf6-kpackage.changes 2026-04-11 22:28:27.081486855 +0200 +++ /work/SRC/openSUSE:Factory/.kf6-kpackage.new.1966/kf6-kpackage.changes 2026-05-11 16:57:42.609719433 +0200 @@ -1,0 +2,14 @@ +Sat May 2 07:52:43 UTC 2026 - Christophe Marin <[email protected]> + +- Update to 6.26.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/frameworks/6/6.26.0 +- Changes since 6.25.0: + * Update dependency version to 6.26.0 + * Enable LSAN on the CI + * Don't leak PackageJob runnable if the job never gets started + * Don't leak PackageStructure objects in unit test + * Update version to 6.26.0 + +------------------------------------------------------------------- Old: ---- kpackage-6.25.0.tar.xz kpackage-6.25.0.tar.xz.sig New: ---- kpackage-6.26.0.tar.xz kpackage-6.26.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kf6-kpackage.spec ++++++ --- /var/tmp/diff_new_pack.17d0oB/_old 2026-05-11 16:57:43.141741389 +0200 +++ /var/tmp/diff_new_pack.17d0oB/_new 2026-05-11 16:57:43.145741554 +0200 @@ -16,14 +16,14 @@ # -%define qt6_version 6.8.0 +%define qt6_version 6.9.0 %define rname kpackage -# Full KF6 version (e.g. 6.25.0) +# Full KF6 version (e.g. 6.26.0) %{!?_kf6_version: %global _kf6_version %{version}} %bcond_without released Name: kf6-kpackage -Version: 6.25.0 +Version: 6.26.0 Release: 0 Summary: Non-binary asset user-installable package managing framework License: GPL-2.0-or-later AND LGPL-2.0-or-later ++++++ kpackage-6.25.0.tar.xz -> kpackage-6.26.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpackage-6.25.0/.kde-ci.yml new/kpackage-6.26.0/.kde-ci.yml --- old/kpackage-6.25.0/.kde-ci.yml 2026-04-03 19:10:48.000000000 +0200 +++ new/kpackage-6.26.0/.kde-ci.yml 2026-05-01 13:54:54.000000000 +0200 @@ -11,3 +11,4 @@ test-before-installing: True require-passing-tests-on: ['Linux', 'FreeBSD', 'Windows'] json-validate-ignore: ['autotests/data/testinvalidmetadata/metadata.json'] +# enable-lsan: True diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpackage-6.25.0/CMakeLists.txt new/kpackage-6.26.0/CMakeLists.txt --- old/kpackage-6.25.0/CMakeLists.txt 2026-04-03 19:10:48.000000000 +0200 +++ new/kpackage-6.26.0/CMakeLists.txt 2026-05-01 13:54:54.000000000 +0200 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.29) -set(KF_VERSION "6.25.0") # handled by release scripts -set(KF_DEP_VERSION "6.25.0") # handled by release scripts +set(KF_VERSION "6.26.0") # handled by release scripts +set(KF_DEP_VERSION "6.26.0") # handled by release scripts project(KPackage VERSION ${KF_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 6.25.0 NO_MODULE) +find_package(ECM 6.26.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) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpackage-6.25.0/autotests/packagestructuretest.cpp new/kpackage-6.26.0/autotests/packagestructuretest.cpp --- old/kpackage-6.25.0/autotests/packagestructuretest.cpp 2026-04-03 19:10:48.000000000 +0200 +++ new/kpackage-6.26.0/autotests/packagestructuretest.cpp 2026-05-01 13:54:54.000000000 +0200 @@ -18,7 +18,7 @@ { public: explicit NoPrefixes() - : KPackage::Package(new KPackage::PackageStructure) + : KPackage::Package(new KPackage::PackageStructure(qApp)) { setContentsPrefixPaths(QStringList()); addDirectoryDefinition("bin", QStringLiteral("bin")); @@ -32,6 +32,10 @@ { Q_OBJECT public: + explicit Wallpaper(QObject *parent = nullptr) + : KPackage::PackageStructure(parent) + { + } void initPackage(KPackage::Package *package) override { package->addDirectoryDefinition("images", QStringLiteral("images/")); @@ -82,6 +86,10 @@ { Q_OBJECT public: + explicit SimpleContent(QObject *parent = nullptr) + : KPackage::PackageStructure(parent) + { + } void initPackage(KPackage::Package *package) override { package->addDirectoryDefinition("ui", QStringLiteral("ui/")); @@ -131,11 +139,11 @@ void PackageStructureTest::wallpaperPackage() { - KPackage::Package p(new Wallpaper); + KPackage::Package p(new Wallpaper(this)); p.setPath(m_packagePath); QVERIFY(p.isValid()); - KPackage::Package p2(new Wallpaper); + KPackage::Package p2(new Wallpaper(this)); p2.setPath(m_packagePath + "/contents/images/empty.png"); QVERIFY(p2.isValid()); } @@ -307,7 +315,7 @@ void PackageStructureTest::customContent() { - KPackage::Package p(new SimpleContent); + KPackage::Package p(new SimpleContent(this)); p.setPath(QFINDTESTDATA("data/simplecontent")); QVERIFY(p.isValid()); QCOMPARE(p.filePath("customcontentfile"), QString()); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpackage-6.25.0/autotests/plasmoidpackagetest.cpp new/kpackage-6.26.0/autotests/plasmoidpackagetest.cpp --- old/kpackage-6.25.0/autotests/plasmoidpackagetest.cpp 2026-04-03 19:10:48.000000000 +0200 +++ new/kpackage-6.26.0/autotests/plasmoidpackagetest.cpp 2026-05-01 13:54:54.000000000 +0200 @@ -349,7 +349,7 @@ void PlasmoidPackageTest::uncompressPackageWithSubFolder() { - KPackage::PackageStructure *structure = new KPackage::PackageStructure; + KPackage::PackageStructure *structure = new KPackage::PackageStructure(this); KPackage::Package package(structure); package.setPath(QFINDTESTDATA("data/customcontent.tar.gz")); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpackage-6.25.0/po/sk/libkpackage6.po new/kpackage-6.26.0/po/sk/libkpackage6.po --- old/kpackage-6.25.0/po/sk/libkpackage6.po 2026-04-03 19:10:48.000000000 +0200 +++ new/kpackage-6.26.0/po/sk/libkpackage6.po 2026-05-01 13:54:54.000000000 +0200 @@ -14,8 +14,8 @@ "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 20.08.1\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" +"X-Generator: Lokalize 20.08.1\n" #, kde-format msgctxt "NAME OF TRANSLATORS" @@ -50,17 +50,15 @@ #: kpackage/private/packagejobthread.cpp:238 #, kde-format msgid "Package is not considered valid" -msgstr "" +msgstr "Balík nie je považovaný za platný" #: kpackage/private/packagejobthread.cpp:248 -#, fuzzy, kde-format -#| msgid "Package plugin name not specified: %1" +#, kde-format msgid "Package plugin id not specified: %1" msgstr "Nie je zadaný názov balíka pluginu: %1" #: kpackage/private/packagejobthread.cpp:258 -#, fuzzy, kde-format -#| msgid "Package plugin name %1 contains invalid characters" +#, kde-format msgid "Package plugin id %1 contains invalid characters" msgstr "Názov balíka pluginu %1 obsahuje neplatné znaky" @@ -128,8 +126,7 @@ msgstr "SHA1 hash pre balíček na %1: '%2'" #: kpackagetool/kpackagetool.cpp:145 -#, fuzzy, kde-format -#| msgid "Listing service types: %1 in %2" +#, kde-format msgid "Listing KPackageType: %1 in %2" msgstr "Vypisujem typy služieb: %1 v %2" @@ -157,32 +154,27 @@ msgstr "Zobrazujem informácie pre balík: %1" #: kpackagetool/kpackagetool.cpp:260 -#, fuzzy, kde-format -#| msgid " Name : %1" +#, kde-format msgid " Name : %1" msgstr " Názov : %1" #: kpackagetool/kpackagetool.cpp:261 -#, fuzzy, kde-format -#| msgid "Service Descriptions" +#, kde-format msgid " Description: %1" -msgstr "Popisy služby" +msgstr " Popis: %1" #: kpackagetool/kpackagetool.cpp:262 -#, fuzzy, kde-format -#| msgid " Plugin : %1" +#, kde-format msgid " Plugin : %1" msgstr " Plugin : %1" #: kpackagetool/kpackagetool.cpp:268 -#, fuzzy, kde-format -#| msgid " Author : %1" +#, kde-format msgid " Author : %1" msgstr " Autor : %1" #: kpackagetool/kpackagetool.cpp:269 -#, fuzzy, kde-format -#| msgid " Path : %1" +#, kde-format msgid " Path : %1" msgstr " Cesta : %1" @@ -201,7 +193,7 @@ #: kpackagetool/kpackagetool.cpp:457 #, kde-format msgid "KPackage Structure Name" -msgstr "" +msgstr "Názov štruktúry KPackage" #: kpackagetool/kpackagetool.cpp:458 #, kde-format @@ -363,7 +355,6 @@ #~ "%2" #, fuzzy -#~| msgid "Desktop file that describes this package." #~ msgid "JSON file that describes this package." #~ msgstr "Súbor desktop, ktorý popisuje tento balík." @@ -510,7 +501,6 @@ #~ msgstr "Generujem %1/kpluginindex.json" #, fuzzy -#~| msgid "Generating %1/kpluginindex.json" #~ msgid "Cannot write to %1/kpluginindex.json" #~ msgstr "Generujem %1/kpluginindex.json" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kpackage-6.25.0/src/kpackage/packagejob.cpp new/kpackage-6.26.0/src/kpackage/packagejob.cpp --- old/kpackage-6.25.0/src/kpackage/packagejob.cpp 2026-04-03 19:10:48.000000000 +0200 +++ new/kpackage-6.26.0/src/kpackage/packagejob.cpp 2026-05-01 13:54:54.000000000 +0200 @@ -49,7 +49,7 @@ return StructureOrErrorJob{nullptr, job}; } } - PackageJobThread *thread = nullptr; + std::unique_ptr<PackageJobThread> thread; Package package; QString installPath; }; @@ -58,10 +58,10 @@ : KJob() , d(new PackageJobPrivate) { - d->thread = new PackageJobThread(type, src, dest, package); + d->thread = std::make_unique<PackageJobThread>(type, src, dest, package); d->package = package; - connect(d->thread, &PackageJobThread::installPathChanged, this, [this](const QString &installPath) { + connect(d->thread.get(), &PackageJobThread::installPathChanged, this, [this](const QString &installPath) { d->package.setPath(installPath); }); @@ -84,8 +84,7 @@ void PackageJob::start() { if (d->thread) { - QThreadPool::globalInstance()->start(d->thread); - d->thread = nullptr; + QThreadPool::globalInstance()->start(d->thread.release()); } else { qCWarning(KPACKAGE_LOG) << "The KPackage::PackageJob was already started"; } @@ -184,7 +183,7 @@ } emitResult(); }; - connect(d->thread, &PackageJobThread::jobThreadFinished, this, onJobFinished, Qt::QueuedConnection); + connect(d->thread.get(), &PackageJobThread::jobThreadFinished, this, onJobFinished, Qt::QueuedConnection); } } // namespace KPackage
