Hello community,
here is the log from the commit of package kdstatemachineeditor for
openSUSE:Factory checked in at 2020-04-04 12:25:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdstatemachineeditor (Old)
and /work/SRC/openSUSE:Factory/.kdstatemachineeditor.new.3248 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kdstatemachineeditor"
Sat Apr 4 12:25:31 2020 rev:7 rq:791148 version:1.2.7
Changes:
--------
---
/work/SRC/openSUSE:Factory/kdstatemachineeditor/kdstatemachineeditor.changes
2020-01-16 18:20:17.704942713 +0100
+++
/work/SRC/openSUSE:Factory/.kdstatemachineeditor.new.3248/kdstatemachineeditor.changes
2020-04-04 12:26:29.059993222 +0200
@@ -1,0 +2,6 @@
+Fri Apr 3 09:44:40 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Add patch to fix build with Qt 5.15:
+ * 0001-Fix-build-with-Qt-5.15.patch
+
+-------------------------------------------------------------------
New:
----
0001-Fix-build-with-Qt-5.15.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdstatemachineeditor.spec ++++++
--- /var/tmp/diff_new_pack.1A3uSF/_old 2020-04-04 12:26:30.031994227 +0200
+++ /var/tmp/diff_new_pack.1A3uSF/_new 2020-04-04 12:26:30.039994235 +0200
@@ -30,6 +30,8 @@
Group: Development/Libraries/C and C++
URL: https://kdab.github.io/KDStateMachineEditor/
Source:
https://github.com/KDAB/KDStateMachineEditor/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM
+Patch0: 0001-Fix-build-with-Qt-5.15.patch
BuildRequires: cmake >= 2.8.11
BuildRequires: doxygen
BuildRequires: graphviz-devel
@@ -117,6 +119,7 @@
%prep
%setup -q
+%patch0 -p1
%build
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} \
@@ -124,7 +127,8 @@
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DECM_MKSPECS_INSTALL_DIR=%{_libdir}/qt5/mkspecs/modules \
-DLIB_INSTALL_DIR="%{_lib}"
-make VERBOSE=1 %{?_smp_mflags}
+
+%cmake_build
%install
%make_install
++++++ 0001-Fix-build-with-Qt-5.15.patch ++++++
>From 17dbb81b1cbd4b10ede2a93648cd5196d2983152 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <[email protected]>
Date: Fri, 3 Apr 2020 11:43:58 +0200
Subject: [PATCH] Fix build with Qt 5.15
---
src/core/tests/test_layoutinformation.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/core/tests/test_layoutinformation.cpp
b/src/core/tests/test_layoutinformation.cpp
index 27cea38..3ee8569 100644
--- a/src/core/tests/test_layoutinformation.cpp
+++ b/src/core/tests/test_layoutinformation.cpp
@@ -28,6 +28,7 @@
#include "transition.h"
#include <QDebug>
+#include <QPainterPath>
#include <QtTest>
using namespace KDSME;
--
2.26.0