commit:     c0db02b4619f623cb250e2e9c4696425a7d2f68e
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 20:19:59 2025 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 20:19:59 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0db02b4

app-text/zeal: drop 0.7.1 and unused patches

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 app-text/zeal/Manifest                             |  1 -
 .../zeal/files/add-missing-qt-components.patch     | 10 ----
 app-text/zeal/files/disable-werror.patch           | 12 -----
 app-text/zeal/files/qt6.patch                      | 11 -----
 app-text/zeal/zeal-0.7.1.ebuild                    | 57 ----------------------
 5 files changed, 91 deletions(-)

diff --git a/app-text/zeal/Manifest b/app-text/zeal/Manifest
index e5dc5034586b..a009b7855811 100644
--- a/app-text/zeal/Manifest
+++ b/app-text/zeal/Manifest
@@ -1,2 +1 @@
-DIST zeal-0.7.1.tar.gz 1195333 BLAKE2B 
56e6d56e152ed94559d15ba4a5dd7972466db75a4d760640b55b532ba3ed325a429e8e03f450efaa3e24f09af68ff5b43463d9b8f21b8a9bd11e23a3841780c4
 SHA512 
bf2b5e2878b349ec4e5e74377a2a74e263d5f20649f152f194375547c5e69b3e6115c9d0f103acad7f087b20456d888a3be9f7ce1aa232206bba7e0ed38d252b
 DIST zeal-0.7.2.tar.gz 1217853 BLAKE2B 
e82c3a977375317cfb4d5ad32f577f668f38cfc1d3a2685d44c96814817623001a8fff848a04acf07d3ab942bee9a0c6801dfadad3fceaf24d55beb5a78a9522
 SHA512 
41f79f4c441938a60f80796376de31643ad1b80d989c6452653647be533b6e4e23d96b556895c457d574e00d75a57e4b2ef2a77096fa1d120e0c2e5b511366fb

diff --git a/app-text/zeal/files/add-missing-qt-components.patch 
b/app-text/zeal/files/add-missing-qt-components.patch
deleted file mode 100644
index 423bfed0b081..000000000000
--- a/app-text/zeal/files/add-missing-qt-components.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-Backport of https://github.com/zealdocs/zeal/pull/1644
-Done manually because CMakeLists.txt has CRLF line endings in release tarball.
---- a/src/app/CMakeLists.txt
-+++ b/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()

diff --git a/app-text/zeal/files/disable-werror.patch 
b/app-text/zeal/files/disable-werror.patch
deleted file mode 100644
index e1811d3098de..000000000000
--- a/app-text/zeal/files/disable-werror.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -59,9 +59,5 @@
-     VERBATIM
- )
- 
--if(${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.24.0")
--    set(CMAKE_COMPILE_WARNING_AS_ERROR ON)
--endif()
--
- add_subdirectory(assets)
- add_subdirectory(src)

diff --git a/app-text/zeal/files/qt6.patch b/app-text/zeal/files/qt6.patch
deleted file mode 100644
index 1312d63abb6f..000000000000
--- a/app-text/zeal/files/qt6.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -22,7 +22,7 @@
- set(PROJECT_COPYRIGHT "© 2013-2024 Oleg Shparber and other contributors")
- 
- # Find available major Qt version. It will be stored in QT_VERSION_MAJOR.
--find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Core)
-+find_package(QT NAMES Qt6 REQUIRED COMPONENTS Core)
- if(QT_VERSION_MAJOR EQUAL 6)
-     set(QT_MINIMUM_VERSION 6.2.0)
- else()

diff --git a/app-text/zeal/zeal-0.7.1.ebuild b/app-text/zeal/zeal-0.7.1.ebuild
deleted file mode 100644
index 4705da258387..000000000000
--- a/app-text/zeal/zeal-0.7.1.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake edos2unix xdg-utils
-
-DESCRIPTION="Offline documentation browser inspired by Dash"
-HOMEPAGE="https://zealdocs.org/";
-SRC_URI="https://github.com/zealdocs/${PN}/releases/download/v${PV}/${P}.tar.gz";
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
-       app-arch/libarchive:=
-       dev-db/sqlite:3
-       dev-qt/qtbase:6[concurrent,gui,network,widgets]
-       dev-qt/qtwebchannel:6
-       dev-qt/qtwebengine:6[widgets]
-       x11-libs/libX11
-       x11-libs/libxcb:=
-       x11-libs/xcb-util-keysyms
-"
-RDEPEND="${DEPEND}
-       x11-themes/hicolor-icon-theme
-"
-BDEPEND="kde-frameworks/extra-cmake-modules"
-
-PATCHES=(
-       "${FILESDIR}/disable-werror.patch"
-       "${FILESDIR}/qt6.patch"
-       "${FILESDIR}/add-missing-qt-components.patch"
-)
-
-src_prepare() {
-       edos2unix "${S}/assets/freedesktop/org.zealdocs.zeal.desktop"
-       cmake_src_prepare
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DZEAL_RELEASE_BUILD=ON
-       )
-       cmake_src_configure
-}
-
-pkg_postinst() {
-       xdg_icon_cache_update
-       xdg_desktop_database_update
-}
-
-pkg_postrm() {
-       xdg_icon_cache_update
-       xdg_desktop_database_update
-}

Reply via email to