Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package extra-cmake-modules for 
openSUSE:Factory checked in at 2022-09-13 15:08:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/extra-cmake-modules (Old)
 and      /work/SRC/openSUSE:Factory/.extra-cmake-modules.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "extra-cmake-modules"

Tue Sep 13 15:08:07 2022 rev:105 rq:1002797 version:5.98.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/extra-cmake-modules/extra-cmake-modules.changes  
2022-08-15 19:58:56.117179749 +0200
+++ 
/work/SRC/openSUSE:Factory/.extra-cmake-modules.new.2083/extra-cmake-modules.changes
        2022-09-13 15:09:41.236692969 +0200
@@ -1,0 +2,15 @@
+Tue Sep  6 07:16:38 UTC 2022 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 5.98.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/frameworks/5/5.98.0
+- Changes since 5.97.0:
+  * ECMGenerateExportHeader: fix & document CUSTOM_CONTENT_FROM_VARIABLE
+  * Work around exiv2 still using std::auto_ptr
+  * Add FreeBSD Qt 6 CI
+  * Add OpenBSD support
+  * Sync QT_MIN_VERSION with KF's REQUIRED_QT_VERSION
+  * [FindXCB] Remove special treatment for XINPUT
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ extra-cmake-modules.spec ++++++
--- /var/tmp/diff_new_pack.8najmF/_old  2022-09-13 15:09:41.672694198 +0200
+++ /var/tmp/diff_new_pack.8najmF/_new  2022-09-13 15:09:41.676694208 +0200
@@ -21,7 +21,7 @@
 %global pkg_suffix -doc
 %endif
 
-%define _tar_path 5.97
+%define _tar_path 5.98
 # Full KF5 version (e.g. 5.33.0)
 %{!?_kf5_version: %global _kf5_version %{version}}
 # Last major and minor KF5 version (e.g. 5.33)
@@ -30,7 +30,7 @@
 # Only needed for the package signature condition
 %bcond_without released
 Name:           extra-cmake-modules%{?pkg_suffix}
-Version:        5.97.0
+Version:        5.98.0
 Release:        0
 Summary:        CMake modules
 License:        BSD-3-Clause

++++++ extra-cmake-modules-5.97.0.tar.xz -> extra-cmake-modules-5.98.0.tar.xz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-cmake-modules-5.97.0/.gitlab-ci.yml 
new/extra-cmake-modules-5.98.0/.gitlab-ci.yml
--- old/extra-cmake-modules-5.97.0/.gitlab-ci.yml       2022-07-15 
16:05:38.000000000 +0200
+++ new/extra-cmake-modules-5.98.0/.gitlab-ci.yml       2022-08-27 
11:14:28.000000000 +0200
@@ -8,6 +8,7 @@
   - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/android-qt6.yml
   - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/linux-qt6.yml
   - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/windows.yml
+  - 
https://invent.kde.org/sysadmin/ci-utilities/raw/master/gitlab-templates/freebsd-qt6.yml
 
 docs:
   #    only:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/extra-cmake-modules-5.97.0/CMakeLists.txt 
new/extra-cmake-modules-5.98.0/CMakeLists.txt
--- old/extra-cmake-modules-5.97.0/CMakeLists.txt       2022-07-15 
16:05:38.000000000 +0200
+++ new/extra-cmake-modules-5.98.0/CMakeLists.txt       2022-08-27 
11:14:28.000000000 +0200
@@ -11,7 +11,7 @@
 # Preliminary setup
 #
 
-set(VERSION "5.97.0") # handled by release scripts
+set(VERSION "5.98.0") # handled by release scripts
 
 if (POLICY CMP0048)
     cmake_policy(SET CMP0048 NEW)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.97.0/find-modules/FindLibExiv2.cmake 
new/extra-cmake-modules-5.98.0/find-modules/FindLibExiv2.cmake
--- old/extra-cmake-modules-5.97.0/find-modules/FindLibExiv2.cmake      
2022-07-15 16:05:38.000000000 +0200
+++ new/extra-cmake-modules-5.98.0/find-modules/FindLibExiv2.cmake      
2022-08-27 11:14:28.000000000 +0200
@@ -86,6 +86,13 @@
         IMPORTED_LOCATION "${LibExiv2_LIBRARIES}"
         INTERFACE_INCLUDE_DIRECTORIES "${LibExiv2_INCLUDE_DIRS}"
     )
+    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
+        set_target_properties(LibExiv2::LibExiv2 PROPERTIES
+            INTERFACE_COMPILE_DEFINITIONS 
"_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR=1"
+        )
+    endif()
 endif()
 
 include(FeatureSummary)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.97.0/find-modules/FindXCB.cmake 
new/extra-cmake-modules-5.98.0/find-modules/FindXCB.cmake
--- old/extra-cmake-modules-5.97.0/find-modules/FindXCB.cmake   2022-07-15 
16:05:38.000000000 +0200
+++ new/extra-cmake-modules-5.98.0/find-modules/FindXCB.cmake   2022-08-27 
11:14:28.000000000 +0200
@@ -24,8 +24,8 @@
   XKB          XPRINT       XTEST        XV           XVMC
 
 If no components are specified, this module will act as though all components
