Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package kf6-kcoreaddons for openSUSE:Factory
checked in at 2024-10-12 13:25:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kf6-kcoreaddons (Old)
and /work/SRC/openSUSE:Factory/.kf6-kcoreaddons.new.19354 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kf6-kcoreaddons"
Sat Oct 12 13:25:18 2024 rev:8 rq:1207190 version:6.7.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/kf6-kcoreaddons/kf6-kcoreaddons.changes
2024-09-15 12:37:39.839680312 +0200
+++
/work/SRC/openSUSE:Factory/.kf6-kcoreaddons.new.19354/kf6-kcoreaddons.changes
2024-10-12 13:28:47.923919744 +0200
@@ -1,0 +2,16 @@
+Mon Oct 7 09:59:55 UTC 2024 - Christophe Marin <[email protected]>
+
+- Update to 6.7.0
+ * New feature release
+ * For more details please see:
+ * https://kde.org/announcements/frameworks/6/6.7.0
+- Changes since 6.6.0:
+ * Update dependency version to 6.7.0
+ * Make unit tests work with a static Qt build
+ * kcoreaddonsplugin: Link against Qt6::Network
+ * Restore KProcess on Android
+ * Don't build kprocesstest for Android/iOS
+ * Fix build on ios
+ * Update version to 6.7.0
+
+-------------------------------------------------------------------
Old:
----
kcoreaddons-6.6.0.tar.xz
kcoreaddons-6.6.0.tar.xz.sig
New:
----
kcoreaddons-6.7.0.tar.xz
kcoreaddons-6.7.0.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kf6-kcoreaddons.spec ++++++
--- /var/tmp/diff_new_pack.VDFOY9/_old 2024-10-12 13:28:48.403939641 +0200
+++ /var/tmp/diff_new_pack.VDFOY9/_new 2024-10-12 13:28:48.407939807 +0200
@@ -16,16 +16,16 @@
#
-%define qt6_version 6.6.0
+%define qt6_version 6.7.0
%define rname kcoreaddons
-# Full KF6 version (e.g. 6.6.0)
+# Full KF6 version (e.g. 6.7.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-kcoreaddons
-Version: 6.6.0
+Version: 6.7.0
Release: 0
Summary: Utilities for core application functionality and accessing the
OS
License: LGPL-2.1-or-later
++++++ kcoreaddons-6.6.0.tar.xz -> kcoreaddons-6.7.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kcoreaddons-6.6.0/CMakeLists.txt
new/kcoreaddons-6.7.0/CMakeLists.txt
--- old/kcoreaddons-6.6.0/CMakeLists.txt 2024-09-06 13:36:48.000000000
+0200
+++ new/kcoreaddons-6.7.0/CMakeLists.txt 2024-10-04 17:06:19.000000000
+0200
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.16)
-set(KF_VERSION "6.6.0") # handled by release scripts
+set(KF_VERSION "6.7.0") # handled by release scripts
project(KCoreAddons VERSION ${KF_VERSION})
include(FeatureSummary)
-find_package(ECM 6.6.0 NO_MODULE)
+find_package(ECM 6.7.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)
@@ -36,7 +36,7 @@
set(REQUIRED_QT_VERSION 6.5.0)
find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core)
if (KCOREADDONS_USE_QML)
- find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Qml)
+ find_package(Qt6 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Qml Network)
include(ECMQmlModule)
endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kcoreaddons-6.6.0/autotests/CMakeLists.txt
new/kcoreaddons-6.7.0/autotests/CMakeLists.txt
--- old/kcoreaddons-6.6.0/autotests/CMakeLists.txt 2024-09-06
13:36:48.000000000 +0200
+++ new/kcoreaddons-6.7.0/autotests/CMakeLists.txt 2024-10-04
17:06:19.000000000 +0200
@@ -66,7 +66,6 @@
add_unit_test(kformattest)
add_unit_test(kjobtest)
add_unit_test(kosreleasetest)
-add_unit_test(kprocesstest)
add_unit_test(krandomtest)
add_unit_test(kshareddatacachetest)
add_unit_test(kshelltest)
@@ -91,6 +90,10 @@
add_unit_test(klistopenfilesjobtest_unix)
endif ()
+if(NOT IOS)
+ add_unit_test(kprocesstest)
+endif()
+
if(TARGET klistopenfilesjobtest_unix AND CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
find_package(Qt6Network ${REQUIRED_QT_VERSION} CONFIG QUIET)
target_link_libraries(klistopenfilesjobtest_unix Qt6::Network)
@@ -110,8 +113,10 @@
add_executable(ktexttohtmlbenchmarktest ktexttohtmlbenchmarktest.cpp
${CMAKE_SOURCE_DIR}/src/lib/text/ktexttohtml.cpp
${CMAKE_SOURCE_DIR}/src/lib/text/kemoticonsparser.cpp)
target_link_libraries(ktexttohtmlbenchmarktest PUBLIC ktexttohtmlteststatic)
-add_executable(kprocesstest_helper kprocesstest_helper.cpp)
-target_link_libraries(kprocesstest_helper KF6::CoreAddons)
+if(NOT IOS)
+ add_executable(kprocesstest_helper kprocesstest_helper.cpp)
+ target_link_libraries(kprocesstest_helper KF6::CoreAddons)
+endif()
set(KDIRWATCH_BACKENDS_TO_TEST Stat) #Stat is always compiled
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/kcoreaddons-6.6.0/autotests/plugin/kpluginfactorytest.cpp
new/kcoreaddons-6.7.0/autotests/plugin/kpluginfactorytest.cpp
--- old/kcoreaddons-6.6.0/autotests/plugin/kpluginfactorytest.cpp
2024-09-06 13:36:48.000000000 +0200
+++ new/kcoreaddons-6.7.0/autotests/plugin/kpluginfactorytest.cpp
2024-10-04 17:06:19.000000000 +0200
@@ -20,6 +20,9 @@
private Q_SLOTS:
void testCreate()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
#ifndef Q_OS_WIN
KPluginMetaData
data(QStringLiteral("namespace/jsonplugin_cmake_macro"));
QVERIFY(data.isValid());
@@ -50,6 +53,9 @@
void testPluginWithoutMetaData()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
KPluginFactory::Result<KPluginFactory> factoryResult =
KPluginFactory::loadFactory(KPluginMetaData(QStringLiteral("namespace/pluginwithoutmetadata")));
QVERIFY(factoryResult);
auto plugin = factoryResult.plugin->create<QObject>();
@@ -60,6 +66,9 @@
void testCreateUsingUtilityMethods()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
auto result =
KPluginFactory::instantiatePlugin<QObject>(KPluginMetaData(QStringLiteral("namespace/jsonplugin_cmake_macro")));
QVERIFY(result.plugin);
QCOMPARE(result.plugin->metaObject()->className(),
"SimplePluginClass");
@@ -70,6 +79,9 @@
void testCreateUsingUtilityMethodsErrorHandling()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
{
auto result =
KPluginFactory::instantiatePlugin<QObject>(KPluginMetaData(QFINDTESTDATA("data/jsonplugin.json")));
QVERIFY(!result.plugin);
@@ -115,6 +127,9 @@
void testInstantiateWidget()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
KPluginMetaData data(QStringLiteral("widgets/widgetsplugin"),
KPluginMetaData::AllowEmptyMetaData);
QVERIFY(data.isValid());
auto factory = KPluginFactory::loadFactory(data).plugin;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/kcoreaddons-6.6.0/autotests/plugin/kpluginmetadatatest.cpp
new/kcoreaddons-6.7.0/autotests/plugin/kpluginmetadatatest.cpp
--- old/kcoreaddons-6.6.0/autotests/plugin/kpluginmetadatatest.cpp
2024-09-06 13:36:48.000000000 +0200
+++ new/kcoreaddons-6.7.0/autotests/plugin/kpluginmetadatatest.cpp
2024-10-04 17:06:19.000000000 +0200
@@ -70,6 +70,9 @@
void testFromPluginLoader()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
QString location;
location =
QPluginLoader(QStringLiteral("namespace/jsonplugin_cmake_macro")).fileName();
QVERIFY2(!location.isEmpty(), "Could not find jsonplugin");
@@ -269,6 +272,9 @@
void testPathIsAbsolute_data()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
QTest::addColumn<QString>("inputAbsolute");
QTest::addColumn<QString>("pluginPath");
@@ -329,6 +335,9 @@
void testFindPlugins()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
auto sortPlugins = [](const KPluginMetaData &a, const KPluginMetaData
&b) {
return a.pluginId() < b.pluginId();
};
@@ -398,8 +407,10 @@
void testStaticPlugins()
{
+#if defined(QT_SHARED)
+ // in a static Qt build we can already have other built-in static
plugins here
QCOMPARE(QPluginLoader::staticPlugins().count(), 0);
-
+#endif
const auto plugins =
KPluginMetaData::findPlugins(QStringLiteral("staticnamespace"));
QCOMPARE(plugins.count(), 1);
@@ -409,6 +420,9 @@
void testPluginsWithoutMetaData()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
KPluginMetaData
emptyMetaData(QStringLiteral("namespace/pluginwithoutmetadata"),
KPluginMetaData::AllowEmptyMetaData);
QVERIFY(emptyMetaData.isValid());
QCOMPARE(emptyMetaData.pluginId(),
QStringLiteral("pluginwithoutmetadata"));
@@ -444,6 +458,9 @@
void testReverseDomainNotationPluginId()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
KPluginMetaData data(QStringLiteral("org.kde.test"));
QVERIFY(data.isValid());
QCOMPARE(data.pluginId(), QStringLiteral("org.kde.test"));
@@ -459,6 +476,9 @@
void testFindingPluginInAppDirFirst()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
const QString originalPluginPath =
QPluginLoader(QStringLiteral("namespace/jsonplugin_cmake_macro")).fileName();
const QString pluginFileName =
QFileInfo(originalPluginPath).fileName();
const QString pluginNamespace = QStringLiteral("somepluginnamespace");
@@ -496,6 +516,9 @@
void testMetaDataQDebugOperator()
{
+#if !defined(QT_SHARED)
+ QSKIP("Dynamic plugin loading not supported with a static Qt build");
+#endif
const auto list =
KPluginMetaData::findPlugins(QStringLiteral("namespace"));
qDebug() << list.first();
qDebug() << list;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kcoreaddons-6.6.0/metainfo.yaml
new/kcoreaddons-6.7.0/metainfo.yaml
--- old/kcoreaddons-6.6.0/metainfo.yaml 2024-09-06 13:36:48.000000000 +0200
+++ new/kcoreaddons-6.7.0/metainfo.yaml 2024-10-04 17:06:19.000000000 +0200
@@ -7,6 +7,7 @@
- name: Windows
- name: macOS
- name: Android
+ - name: iOS
portingAid: false
deprecated: false
release: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kcoreaddons-6.6.0/src/lib/CMakeLists.txt
new/kcoreaddons-6.7.0/src/lib/CMakeLists.txt
--- old/kcoreaddons-6.6.0/src/lib/CMakeLists.txt 2024-09-06
13:36:48.000000000 +0200
+++ new/kcoreaddons-6.7.0/src/lib/CMakeLists.txt 2024-10-04
17:06:20.000000000 +0200
@@ -75,7 +75,7 @@
)
endif ()
-if (UNIX)
+if (UNIX AND NOT IOS)
target_sources(KF6CoreAddons PRIVATE
text/kmacroexpander_unix.cpp
util/klistopenfilesjob_unix.cpp
@@ -118,7 +118,6 @@
io/kautosavefile.cpp
io/kdirwatch.cpp
io/kfilesystemtype.cpp
- io/kprocess.cpp
io/kbackup.cpp
io/kurlmimedata.cpp
io/kfileutils.cpp
@@ -144,7 +143,6 @@
util/kshell.cpp
util/klibexec.cpp
util/ksignalhandler.cpp
- util/ksandbox.cpp
util/kmemoryinfo.cpp
util/kruntimeplatform.cpp
@@ -153,7 +151,6 @@
io/kautosavefile.h
io/kdirwatch.h
io/kfilesystemtype.h
- io/kprocess.h
io/kbackup.h
io/kurlmimedata.h
io/kfileutils.h
@@ -176,11 +173,20 @@
util/kshell.h
util/klibexec.h
util/ksignalhandler.h
- util/ksandbox.h
util/kmemoryinfo.h
util/kruntimeplatform.h
)
+if(NOT IOS)
+ target_sources(KF6CoreAddons PRIVATE
+ io/kprocess.cpp
+ util/ksandbox.cpp
+
+ io/kprocess.h
+ util/ksandbox.h
+ )
+endif()
+
if (ENABLE_PCH)
target_precompile_headers(KF6CoreAddons PRIVATE
<QObject>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/kcoreaddons-6.6.0/src/qml/CMakeLists.txt
new/kcoreaddons-6.7.0/src/qml/CMakeLists.txt
--- old/kcoreaddons-6.6.0/src/qml/CMakeLists.txt 2024-09-06
13:36:48.000000000 +0200
+++ new/kcoreaddons-6.7.0/src/qml/CMakeLists.txt 2024-10-04
17:06:20.000000000 +0200
@@ -9,6 +9,7 @@
target_link_libraries(kcoreaddonsplugin PRIVATE
Qt6::Core
Qt6::Qml
+ Qt6::Network
KF6::CoreAddons
)