Hello community,

here is the log from the commit of package gammaray for openSUSE:Factory 
checked in at 2019-12-07 15:10:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gammaray (Old)
 and      /work/SRC/openSUSE:Factory/.gammaray.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gammaray"

Sat Dec  7 15:10:48 2019 rev:14 rq:754879 version:2.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/gammaray/gammaray.changes        2019-10-31 
22:31:22.896809079 +0100
+++ /work/SRC/openSUSE:Factory/.gammaray.new.4691/gammaray.changes      
2019-12-07 15:11:05.539832345 +0100
@@ -1,0 +2,5 @@
+Sat Dec  7 09:53:39 UTC 2019 - Christophe Giboudeaux <[email protected]>
+
+- Add 0001-Fix-build-against-Qt-5.14.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Fix-build-against-Qt-5.14.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gammaray.spec ++++++
--- /var/tmp/diff_new_pack.UrhGGw/_old  2019-12-07 15:11:06.251832243 +0100
+++ /var/tmp/diff_new_pack.UrhGGw/_new  2019-12-07 15:11:06.255832243 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gammaray
 #
-# 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
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 # Required for the "highly experimental" object visualizer plugin, only VTK 
7.1 supported
 %bcond_with     vtk
 
@@ -29,6 +30,8 @@
 Source:         
https://github.com/KDAB/GammaRay/releases/download/v%{version}/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM Fix_icons_installation.patch -- Don't try to install 
multiple copies in exotic subdirs
 Patch0:         Fix_icons_installation.patch
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Fix-build-against-Qt-5.14.patch
 BuildRequires:  binutils-devel
 BuildRequires:  cmake >= 3.1
 BuildRequires:  doxygen

++++++ 0001-Fix-build-against-Qt-5.14.patch ++++++
>From 3bde546403e1fe27881bdfee4d0aa0dc4acbe2c7 Mon Sep 17 00:00:00 2001
From: Nicolas Fella <[email protected]>
Date: Sun, 21 Jul 2019 16:53:20 +0200
Subject: Fix build against Qt 5.14

(merged with 7cd6950e96: Fix version check logic)

---
 plugins/quickinspector/quickinspector.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/quickinspector/quickinspector.cpp 
b/plugins/quickinspector/quickinspector.cpp
index 1e728b83..17770ed1 100644
--- a/plugins/quickinspector/quickinspector.cpp
+++ b/plugins/quickinspector/quickinspector.cpp
@@ -654,7 +654,7 @@ void QuickInspector::checkOverlaySettings()
 class SGSoftwareRendererPrivacyViolater : public QSGAbstractSoftwareRenderer
 {
 public:
-#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0) && QT_VERSION < 
QT_VERSION_CHECK(5, 14, 0)
     using QSGAbstractSoftwareRenderer::renderableNodes;
 #endif
     using QSGAbstractSoftwareRenderer::renderNodes;
@@ -684,7 +684,7 @@ void QuickInspector::analyzePainting()
         renderer->markDirty();
         renderer->buildRenderList();
         renderer->optimizeRenderList();
-#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
+#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0) || QT_VERSION >= 
QT_VERSION_CHECK(5, 14, 0)
         renderer->renderNodes(&painter);
 #else
         auto iterator = renderer->renderableNodes().begin();
-- 
2.24.0


Reply via email to