This commit is contained in:
parent
9757bd2551
commit
3630e58ac1
18
gammaray-gles.patch
Normal file
18
gammaray-gles.patch
Normal file
@ -0,0 +1,18 @@
|
||||
QOpenGLFunctions_2_0 doesn't exist if Qt was built with opengles enabled.
|
||||
|
||||
Ref: https://github.com/KDAB/GammaRay/issues/829
|
||||
|
||||
diff --git a/plugins/quickinspector/textureextension/qsgtexturegrabber.cpp b/plugins/quickinspector/textureextension/qsgtexturegrabber.cpp
|
||||
index 120bb400d..f8d187ceb 100644
|
||||
--- a/plugins/quickinspector/textureextension/qsgtexturegrabber.cpp
|
||||
+++ b/plugins/quickinspector/textureextension/qsgtexturegrabber.cpp
|
||||
@@ -17,7 +17,9 @@
|
||||
#include <QImage>
|
||||
#include <QOpenGLContext>
|
||||
#include <QOpenGLFunctions>
|
||||
+#if !QT_CONFIG(opengles2)
|
||||
#include <QOpenGLFunctions_2_0>
|
||||
+#endif
|
||||
#include <QPainter>
|
||||
#include <QQuickWindow>
|
||||
#include <QSGTexture>
|
@ -22,8 +22,9 @@ Tue Sep 5 09:16:28 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
* Update 3rdparty/lz4 to version 1.9.4.
|
||||
* Update 3rdparty/StackWalker.
|
||||
* Increase CMake requirement to version 3.16.0.
|
||||
- Add patch:
|
||||
- Add patches:
|
||||
* 0001-Fix-doc-tools-detection.patch
|
||||
* gammaray-gles.patch
|
||||
- Add a Qt6 flavor
|
||||
- Move plugins to a -shared subpackage.
|
||||
gammaray-shared and gammaray-qt6-shared can be coinstalled and
|
||||
|
@ -37,6 +37,8 @@ URL: https://www.kdab.com/gammaray
|
||||
Source: https://github.com/KDAB/GammaRay/releases/download/v%{version}/%{rname}-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch0: 0001-Fix-doc-tools-detection.patch
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch1: gammaray-gles.patch
|
||||
BuildRequires: binutils-devel
|
||||
BuildRequires: cmake >= 3.16.0
|
||||
BuildRequires: doxygen
|
||||
|
Loading…
Reference in New Issue
Block a user