commit:     c7844b9824bdc8ccc4d9b7cb9f57f54ed69ed1ea
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  2 17:53:33 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Nov  2 17:55:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7844b98

app-text/katarakt: Drop unused QtXml dependency

See also:
https://github.com/gentoo/gentoo/pull/44415#pullrequestreview-3408782982

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../katarakt/files/katarakt-0.3-unused-dep.patch   | 29 ++++++++++++++++++++++
 app-text/katarakt/katarakt-0.3.ebuild              |  3 ++-
 2 files changed, 31 insertions(+), 1 deletion(-)

diff --git a/app-text/katarakt/files/katarakt-0.3-unused-dep.patch 
b/app-text/katarakt/files/katarakt-0.3-unused-dep.patch
new file mode 100644
index 000000000000..1b88a925cd74
--- /dev/null
+++ b/app-text/katarakt/files/katarakt-0.3-unused-dep.patch
@@ -0,0 +1,29 @@
+From 610841f58abed7217375c9836ffa05be9282e808 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <[email protected]>
+Date: Sun, 2 Nov 2025 18:50:42 +0100
+Subject: [PATCH] Drop unused QtXml dependency
+
+Use of QDomNode/QDomDocument was cleaned up in Qt6 porting commit
+e306cf222a31388910ab0b2ec601976d97fad468
+
+Signed-off-by: Andreas Sturmlechner <[email protected]>
+---
+ katarakt.pro | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/katarakt.pro b/katarakt.pro
+index babb6d9..d136e72 100644
+--- a/katarakt.pro
++++ b/katarakt.pro
+@@ -3,7 +3,7 @@ TARGET = katarakt
+ DEPENDPATH += .
+ INCLUDEPATH += .
+ CONFIG += qt
+-QT += widgets network xml dbus
++QT += widgets network dbus
+ DEFINES += QT_DEPRECATED_WARNINGS
+ 
+ POPPLER = poppler-qt$$QT_MAJOR_VERSION
+-- 
+2.51.2
+

diff --git a/app-text/katarakt/katarakt-0.3.ebuild 
b/app-text/katarakt/katarakt-0.3.ebuild
index ee6825c2e6d8..163936df2339 100644
--- a/app-text/katarakt/katarakt-0.3.ebuild
+++ b/app-text/katarakt/katarakt-0.3.ebuild
@@ -22,12 +22,13 @@ BDEPEND="
 "
 RDEPEND="
        app-text/poppler:=[qt6]
-       dev-qt/qtbase:6[dbus,gui,network,widgets,xml]
+       dev-qt/qtbase:6[dbus,gui,network,widgets]
 "
 DEPEND="${RDEPEND}"
 
 PATCHES=(
        "${FILESDIR}/${P}-install.patch"
+       "${FILESDIR}/${P}-unused-dep.patch"
 )
 
 src_configure() {

Reply via email to