Hello community,

here is the log from the commit of package gammaray for openSUSE:Factory 
checked in at 2018-10-11 11:51:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gammaray (Old)
 and      /work/SRC/openSUSE:Factory/.gammaray.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gammaray"

Thu Oct 11 11:51:23 2018 rev:7 rq:640044 version:2.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gammaray/gammaray.changes        2018-02-10 
17:59:10.329949413 +0100
+++ /work/SRC/openSUSE:Factory/.gammaray.new/gammaray.changes   2018-10-11 
11:52:01.202285411 +0200
@@ -1,0 +2,22 @@
+Fri Oct  5 08:01:34 UTC 2018 - [email protected]
+
+- Add patches to fix build against Qt 5.12:
+  * fix-build-qt-5.12.patch
+  * fix-build-qt-5.12-again.patch
+
+-------------------------------------------------------------------
+Thu Oct  4 12:19:52 UTC 2018 - [email protected]
+
+- Update to 2.9.1:
+  * Fix crash in in-process mode with networking disabled.
+  * Fix compilation with Qt 5.12.
+  * Update Android toolchain file.
+  * Allow to disable QtScript dependency.
+  * Fix crash on zero-sized paint operations.
+  * Fix plugin deployment on Android.
+  * Fix crash in Qt Quick inspector when encountering invalid bounding rects.
+  * Fix activating the Qt3D plugin when attaching to a Qt3D application at 
runtime.
+  * Fix out-of-bounds framebuffer read in Qt Quick remote view for some 
non-integer scaling factors.
+- Use %license
+
+-------------------------------------------------------------------

Old:
----
  gammaray-2.9.0.tar.gz

New:
----
  fix-build-qt-5.12-again.patch
  fix-build-qt-5.12.patch
  gammaray-2.9.1.tar.gz

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

Other differences:
------------------
++++++ gammaray.spec ++++++
--- /var/tmp/diff_new_pack.Rz2PQO/_old  2018-10-11 11:52:08.442276202 +0200
+++ /var/tmp/diff_new_pack.Rz2PQO/_new  2018-10-11 11:52:08.446276197 +0200
@@ -18,15 +18,18 @@
 
 %define tarname GammaRay
 Name:           gammaray
-Version:        2.9.0
+Version:        2.9.1
 Release:        0
 Summary:        Introspection/Debugging Tool for Qt Applications
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Development/Tools/Debuggers
 Url:            http://www.kdab.com/gammaray
 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:         fix-build-qt-5.12.patch
+Patch2:         fix-build-qt-5.12-again.patch
 BuildRequires:  binutils-devel
 BuildRequires:  cmake >= 2.8.11
 BuildRequires:  fdupes
@@ -83,7 +86,6 @@
 BuildRequires:  cmake(Qt5Test) >= 5.3.0
 BuildRequires:  cmake(Qt5WebKitWidgets) >= 5.3.0
 BuildRequires:  cmake(Qt5Widgets) >= 5.3.0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Gamma Ray is a comprehensive collection of high level introspection 
@@ -102,7 +104,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}
-%patch0 -p1
+%autopatch -p1
 
 %build
 %if "%{_lib}" == "lib64"
@@ -132,7 +134,7 @@
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
+%license LICENSE.*
 %doc CHANGES ReadMe.txt
 %dir %{_datadir}/icons/hicolor/512x512/
 %dir %{_datadir}/icons/hicolor/512x512/apps/
@@ -154,8 +156,7 @@
 %{_datadir}/gammaray
 
 %files devel
-%defattr(-,root,root)
-%doc LICENSE.*
+%license LICENSE.*
 %{_includedir}/%{name}
 %{_libdir}/cmake/GammaRay/
 %{_libdir}/libgammaray_*-qt5*.so

++++++ fix-build-qt-5.12-again.patch ++++++
>From d0c9f9c8a0c62c53812c25e5bd77119f214cd1f8 Mon Sep 17 00:00:00 2001
From: Volker Krause <[email protected]>
Date: Mon, 20 Aug 2018 13:47:35 +0200
Subject: [PATCH] Adapt to Qt 5.12 V4 identifier changes

---
 plugins/qmlsupport/qmlcontextpropertyadaptor.cpp | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/plugins/qmlsupport/qmlcontextpropertyadaptor.cpp 
b/plugins/qmlsupport/qmlcontextpropertyadaptor.cpp
index 2c183f083..1c24eaa44 100644
--- a/plugins/qmlsupport/qmlcontextpropertyadaptor.cpp
+++ b/plugins/qmlsupport/qmlcontextpropertyadaptor.cpp
@@ -100,8 +100,13 @@ void QmlContextPropertyAdaptor::doSetObject(const 
ObjectInstance &oi)
     QV4::IdentifierHashEntry *e = propNames.d->entries;
     QV4::IdentifierHashEntry *end = e + propNames.d->alloc;
     while (e < end) {
+#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
         if (e->identifier)
             m_contextPropertyNames.push_back(e->identifier->string);
+#else
+        if (e->identifier.isValid())
+            m_contextPropertyNames.push_back(e->identifier.toQString());
+#endif
         ++e;
     }
 #else
++++++ fix-build-qt-5.12.patch ++++++
>From 2cd4585e287a2bcf80572505537e5e75d020c5f5 Mon Sep 17 00:00:00 2001
From: Volker Krause <[email protected]>
Date: Wed, 22 Aug 2018 09:59:42 +0200
Subject: [PATCH] Compile with Qt 5.12

---
 plugins/qmlsupport/qmlbindingprovider.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/qmlsupport/qmlbindingprovider.cpp 
b/plugins/qmlsupport/qmlbindingprovider.cpp
index efc6f2b4d..0d210aa4c 100644
--- a/plugins/qmlsupport/qmlbindingprovider.cpp
+++ b/plugins/qmlsupport/qmlbindingprovider.cpp
@@ -35,6 +35,7 @@
 // Qt
 #include <private/qqmlabstractbinding_p.h>
 #include <private/qqmlbinding_p.h>
+#include <private/qqmlglobal_p.h>
 #include <private/qqmlvaluetypeproxybinding_p.h>
 #include <private/qqmldata_p.h>
 #include <private/qqmlproperty_p.h>
++++++ gammaray-2.9.0.tar.gz -> gammaray-2.9.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/gammaray/gammaray-2.9.0.tar.gz 
/work/SRC/openSUSE:Factory/.gammaray.new/gammaray-2.9.1.tar.gz differ: char 5, 
line 1


Reply via email to