Bug#925305: wmshutdown: Please support new logind virtual packages

Mark Hindley mark at hindley.org.uk
Fri Mar 22 19:00:03 GMT 2019


Package: wmshutdown
Version: 1.4-2
Severity: normal
Tags: patch

Dear Maintainer,

Please change wmshutdown to use the new default-logind and logind virtual
packages.  This will enable wmshutdown 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.

Patches below.

Thanks

Mark

Against unstable:

commit 8185af2138e3df094b87e7e6f7f4245b7c4afe2c
Author: Mark Hindley <mark at hindley.org.uk>
Date:   Fri Mar 22 18:45:04 2019 +0000

    Depend on default-logind | logind rather than libpam-systemd.

diff --git a/debian/control b/debian/control
index 8f9b21d..ac7d2d7 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Package: wmshutdown
 Architecture: any
 Depends: consolekit [!linux-any],
          dbus,
-         libpam-systemd [linux-any],
+         default-logind [linux-any] | logind [linux-any],
          ${misc:Depends},
          ${shlibs:Depends}
 Description: dockapp to shutdown or reboot your machine


Or alternatively against master

commit 9151541a1f9c6d69edf892982f874d7a5fc98da5
Author: Mark Hindley <mark at hindley.org.uk>
Date:   Fri Mar 22 18:51:32 2019 +0000

    Depend on default-logind | logind rather than libpam-systemd.

diff --git a/debian/control b/debian/control
index 66cc8ce..82221e2 100644
--- a/debian/control
+++ b/debian/control
@@ -11,7 +11,7 @@ Vcs-Git: https://salsa.debian.org/wmaker-team/wmshutdown.git
 
 Package: wmshutdown
 Architecture: linux-any
-Depends: dbus, libpam-systemd, ${misc:Depends}, ${shlibs:Depends}
+Depends: dbus, default-logind | logind , ${misc:Depends}, ${shlibs:Depends}
 Description: dockapp to shutdown or reboot your machine
  This is a dock applications for Window Maker that allows you to
  shutdown or reboot your machine just by clickig a button on desktop



More information about the Pkg-wmaker-devel mailing list