Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package dolphin-emu for openSUSE:Factory 
checked in at 2025-10-17 17:27:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dolphin-emu (Old)
 and      /work/SRC/openSUSE:Factory/.dolphin-emu.new.18484 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dolphin-emu"

Fri Oct 17 17:27:07 2025 rev:22 rq:1311932 version:2509

Changes:
--------
--- /work/SRC/openSUSE:Factory/dolphin-emu/dolphin-emu.changes  2025-09-18 
21:09:34.956685678 +0200
+++ /work/SRC/openSUSE:Factory/.dolphin-emu.new.18484/dolphin-emu.changes       
2025-10-17 17:29:32.679500424 +0200
@@ -1,0 +2,5 @@
+Mon Oct 13 19:01:56 UTC 2025 - Christophe Marin <[email protected]>
+
+- Added patch dolphin-qt610.patch to fix Qt 6.10 build.
+
+-------------------------------------------------------------------

New:
----
  dolphin-qt610.patch

----------(New B)----------
  New:
- Added patch dolphin-qt610.patch to fix Qt 6.10 build.
----------(New E)----------

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

Other differences:
------------------
++++++ dolphin-emu.spec ++++++
--- /var/tmp/diff_new_pack.pXnMNS/_old  2025-10-17 17:29:33.279525693 +0200
+++ /var/tmp/diff_new_pack.pXnMNS/_new  2025-10-17 17:29:33.279525693 +0200
@@ -24,6 +24,8 @@
 URL:            https://dolphin-emu.org
 # n=dolphin-emu && v=2509 && d=$n-$v && f=$d.tar.xz && cd /tmp && git clone 
-b$v https://github.com/$n/dolphin.git $n && pushd $n && git submodule && git 
submodule update --init --recursive Externals/SFML/SFML 
Externals/VulkanMemoryAllocator Externals/cubeb/cubeb Externals/enet/enet 
Externals/gtest Externals/implot/implot Externals/libspng/libspng 
Externals/minizip-ng/minizip-ng Externals/rcheevos/rcheevos 
Externals/tinygltf/tinygltf Externals/zlib-ng/zlib-ng Externals/watcher/watcher 
&& git submodule status && rm -rf .??* && popd && mv $n $d && tar c 
--remove-files "$d" | xz -9e > "$f"
 Source0:        %{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM -- Qt 6.10 build fix
+Patch0:         dolphin-qt610.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  glslang-devel

++++++ dolphin-qt610.patch ++++++
>From b3bdad416ca0a6a604dca12bed7bd00542092d25 Mon Sep 17 00:00:00 2001
From: Jordan Woyak <[email protected]>
Date: Sun, 12 Oct 2025 22:55:52 -0500
Subject: [PATCH] CMakeLists: Fix build with Qt6.10. GuiPrivate component is
 needed to #include qplatformnativeinterface.h in MainWindow.cpp.

---
 Source/Core/DolphinQt/CMakeLists.txt | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/Source/Core/DolphinQt/CMakeLists.txt 
b/Source/Core/DolphinQt/CMakeLists.txt
index 47df65334bd4..656537f71971 100644
--- a/Source/Core/DolphinQt/CMakeLists.txt
+++ b/Source/Core/DolphinQt/CMakeLists.txt
@@ -15,6 +15,13 @@ set(CMAKE_AUTOMOC ON)
 set(CMAKE_AUTORCC ON)
 
 find_package(Qt6 REQUIRED COMPONENTS Core Gui Widgets Svg)
+
+if (LINUX AND Qt6_VERSION VERSION_GREATER_EQUAL 6.10.0)
+  # GuiPrivate is needed to #include qplatformnativeinterface.h in 
MainWindow.cpp with Qt 6.10+.
+  set(NEED_QT_GUI_PRIVATE_COMPONENT ON)
+  find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
+endif()
+
 message(STATUS "Found Qt version ${Qt6_VERSION}")
 
 set_property(TARGET Qt6::Core PROPERTY INTERFACE_COMPILE_FEATURES "")
@@ -440,6 +447,13 @@ PRIVATE
   implot
 )
 
+if (NEED_QT_GUI_PRIVATE_COMPONENT)
+  target_link_libraries(dolphin-emu
+  PRIVATE
+    Qt6::GuiPrivate
+  )
+endif()
+
 if (WIN32)
   target_link_libraries(dolphin-emu
   PRIVATE

Reply via email to