Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kdiagram for openSUSE:Factory checked in at 2025-04-02 17:13:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdiagram (Old) and /work/SRC/openSUSE:Factory/.kdiagram.new.1907 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdiagram" Wed Apr 2 17:13:49 2025 rev:7 rq:1266182 version:2.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/kdiagram/kdiagram.changes 2021-01-19 16:00:46.071250593 +0100 +++ /work/SRC/openSUSE:Factory/.kdiagram.new.1907/kdiagram.changes 2025-04-02 17:15:18.434241795 +0200 @@ -1,0 +2,6 @@ +Tue Apr 1 13:26:05 UTC 2025 - Christophe Marin <christo...@krop.fr> + +- Add patch: + * kdiagram-cmake4.patch + +------------------------------------------------------------------- New: ---- kdiagram-cmake4.patch BETA DEBUG BEGIN: New:- Add patch: * kdiagram-cmake4.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdiagram.spec ++++++ --- /var/tmp/diff_new_pack.adNmWd/_old 2025-04-02 17:15:20.426325382 +0200 +++ /var/tmp/diff_new_pack.adNmWd/_new 2025-04-02 17:15:20.442326053 +0200 @@ -22,9 +22,10 @@ Release: 0 Summary: Powerful libraries (KChart, KGantt) for creating business diagrams License: GPL-2.0-or-later -Group: System/GUI/KDE URL: https://www.kde.org/ Source: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM +Patch0: kdiagram-cmake4.patch BuildRequires: extra-cmake-modules BuildRequires: kf5-filesystem BuildRequires: libqt5-linguist-devel >= 5.12.0 @@ -38,7 +39,6 @@ %package -n libKChart2 Summary: KChart library for kdiagram -Group: System/Libraries Recommends: libkchart-lang = %{version} Provides: libkchart = %{version} @@ -47,7 +47,6 @@ %package -n libKGantt2 Summary: Gantt chart implementation for kdiagram -Group: System/Libraries Recommends: libkgantt-lang = %{version} Provides: libkgantt = %{version} @@ -60,7 +59,6 @@ %package devel Summary: Development package for the KDiagram libraries -Group: System/Libraries/KDE Requires: libKChart2 = %{version} Requires: libKGantt2 = %{version} Requires: cmake(Qt5Core) >= 5.12.0 @@ -72,23 +70,21 @@ Development package for the KDiagram libraries %prep -%setup -q +%autosetup -p1 %build - %cmake_kf5 -d build - %make_jobs +%cmake_kf5 -d build +%cmake_build %install - %kf5_makeinstall -C build +%kf5_makeinstall -C build %if %{with lang} - %find_lang kgantt --with-qt --without-mo - %find_lang kchart --with-qt --without-mo +%find_lang kgantt --with-qt --without-mo +%find_lang kchart --with-qt --without-mo %endif -%post -n libKChart2 -p /sbin/ldconfig -%postun -n libKChart2 -p /sbin/ldconfig -%post -n libKGantt2 -p /sbin/ldconfig -%postun -n libKGantt2 -p /sbin/ldconfig +%ldconfig_scriptlets -n libKChart2 +%ldconfig_scriptlets -n libKGantt2 %files -n libKChart2 %license LICENSE.GPL.txt ++++++ kdiagram-cmake4.patch ++++++ >From ad1a3af576499f68ab6bc4a7e5d08f0177c761be Mon Sep 17 00:00:00 2001 From: Christophe Marin <christo...@krop.fr> Date: Tue, 1 Apr 2025 15:25:41 +0200 Subject: [PATCH] Fix build with CMake 4 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 12dbdbb..d5e914f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ -cmake_minimum_required(VERSION 2.8.12) +cmake_minimum_required(VERSION 3.16) -project( kdiagram ) +project(kdiagram VERSION 2.8.0) set(KF5_MIN_VERSION "5.60.0") find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) -- 2.49.0