Hello community, here is the log from the commit of package kdgantt2 for openSUSE:Factory checked in at 2020-06-04 17:57:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kdgantt2 (Old) and /work/SRC/openSUSE:Factory/.kdgantt2.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdgantt2" Thu Jun 4 17:57:15 2020 rev:10 rq:811525 version:16.08.3 Changes: -------- --- /work/SRC/openSUSE:Factory/kdgantt2/kdgantt2.changes 2019-07-21 11:34:15.404778186 +0200 +++ /work/SRC/openSUSE:Factory/.kdgantt2.new.3606/kdgantt2.changes 2020-06-04 17:57:17.681162995 +0200 @@ -1,0 +2,7 @@ +Thu Jun 4 14:46:10 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Add patch to fix build with Qt 5.15: + * 0001-Fix-build-with-Qt-5.15.patch +- spec-cleanup + +------------------------------------------------------------------- New: ---- 0001-Fix-build-with-Qt-5.15.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kdgantt2.spec ++++++ --- /var/tmp/diff_new_pack.gFCFGa/_old 2020-06-04 17:57:19.357168243 +0200 +++ /var/tmp/diff_new_pack.gFCFGa/_new 2020-06-04 17:57:19.361168256 +0200 @@ -1,7 +1,7 @@ # # spec file for package kdgantt2 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,13 +24,14 @@ Group: System/GUI/KDE URL: https://www.kde.org Source0: %{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM +Patch0: 0001-Fix-build-with-Qt-5.15.patch BuildRequires: extra-cmake-modules >= 5.19.0 BuildRequires: kf5-filesystem BuildRequires: ki18n-devel -BuildRequires: pkgconfig -BuildRequires: pkgconfig(Qt5PrintSupport) >= 5.4.0 -BuildRequires: pkgconfig(Qt5Test) >= 5.4.0 -BuildRequires: pkgconfig(Qt5Widgets) >= 5.4.0 +BuildRequires: cmake(Qt5PrintSupport) >= 5.4.0 +BuildRequires: cmake(Qt5Test) >= 5.4.0 +BuildRequires: cmake(Qt5Widgets) >= 5.4.0 %description This library implements Gantt chart drawing functionality. It allows @@ -39,17 +40,6 @@ This package is part of the KDE PIM module. -%prep -%setup -q - -%build -%cmake_kf5 -d build - -%make_jobs - -%install -%kf5_makeinstall -C build - %package -n libKF5KDGantt2-5 Summary: Gantt chart library for kdepim License: LGPL-2.1-or-later @@ -61,9 +51,6 @@ to easily embed the Gantt charts into the application as long as it is capable of drawing QWidget or QGraphicsView objects. -%post -n libKF5KDGantt2-5 -p /sbin/ldconfig -%postun -n libKF5KDGantt2-5 -p /sbin/ldconfig - %package devel Summary: Development package for kdgantt2 License: LGPL-2.1-or-later @@ -73,14 +60,27 @@ %description devel The development package for the kdgantt2 libraries. +%prep +%autosetup -p1 + +%build +%cmake_kf5 -d build +%cmake_build + +%install +%kf5_makeinstall -C build + +%post -n libKF5KDGantt2-5 -p /sbin/ldconfig +%postun -n libKF5KDGantt2-5 -p /sbin/ldconfig + %files devel %license COPYING* -%{_includedir}/KF5/KDGantt2/ -%{_includedir}/KF5/kdgantt2/ -%{_includedir}/KF5/kdgantt2_version.h -%{_libdir}/cmake/KF5KDGantt2/ -%{_libdir}/libKF5KDGantt2.so -%{_libdir}/qt5/mkspecs/modules/qt_KDGantt2.pri +%{_kf5_cmakedir}/KF5KDGantt2/ +%{_kf5_includedir}/KDGantt2/ +%{_kf5_includedir}/kdgantt2/ +%{_kf5_includedir}/kdgantt2_version.h +%{_kf5_libdir}/libKF5KDGantt2.so +%{_kf5_mkspecsdir}/qt_KDGantt2.pri %files %license COPYING* @@ -88,6 +88,6 @@ %files -n libKF5KDGantt2-5 %license COPYING* -%{_libdir}/libKF5KDGantt2.so.* +%{_kf5_libdir}/libKF5KDGantt2.so.* %changelog ++++++ 0001-Fix-build-with-Qt-5.15.patch ++++++ >From 2dbd8973214cdaeec9177fba0e6ea79e822c9fa2 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux <[email protected]> Date: Thu, 4 Jun 2020 16:45:17 +0200 Subject: [PATCH] Fix build with Qt 5.15 --- src/kdganttdatetimegrid.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kdganttdatetimegrid.cpp b/src/kdganttdatetimegrid.cpp index e4b3882..46fd2df 100644 --- a/src/kdganttdatetimegrid.cpp +++ b/src/kdganttdatetimegrid.cpp @@ -30,6 +30,7 @@ #include <QApplication> #include <QDateTime> #include <QPainter> +#include <QPainterPath> #include <QStyle> #include <QStyleOptionHeader> #include <QWidget> -- 2.26.2
