public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qt6-qtquick3d] epel9: Add patch to fix build with assimp 6.x
@ 2026-10-08 20:02 Sandro Mani
  0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-10-08 20:02 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/qt6-qtquick3d
Branch : epel9
Commit : 8fc4d14e601d8fcb54e5551c19a54035b64c5026
Author : Sandro Mani <manisandro@gmail.com>
Date   : 2025-08-18T21:14:24+02:00
Stats  : +28/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/qt6-qtquick3d/c/8fc4d14e601d8fcb54e5551c19a54035b64c5026?branch=epel9

Log:
Add patch to fix build with assimp 6.x

---
diff --git a/qt6-qtquick3d.spec b/qt6-qtquick3d.spec
index 6e943b5..0edfcd3 100644
--- a/qt6-qtquick3d.spec
+++ b/qt6-qtquick3d.spec
@@ -16,7 +16,7 @@
 Summary: Qt6 - Quick3D Libraries and utilities
 Name:    qt6-%{qt_module}
 Version: 6.9.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
 Url:     http://www.qt.io
@@ -29,6 +29,8 @@ Source0: https://download.qt.io/development_releases/qt/%{majmin}/%{qt_version}/
 Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
 %endif
 Patch0:  qtquick3d-fix-build-with-gcc11.patch
+# From https://gitlab.archlinux.org/archlinux/packaging/packages/qt6-quick3d
+Patch1:  qtquick3d-fix-build-with-assimp6.patch
 
 BuildRequires: cmake
 BuildRequires: gcc-c++
@@ -297,6 +299,9 @@ popd
 %endif
 
 %changelog
+* Mon Aug 18 2025 Sandro Mani <manisandro@gmail.com> - 6.9.1-4
+- Add patch to fix build with assimp 6.x
+
 * Mon Aug 18 2025 Sandro Mani <manisandro@gmail.com> - 6.9.1-3
 - Rebuild (assimp)
 

diff --git a/qtquick3d-fix-build-with-assimp6.patch b/qtquick3d-fix-build-with-assimp6.patch
new file mode 100644
index 0000000..71cbc29
--- /dev/null
+++ b/qtquick3d-fix-build-with-assimp6.patch
@@ -0,0 +1,22 @@
+diff --git a/src/plugins/assetimporters/configure.cmake b/src/plugins/assetimporters/configure.cmake
+index 35fb2890e..745a44513 100644
+--- a/src/plugins/assetimporters/configure.cmake
++++ b/src/plugins/assetimporters/configure.cmake
+@@ -13,7 +13,7 @@ set_property(CACHE INPUT_quick3d_assimp PROPERTY STRINGS undefined no qt system)
+ 
+ #### Libraries
+ 
+-qt_find_package(WrapQuick3DAssimp 5.1.6 PROVIDED_TARGETS WrapQuick3DAssimp::WrapQuick3DAssimp MODULE_NAME assetimporters QMAKE_LIB quick3d_assimp)
++qt_find_package(WrapQuick3DAssimp 6 PROVIDED_TARGETS WrapQuick3DAssimp::WrapQuick3DAssimp MODULE_NAME assetimporters QMAKE_LIB quick3d_assimp)
+ 
+ # Work around QTBUG-115064
+ # Assimp depends on draco_X, but only one of the two targets gets promoted by qt_find_package
+@@ -35,7 +35,7 @@ qt_config_compile_test("quick3d_assimp"
+                    LABEL "Assimp"
+                    PROJECT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../../config.tests/quick3d_assimp"
+                    LIBRARIES WrapQuick3DAssimp::WrapQuick3DAssimp
+-                   PACKAGES PACKAGE WrapQuick3DAssimp 5.1.6)
++                   PACKAGES PACKAGE WrapQuick3DAssimp 6)
+ 
+ 
+ #### Tests

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-08 20:02 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:02 [rpms/qt6-qtquick3d] epel9: Add patch to fix build with assimp 6.x Sandro Mani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox