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

Michael Biebl biebl at debian.org
Wed Jan 6 18:04:50 GMT 2021


Hi Helmut,

thanks a lot for the patch

Am 05.01.21 um 22:56 schrieb Helmut Grohne:
> 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.

I guess libyaml-perl and perl can be dropped safely.

> 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.
> 

libpolkit-gobject-1-dev is no longer needed and can be dropped safely. 
libpolkit-agent-1-dev is still used to get the polkit package prefix:

POLKIT_PACKAGE_PREFIX=`$PKG_CONFIG --variable=prefix polkit-agent-1`

which is later used in

clients/common/nm-polkit-listener.c:        POLKIT_PACKAGE_PREFIX 
"/lib/polkit-1/polkit-agent-helper-1",

There is a hard-coded fallback, but I'd rather keep the 
libpolkit-agent-1-dev Build-Depends.

Regards,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20210106/0fa296bc/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list