Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kproperty for openSUSE:Factory checked in at 2025-04-02 17:15:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kproperty (Old) and /work/SRC/openSUSE:Factory/.kproperty.new.1907 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kproperty" Wed Apr 2 17:15:01 2025 rev:8 rq:1266232 version:3.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kproperty/kproperty.changes 2024-05-17 20:08:01.685594384 +0200 +++ /work/SRC/openSUSE:Factory/.kproperty.new.1907/kproperty.changes 2025-04-02 17:16:52.602193018 +0200 @@ -1,0 +2,6 @@ +Tue Apr 1 15:35:41 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Add patch: + * kproperty-cmake4.patch + +------------------------------------------------------------------- New: ---- kproperty-cmake4.patch BETA DEBUG BEGIN: New:- Add patch: * kproperty-cmake4.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kproperty.spec ++++++ --- /var/tmp/diff_new_pack.xWE47Y/_old 2025-04-02 17:16:53.566233468 +0200 +++ /var/tmp/diff_new_pack.xWE47Y/_new 2025-04-02 17:16:53.566233468 +0200 @@ -22,11 +22,12 @@ Release: 0 Summary: Property editing framework with editor widget License: LGPL-2.0-only -Group: Productivity/Office/Other URL: https://community.kde.org/KProperty Source0: https://download.kde.org/stable/%{name}/src/%{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE Patch0: fix-build-with-gcc48.patch +# PATCH-FIX-UPSTREAM +Patch1: kproperty-cmake4.patch BuildRequires: extra-cmake-modules BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5CoreAddons) @@ -41,7 +42,6 @@ %package -n libKPropertyCore3-%{sover} Summary: Core library for the Property editing framework -Group: System/Libraries Requires: %{name} >= %{version} %description -n libKPropertyCore3-%{sover} @@ -49,7 +49,6 @@ %package -n libKPropertyWidgets3-%{sover} Summary: Editor Widget library for the property editing framework -Group: System/Libraries Requires: %{name} >= %{version} %description -n libKPropertyWidgets3-%{sover} @@ -57,7 +56,6 @@ %package devel Summary: Development package for kproperty -Group: Development/Libraries/KDE Requires: libKPropertyCore3-%{sover} = %{version} Requires: libKPropertyWidgets3-%{sover} = %{version} @@ -80,14 +78,12 @@ # The pkgconfig files contain incorrect stuff rm %{buildroot}%{_kf5_libdir}/pkgconfig/KProperty*.pc -%post -n libKPropertyCore3-%{sover} -p /sbin/ldconfig -%postun -n libKPropertyCore3-%{sover} -p /sbin/ldconfig +%ldconfig_scriptlets -n libKPropertyCore3-%{sover} %files -n libKPropertyCore3-%{sover} %{_kf5_libdir}/libKPropertyCore3.so.* -%post -n libKPropertyWidgets3-%{sover} -p /sbin/ldconfig -%postun -n libKPropertyWidgets3-%{sover} -p /sbin/ldconfig +%ldconfig_scriptlets -n libKPropertyWidgets3-%{sover} %files %{_kf5_sharedir}/kproperty3/ ++++++ kproperty-cmake4.patch ++++++ >From d36220525fd059b175e84053d0c586f7ad339122 Mon Sep 17 00:00:00 2001 From: Christophe Marin <christo...@krop.fr> Date: Tue, 1 Apr 2025 17:35:21 +0200 Subject: [PATCH] Fix build with CMake 4 --- CMakeLists.txt | 3 +-- autotests/headers/HeadersTestInclude.cmake | 6 ------ cmake/modules/SetKPropertyCMakePolicies.cmake | 19 ------------------- 3 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 cmake/modules/SetKPropertyCMakePolicies.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 2d589d5..fc387ef 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,7 @@ set(KPROPERTY_GENERATE_PRI TRUE) -cmake_minimum_required(VERSION 3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.16 FATAL_ERROR) find_package(ECM 1.8.0 REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) -include(SetKPropertyCMakePolicies NO_POLICY_SCOPE) project(KProperty VERSION 3.2.0) # Update this diff --git a/autotests/headers/HeadersTestInclude.cmake b/autotests/headers/HeadersTestInclude.cmake index 8fb4797..804f6cb 100644 --- a/autotests/headers/HeadersTestInclude.cmake +++ b/autotests/headers/HeadersTestInclude.cmake @@ -7,9 +7,3 @@ find_package(KPropertyWidgets ${PROJECT_VERSION} REQUIRED) set(LIB_INSTALL_DIR "lib") include(KDECMakeSettings NO_POLICY_SCOPE) include(KDECompilerSettings NO_POLICY_SCOPE) -if(POLICY CMP0063) # Honor visibility properties for all target types (since cmake 3.3) - cmake_policy(SET CMP0063 NEW) -endif() -if(POLICY CMP0071) # Don't warn when combining AUTOMOC with qt5_wrap_ui() or qt5_add_resources() (since cmake 3.10) - cmake_policy(SET CMP0071 NEW) -endif() diff --git a/cmake/modules/SetKPropertyCMakePolicies.cmake b/cmake/modules/SetKPropertyCMakePolicies.cmake deleted file mode 100644 index bc28d8a..0000000 --- a/cmake/modules/SetKPropertyCMakePolicies.cmake +++ /dev/null @@ -1,19 +0,0 @@ -# Copyright (C) 2003-2016 JarosÅaw Staniek <stan...@kde.org> -# -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. - -cmake_policy(SET CMP0017 NEW) -cmake_policy(SET CMP0048 NEW) # for PROJECT_VERSION -cmake_policy(SET CMP0053 NEW) # TODO remove, temporary fix for a bug in Qt 5.8's Qt5ModuleLocation.cmake - # "Simplify variable reference and escape sequence evaluation" - -if(POLICY CMP0059) # Donât treat DEFINITIONS as a built-in directory property. - cmake_policy(SET CMP0059 OLD) -endif() -if(POLICY CMP0063) # Honor visibility properties for all target types (since cmake 3.3) - cmake_policy(SET CMP0063 NEW) -endif() -if(POLICY CMP0071) # Don't warn when combining AUTOMOC with qt5_wrap_ui() or qt5_add_resources() (since cmake 3.10) - cmake_policy(SET CMP0071 NEW) -endif() -- 2.49.0