Bug#925344: polkit-qt-1: Please support new logind virtual packages
Package: polkit-qt-1
Version: 0.112.0-6
Severity: normal
Tags: patch
Dear Maintainer,
Please change polkit-qt-1 to use the new default-logind and logind virtual
packages. This will enable binaries built from polkit-qt-1 (libpolkit-qt-1-1
and libpolkit-qt5-1-1) to also be used on systems using elogind and non-systemd
inits.
The logind and default-logind virtual packages have been seconded for inclusion
in Debian Policy (see #917431) and libpam-elogind and libpam-systemd providing
these have been uploaded.
Patch below.
Thanks
Mark
commit 7a3084d2ba52f8aa0a01114de45d257e1feb4fe2
Author: Mark Hindley <mark@hindley.org.uk>
Date: Sat Mar 23 12:35:26 2019 +0000
Use new logind virtual packages instead of libpam-systemd.
diff --git a/debian/control b/debian/control
index 9b1c85f..3cfb08a 100644
--- a/debian/control
+++ b/debian/control
@@ -38,7 +38,7 @@ Package: libpolkit-qt-1-1
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
-Depends: libpam-systemd [linux-any],
+Depends: default-logind [linux-any] | logind [linux-any],
${misc:Depends},
${shlibs:Depends}
Description: PolicyKit-qt-1 library
@@ -77,7 +77,7 @@ Package: libpolkit-qt5-1-1
Architecture: any
Multi-Arch: same
Pre-Depends: ${misc:Pre-Depends}
-Depends: libpam-systemd [linux-any], ${misc:Depends}, ${shlibs:Depends}
+Depends: default-logind [linux-any] | logind [linux-any], ${misc:Depends}, ${shlibs:Depends}
Description: PolicyKit-qt5-1 library
PolicyKit is an application-level toolkit for defining and handling the policy
that allows unprivileged processes to speak to privileged processes.
Reply to: