diff --git a/zeal-cmake-find-qt-components.patch b/zeal-cmake-find-qt-components.patch new file mode 100644 index 0000000..7f39128 --- /dev/null +++ b/zeal-cmake-find-qt-components.patch @@ -0,0 +1,14 @@ +--- + src/app/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +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 Network WebChannel 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() diff --git a/zeal.changes b/zeal.changes index db3fd74..d4cc3d2 100644 --- a/zeal.changes +++ b/zeal.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Jul 27 11:45:35 UTC 2024 - Atri Bhattacharya + +- Add zeal-cmake-find-qt-components.patch -- Explicitly find + necessary Qt6 components to fix build with Qt 6.7.2 + (gh#zealdocs/zeal#1643). + ------------------------------------------------------------------- Sat Jun 08 09:14:14 UTC 2024 - andrea.manzini@suse.com diff --git a/zeal.spec b/zeal.spec index f53945c..baa3734 100644 --- a/zeal.spec +++ b/zeal.spec @@ -28,6 +28,8 @@ URL: https://zealdocs.org Source0: %{name}-%{version}.tar.xz # `help2man zeal > zeal.1` can't be run without X started. Source9: zeal.1 +# PATCH-FIX-UPSTREAM zeal-cmake-find-qt-components.patch gh#zealdocs/zeal#1643 badshah400@gmail.com -- Explicitly find necessary Qt6 components to fix build with Qt 6.7.2 +Patch0: zeal-cmake-find-qt-components.patch BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: fdupes @@ -47,8 +49,8 @@ BuildRequires: pkgconfig(xcb-keysyms) Requires: libQt6Sql6 >= 6.2.0 Requires(post): hicolor-icon-theme Requires(post): update-desktop-files -Requires(postun): hicolor-icon-theme -Requires(postun): update-desktop-files +Requires(postun):hicolor-icon-theme +Requires(postun):update-desktop-files %description Zeal is an offline API documentation browser inspired by Dash