Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kf6-extra-cmake-modules for 
openSUSE:Factory checked in at 2026-06-16 13:53:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kf6-extra-cmake-modules (Old)
 and      /work/SRC/openSUSE:Factory/.kf6-extra-cmake-modules.new.1981 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kf6-extra-cmake-modules"

Tue Jun 16 13:53:44 2026 rev:28 rq:1358940 version:6.27.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/kf6-extra-cmake-modules/kf6-extra-cmake-modules.changes
  2026-05-11 16:55:19.895833259 +0200
+++ 
/work/SRC/openSUSE:Factory/.kf6-extra-cmake-modules.new.1981/kf6-extra-cmake-modules.changes
        2026-06-16 13:59:18.231964465 +0200
@@ -1,0 +2,18 @@
+Sat Jun  6 11:42:01 UTC 2026 - Christophe Marin <[email protected]>
+
+- Update to 6.27.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/6/6.27.0
+- Changes since 6.26.0:
+  * Set INTERFACE_LINK_LIBRARIES if the found library is a static library
+  * fix: translation loading location issue on macOS
+  * ECMDepreactionSettings: Set QT_DEPRECATED_WARNINGS_SINCE to current 
version when newer warnings should not be shown
+  * Try harder to determine a good default for the Android API level
+  * Silence more warnings in python bindings
+  * Add note to ECMGenerateQmlTypes that it's basically obsolete
+  * Add KDE_INSTALL_QTMETATYPESDIR
+  * Update version to 6.27.0
+  * Sanitizer: add support for realtime sanitizer
+
+-------------------------------------------------------------------

Old:
----
  extra-cmake-modules-6.26.0.tar.xz
  extra-cmake-modules-6.26.0.tar.xz.sig

New:
----
  extra-cmake-modules-6.27.0.tar.xz
  extra-cmake-modules-6.27.0.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kf6-extra-cmake-modules.spec ++++++
--- /var/tmp/diff_new_pack.BSoHr4/_old  2026-06-16 13:59:20.000038187 +0200
+++ /var/tmp/diff_new_pack.BSoHr4/_new  2026-06-16 13:59:20.000038187 +0200
@@ -23,12 +23,12 @@
 
 %define rname extra-cmake-modules
 
-# Full KF6 version (e.g. 6.26.0)
+# Full KF6 version (e.g. 6.27.0)
 %{!?_kf6_version: %global _kf6_version %{version}}
 %bcond_without doc
 %bcond_without released
 Name:           kf6-extra-cmake-modules%{?pkg_suffix}
-Version:        6.26.0
+Version:        6.27.0
 Release:        0
 Summary:        CMake modules
 License:        BSD-3-Clause

++++++ extra-cmake-modules-6.26.0.tar.xz -> extra-cmake-modules-6.27.0.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-cmake-modules-6.26.0/CMakeLists.txt 
new/extra-cmake-modules-6.27.0/CMakeLists.txt
--- old/extra-cmake-modules-6.26.0/CMakeLists.txt       2026-05-01 
13:51:28.000000000 +0200
+++ new/extra-cmake-modules-6.27.0/CMakeLists.txt       2026-06-05 
17:45:00.000000000 +0200
@@ -11,7 +11,7 @@
 # Preliminary setup
 #
 
-set(VERSION "6.26.0") # handled by release scripts
+set(VERSION "6.27.0") # handled by release scripts
 
 project(ECM
     VERSION "${VERSION}"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-6.26.0/find-modules/FindLibExiv2.cmake 
new/extra-cmake-modules-6.27.0/find-modules/FindLibExiv2.cmake
--- old/extra-cmake-modules-6.26.0/find-modules/FindLibExiv2.cmake      
2026-05-01 13:51:28.000000000 +0200
+++ new/extra-cmake-modules-6.27.0/find-modules/FindLibExiv2.cmake      
2026-06-05 17:45:00.000000000 +0200
@@ -88,6 +88,12 @@
         IMPORTED_LOCATION "${LibExiv2_LIBRARIES}"
         INTERFACE_INCLUDE_DIRECTORIES "${LibExiv2_INCLUDE_DIRS}"
     )
