public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qt6-qtwebengine] epel9: Fix build
@ 2026-10-08 20:25 Jan Grulich
0 siblings, 0 replies; only message in thread
From: Jan Grulich @ 2026-10-08 20:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/qt6-qtwebengine
Branch : epel9
Commit : bb1b6240de79d3f980204792166e3a7a4186e2e6
Author : Jan Grulich <jgrulich@redhat.com>
Date : 2025-09-29T20:47:35+02:00
Stats : +123/-279 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/qt6-qtwebengine/c/bb1b6240de79d3f980204792166e3a7a4186e2e6?branch=epel9
Log:
Fix build
---
diff --git a/.gitignore b/.gitignore
index 64ef03a..728b7fc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@
/qtwebengine-everywhere-src-6.9.1-clean.tar.xz
/qtwebengine-everywhere-src-6.9.2-clean.tar.xz
/qtwebengine-everywhere-src-6.10.0-rc-clean.tar.xz
+/qtwebengine-everywhere-src-6.10.0-clean.tar.xz
diff --git a/qt6-qtwebengine.spec b/qt6-qtwebengine.spec
index a8e90ee..638cc70 100644
--- a/qt6-qtwebengine.spec
+++ b/qt6-qtwebengine.spec
@@ -76,7 +76,9 @@
# and designer plugins
%global __provides_exclude_from ^%{_qt6_plugindir}/.*\\.so$
-%global unstable 1
+# FIXME: we cannot use any ~rc or similar suffix as the build
+# would fail for having too long filename
+#global unstable 1
%if 0%{?unstable}
%global prerelease rc
%endif
@@ -85,7 +87,7 @@
Summary: Qt6 - QtWebEngine components
Name: qt6-qtwebengine
-Version: 6.10.0%{?unstable:~%{prerelease}}
+Version: 6.10.0
Release: 1%{?dist}
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
@@ -124,9 +126,6 @@ Patch3: qtwebengine-aarch64-new-stat.patch
# Enable OpenH264
Patch4: qtwebengine-use-openh264.patch
-# FTBS warning: elaborated-type-specifier for a scoped enum must not
-# use the 'class' keyword
-Patch50: qtwebengine-fix-build.patch
# https://bugreports.qt.io/browse/QTBUG-139424
# Revert commit bcee2dbf412cc655c1b467091b581c696d234e3f
# See also https://gitlab.archlinux.org/archlinux/packaging/packages/qt6-webengine/-/commit/74473e03e9d77895d22659914aa4ae91324a1f0a
@@ -483,7 +482,6 @@ popd
%patch -P3 -p1 -b .aarch64-new-stat
%patch -P4 -p1 -b .use-openh264
-%patch -P50 -p1 -b .fix-build.patch
%patch -P51 -p1 -b .eglimage
## upstream patches
@@ -768,7 +766,6 @@ done
%dir %{_qt6_libdir}/cmake/Qt6WebEngineCoreTools
%dir %{_qt6_libdir}/cmake/Qt6WebEngineQuick
%dir %{_qt6_libdir}/cmake/Qt6WebEngineQuickDelegatesQml
-%dir %{_qt6_libdir}/cmake/Qt6WebEngineQuickDelegatesQmlPrivate
%dir %{_qt6_libdir}/cmake/Qt6WebEngineQuickPrivate
%dir %{_qt6_libdir}/cmake/Qt6WebEngineWidgets
%dir %{_qt6_libdir}/cmake/Qt6WebEngineWidgetsPrivate
@@ -781,7 +778,6 @@ done
%{_qt6_libdir}/cmake/Qt6WebEngineCoreTools/*.cmake
%{_qt6_libdir}/cmake/Qt6WebEngineQuick/*.cmake
%{_qt6_libdir}/cmake/Qt6WebEngineQuickDelegatesQml/*.cmake
-%{_qt6_libdir}/cmake/Qt6WebEngineQuickDelegatesQmlPrivate/*.cmake
%{_qt6_libdir}/cmake/Qt6WebEngineQuickPrivate/*.cmake
%{_qt6_libdir}/cmake/Qt6WebEngineWidgets/*.cmake
%{_qt6_libdir}/cmake/Qt6WebEngineWidgetsPrivate/*.cmake
diff --git a/qtwebengine-fix-build.patch b/qtwebengine-fix-build.patch
deleted file mode 100644
index 192a202..0000000
--- a/qtwebengine-fix-build.patch
+++ /dev/null
@@ -1,227 +0,0 @@
-diff --git a/src/3rdparty/chromium/base/debug/profiler.h b/src/3rdparty/chromium/base/debug/profiler.h
-index 035affc7c..d8e1a5346 100644
---- a/src/3rdparty/chromium/base/debug/profiler.h
-+++ b/src/3rdparty/chromium/base/debug/profiler.h
-@@ -5,6 +5,7 @@
- #ifndef BASE_DEBUG_PROFILER_H_
- #define BASE_DEBUG_PROFILER_H_
-
-+#include <cstdint>
- #include <stddef.h>
- #include <stdint.h>
-
-diff --git a/src/3rdparty/chromium/cc/trees/target_property.cc b/src/3rdparty/chromium/cc/trees/target_property.cc
-index 7d73467a9..be4febd9a 100644
---- a/src/3rdparty/chromium/cc/trees/target_property.cc
-+++ b/src/3rdparty/chromium/cc/trees/target_property.cc
-@@ -8,6 +8,8 @@
-
- #include "ui/gfx/animation/keyframe/target_property.h"
-
-+#include <cstdint>
-+
- namespace cc {
-
- static_assert(TargetProperty::LAST_TARGET_PROPERTY <
-diff --git a/src/3rdparty/chromium/device/base/synchronization/one_writer_seqlock.cc b/src/3rdparty/chromium/device/base/synchronization/one_writer_seqlock.cc
-index c62a00ee0..af54520b7 100644
---- a/src/3rdparty/chromium/device/base/synchronization/one_writer_seqlock.cc
-+++ b/src/3rdparty/chromium/device/base/synchronization/one_writer_seqlock.cc
-@@ -6,6 +6,8 @@
-
- #include "base/threading/platform_thread.h"
-
-+#include <cstdint>
-+
- namespace device {
-
- OneWriterSeqLock::OneWriterSeqLock() : sequence_(0) {}
-diff --git a/src/3rdparty/chromium/extensions/common/constants.h b/src/3rdparty/chromium/extensions/common/constants.h
-index 63af22b65..916d45a36 100644
---- a/src/3rdparty/chromium/extensions/common/constants.h
-+++ b/src/3rdparty/chromium/extensions/common/constants.h
-@@ -13,6 +13,8 @@
- #include "build/chromeos_buildflags.h"
- #include "extensions/common/extensions_export.h"
-
-+#include <cstdint>
-+
- namespace extensions {
-
- // Scheme we serve extension content from.
-diff --git a/src/3rdparty/chromium/gpu/config/gpu_util.h b/src/3rdparty/chromium/gpu/config/gpu_util.h
-index 64d531be0..cc370a4bf 100644
---- a/src/3rdparty/chromium/gpu/config/gpu_util.h
-+++ b/src/3rdparty/chromium/gpu/config/gpu_util.h
-@@ -5,6 +5,8 @@
- #ifndef GPU_CONFIG_GPU_UTIL_H_
- #define GPU_CONFIG_GPU_UTIL_H_
-
-+#include <cstdint>
-+
- #include "build/build_config.h"
- #include "gpu/config/gpu_feature_info.h"
- #include "gpu/gpu_export.h"
-diff --git a/src/3rdparty/chromium/net/base/parse_number.h b/src/3rdparty/chromium/net/base/parse_number.h
-index f70619a75..5c4eee7f6 100644
---- a/src/3rdparty/chromium/net/base/parse_number.h
-+++ b/src/3rdparty/chromium/net/base/parse_number.h
-@@ -10,6 +10,8 @@
-
- #include "net/base/net_export.h"
-
-+#include <cstdint>
-+
- // This file contains utility functions for parsing numbers, in the context of
- // network protocols.
- //
-diff --git a/src/3rdparty/chromium/ppapi/utility/completion_callback_factory_thread_traits.h b/src/3rdparty/chromium/ppapi/utility/completion_callback_factory_thread_traits.h
-index 7c0dcdecb..97054d476 100644
---- a/src/3rdparty/chromium/ppapi/utility/completion_callback_factory_thread_traits.h
-+++ b/src/3rdparty/chromium/ppapi/utility/completion_callback_factory_thread_traits.h
-@@ -38,6 +38,10 @@ namespace pp {
- /// As a further optimization, we can add support for this later.
- class ThreadSafeThreadTraits {
- public:
-+
-+ typedef pp::Lock Lock;
-+ typedef pp::AutoLock AutoLock;
-+
- class RefCount {
- public:
- /// Default constructor. In debug mode, this checks that the object is being
-@@ -67,8 +71,6 @@ class ThreadSafeThreadTraits {
- int32_t ref_;
- };
-
-- typedef pp::Lock Lock;
-- typedef pp::AutoLock AutoLock;
- };
-
- /// The non-thread-safe version of thread traits. Using this class as the
-diff --git a/src/3rdparty/chromium/third_party/dawn/src/dawn/native/CacheKey.h b/src/3rdparty/chromium/third_party/dawn/src/dawn/native/CacheKey.h
-index a65ea9a2a..ba967c018 100644
---- a/src/3rdparty/chromium/third_party/dawn/src/dawn/native/CacheKey.h
-+++ b/src/3rdparty/chromium/third_party/dawn/src/dawn/native/CacheKey.h
-@@ -28,6 +28,7 @@
- #ifndef SRC_DAWN_NATIVE_CACHEKEY_H_
- #define SRC_DAWN_NATIVE_CACHEKEY_H_
-
-+#include <cstdint>
- #include <utility>
-
- #include "dawn/native/stream/ByteVectorSink.h"
-diff --git a/src/3rdparty/chromium/third_party/libgav1/src/src/utils/threadpool.cc b/src/3rdparty/chromium/third_party/libgav1/src/src/utils/threadpool.cc
-index 6fa2e8864..6b942abdf 100644
---- a/src/3rdparty/chromium/third_party/libgav1/src/src/utils/threadpool.cc
-+++ b/src/3rdparty/chromium/third_party/libgav1/src/src/utils/threadpool.cc
-@@ -31,6 +31,7 @@
- #include <cstdint>
- #include <cstdio>
- #include <cstring>
-+#include <cstdio>
- #include <new>
- #include <utility>
-
-diff --git a/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/proto/proto_importer_module.h b/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/proto/proto_importer_module.h
-index c8375dc69..8f290c302 100644
---- a/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/proto/proto_importer_module.h
-+++ b/src/3rdparty/chromium/third_party/perfetto/src/trace_processor/importers/proto/proto_importer_module.h
-@@ -27,6 +27,8 @@
- #include "src/trace_processor/importers/common/trace_parser.h"
- #include "src/trace_processor/importers/proto/packet_sequence_state_generation.h"
-
-+#include <cstdint>
-+
- namespace perfetto {
-
- namespace protos::pbzero {
-diff --git a/src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp b/src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp
-index ae6a412fd..5fe0370ec 100644
---- a/src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp
-+++ b/src/3rdparty/chromium/third_party/skia/src/utils/SkParseColor.cpp
-@@ -15,6 +15,10 @@
- #include <cstring>
- #include <iterator>
-
-+#include <string.h>
-+#include <algorithm>
-+#include <iterator>
-+
- static constexpr const char* gColorNames[] = {
- "aliceblue",
- "antiquewhite",
-diff --git a/src/3rdparty/chromium/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h b/src/3rdparty/chromium/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
-index 0bbfeedb1..91f19f83e 100644
---- a/src/3rdparty/chromium/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
-+++ b/src/3rdparty/chromium/third_party/vulkan_memory_allocator/include/vk_mem_alloc.h
-@@ -122,6 +122,8 @@ See documentation chapter: \ref statistics.
- */
-
-
-+#include <cstdio>
-+
- #ifdef __cplusplus
- extern "C" {
- #endif
-diff --git a/src/3rdparty/chromium/third_party/webrtc/modules/portal/xdg_session_details.h b/src/3rdparty/chromium/third_party/webrtc/modules/portal/xdg_session_details.h
-index ab52508c2..050229a2f 100644
---- a/src/3rdparty/chromium/third_party/webrtc/modules/portal/xdg_session_details.h
-+++ b/src/3rdparty/chromium/third_party/webrtc/modules/portal/xdg_session_details.h
-@@ -13,6 +13,7 @@
-
- #include <gio/gio.h>
-
-+#include <cstdint>
- #include <string>
-
- namespace webrtc {
-diff --git a/src/3rdparty/chromium/ui/events/gesture_event_details.h b/src/3rdparty/chromium/ui/events/gesture_event_details.h
-index b4f797bca..95b144fd1 100644
---- a/src/3rdparty/chromium/ui/events/gesture_event_details.h
-+++ b/src/3rdparty/chromium/ui/events/gesture_event_details.h
-@@ -5,6 +5,7 @@
- #ifndef UI_EVENTS_GESTURE_EVENT_DETAILS_H_
- #define UI_EVENTS_GESTURE_EVENT_DETAILS_H_
-
-+#include <cstdint>
- #include <string.h>
-
- #include "base/check_op.h"
-diff --git a/src/3rdparty/chromium/ui/gfx/geometry/linear_gradient.h b/src/3rdparty/chromium/ui/gfx/geometry/linear_gradient.h
-index 7239ed516..975b88c51 100644
---- a/src/3rdparty/chromium/ui/gfx/geometry/linear_gradient.h
-+++ b/src/3rdparty/chromium/ui/gfx/geometry/linear_gradient.h
-@@ -7,6 +7,7 @@
-
- #include <stdint.h>
-
-+#include <cstdint>
- #include <array>
- #include <cstddef>
- #include <cstdint>
-diff --git a/src/3rdparty/chromium/v8/src/base/macros.h b/src/3rdparty/chromium/v8/src/base/macros.h
-index 488729dd5..d497f123d 100644
---- a/src/3rdparty/chromium/v8/src/base/macros.h
-+++ b/src/3rdparty/chromium/v8/src/base/macros.h
-@@ -5,6 +5,7 @@
- #ifndef V8_BASE_MACROS_H_
- #define V8_BASE_MACROS_H_
-
-+#include <cstdint>
- #include <limits>
- #include <type_traits>
-
-diff --git a/src/core/browsing_data_remover_delegate_qt.h b/src/core/browsing_data_remover_delegate_qt.h
-index d33af4acb..ce864b6bd 100644
---- a/src/core/browsing_data_remover_delegate_qt.h
-+++ b/src/core/browsing_data_remover_delegate_qt.h
-@@ -8,6 +8,8 @@
-
- #include "content/public/browser/browsing_data_remover_delegate.h"
-
-+#include <cstdint>
-+
- namespace QtWebEngineCore {
-
- class BrowsingDataRemoverDelegateQt : public content::BrowsingDataRemoverDelegate {
diff --git a/qtwebengine-revert-create-eglimage.patch b/qtwebengine-revert-create-eglimage.patch
index 2d4d6f9..cea6fa9 100644
--- a/qtwebengine-revert-create-eglimage.patch
+++ b/qtwebengine-revert-create-eglimage.patch
@@ -1,7 +1,48 @@
-diff -rupN qtwebengine-everywhere-src-6.9.2/src/core/ozone/egl_helper.cpp qtwebengine-everywhere-src-6.9.2-new/src/core/ozone/egl_helper.cpp
---- qtwebengine-everywhere-src-6.9.2/src/core/ozone/egl_helper.cpp 2025-08-18 02:53:11.000000000 +0200
-+++ qtwebengine-everywhere-src-6.9.2-new/src/core/ozone/egl_helper.cpp 2025-09-08 22:20:02.398760647 +0200
-@@ -58,14 +58,90 @@ static const char *getEGLErrorString(uin
+From 3cc88e0f85113e38ccb1bfdadb7d150c2389b1bc Mon Sep 17 00:00:00 2001
+From: Moss Heim <moss.heim@qt.io>
+Date: Thu, 11 Sep 2025 13:47:04 +0200
+Subject: [PATCH] Return to supporting eglCreateImage in EGLHelper::queryDmaBuf
+
+eglCreateDRMImageMESA was removed in mesa 25.2.
+Keep using it where we can since this fixes support for
+panthor/panfrost, otherwise fall back to the old use of EGL API.
+
+Includes a revert of the following commits:
+Revert "Create EGLImage with eglCreateDRMImageMESA() for exporting dma_buf"
+This reverts commit 2ed5f9632292c6e531f353dae800cb12274af91a.
+Revert "Remove leftover QOffscreenSurface from EGLHelper"
+This reverts commit bcee2dbf412cc655c1b467091b581c696d234e3f.
+
+Pick-to: 6.9 6.10 6.10.0
+Task-number: QTBUG-136257
+Task-number: QTBUG-139424
+Change-Id: Ie115bd6373ce0a80651781aa568405477010ee25
+Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
+---
+ src/core/ozone/egl_helper.cpp | 142 +++++++++++++++++++++++++++++++---
+ src/core/ozone/egl_helper.h | 4 +
+ 2 files changed, 134 insertions(+), 12 deletions(-)
+
+diff --git a/src/core/ozone/egl_helper.cpp b/src/core/ozone/egl_helper.cpp
+index 76e1c2a4663..68e45ffd446 100644
+--- a/src/core/ozone/egl_helper.cpp
++++ b/src/core/ozone/egl_helper.cpp
+@@ -3,10 +3,14 @@
+ // Qt-Security score:significant reason:default
+
+ #include "egl_helper.h"
++
++#include "compositor/compositor.h"
+ #include "ozone_util_qt.h"
+ #include "web_engine_context.h"
+
++#include <QtCore/qthread.h>
+ #include <QtGui/qguiapplication.h>
++#include <QtGui/qoffscreensurface.h>
+ #include <QtGui/qopenglcontext.h>
+ #include <QtGui/qopenglfunctions.h>
+ #include <qpa/qplatformnativeinterface.h>
+@@ -57,6 +61,84 @@ static const char *getEGLErrorString(uint32_t error)
QT_BEGIN_NAMESPACE
@@ -86,23 +127,32 @@ diff -rupN qtwebengine-everywhere-src-6.9.2/src/core/ozone/egl_helper.cpp qtwebe
EGLHelper::EGLFunctions::EGLFunctions()
{
QOpenGLContext *context = OzoneUtilQt::getQOpenGLContext();
-
- eglCreateImage =
- reinterpret_cast<PFNEGLCREATEIMAGEPROC>(context->getProcAddress("eglCreateImage"));
-- eglCreateDRMImageMESA = reinterpret_cast<PFNEGLCREATEDRMIMAGEMESAPROC>(
-- context->getProcAddress("eglCreateDRMImageMESA"));
- eglDestroyImage =
- reinterpret_cast<PFNEGLDESTROYIMAGEPROC>(context->getProcAddress("eglDestroyImage"));
- eglExportDMABUFImageMESA = reinterpret_cast<PFNEGLEXPORTDMABUFIMAGEMESAPROC>(
-@@ -122,7 +198,6 @@ EGLHelper::EGLHelper()
+@@ -117,8 +199,23 @@ EGLHelper::EGLHelper()
const char *displayExtensions = m_functions->eglQueryString(m_eglDisplay, EGL_EXTENSIONS);
m_isDmaBufSupported = strstr(displayExtensions, "EGL_EXT_image_dma_buf_import")
&& strstr(displayExtensions, "EGL_EXT_image_dma_buf_import_modifiers")
- && strstr(displayExtensions, "EGL_MESA_drm_image")
&& strstr(displayExtensions, "EGL_MESA_image_dma_buf_export");
++ m_isCreateDRMImageMesaSupported = strstr(displayExtensions, "EGL_MESA_drm_image");
++ if (!m_isDmaBufSupported) {
++ qCDebug(QtWebEngineCore::lcWebEngineCompositor,
++ "EGL: MESA extensions not found, will not use dma-buf");
++ } else if (!m_isCreateDRMImageMesaSupported) {
++ qCDebug(QtWebEngineCore::lcWebEngineCompositor,
++ "EGL: MESA extensions found but missing EGL_MESA_drm_image, will use dma-buf, "
++ "some older graphics cards may not be supported");
++ m_offscreenSurface.reset(new QOffscreenSurface());
++ Q_ASSERT(QThread::currentThread() == qApp->thread());
++ m_offscreenSurface->create();
++ } else {
++ qCDebug(QtWebEngineCore::lcWebEngineCompositor,
++ "EGL: MESA extensions and EGL_MESA_drm_image found, will use dma-buf with GEM "
++ "buffer allocation");
++ }
}
-@@ -143,17 +218,19 @@ void EGLHelper::queryDmaBuf(const int wi
+ // Try to create dma-buf.
+@@ -138,17 +235,38 @@ void EGLHelper::queryDmaBuf(const int width, const int height, int *fd, int *str
if (!m_isDmaBufSupported)
return;
@@ -115,39 +165,63 @@ diff -rupN qtwebengine-everywhere-src-6.9.2/src/core/ozone/egl_helper.cpp qtwebe
- EGL_NONE
- };
- // clang-format on
-+ ScopedGLContext context(m_offscreenSurface.get(), m_functions.get());
-+ if (!context.isValid())
-+ return;
-+
-+ EGLContext eglContext = context.eglContext();
-+ if (!eglContext) {
-+ qWarning("EGL: No EGLContext.");
-+ return;
-+ }
-
+-
- EGLImage eglImage = m_functions->eglCreateDRMImageMESA(m_eglDisplay, attribs);
-+ uint64_t textureId = context.createTexture(width, height);
-+ EGLImage eglImage = m_functions->eglCreateImage(m_eglDisplay, eglContext, EGL_GL_TEXTURE_2D,
++ EGLImage eglImage = EGL_NO_IMAGE;
++ // Probably doesn't need to live to the end of the function, but just in case.
++ std::unique_ptr<ScopedGLContext> glContext;
++ if (m_isCreateDRMImageMesaSupported) {
++ // This approach is slightly worse for security and no longer supported in mesa 25.2,
++ // but it allows us to keep support for the Panthor driver prior to that mesa version.
++ // clang-format off
++ EGLint attribs[] = {
++ EGL_WIDTH, width,
++ EGL_HEIGHT, height,
++ EGL_DRM_BUFFER_FORMAT_MESA, EGL_DRM_BUFFER_FORMAT_ARGB32_MESA,
++ EGL_DRM_BUFFER_USE_MESA, EGL_DRM_BUFFER_USE_SHARE_MESA,
++ EGL_NONE
++ };
++ // clang-format on
++ eglImage = m_functions->eglCreateDRMImageMESA(m_eglDisplay, attribs);
++ } else {
++ glContext = std::make_unique<ScopedGLContext>(m_offscreenSurface.get(), m_functions.get());
++ if (!glContext->isValid())
++ return;
++
++ EGLContext eglContext = glContext->eglContext();
++ if (!eglContext) {
++ qWarning("EGL: No EGLContext.");
++ return;
++ }
++
++ uint64_t textureId = glContext->createTexture(width, height);
++ eglImage = m_functions->eglCreateImage(m_eglDisplay, eglContext, EGL_GL_TEXTURE_2D,
+ (EGLClientBuffer)textureId, NULL);
++ }
++
if (eglImage == EGL_NO_IMAGE) {
qWarning("EGL: Failed to create EGLImage: %s", getLastEGLErrorString());
return;
-diff -rupN qtwebengine-everywhere-src-6.9.2/src/core/ozone/egl_helper.h qtwebengine-everywhere-src-6.9.2-new/src/core/ozone/egl_helper.h
---- qtwebengine-everywhere-src-6.9.2/src/core/ozone/egl_helper.h 2025-08-18 02:53:11.000000000 +0200
-+++ qtwebengine-everywhere-src-6.9.2-new/src/core/ozone/egl_helper.h 2025-09-08 22:20:02.399018856 +0200
-@@ -11,7 +11,6 @@
- #include <EGL/eglext.h>
+diff --git a/src/core/ozone/egl_helper.h b/src/core/ozone/egl_helper.h
+index 6233ef87e4d..6e059baecb4 100644
+--- a/src/core/ozone/egl_helper.h
++++ b/src/core/ozone/egl_helper.h
+@@ -25,6 +25,8 @@
+
+ QT_BEGIN_NAMESPACE
+
++class QOffscreenSurface;
++
+ class EGLHelper
+ {
+ public:
+@@ -59,7 +61,9 @@ class EGLHelper
- #undef eglCreateImage
--#undef eglCreateDRMImageMESA
- #undef eglDestroyImage
- #undef eglExportDMABUFImageMESA
- #undef eglExportDMABUFImageQueryMESA
-@@ -34,7 +33,6 @@ public:
- EGLFunctions();
+ EGLDisplay m_eglDisplay = EGL_NO_DISPLAY;
+ QScopedPointer<EGLFunctions> m_functions;
++ QScopedPointer<QOffscreenSurface> m_offscreenSurface;
+ bool m_isDmaBufSupported = false;
++ bool m_isCreateDRMImageMesaSupported = false;
+ };
- PFNEGLCREATEIMAGEPROC eglCreateImage;
-- PFNEGLCREATEDRMIMAGEMESAPROC eglCreateDRMImageMESA;
- PFNEGLDESTROYIMAGEPROC eglDestroyImage;
- PFNEGLEXPORTDMABUFIMAGEMESAPROC eglExportDMABUFImageMESA;
- PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC eglExportDMABUFImageQueryMESA;
+ QT_END_NAMESPACE
diff --git a/sources b/sources
index 35d49ed..9c4c531 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (qtwebengine-everywhere-src-6.10.0-rc-clean.tar.xz) = e22e59137525124deb112534cbf6447cfd9a07977593187489e21f452576f2614ee19c4137eef26a0f3a4d4382124417e089d22e9da40650e22456e3f00c34f3
+SHA512 (qtwebengine-everywhere-src-6.10.0-clean.tar.xz) = e0ab4073f85adeb4da521c718f09f5d8308d45bc2d714203182dc754b7ef9192c04548e222e6ba3118179bfe9c3403ccd3ce3116e84ec67c2e8e1a51bd0b0d30
SHA512 (pulseaudio-12.2-headers.tar.gz) = a5a9bcbb16030b3bc83cc0cc8f5e7f90e0723d3e83258a5c77eacb32eaa267118a73fa7814fbcc99a24e4907916a2b371ebb6dedc4f45541c3acf6c834fd35be
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-08 20:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 20:25 [rpms/qt6-qtwebengine] epel9: Fix build Jan Grulich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox