From 9dd2242fa2032c44147d99d9c0c85cca202b3d7b Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 14 Oct 2024 19:34:43 +0200 Subject: [PATCH 01/23] Rebuild (qt6) From 78fd860ac297bb15ea621178d2da580217628feb Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Wed, 4 Dec 2024 09:30:58 +0100 Subject: [PATCH 02/23] Rebuild (qt6) From 0ce2fe41302b2aab3c522cbd7f42369d25ca7679 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 16:43:13 +0000 Subject: [PATCH 03/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From fa3efb01a9b78191d8d6e52fc05da96855d8262c Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 3 Feb 2025 08:07:07 +0100 Subject: [PATCH 04/23] Rebuild (qt6) From 3c5041c7b4ba265ae7b5d78cb9fcda52271dcdc9 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Tue, 25 Mar 2025 15:29:14 +0100 Subject: [PATCH 05/23] Rebuild (qt6) From 3003f6eca64cc3b1a9e7ed3c57f84907c39e63d4 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Fri, 28 Mar 2025 15:11:31 -0400 Subject: [PATCH 06/23] Use %qt6_qtwebengine_arches ppc64le is in the process of being enabled in QtWebEngine; using the macro will allow enablement in sync with that. --- zeal.spec | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/zeal.spec b/zeal.spec index a6150d1..515f2d7 100644 --- a/zeal.spec +++ b/zeal.spec @@ -11,12 +11,7 @@ URL: https://zealdocs.org/ Source: https://github.com/zealdocs/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: 0001-apply-websettings.patch -# We should use %%qt6_qtwebengine_arches provided by qt6-srpm-macros -# but one of our dependency qt6-qtwebengine is available only -# for aarch64 and x86_64. -# BZ for the macro: https://bugzilla.redhat.com/show_bug.cgi?id=2215703 -# Ticket about the arch supoort: https://bugreports.qt.io/browse/QTBUG-102143 -ExclusiveArch: aarch64 x86_64 +ExclusiveArch: %{qt6_qtwebengine_arches} BuildRequires: cmake(Qt6Core) >= 6.2.0 BuildRequires: cmake(Qt6Gui) From a4a23d08a086ccd8caa778ee0b90125c94a38bcd Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Fri, 4 Apr 2025 11:01:00 +0200 Subject: [PATCH 07/23] Rebuild (qt6) From 13641b0665732ca85ae1a229d77173fafd875b66 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Fri, 6 Jun 2025 09:17:25 +0200 Subject: [PATCH 08/23] Rebuild (qt6) From 6f694305e0225f8b74a1fc231016b403d2619723 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 21:16:56 +0000 Subject: [PATCH 09/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 6d232934b33bf1481fedaaaa61e201dd0e8a9a79 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Mon, 1 Sep 2025 10:32:07 +0200 Subject: [PATCH 10/23] Rebuild (qt6) From 5bbf8c76e6ab76d97dd94012e2d161faac960b5d Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Tue, 30 Sep 2025 06:47:05 +0200 Subject: [PATCH 11/23] Rebuild (qt6) From 299fd643af725206c7a84ae9d95bde27a28ebed6 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Tue, 30 Sep 2025 16:44:52 +0200 Subject: [PATCH 12/23] Fix build against Qt 6.10 --- zeal-fix-build-against-qt-6-10.patch | 39 ++++++++++++++++++++++++++++ zeal.spec | 1 + 2 files changed, 40 insertions(+) create mode 100644 zeal-fix-build-against-qt-6-10.patch diff --git a/zeal-fix-build-against-qt-6-10.patch b/zeal-fix-build-against-qt-6-10.patch new file mode 100644 index 0000000..3d815dd --- /dev/null +++ b/zeal-fix-build-against-qt-6-10.patch @@ -0,0 +1,39 @@ +diff --git a/src/libs/ui/docsetsdialog.cpp b/src/libs/ui/docsetsdialog.cpp +index 8c9fe63..bc35375 100644 +--- a/src/libs/ui/docsetsdialog.cpp ++++ b/src/libs/ui/docsetsdialog.cpp +@@ -360,8 +360,8 @@ void DocsetsDialog::downloadCompleted() + QTemporaryFile *tmpFile = m_tmpFiles[docsetName]; + if (!tmpFile) { + tmpFile = new QTemporaryFile(QStringLiteral("%1/%2.XXXXXX.tmp").arg(Core::Application::cacheLocation(), docsetName), this); +- tmpFile->open(); +- m_tmpFiles.insert(docsetName, tmpFile); ++ if (tmpFile->open()) ++ m_tmpFiles.insert(docsetName, tmpFile); + } + + while (reply->bytesAvailable()) { +@@ -403,8 +403,8 @@ void DocsetsDialog::downloadProgress(qint64 received, qint64 total) + QTemporaryFile *tmpFile = m_tmpFiles[docsetName]; + if (!tmpFile) { + tmpFile = new QTemporaryFile(QStringLiteral("%1/%2.XXXXXX.tmp").arg(Core::Application::cacheLocation(), docsetName), this); +- tmpFile->open(); +- m_tmpFiles.insert(docsetName, tmpFile); ++ if (tmpFile->open()) ++ m_tmpFiles.insert(docsetName, tmpFile); + } + + tmpFile->write(reply->read(received)); +diff --git a/src/libs/ui/qxtglobalshortcut/CMakeLists.txt b/src/libs/ui/qxtglobalshortcut/CMakeLists.txt +index 476c2f5..e88ce73 100644 +--- a/src/libs/ui/qxtglobalshortcut/CMakeLists.txt ++++ b/src/libs/ui/qxtglobalshortcut/CMakeLists.txt +@@ -29,7 +29,7 @@ endif() + + add_library(QxtGlobalShortcut STATIC ${QxtGlobalShortcut_SOURCES}) + +-find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Gui REQUIRED) ++find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Gui GuiPrivate REQUIRED) + target_link_libraries(QxtGlobalShortcut Qt${QT_VERSION_MAJOR}::Gui) + + if(APPLE) diff --git a/zeal.spec b/zeal.spec index 515f2d7..0b3f2e9 100644 --- a/zeal.spec +++ b/zeal.spec @@ -10,6 +10,7 @@ License: GPL-3.0-or-later URL: https://zealdocs.org/ Source: https://github.com/zealdocs/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: 0001-apply-websettings.patch +Patch1: zeal-fix-build-against-qt-6-10.patch ExclusiveArch: %{qt6_qtwebengine_arches} From 9cc324763dd9d586f83cae04d5f22aeaa9d87fa5 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Wed, 8 Oct 2025 08:41:51 +0200 Subject: [PATCH 13/23] Rebuild (qt6) From 785b856062c966cbb567af1081c33bb00b92d8b7 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Fri, 21 Nov 2025 11:31:29 +0100 Subject: [PATCH 14/23] Rebuild (qt6) From 5cb58800bcd1957ee91105c72ab55cd392077dec Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 21:06:54 +0000 Subject: [PATCH 15/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From f531e72be9938a4f0a7ae411455d130ff924337e Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Wed, 11 Feb 2026 09:22:02 +0100 Subject: [PATCH 16/23] Rebuild (qt6) From 7d59cf4797e4970391a3610b68c2ae95e6afe952 Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Wed, 11 Mar 2026 17:21:18 +0000 Subject: [PATCH 17/23] Update to 0.8.0 upstream release - Resolves: rhbz#2443508 - Re-enable debuginfo generation - Enable Packit - Verified the SPDX license conversion Commit authored by Packit automation (https://packit.dev/) Signed-off-by: Michel Lind --- .gitignore | 1 + 0001-apply-websettings.patch | 6 ++--- README.packit | 3 +++ packit.yaml | 16 ++++++++++++ sources | 2 +- zeal-fix-build-against-qt-6-10.patch | 39 ---------------------------- zeal.spec | 6 +---- 7 files changed, 24 insertions(+), 49 deletions(-) create mode 100644 README.packit create mode 100644 packit.yaml delete mode 100644 zeal-fix-build-against-qt-6-10.patch diff --git a/.gitignore b/.gitignore index 858f23a..02fd935 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /zeal-0.7.0.tar.gz /zeal-0.7.1.tar.gz /zeal-0.7.2.tar.gz +/zeal-0.8.0.tar.gz diff --git a/0001-apply-websettings.patch b/0001-apply-websettings.patch index 48e585c..58228f8 100644 --- a/0001-apply-websettings.patch +++ b/0001-apply-websettings.patch @@ -1,9 +1,7 @@ -diff --git a/src/libs/ui/mainwindow.cpp b/src/libs/ui/mainwindow.cpp -index d217c54..56ce048 100644 --- a/src/libs/ui/mainwindow.cpp +++ b/src/libs/ui/mainwindow.cpp -@@ -194,7 +194,7 @@ MainWindow::MainWindow(Core::Application *app, QWidget *parent) - ui->splitter->restoreState(m_settings->verticalSplitterGeometry); +@@ -115,7 +115,7 @@ MainWindow::MainWindow(Core::Application + m_splitter->restoreState(m_settings->verticalSplitterGeometry); // Setup web settings. - auto webSettings = new Browser::Settings(m_settings, this); diff --git a/README.packit b/README.packit new file mode 100644 index 0000000..5625fec --- /dev/null +++ b/README.packit @@ -0,0 +1,3 @@ +This repository is maintained by packit. +https://packit.dev/ +The file was generated using packit 1.15.0. diff --git a/packit.yaml b/packit.yaml new file mode 100644 index 0000000..fdf84eb --- /dev/null +++ b/packit.yaml @@ -0,0 +1,16 @@ +# See the documentation for more information: +# https://packit.dev/docs/configuration/ + +copy_upstream_release_description: false + +jobs: +- job: pull_from_upstream + trigger: release + dist_git_branches: + - fedora-rawhide + +- job: koji_build + trigger: commit + allowed_committers: ['packit'] + dist_git_branches: + - fedora-rawhide diff --git a/sources b/sources index 355d0f2..3bd0fc0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zeal-0.7.2.tar.gz) = 46a0a15a5dd8f1ee18c6b02f2b9c6fbc7cc2f2ddc24d668932d6cbd4bab39228c1f49b58cb6838ba37e92e5fa8f8ab353f5f2ac7083007843940ad075be71919 +SHA512 (zeal-0.8.0.tar.gz) = d62712550dbb6d45528b176d4dbbbc0961eaebb0422a9938d75cc4de8575a7753059840dda358f7851fd2a3e5d4acad2faa15f0066becc1e4b81b77f47c423fe diff --git a/zeal-fix-build-against-qt-6-10.patch b/zeal-fix-build-against-qt-6-10.patch deleted file mode 100644 index 3d815dd..0000000 --- a/zeal-fix-build-against-qt-6-10.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff --git a/src/libs/ui/docsetsdialog.cpp b/src/libs/ui/docsetsdialog.cpp -index 8c9fe63..bc35375 100644 ---- a/src/libs/ui/docsetsdialog.cpp -+++ b/src/libs/ui/docsetsdialog.cpp -@@ -360,8 +360,8 @@ void DocsetsDialog::downloadCompleted() - QTemporaryFile *tmpFile = m_tmpFiles[docsetName]; - if (!tmpFile) { - tmpFile = new QTemporaryFile(QStringLiteral("%1/%2.XXXXXX.tmp").arg(Core::Application::cacheLocation(), docsetName), this); -- tmpFile->open(); -- m_tmpFiles.insert(docsetName, tmpFile); -+ if (tmpFile->open()) -+ m_tmpFiles.insert(docsetName, tmpFile); - } - - while (reply->bytesAvailable()) { -@@ -403,8 +403,8 @@ void DocsetsDialog::downloadProgress(qint64 received, qint64 total) - QTemporaryFile *tmpFile = m_tmpFiles[docsetName]; - if (!tmpFile) { - tmpFile = new QTemporaryFile(QStringLiteral("%1/%2.XXXXXX.tmp").arg(Core::Application::cacheLocation(), docsetName), this); -- tmpFile->open(); -- m_tmpFiles.insert(docsetName, tmpFile); -+ if (tmpFile->open()) -+ m_tmpFiles.insert(docsetName, tmpFile); - } - - tmpFile->write(reply->read(received)); -diff --git a/src/libs/ui/qxtglobalshortcut/CMakeLists.txt b/src/libs/ui/qxtglobalshortcut/CMakeLists.txt -index 476c2f5..e88ce73 100644 ---- a/src/libs/ui/qxtglobalshortcut/CMakeLists.txt -+++ b/src/libs/ui/qxtglobalshortcut/CMakeLists.txt -@@ -29,7 +29,7 @@ endif() - - add_library(QxtGlobalShortcut STATIC ${QxtGlobalShortcut_SOURCES}) - --find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Gui REQUIRED) -+find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Gui GuiPrivate REQUIRED) - target_link_libraries(QxtGlobalShortcut Qt${QT_VERSION_MAJOR}::Gui) - - if(APPLE) diff --git a/zeal.spec b/zeal.spec index 0b3f2e9..008b0ab 100644 --- a/zeal.spec +++ b/zeal.spec @@ -1,16 +1,12 @@ -%global debug_package %{nil} - Name: zeal -Version: 0.7.2 +Version: 0.8.0 Release: %autorelease Summary: Offline documentation browser inspired by Dash -# Automatically converted from old format: GPLv3+ - review is highly recommended. License: GPL-3.0-or-later URL: https://zealdocs.org/ Source: https://github.com/zealdocs/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Patch0: 0001-apply-websettings.patch -Patch1: zeal-fix-build-against-qt-6-10.patch ExclusiveArch: %{qt6_qtwebengine_arches} From 927a17e5c439336fc0ec6202a41c865d79de5d19 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Thu, 2 Apr 2026 21:25:51 +0200 Subject: [PATCH 18/23] Rebuild (qt6) From 33a7ffc6700814fb3b39f6f0a7ef1523e205b5a2 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Thu, 16 Apr 2026 12:34:47 +0200 Subject: [PATCH 19/23] Rebuild (qt6) From 789542316c79ae68b00d4ae58eb15d1b9027566a Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Fri, 17 Apr 2026 22:04:59 +0100 Subject: [PATCH 20/23] Update to 0.8.1 upstream release - Resolves: rhbz#2455152 - Remove upstreamed patch Signed-off-by: Michel Lind --- .gitignore | 1 + 0001-apply-websettings.patch | 11 ----------- README.packit | 2 +- sources | 2 +- zeal.spec | 3 +-- 5 files changed, 4 insertions(+), 15 deletions(-) delete mode 100644 0001-apply-websettings.patch diff --git a/.gitignore b/.gitignore index 02fd935..3266caa 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /zeal-0.7.1.tar.gz /zeal-0.7.2.tar.gz /zeal-0.8.0.tar.gz +/zeal-0.8.1.tar.gz diff --git a/0001-apply-websettings.patch b/0001-apply-websettings.patch deleted file mode 100644 index 58228f8..0000000 --- a/0001-apply-websettings.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/libs/ui/mainwindow.cpp -+++ b/src/libs/ui/mainwindow.cpp -@@ -115,7 +115,7 @@ MainWindow::MainWindow(Core::Application - m_splitter->restoreState(m_settings->verticalSplitterGeometry); - - // Setup web settings. -- auto webSettings = new Browser::Settings(m_settings, this); -+ new Browser::Settings(m_settings, this); - - // Setup web bridge. - m_webBridge = new Browser::WebBridge(this); diff --git a/README.packit b/README.packit index 5625fec..ef3579c 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 1.15.0. +The file was generated using packit 1.15.2.post1.dev4+g26d226709. diff --git a/sources b/sources index 3bd0fc0..de702f8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zeal-0.8.0.tar.gz) = d62712550dbb6d45528b176d4dbbbc0961eaebb0422a9938d75cc4de8575a7753059840dda358f7851fd2a3e5d4acad2faa15f0066becc1e4b81b77f47c423fe +SHA512 (zeal-0.8.1.tar.gz) = fcca8b5e84801bbbab43832d60347bb3d17f3e83d35893cedd3f3ca98588ea7b91fad8c9602edd96bebaa56ceedbc2146f48b3c394b69e5028a200162ee2787c diff --git a/zeal.spec b/zeal.spec index 008b0ab..6858f04 100644 --- a/zeal.spec +++ b/zeal.spec @@ -1,12 +1,11 @@ Name: zeal -Version: 0.8.0 +Version: 0.8.1 Release: %autorelease Summary: Offline documentation browser inspired by Dash License: GPL-3.0-or-later URL: https://zealdocs.org/ Source: https://github.com/zealdocs/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz -Patch0: 0001-apply-websettings.patch ExclusiveArch: %{qt6_qtwebengine_arches} From ef5ea0581624e9591790a199b02a68ebf6c8ac82 Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Wed, 13 May 2026 21:23:51 +0200 Subject: [PATCH 21/23] Rebuild (qt6) From 264eefc00a3fd7092d271f92bea0192a624286d2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 09:39:22 +0000 Subject: [PATCH 22/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From 99d87ce46854fa646d06f82a1ad80d456b8ee49c Mon Sep 17 00:00:00 2001 From: Jan Grulich Date: Tue, 25 Aug 2026 11:12:52 +0200 Subject: [PATCH 23/23] Rebuild (qt6)