+
+    if("${LibExiv2_LIBRARIES}" MATCHES "\\${CMAKE_STATIC_LIBRARY_SUFFIX}$")
+      set_target_properties(LibExiv2::LibExiv2 PROPERTIES
+        INTERFACE_LINK_LIBRARIES "${PC_EXIV2_LINK_LIBRARIES}"
+      )
+    endif()
     if (LibExiv2_VERSION VERSION_LESS 0.28.0)
         # exiv2 0.27 or older still uses std::auto_ptr, which is no longer 
available
         # by default when using newer C++ versions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-6.26.0/kde-modules/KDEInstallDirs6.cmake 
new/extra-cmake-modules-6.27.0/kde-modules/KDEInstallDirs6.cmake
--- old/extra-cmake-modules-6.26.0/kde-modules/KDEInstallDirs6.cmake    
2026-05-01 13:51:28.000000000 +0200
+++ new/extra-cmake-modules-6.27.0/kde-modules/KDEInstallDirs6.cmake    
2026-06-05 17:45:00.000000000 +0200
@@ -100,6 +100,8 @@
     documentation bundles in QCH format for Qt-extending libraries 
(``DATAROOTDIR/doc/qch`` or qtpaths's ``QT_INSTALL_DOCS``)
 ``QCHDIR``
     documentation bundles in QCH format (``DATAROOTDIR/doc/qch``)
+``QTMETATYPESDIR``
+    Qt metatypes files  (``metatypes`` or qtpaths's 
``QT_INSTALL_ARCHDATA/metatypes``). Since 6.27.
 ``MANDIR``
     man documentation (``DATAROOTDIR/man``)
 ``INFODIR``
@@ -240,6 +242,18 @@
         file(RELATIVE_PATH qt_qml_dir ${qt_install_prefix_dir} ${qt_qml_dir})
     endif()
    _define_absolute(QMLDIR ${qt_qml_dir} "QtQuick2 imports")
+
+   ecm_query_qt(qt_archdata_dir QT_INSTALL_ARCHDATA)
+
+   if(_qt_prefix_is_cmake_install_prefix)
+        file(RELATIVE_PATH qt_archdata_dir ${qt_install_prefix_dir} 
${qt_archdata_dir})
+    endif()
+
+    if (qt_archdata_dir)
+        _define_absolute(QTMETATYPESDIR "${qt_archdata_dir}/metatypes" "Qt 
metatypes files")
+    else()
+        _define_non_cache(QTMETATYPESDIR "metatypes")
+    endif()
 else()
     set(_pluginsDirParent LIBDIR)
     if (ANDROID)
@@ -251,6 +265,8 @@
 
     _define_relative(QMLDIR LIBDIR "qml"
         "QtQuick2 imports")
+
+    _define_non_cache(QTMETATYPESDIR "metatypes")
 endif()
 
 _define_relative(PLUGINDIR QTPLUGINDIR ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-6.26.0/modules/ECMDeprecationSettings.cmake 
new/extra-cmake-modules-6.27.0/modules/ECMDeprecationSettings.cmake
--- old/extra-cmake-modules-6.26.0/modules/ECMDeprecationSettings.cmake 
2026-05-01 13:51:28.000000000 +0200
+++ new/extra-cmake-modules-6.27.0/modules/ECMDeprecationSettings.cmake 
2026-06-05 17:45:00.000000000 +0200
@@ -106,6 +106,10 @@
             # Add 1 to the major version and store it as a hex value
             math(EXPR next_major_version "(${CMAKE_MATCH_1} + 1) * 65536 " 
OUTPUT_FORMAT HEXADECIMAL)
             
add_definitions(-D${DEPRECATION_NAME}_DEPRECATED_WARNINGS_SINCE=${next_major_version})
+        elseif(IS_QT_DEPRECATION)
+            # For KF, this is implicitly the version we disable depreactions. 
Qt6 needs this explicitly
+            # Qt6 has a new define called QT_WARN_DEPRECATED_UP_TO, but the 
old one works fine for now and we don't need to make assumptions about the Qt 
version
+            
add_definitions(-D${DEPRECATION_NAME}_DEPRECATED_WARNINGS_SINCE=${DEPRECATION_HEX_VERSION})
         endif()
 
     endforeach()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-6.26.0/modules/ECMEnableSanitizers.cmake 
new/extra-cmake-modules-6.27.0/modules/ECMEnableSanitizers.cmake
--- old/extra-cmake-modules-6.26.0/modules/ECMEnableSanitizers.cmake    
2026-05-01 13:51:28.000000000 +0200
+++ new/extra-cmake-modules-6.27.0/modules/ECMEnableSanitizers.cmake    
2026-06-05 17:45:00.000000000 +0200
@@ -15,6 +15,7 @@
 - Thread Sanitizer
 - Leak Sanitizer
 - Undefined Behaviour Sanitizer
+- Realtime Sanitizer
 
 All of them are implemented in Clang, depending on your version, and
 there is an work in progress in GCC, where some of them are currently
@@ -45,9 +46,10 @@
 - leak
 - undefined
 - fuzzer
+- realtime
 
-The sanitizers "address", "memory" and "thread" are mutually exclusive.  You
-cannot enable two of them in the same build.
+The sanitizers "address", "memory", "thread" and "realtime" are mutually
+exclusive.  You cannot enable two of them in the same build.
 
 "leak" requires the  "address" sanitizer.
 
@@ -146,6 +148,9 @@
     elseif (${sanitize_option} MATCHES "fuzzer")
         check_compiler_version("99.99" "6.0" "99.99")
         set(XSAN_COMPILE_FLAGS "-fsanitize=fuzzer")
+    elseif (${sanitize_option} MATCHES "realtime")
+        check_compiler_version("99.99" "20.0" "99.99")
+        set(XSAN_COMPILE_FLAGS "-fsanitize=realtime")
     else ()
         message(FATAL_ERROR "Compiler sanitizer option \"${sanitize_option}\" 
not supported.")
     endif ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-6.26.0/modules/ECMFindModuleHelpers.cmake 
new/extra-cmake-modules-6.27.0/modules/ECMFindModuleHelpers.cmake
--- old/extra-cmake-modules-6.26.0/modules/ECMFindModuleHelpers.cmake   
2026-05-01 13:51:28.000000000 +0200
+++ new/extra-cmake-modules-6.27.0/modules/ECMFindModuleHelpers.cmake   
2026-06-05 17:45:00.000000000 +0200
@@ -259,6 +259,11 @@
                     INTERFACE_INCLUDE_DIRECTORIES 
"${${module_name}_${ecm_fpwc_comp}_INCLUDE_DIR}"
                     INTERFACE_LINK_LIBRARIES "${ecm_fpwc_dep_targets}"
                 )
+                if("${${module_name}_${ecm_fpwc_comp}_LIBRARY}" MATCHES 
"\\${CMAKE_STATIC_LIBRARY_SUFFIX}$")
+                    set_target_properties(${module_name}::${ecm_fpwc_comp} 
PROPERTIES
+                        INTERFACE_LINK_LIBRARIES 
"${PKG_${module_name}_${ecm_fpwc_comp}_LINK_LIBRARIES}"
+                    )
+                endif()
             endif()
             list(APPEND ${module_name}_TARGETS
                         "${module_name}::${ecm_fpwc_comp}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-6.26.0/modules/ECMGeneratePythonBindings.cmake 
new/extra-cmake-modules-6.27.0/modules/ECMGeneratePythonBindings.cmake
--- old/extra-cmake-modules-6.26.0/modules/ECMGeneratePythonBindings.cmake      
2026-05-01 13:51:28.000000000 +0200
+++ new/extra-cmake-modules-6.27.0/modules/ECMGeneratePythonBindings.cmake      
2026-06-05 17:45:00.000000000 +0200
@@ -181,7 +181,14 @@
 
     # Hide noisy warnings
     if(CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang")
-        target_compile_options(${PB_PACKAGE_NAME} PRIVATE 
-Wno-cast-function-type -Wno-missing-include-dirs -Wno-keyword-macro 
-Wno-shadow)
+        target_compile_options(${PB_PACKAGE_NAME} PRIVATE
+            -Wno-cast-function-type
+            -Wno-keyword-macro
+            -Wno-missing-include-dirs
+            -Wno-overloaded-virtual
+            -Wno-shadow
+            -Wno-zero-as-null-pointer-constant
+        )
     endif()
 
     # Adjust the name of generated module.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-6.26.0/modules/ECMGenerateQmlTypes.cmake 
new/extra-cmake-modules-6.27.0/modules/ECMGenerateQmlTypes.cmake
--- old/extra-cmake-modules-6.26.0/modules/ECMGenerateQmlTypes.cmake    
2026-05-01 13:51:28.000000000 +0200
+++ new/extra-cmake-modules-6.27.0/modules/ECMGenerateQmlTypes.cmake    
2026-06-05 17:45:00.000000000 +0200
@@ -23,6 +23,8 @@
 include the code that installs the file in the right place and a small unit
 test named qmltypes-pluginname-version that makes sure that it doesn't need 
updating.
 
+With Qt6 prefer using qt_add_qml_module()/ecm_add_qml_module() and declarative
+type registration, which do this automatically.
 
 Since 5.33.0
 #]=======================================================================]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-6.26.0/modules/ECMQmLoader.cpp.in 
new/extra-cmake-modules-6.27.0/modules/ECMQmLoader.cpp.in
--- old/extra-cmake-modules-6.26.0/modules/ECMQmLoader.cpp.in   2026-05-01 
13:51:28.000000000 +0200
+++ new/extra-cmake-modules-6.27.0/modules/ECMQmLoader.cpp.in   2026-06-05 
17:45:00.000000000 +0200
@@ -77,7 +77,11 @@
             return false;
         }
 #else
+# ifdef Q_OS_MACOS
+        const QString fullPath = 
QStandardPaths::locate(QStandardPaths::AppLocalDataLocation, subPath);
+# else
         const QString fullPath = 
QStandardPaths::locate(QStandardPaths::GenericDataLocation, subPath);
+# endif
         if (fullPath.isEmpty()) {
             return false;
         }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-cmake-modules-6.26.0/toolchain/Android.cmake 
new/extra-cmake-modules-6.27.0/toolchain/Android.cmake
--- old/extra-cmake-modules-6.26.0/toolchain/Android.cmake      2026-05-01 
13:51:28.000000000 +0200
+++ new/extra-cmake-modules-6.27.0/toolchain/Android.cmake      2026-06-05 
17:45:00.000000000 +0200
@@ -144,7 +144,15 @@
 
 set_deprecated_variable(CMAKE_ANDROID_NDK ANDROID_NDK "$ENV{ANDROID_NDK}")
 set_deprecated_variable(CMAKE_ANDROID_NDK_TOOLCHAIN_VERSION 
ANDROID_GCC_VERSION "clang")
-set_deprecated_variable(CMAKE_ANDROID_API ANDROID_API_LEVEL "21")
+
+# try to determine default API level from environment
+# we unfortunately can't make this dependent on the Qt version as we don't 
know that here yet
+set(_default_api_level "21")
+if($ENV{ANDROID_NDK_PLATFORM} MATCHES "^android-([0-9]+)$")
+    set(_default_api_level ${CMAKE_MATCH_1})
+endif()
+
+set_deprecated_variable(CMAKE_ANDROID_API ANDROID_API_LEVEL 
${_default_api_level})
 if(NOT DEFINED ENV{ANDROID_ARCH})
     set(ENV{ANDROID_ARCH} "arm")
 endif()

Reply via email to