Accepting request 680358 from home:wolfi323:branches:KDE:Extra

- Update to 2.10.0:
  * Increase CMake requirement to version 3.1 on all platforms.
  * Add object navigation to the paint analyzer.
  * Reduce network load by moving more property model features to
    the client side.
  * Port object hierarchy visualizer plugin to Qt 5.
  * Add new system information plugin, which supersedes the
    standard paths plugin.
  * Use application palette rather than style palette in the style
    inspector.
  * Improve gdb injector performance.
  * Reduce performance impact of the widget paint analyzer in
    Windows debug builds.
  * Improve Qt Quick item picking in case of zero-sized parent
    elements.
  * Provide access to QAbstractItemModel role name mapping.
  * Add QtPositioning plugin allowing to monitor and simulate geo
    localization.
  * Add NMEA geo localization playback.
  * Add support for generic functor property accessors.
  * Add property access for mime data and clipboard types.
  * Add infrastructure to override generic property access, such as
    Qt Quick anchor properties.
  * Add custom property access for Qt Quick anchors properties to
    no longer trigger their on-demand creation.
  * Add generic problem reporter infrastructure, and port some
    existing checks to it.
- Drop patches merged upstream:
  * fix-build-qt-5.12.patch
  * fix-build-qt-5.12-again.patch

OBS-URL: https://build.opensuse.org/request/show/680358
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/gammaray?expand=0&rev=41
This commit is contained in:
Luca Beltrame 2019-03-01 07:30:59 +00:00 committed by Git OBS Bridge
parent 9bac68c504
commit 36666b6354
6 changed files with 41 additions and 58 deletions

View File

@ -1,27 +0,0 @@
From d0c9f9c8a0c62c53812c25e5bd77119f214cd1f8 Mon Sep 17 00:00:00 2001
From: Volker Krause <volker.krause@kdab.com>
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

View File

@ -1,21 +0,0 @@
From 2cd4585e287a2bcf80572505537e5e75d020c5f5 Mon Sep 17 00:00:00 2001
From: Volker Krause <volker.krause@kdab.com>
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>

3
gammaray-2.10.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0554e43067c2eba3517cf746a921385cf15675db79f879e1c3a7851c4951ffbe
size 9961137

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba1f6f2b777c550511a17f704b9c340df139de8ba8fa0d72782ea51d0086fa47
size 9666109

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Thu Feb 28 21:01:00 UTC 2019 - wbauer@tmo.at
- Update to 2.10.0:
* Increase CMake requirement to version 3.1 on all platforms.
* Add object navigation to the paint analyzer.
* Reduce network load by moving more property model features to
the client side.
* Port object hierarchy visualizer plugin to Qt 5.
* Add new system information plugin, which supersedes the
standard paths plugin.
* Use application palette rather than style palette in the style
inspector.
* Improve gdb injector performance.
* Reduce performance impact of the widget paint analyzer in
Windows debug builds.
* Improve Qt Quick item picking in case of zero-sized parent
elements.
* Provide access to QAbstractItemModel role name mapping.
* Add QtPositioning plugin allowing to monitor and simulate geo
localization.
* Add NMEA geo localization playback.
* Add support for generic functor property accessors.
* Add property access for mime data and clipboard types.
* Add infrastructure to override generic property access, such as
Qt Quick anchor properties.
* Add custom property access for Qt Quick anchors properties to
no longer trigger their on-demand creation.
* Add generic problem reporter infrastructure, and port some
existing checks to it.
- Drop patches merged upstream:
* fix-build-qt-5.12.patch
* fix-build-qt-5.12-again.patch
-------------------------------------------------------------------
Wed Nov 14 10:37:36 UTC 2018 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package gammaray
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define tarname GammaRay
Name: gammaray
Version: 2.9.1
Version: 2.10.0
Release: 0
Summary: Introspection/Debugging Tool for Qt Applications
License: GPL-2.0-or-later
@ -27,16 +27,13 @@ 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 >= 3.0
# include this so the icon folders don't need to be owned by the package
BuildRequires: cmake >= 3.1
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: graphviz-devel
BuildRequires: graphviz-gnome
# include this so the icon folders don't need to be owned by the package
BuildRequires: hicolor-icon-theme
BuildRequires: kdstatemachineeditor-devel
BuildRequires: libQt5Core-private-headers-devel >= 5.3.0