Hello community,
here is the log from the commit of package extra-cmake-modules for
openSUSE:Factory checked in at 2019-12-18 14:39:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/extra-cmake-modules (Old)
and /work/SRC/openSUSE:Factory/.extra-cmake-modules.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "extra-cmake-modules"
Wed Dec 18 14:39:52 2019 rev:72 rq:757005 version:5.65.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/extra-cmake-modules/extra-cmake-modules.changes
2019-11-12 11:43:21.894596426 +0100
+++
/work/SRC/openSUSE:Factory/.extra-cmake-modules.new.4691/extra-cmake-modules.changes
2019-12-18 14:41:34.649753620 +0100
@@ -1,0 +2,19 @@
+Sun Dec 8 11:18:16 UTC 2019 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.65.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.65.0.php
+- Changes since 5.64.0:
+ * EBN extra-cmake-modules transport cleanup
+ * EBN extra-cmake-modules comments spelling cleanup
+ * ECMGenerateExportHeader: add NO_BUILD_SET_DEPRECATED_WARNINGS_SINCE flag
+ * Fix EcmGenerateExportHeader tests on Windows
+ * Fix typo
+ * Explicitly use lib for systemd directories
+ * Documentation typo correction
+ * Fix ECMSetupVersion tests for old policy with project() wo/ VERSION
+ * Add install dir for systemd units
+ * KDEFrameworkCompilerSettings: enable all Qt % KF deprecation warnings
+
+-------------------------------------------------------------------
Old:
----
extra-cmake-modules-5.64.0.tar.xz
extra-cmake-modules-5.64.0.tar.xz.sig
New:
----
extra-cmake-modules-5.65.0.tar.xz
extra-cmake-modules-5.65.0.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ extra-cmake-modules.spec ++++++
--- /var/tmp/diff_new_pack.owl8nb/_old 2019-12-18 14:41:35.237753889 +0100
+++ /var/tmp/diff_new_pack.owl8nb/_new 2019-12-18 14:41:35.237753889 +0100
@@ -1,7 +1,7 @@
#
# spec file for package extra-cmake-modules
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,7 @@
#
-%define _tar_path 5.64
+%define _tar_path 5.65
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
@@ -29,7 +29,7 @@
# Only needed for the package signature condition
%bcond_without lang
Name: extra-cmake-modules
-Version: 5.64.0
+Version: 5.65.0
Release: 0
Summary: CMake modules
License: BSD-3-Clause
++++++ extra-cmake-modules-5.64.0.tar.xz -> extra-cmake-modules-5.65.0.tar.xz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/extra-cmake-modules-5.64.0/CMakeLists.txt
new/extra-cmake-modules-5.65.0/CMakeLists.txt
--- old/extra-cmake-modules-5.64.0/CMakeLists.txt 2019-10-30
01:52:08.000000000 +0100
+++ new/extra-cmake-modules-5.65.0/CMakeLists.txt 2019-12-05
22:14:02.000000000 +0100
@@ -32,7 +32,7 @@
# Preliminary setup
#
-set(VERSION "5.64.0") # handled by release scripts
+set(VERSION "5.65.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.64.0/cmake/FindSphinx.cmake
new/extra-cmake-modules-5.65.0/cmake/FindSphinx.cmake
--- old/extra-cmake-modules-5.64.0/cmake/FindSphinx.cmake 2019-10-30
01:52:08.000000000 +0100
+++ new/extra-cmake-modules-5.65.0/cmake/FindSphinx.cmake 2019-12-05
22:14:02.000000000 +0100
@@ -56,7 +56,7 @@
sphinx-build
sphinx-build2
sphinx-build3
- DOC "Sphinx Documentation Builder (http://sphinx-doc.org/)"
+ DOC "Sphinx Documentation Builder (https://www.sphinx-doc.org/)"
)
if (Sphinx_BUILD_EXECUTABLE)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/find-modules/FindLibExiv2.cmake
new/extra-cmake-modules-5.65.0/find-modules/FindLibExiv2.cmake
--- old/extra-cmake-modules-5.64.0/find-modules/FindLibExiv2.cmake
2019-10-30 01:52:08.000000000 +0100
+++ new/extra-cmake-modules-5.65.0/find-modules/FindLibExiv2.cmake
2019-12-05 22:14:02.000000000 +0100
@@ -113,6 +113,6 @@
include(FeatureSummary)
set_package_properties(LibExiv2 PROPERTIES
- URL "http://www.exiv2.org"
+ URL "https://www.exiv2.org"
DESCRIPTION "Image metadata support"
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/find-modules/FindOpenEXR.cmake
new/extra-cmake-modules-5.65.0/find-modules/FindOpenEXR.cmake
--- old/extra-cmake-modules-5.64.0/find-modules/FindOpenEXR.cmake
2019-10-30 01:52:08.000000000 +0100
+++ new/extra-cmake-modules-5.65.0/find-modules/FindOpenEXR.cmake
2019-12-05 22:14:02.000000000 +0100
@@ -136,7 +136,7 @@
include(FeatureSummary)
set_package_properties(OpenEXR PROPERTIES
- URL http://www.openexr.com/
+ URL https://www.openexr.com/
DESCRIPTION "A library for handling OpenEXR high dynamic-range image files")
mark_as_advanced(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/find-modules/rules_engine.py
new/extra-cmake-modules-5.65.0/find-modules/rules_engine.py
--- old/extra-cmake-modules-5.64.0/find-modules/rules_engine.py 2019-10-30
01:52:08.000000000 +0100
+++ new/extra-cmake-modules-5.65.0/find-modules/rules_engine.py 2019-12-05
22:14:02.000000000 +0100
@@ -167,9 +167,9 @@
"""
THE RULES FOR CONTAINERS.
- These are used to customise the behaviour of the SIP generator by allowing
+ These are used to customize the behaviour of the SIP generator by allowing
the declaration for any container (class, namespace, struct, union) to be
- customised, for example to add SIP compiler annotations.
+ customized, for example to add SIP compiler annotations.
Each entry in the raw rule database must be a list with members as follows:
@@ -242,9 +242,9 @@
"""
THE RULES FOR FORWARD DECLARATIONS.
- These are used to customise the behaviour of the SIP generator by allowing
+ These are used to customize the behaviour of the SIP generator by allowing
the forward declaration for any container (class, struct, union) to be
- customised, for example to add SIP compiler annotations.
+ customized, for example to add SIP compiler annotations.
Each entry in the raw rule database must be a list with members as follows:
@@ -307,8 +307,8 @@
"""
THE RULES FOR FUNCTIONS.
- These are used to customise the behaviour of the SIP generator by allowing
- the declaration for any function to be customised, for example to add SIP
+ These are used to customize the behaviour of the SIP generator by allowing
+ the declaration for any function to be customized, for example to add SIP
compiler annotations.
Each entry in the raw rule database must be a list with members as follows:
@@ -385,8 +385,8 @@
"""
THE RULES FOR FUNCTION PARAMETERS.
- These are used to customise the behaviour of the SIP generator by allowing
- the declaration for any parameter in any function to be customised, for
+ These are used to customize the behaviour of the SIP generator by allowing
+ the declaration for any parameter in any function to be customized, for
example to add SIP compiler annotations.
Each entry in the raw rule database must be a list with members as follows:
@@ -461,8 +461,8 @@
"""
THE RULES FOR TYPEDEFS.
- These are used to customise the behaviour of the SIP generator by allowing
- the declaration for any typedef to be customised, for example to add SIP
+ These are used to customize the behaviour of the SIP generator by allowing
+ the declaration for any typedef to be customized, for example to add SIP
compiler annotations.
Each entry in the raw rule database must be a list with members as follows:
@@ -523,8 +523,8 @@
"""
THE RULES FOR VARIABLES.
- These are used to customise the behaviour of the SIP generator by allowing
- the declaration for any variable to be customised, for example to add SIP
+ These are used to customize the behaviour of the SIP generator by allowing
+ the declaration for any variable to be customized, for example to add SIP
compiler annotations.
Each entry in the raw rule database must be a list with members as follows:
@@ -643,7 +643,7 @@
THE RULES FOR INJECTING METHOD-RELATED CODE (such as %MethodCode,
%VirtualCatcherCode, %VirtualCallCode and other method-level directives).
- These are used to customise the behaviour of the SIP generator by allowing
+ These are used to customize the behaviour of the SIP generator by allowing
method-level code injection.
The raw rule database must be an outer dictionary as follows:
@@ -748,7 +748,7 @@
THE RULES FOR INJECTING MODULE-RELATED CODE (such as %ExportedHeaderCode,
%ModuleCode, %ModuleHeaderCode or other module-level directives).
- These are used to customise the behaviour of the SIP generator by allowing
+ These are used to customize the behaviour of the SIP generator by allowing
module-level code injection.
The raw rule database must be a dictionary as follows:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/find-modules/sip_generator.py
new/extra-cmake-modules-5.65.0/find-modules/sip_generator.py
--- old/extra-cmake-modules-5.64.0/find-modules/sip_generator.py
2019-10-30 01:52:08.000000000 +0100
+++ new/extra-cmake-modules-5.65.0/find-modules/sip_generator.py
2019-12-05 22:14:02.000000000 +0100
@@ -770,7 +770,7 @@
"""
Take a single C++ header file and generate the corresponding SIP file.
Beyond simple generation of the SIP file from the corresponding C++
- header file, a set of rules can be used to customise the generated
+ header file, a set of rules can be used to customize the generated
SIP file.
Examples:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/kde-modules/KDEFrameworkCompilerSettings.cmake
new/extra-cmake-modules-5.65.0/kde-modules/KDEFrameworkCompilerSettings.cmake
---
old/extra-cmake-modules-5.64.0/kde-modules/KDEFrameworkCompilerSettings.cmake
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/kde-modules/KDEFrameworkCompilerSettings.cmake
2019-12-05 22:14:02.000000000 +0100
@@ -65,6 +65,11 @@
add_definitions(-DQT_STRICT_ITERATORS)
endif()
+add_definitions(
+ -DQT_DEPRECATED_WARNINGS_SINCE=0x060000
+ -DKF_DEPRECATED_WARNINGS_SINCE=0x060000
+)
+
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES
"Clang")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic")
endif()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/kde-modules/KDEInstallDirs.cmake
new/extra-cmake-modules-5.65.0/kde-modules/KDEInstallDirs.cmake
--- old/extra-cmake-modules-5.64.0/kde-modules/KDEInstallDirs.cmake
2019-10-30 01:52:08.000000000 +0100
+++ new/extra-cmake-modules-5.65.0/kde-modules/KDEInstallDirs.cmake
2019-12-05 22:14:02.000000000 +0100
@@ -132,6 +132,12 @@
# Qt logging categories files directory
(``DATAROOTDIR/qlogging-categories5``) Since 5.59.0
# ``JARDIR``
# Java AAR/JAR files for Android. Since 5.62.0
+# ``SYSTEMDUNITDIR``
+# Systemd Units (``lib/systemd``)
+# [``SYSTEMD_UNIT_INSTALL_DIR``]. Since 5.65
+# ``SYSTEMDUSERUNITDIR``
+# Systemd User Units (``lib/systemd/user``)
+# [``SYSTEMD_USER_UNIT_INSTALL_DIR``]. Since 5.65
#
# If ``KDE_INSTALL_USE_QT_SYS_PATHS`` is set to TRUE before including this
# module, the default values for some variables are instead queried from
@@ -236,7 +242,7 @@
# GNUInstallDirs code deals with re-configuring, but that is dealt with
# by the _define_* macros in this module).
set(_LIBDIR_DEFAULT "lib")
-# Override this default 'lib' with 'lib64' iff:
+# Override this default 'lib' with 'lib64' if:
# - we are on a Linux, kFreeBSD or Hurd system but NOT cross-compiling
# - we are NOT on debian
# - we are NOT on flatpak
@@ -640,8 +646,12 @@
_define_relative(DBUSSYSTEMSERVICEDIR DBUSDIR "system-services"
"D-Bus system services"
DBUS_SYSTEM_SERVICES_INSTALL_DIR)
-
-
+_define_relative(SYSTEMDUNITDIR CMAKE_INSTALL_PREFIX "lib/systemd"
+ "Systemd units"
+ SYSTEMD_UNIT_INSTALL_DIR)
+_define_relative(SYSTEMDUSERUNITDIR SYSTEMDUNITDIR "user"
+ "Systemd user units"
+ SYSTEMD_USER_UNIT_INSTALL_DIR)
set(_default_sysconf_dir "etc")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/kde-modules/clang-format.cmake
new/extra-cmake-modules-5.65.0/kde-modules/clang-format.cmake
--- old/extra-cmake-modules-5.64.0/kde-modules/clang-format.cmake
2019-10-30 01:52:08.000000000 +0100
+++ new/extra-cmake-modules-5.65.0/kde-modules/clang-format.cmake
2019-12-05 22:14:02.000000000 +0100
@@ -26,7 +26,7 @@
# Style for C++
Language: Cpp
-# base is WebKit coding style: http://www.webkit.org/coding/coding-style.html
+# base is WebKit coding style: https://webkit.org/code-style-guidelines/
# below are only things set that diverge from this style!
BasedOnStyle: WebKit
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/modules/ECMGenerateExportHeader.cmake
new/extra-cmake-modules-5.65.0/modules/ECMGenerateExportHeader.cmake
--- old/extra-cmake-modules-5.64.0/modules/ECMGenerateExportHeader.cmake
2019-10-30 01:52:08.000000000 +0100
+++ new/extra-cmake-modules-5.65.0/modules/ECMGenerateExportHeader.cmake
2019-12-05 22:14:02.000000000 +0100
@@ -27,6 +27,7 @@
# [DEPRECATED_BASE_VERSION <deprecated_base_version>]
# [DEPRECATION_VERSIONS <deprecation_version> [<deprecation_version2>
[...]]]
# [EXCLUDE_DEPRECATED_BEFORE_AND_AT
<exclude_deprecated_before_and_at_version>]
+# [NO_BUILD_SET_DEPRECATED_WARNINGS_SINCE]
# [NO_DEFINITION_EXPORT_TO_BUILD_INTERFACE]
# [CUSTOM_CONTENT_FROM_VARIABLE <variable>]
# )
@@ -57,12 +58,25 @@
# Possible values are "0" (default), "CURRENT" (which resolves to <version>)
# and a version string in the format "<major>.<minor>.<patchlevel>".
#
+# ``NO_BUILD_SET_DEPRECATED_WARNINGS_SINCE`` specifies that the definition
+# ``<prefix_name><uppercase_base_name>_DEPRECATED_WARNINGS_SINCE`` will
+# not be set for the library inside its own build, and thus will be defined
+# by either explicit definition in the build system configuration or by the
+# default value mechanism (see below).
+# The default is that it is set for the build, to the version specified by
+# ``EXCLUDE_DEPRECATED_BEFORE_AND_AT``, so no deprecation warnings are
+# done for any own deprecated API used in the library implementation itself.
+#
# ``NO_DEFINITION_EXPORT_TO_BUILD_INTERFACE`` specifies that the definition
# ``<prefix_name><uppercase_base_name>_DISABLE_DEPRECATED_BEFORE_AND_AT`` will
-# not be set in the public interface of the library inside its own build.
-# The default is that it is set, to the version specified by
+# not be set in the public interface of the library inside its own build, and
+# the same for the definition
+# ``<prefix_name><uppercase_base_name>_DEPRECATED_WARNINGS_SINCE`` (if not
+# disabled by ``NO_BUILD_SET_DEPRECATED_WARNINGS_SINCE`` already).
+# The default is that they are set, to the version specified by
# ``EXCLUDE_DEPRECATED_BEFORE_AND_AT``, so e.g. test and examples part of the
-# project automatically build against the full API included in the build.
+# project automatically build against the full API included in the build and
+# without any deprecation warnings for it.
#
#
# The function ``ecm_generate_export_header`` defines C++ preprocessor macros
@@ -124,7 +138,7 @@
#
# When the ``GROUP_BASE_NAME`` has been used, the same macros but with the
# given ``<group_base_name>`` prefix are available to define the defaults of
-# these macros, if not explicitely set.
+# these macros, if not explicitly set.
#
# Note: The tricks applied here for hiding deprecated API to the compiler
# when building against a library do not work for all deprecated API:
@@ -288,7 +302,7 @@
# When using the ``NO_DEFINITION_EXPORT_TO_BUILD_INTERFACE`` and the project
# for the "Foo" library includes also tests and examples linking against the
# library and using deprecated API (like tests covering it), one better
-# explicitely sets ``FOO_DISABLE_DEPRECATED_BEFORE_AND_AT`` for those targets
+# explicitly sets ``FOO_DISABLE_DEPRECATED_BEFORE_AND_AT`` for those targets
# to the version before and at which all deprecated API has been excluded from
# the build.
# Even more when building against other libraries from the same group "Bar" and
@@ -411,6 +425,7 @@
function(ecm_generate_export_header target)
set(options
NO_DEFINITION_EXPORT_TO_BUILD_INTERFACE
+ NO_BUILD_SET_DEPRECATED_WARNINGS_SINCE
)
set(oneValueArgs
BASE_NAME
@@ -501,10 +516,17 @@
set_property(TARGET ${target} APPEND PROPERTY AUTOGEN_TARGET_DEPENDS
"${ARGS_EXPORT_FILE_NAME}")
# build with all the API not excluded, ensure all deprecated API is
visible in the build itselt
_ecm_geh_generate_hex_number(_hexnumber
${ARGS_EXCLUDE_DEPRECATED_BEFORE_AND_AT})
- set(_disabling_definition
"${_macro_base_name}_DISABLE_DEPRECATED_BEFORE_AND_AT=${_hexnumber}")
- target_compile_definitions(${target} PRIVATE "${_disabling_definition}")
+ set(_disabling_visibility_definition
"${_macro_base_name}_DISABLE_DEPRECATED_BEFORE_AND_AT=${_hexnumber}")
+ target_compile_definitions(${target} PRIVATE
"${_disabling_visibility_definition}")
if (NOT ARGS_NO_DEFINITION_EXPORT_TO_BUILD_INTERFACE)
- target_compile_definitions(${target} INTERFACE
"$<BUILD_INTERFACE:${_disabling_definition}>")
+ target_compile_definitions(${target} INTERFACE
"$<BUILD_INTERFACE:${_disabling_visibility_definition}>")
+ endif()
+ if(NOT ARGS_NO_BUILD_SET_DEPRECATED_WARNINGS_SINCE)
+ set(_enabling_warnings_definition
"${_macro_base_name}_DEPRECATED_WARNINGS_SINCE=${_hexnumber}")
+ target_compile_definitions(${target} PRIVATE
"${_enabling_warnings_definition}")
+ if (NOT ARGS_NO_DEFINITION_EXPORT_TO_BUILD_INTERFACE)
+ target_compile_definitions(${target} INTERFACE
"$<BUILD_INTERFACE:${_enabling_warnings_definition}>")
+ endif()
endif()
# for the set of compiler versions supported by ECM/KF we can assume those
attributes supported
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMGenerateExportHeaderTest/CMakeLists.txt
new/extra-cmake-modules-5.65.0/tests/ECMGenerateExportHeaderTest/CMakeLists.txt
---
old/extra-cmake-modules-5.64.0/tests/ECMGenerateExportHeaderTest/CMakeLists.txt
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMGenerateExportHeaderTest/CMakeLists.txt
2019-12-05 22:14:02.000000000 +0100
@@ -102,7 +102,7 @@
foreach(_exclude_index RANGE ${_last_index})
list(GET library_versions ${_exclude_index}
_exclude_deprecated_before_and_at)
# using disabled API limit below the excluded API limit is not
supported and
- # catched by the code generated from the ecm_generate_export_header,
+ # caught by the code generated from the ecm_generate_export_header,
# so testing those combination will not work, so start from the
excluded API limit
foreach(_disable_index RANGE ${_exclude_index} ${_last_index})
list(GET library_versions ${_disable_index}
_disable_deprecated_before_and_at)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMGenerateExportHeaderTest/consumer/testAPI_DISABLE_DEPRECATED_BEFORE_AND_AT.cmake
new/extra-cmake-modules-5.65.0/tests/ECMGenerateExportHeaderTest/consumer/testAPI_DISABLE_DEPRECATED_BEFORE_AND_AT.cmake
---
old/extra-cmake-modules-5.64.0/tests/ECMGenerateExportHeaderTest/consumer/testAPI_DISABLE_DEPRECATED_BEFORE_AND_AT.cmake
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMGenerateExportHeaderTest/consumer/testAPI_DISABLE_DEPRECATED_BEFORE_AND_AT.cmake
2019-12-05 22:14:02.000000000 +0100
@@ -62,7 +62,13 @@
set(_dep_warning_result_expected TRUE)
endif()
- set(CMAKE_REQUIRED_FLAGS "-Werror=deprecated-declarations")
+ if(MSVC)
+ # warning C4996 warns about deprecated declarations
+ set(CMAKE_REQUIRED_FLAGS "-we4996")
+ else()
+ set(CMAKE_REQUIRED_FLAGS "-Werror=deprecated-declarations")
+ endif()
+
set(CMAKE_REQUIRED_DEFINITIONS) # unset
LIBRARY_DISABLE_DEPRECATED_BEFORE_AND_AT, as LIBRARY_DEPRECATED_WARNINGS_SINCE
defaults to it
unset(_dep_warning_result CACHE) # clear out as
check_cxx_source_compiles caches the result
check_cxx_source_compiles("${_code}" _dep_warning_result)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMGenerateExportHeaderTest/consumer/testAPI_NO_DEPRECATED.cmake
new/extra-cmake-modules-5.65.0/tests/ECMGenerateExportHeaderTest/consumer/testAPI_NO_DEPRECATED.cmake
---
old/extra-cmake-modules-5.64.0/tests/ECMGenerateExportHeaderTest/consumer/testAPI_NO_DEPRECATED.cmake
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMGenerateExportHeaderTest/consumer/testAPI_NO_DEPRECATED.cmake
2019-12-05 22:14:02.000000000 +0100
@@ -41,7 +41,12 @@
set(_dep_warning_result_expected TRUE)
endif()
- set(CMAKE_REQUIRED_FLAGS "-Werror=deprecated-declarations")
+ if(MSVC)
+ # warning C4996 warns about deprecated declarations
+ set(CMAKE_REQUIRED_FLAGS "-we4996")
+ else()
+ set(CMAKE_REQUIRED_FLAGS "-Werror=deprecated-declarations")
+ endif()
set(CMAKE_REQUIRED_DEFINITIONS) # unset
LIBRARY_DISABLE_DEPRECATED_BEFORE_AND_AT, as LIBRARY_DEPRECATED_WARNINGS_SINCE
defaults to it
unset(_dep_warning_result CACHE) # clear out as
check_cxx_source_compiles caches the result
check_cxx_source_compiles("${_code}" _dep_warning_result)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_header/CMakeLists.txt
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_header/CMakeLists.txt
---
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_header/CMakeLists.txt
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_header/CMakeLists.txt
2019-12-05 22:14:02.000000000 +0100
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.5)
+cmake_policy(SET CMP0048 OLD)
project(old_header)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_header_abspath/CMakeLists.txt
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_header_abspath/CMakeLists.txt
---
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_header_abspath/CMakeLists.txt
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_header_abspath/CMakeLists.txt
2019-12-05 22:14:02.000000000 +0100
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.5)
+cmake_policy(SET CMP0048 OLD)
project(old_header_abspath)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_simple/CMakeLists.txt
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_simple/CMakeLists.txt
---
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_simple/CMakeLists.txt
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_simple/CMakeLists.txt
2019-12-05 22:14:02.000000000 +0100
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.5)
+cmake_policy(SET CMP0048 OLD)
project(old_simple)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_soversion/CMakeLists.txt
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_soversion/CMakeLists.txt
---
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_soversion/CMakeLists.txt
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_soversion/CMakeLists.txt
2019-12-05 22:14:02.000000000 +0100
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.5)
+cmake_policy(SET CMP0048 OLD)
project(old_soversion)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_version_file/CMakeLists.txt
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_version_file/CMakeLists.txt
---
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_version_file/CMakeLists.txt
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_version_file/CMakeLists.txt
2019-12-05 22:14:02.000000000 +0100
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.5)
+cmake_policy(SET CMP0048 OLD)
project(old_version_file)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_version_file_abspath/CMakeLists.txt
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_version_file_abspath/CMakeLists.txt
---
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_version_file_abspath/CMakeLists.txt
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_version_file_abspath/CMakeLists.txt
2019-12-05 22:14:02.000000000 +0100
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.5)
+cmake_policy(SET CMP0048 OLD)
project(old_version_file_abspath)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_version_file_anynewer/CMakeLists.txt
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_version_file_anynewer/CMakeLists.txt
---
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_version_file_anynewer/CMakeLists.txt
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_version_file_anynewer/CMakeLists.txt
2019-12-05 22:14:02.000000000 +0100
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.5)
+cmake_policy(SET CMP0048 OLD)
project(old_version_file_anynewer)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt
---
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_version_file_exact/CMakeLists.txt
2019-12-05 22:14:02.000000000 +0100
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.5)
+cmake_policy(SET CMP0048 OLD)
project(old_version_file_exact)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_version_file_samemajor/CMakeLists.txt
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_version_file_samemajor/CMakeLists.txt
---
old/extra-cmake-modules-5.64.0/tests/ECMSetupVersionTest/old_version_file_samemajor/CMakeLists.txt
2019-10-30 01:52:08.000000000 +0100
+++
new/extra-cmake-modules-5.65.0/tests/ECMSetupVersionTest/old_version_file_samemajor/CMakeLists.txt
2019-12-05 22:14:02.000000000 +0100
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.5)
+cmake_policy(SET CMP0048 OLD)
project(old_version_file_samemajor)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/../../../modules)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/extra-cmake-modules-5.64.0/tests/KDEInstallDirsTest/var_list.cmake
new/extra-cmake-modules-5.65.0/tests/KDEInstallDirsTest/var_list.cmake
--- old/extra-cmake-modules-5.64.0/tests/KDEInstallDirsTest/var_list.cmake
2019-10-30 01:52:08.000000000 +0100
+++ new/extra-cmake-modules-5.65.0/tests/KDEInstallDirsTest/var_list.cmake
2019-12-05 22:14:02.000000000 +0100
@@ -42,6 +42,8 @@
SHAREDSTATEDIR
SOUNDDIR
SYSCONFDIR
+ SYSTEMDUNITDIR
+ SYSTEMDUSERUNITDIR
TEMPLATEDIR
WALLPAPERDIR)
if(APPLE)
@@ -84,6 +86,8 @@
set(compat_SBINDIR SBIN_INSTALL_DIR)
set(compat_SOUNDDIR SOUND_INSTALL_DIR)
set(compat_SYSCONFDIR SYSCONF_INSTALL_DIR)
+set(compat_SYSTEM_UNIT_INSTALL_DIR)
+set(compat_SYSTEM_USER_UNIT_INSTALL_DIR)
set(compat_TEMPLATEDIR TEMPLATES_INSTALL_DIR)
set(compat_WALLPAPERDIR WALLPAPER_INSTALL_DIR)
if(APPLE)