On Sun, 05 Apr 2020 at 15:21:03 +0100, [email protected] wrote:
dbus-glib is a deprecated D-Bus library with some significant design
flaws, and is essentially unmaintained. I would like to minimize its
use, and eventually remove it from Debian.

It seems that urfkill doesn't actually require dbus-glib, it just has it in Build-Depends (presumably left over from a previous version that actively used it). The dependency on libdbus-1-dev and libdbus-1-3 also seems to be unnecessary, so that can be removed too.

I've confirmed using diffoscope that the attached patch does not affect the contents of the binary packages, except for removing the unnecessary Depends. Please apply it during the forky cycle so that we can make some progress towards removing dbus-glib.

Thanks,
    smcv
>From db03066d0288044e416db661efcb1f4a443efafa Mon Sep 17 00:00:00 2001
From: Simon McVittie <[email protected]>
Date: Fri, 29 Aug 2025 10:53:09 +0100
Subject: [PATCH] d/control: Remove unused dependencies on libdbus-glib-1-dev,
 libdbus-1-dev

Closes: #955960
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 0642283..c3a269f 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: urfkill
 Section: net
 Priority: optional
 Maintainer: Keng-Yu Lin <[email protected]>
-Build-Depends: debhelper (>= 9.20160709), dh-autoreconf (>=2), dh-exec (>=0.3), autotools-dev, libglib2.0-dev, libdbus-1-dev, libdbus-glib-1-dev, libudev-dev, libpolkit-gobject-1-dev, libexpat1-dev, intltool (>=0.40.0), gobject-introspection (>= 0.6.7), libgirepository1.0-dev (>= 0.6.7), gir1.2-gtk-3.0, autopoint, gtk-doc-tools
+Build-Depends: debhelper (>= 9.20160709), dh-autoreconf (>=2), dh-exec (>=0.3), autotools-dev, libglib2.0-dev, libudev-dev, libpolkit-gobject-1-dev, libexpat1-dev, intltool (>=0.40.0), gobject-introspection (>= 0.6.7), libgirepository1.0-dev (>= 0.6.7), gir1.2-gtk-3.0, autopoint, gtk-doc-tools
 Standards-Version: 4.0.0
 Homepage: http://www.freedesktop.org/wiki/Software/urfkill
 
@@ -10,7 +10,7 @@ Package: urfkill
 Architecture: linux-any
 Multi-Arch: foreign
 Pre-Depends: ${misc:Pre-Depends}
-Depends: ${shlibs:Depends}, ${misc:Depends}, libdbus-1-3, libdbus-glib-1-2, dbus, libgudev-1.0-0, libpolkit-gobject-1-0, libexpat1, default-logind | logind
+Depends: ${shlibs:Depends}, ${misc:Depends}, dbus, libgudev-1.0-0, libpolkit-gobject-1-0, libexpat1, default-logind | logind
 Description: wireless killswitch management daemon for laptops
  The urfkill daemon allow managing the rfkill-related hotkeys
  and the killswitches in a more configurable way for the common RF
-- 
2.51.0

Reply via email to