-except XINPUT (which is considered unstable) were passed to
-OPTIONAL_COMPONENTS.
+were passed to OPTIONAL_COMPONENTS. Before 5.82 this excluded XINPUT. Since 
5.82
+all components are searched for.
 
 This module will define the following variables, independently of the
 components searched for or found:
@@ -107,10 +107,6 @@
     XVMC
 )
 
-# XINPUT is unstable; do not include it by default
-set(XCB_default_components ${XCB_known_components})
-list(REMOVE_ITEM XCB_default_components "XINPUT")
-
 # default component info: xcb components have fairly predictable
 # header files, library names and pkg-config names
 foreach(_comp ${XCB_known_components})
@@ -153,11 +149,6 @@
     DEFAULT_COMPONENTS ${XCB_default_components}
 )
 
-list(FIND XCB_components "XINPUT" _XCB_XINPUT_index)
-if (NOT _XCB_XINPUT_index EQUAL -1)
-    message(AUTHOR_WARNING "XINPUT from XCB was requested: this is 
EXPERIMENTAL and is likely to be unavailable on many systems!")
-endif()
-
 ecm_find_package_handle_library_components(XCB
     COMPONENTS ${XCB_components}
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.97.0/kde-modules/KDEMetaInfoPlatformCheck.cmake 
new/extra-cmake-modules-5.98.0/kde-modules/KDEMetaInfoPlatformCheck.cmake
--- old/extra-cmake-modules-5.97.0/kde-modules/KDEMetaInfoPlatformCheck.cmake   
2022-07-15 16:05:38.000000000 +0200
+++ new/extra-cmake-modules-5.98.0/kde-modules/KDEMetaInfoPlatformCheck.cmake   
2022-08-27 11:14:28.000000000 +0200
@@ -38,6 +38,10 @@
                 if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
                     set(_MetainfoFoundSupportedPlatform true)
                 endif()
+            elseif (${CMAKE_MATCH_1} STREQUAL "OpenBSD")
+                if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
+                    set(_MetainfoFoundSupportedPlatform true)
+                endif()
             elseif (${CMAKE_MATCH_1} STREQUAL "Windows")
                 if (WIN32)
                     set(_MetainfoFoundSupportedPlatform true)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.97.0/modules/ECMDeprecationSettings.cmake 
new/extra-cmake-modules-5.98.0/modules/ECMDeprecationSettings.cmake
--- old/extra-cmake-modules-5.97.0/modules/ECMDeprecationSettings.cmake 
2022-07-15 16:05:38.000000000 +0200
+++ new/extra-cmake-modules-5.98.0/modules/ECMDeprecationSettings.cmake 
2022-08-27 11:14:28.000000000 +0200
@@ -34,7 +34,7 @@
 
 .. code-block:: cmake
 
-  set(QT_MIN_VERSION "5.15.0")
+  set(QT_MIN_VERSION "5.15.2")
   set(KF5_MIN_VERSION "5.90")
 
   ecm_set_disabled_deprecation_versions(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/extra-cmake-modules-5.97.0/modules/ECMGenerateExportHeader.cmake 
new/extra-cmake-modules-5.98.0/modules/ECMGenerateExportHeader.cmake
--- old/extra-cmake-modules-5.97.0/modules/ECMGenerateExportHeader.cmake        
2022-07-15 16:05:38.000000000 +0200
+++ new/extra-cmake-modules-5.98.0/modules/ECMGenerateExportHeader.cmake        
2022-08-27 11:14:28.000000000 +0200
@@ -85,6 +85,10 @@
 project automatically build against the full API included in the build and
 without any deprecation warnings for it.
 
+``CUSTOM_CONTENT_FROM_VARIABLE`` specifies the name of a variable whose
+content will be appended at the end of the generated file, before any
+final inclusion guard closing. Note that before 5.98 this was broken and
+would only append the string passed as argument value.
 
 The function ``ecm_generate_export_header`` defines C++ preprocessor macros
 in the generated export header, some for use in the sources of the library
@@ -737,7 +741,12 @@
         endif()
     endif()
     if (ARGS_CUSTOM_CONTENT_FROM_VARIABLE)
-        string(APPEND _output "${ARGS_CUSTOM_CONTENT_FROM_VARIABLE}\n")
+        if(DEFINED "${ARGS_CUSTOM_CONTENT_FROM_VARIABLE}")
+            string(APPEND _output "${${ARGS_CUSTOM_CONTENT_FROM_VARIABLE}}\n")
+        else()
+            message(DEPRECATION "Passing a value instead of a variable name 
with CUSTOM_CONTENT_FROM_VARIABLE. Since 5.98, use the name of a variable.")
+            string(APPEND _output "${ARGS_CUSTOM_CONTENT_FROM_VARIABLE}\n")
+        endif()
     endif()
 
     set(_header_file "${ARGS_EXPORT_FILE_NAME}")

Reply via email to