Source: kconfigwidgets
Version: 5.77.0-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

kconfigwidgets is part of a set of interconnected packages with
dependency cycles, which happen to be relevant to architecture
bootstrap. Instead of looking into difficult dependency cycles, I'm
after the low hanging fruit, which is easily droppable dependencies:

 * I couldn't find any use of graphviz and propose dropping it.
 * xauth and xvfb are used in override_dh_auto_test, which is skipped by
   debhelper when the nocheck option is active since compat level 13.
   These can thus be annotated <!nocheck>.

I've attempted building kconfigwidgets with these dependencies replaced
with Build-Conflicts and the build result is bit-identical. Therefore,
please consider applying the attached patch.

Helmut
diff --minimal -Nru kconfigwidgets-5.77.0/debian/changelog 
kconfigwidgets-5.77.0/debian/changelog
--- kconfigwidgets-5.77.0/debian/changelog      2020-12-22 02:33:33.000000000 
+0100
+++ kconfigwidgets-5.77.0/debian/changelog      2021-01-06 20:13:07.000000000 
+0100
@@ -1,3 +1,10 @@
+kconfigwidgets (5.77.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Wed, 06 Jan 2021 20:13:07 +0100
+
 kconfigwidgets (5.77.0-2) unstable; urgency=medium
 
   * Release to unstable.
diff --minimal -Nru kconfigwidgets-5.77.0/debian/control 
kconfigwidgets-5.77.0/debian/control
--- kconfigwidgets-5.77.0/debian/control        2020-12-22 02:31:15.000000000 
+0100
+++ kconfigwidgets-5.77.0/debian/control        2021-01-06 20:13:05.000000000 
+0100
@@ -9,7 +9,6 @@
                doxygen,
                extra-cmake-modules (>= 5.77.0~),
                gettext,
-               graphviz,
                libkf5auth-dev (>= 5.77.0~),
                libkf5codecs-dev (>= 5.77.0~),
                libkf5config-dev (>= 5.77.0~),
@@ -23,8 +22,8 @@
                qtbase5-dev (>= 5.13.0~),
                qttools5-dev,
                qttools5-dev-tools (>= 5.4),
-               xauth,
-               xvfb,
+               xauth <!nocheck>,
+               xvfb <!nocheck>,
 Standards-Version: 4.5.1
 Homepage: https://invent.kde.org/frameworks/kconfigwidgets
 Vcs-Browser: https://salsa.debian.org/qt-kde-team/kde/kconfigwidgets

Reply via email to