Bug#1081227: zeal: FTBFS against Qt 6.7.2

2024-10-08 Thread Ingo Saitz
tags 1081227 + patch
thanks

I can confirm that the patch in
https://github.com/zealdocs/zeal/pull/1644 fixes the build and the
resulting packages works as far as I can tell. Attached is the patch
from the pull request as patch file for debian/patches.

Ingo
-- 
const_cast(Λ)
Description: Fix build with QT 6.7
 Starting from Qt 6.7.2 it is necessary to list all necessary components
 for Qt6 rather than deferring them. This commit fixes a build failure
 when cmake configures a build against Qt >= 6.7.2.
Author: badshah400
Origin: https://github.com/zealdocs/zeal/pull/1644
Bug: https://github.com/zealdocs/zeal/issues/1643
Applied-Upstream: 0.7.2
Last-Update: 2024-10-06
---
Index: zeal-0.7.1/src/app/CMakeLists.txt
===
--- zeal-0.7.1.orig/src/app/CMakeLists.txt
+++ zeal-0.7.1/src/app/CMakeLists.txt
@@ -1,4 +1,4 @@
-find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets REQUIRED)
+find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Concurrent WebEngineWidgets Widgets REQUIRED)
 if (Qt${QT_VERSION_MAJOR}Widgets_VERSION VERSION_LESS QT_MINIMUM_VERSION)
 message(FATAL_ERROR "Qt version >= ${QT_MINIMUM_VERSION} is required.")
 endif()


Bug#1081227: zeal: FTBFS against Qt 6.7.2

2024-09-09 Thread Patrick Franz
Source: zeal
Version: 1:0.7.1-1
Severity: important
Tags: ftbfs
X-Debbugs-Cc: delta...@debian.org

Dear Maintainer,

we are currently preparing Qt 6.7.2 in experimental and your package fails
to build against it with the following error:

---
CMake Error at 
/usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicWalkLibsHelpers.cmake:259 (message):
  The Concurrent target is mentioned as a dependency for Registry, but not
  declared.
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicWalkLibsHelpers.cmake:228 
(__qt_internal_walk_libs)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicWalkLibsHelpers.cmake:311 
(__qt_internal_walk_libs)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreMacros.cmake:651 
(__qt_internal_collect_all_target_dependencies)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreMacros.cmake:774 
(_qt_internal_finalize_executable)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6Core/Qt6CoreMacros.cmake:590:EVAL:1 
(qt6_finalize_target)
  src/app/CMakeLists.txt:DEFERRED


-- Configuring incomplete, errors occurred!
---

It seems this is fixed upstream in v0.7.2 or with the following patch:
https://github.com/zealdocs/zeal/pull/1644

Thank you.


--
Mvh, Patrick Franz