[Pkg-utopia-maintainers] Bug#979378: network-manager should drop unused Build-Depends

Helmut Grohne helmut at subdivi.de
Tue Jan 5 21:56:22 GMT 2021


Source: network-manager
Version: 1.28.0-2
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

network-manager has a number of Build-Depends and is involved in
dependency cycles relevant to architecture bootstrap. Instead of looking
into such cycles, a simpler measure is looking into entirely unused
Build-Depends. As it happens, network-manager has those.

According to debian/changelog, libyaml-perl was added to build the
documentation. At this point nothing in the source mentions it in any
way. I think it can be safely dropped.

The NEWS file kindly explains that since version 1.24,
libpolkit-agent-1-dev and libpolkit-gobject-1-dev are no longer needed.
While meson.build and configure.ac still check for polkit-agent, they're
completely unused otherwise and network-manager now interacts with
polkit via dbus and its own abstraction only.

Please consider applying the attached patch to drop these dependencies.

Helmut
-------------- next part --------------
diff --minimal -Nru network-manager-1.28.0/debian/changelog network-manager-1.28.0/debian/changelog
--- network-manager-1.28.0/debian/changelog	2020-12-31 21:38:43.000000000 +0100
+++ network-manager-1.28.0/debian/changelog	2021-01-05 22:51:29.000000000 +0100
@@ -1,3 +1,10 @@
+network-manager (1.28.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Drop unused Build-Depends. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Tue, 05 Jan 2021 22:51:29 +0100
+
 network-manager (1.28.0-2) unstable; urgency=medium
 
   * Demote libpam-systemd to Recommends.
diff --minimal -Nru network-manager-1.28.0/debian/control network-manager-1.28.0/debian/control
--- network-manager-1.28.0/debian/control	2020-12-31 21:38:43.000000000 +0100
+++ network-manager-1.28.0/debian/control	2021-01-05 22:51:23.000000000 +0100
@@ -11,8 +11,6 @@
                intltool,
                libglib2.0-dev (>= 2.32),
                ppp-dev (>= 2.4.7-1+1),
-               libpolkit-gobject-1-dev,
-               libpolkit-agent-1-dev (>= 0.97),
                libselinux1-dev,
                libaudit-dev,
                libgnutls28-dev (>= 2.12),
@@ -27,7 +25,6 @@
                libcurl4-gnutls-dev (>= 7.24.0),
                gtk-doc-tools,
                perl,
-               libyaml-perl,
                libglib2.0-doc,
                libmm-glib-dev (>=  0.7.991),
                libndp-dev,


More information about the Pkg-utopia-maintainers mailing list