Package: sabnzbdplus
Version: 0.7.11-1
Severity: minor
Tags: upstream

Hi,

I noticed that sabnzbdplus makes use of consolekit (or UPower etc) via
DBus but doesn't depend on any of them. In Ubuntu, and some time soon in
Debian, we'll be switching as much of the archive as we can to using
logind for this functionality. Software which isn't switched should add
Depends or perhaps Recommends (although this won't prevent the user
uninstalling) to consolekit.

Since sabnzbdplus isn't ported yet, I've patched the package to add a
dependency.  The alternative is to port it to additionally use logind,
which shouldn't be too hard since it doesn't use much of the API.

  http://www.freedesktop.org/wiki/Software/systemd/logind

Or keep it undeclared, but then it may be surprising to users if this
functionality stops working.

Cheers,

-- System Information:
Debian Release: wheezy/sid
  APT prefers saucy-updates
  APT policy: (500, 'saucy-updates'), (500, 'saucy-security'), (500, 'saucy'), 
(100, 'saucy-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8.0-19-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru sabnzbdplus-0.7.11/debian/changelog sabnzbdplus-0.7.11/debian/changelog
--- sabnzbdplus-0.7.11/debian/changelog	2013-02-14 19:07:05.000000000 +0000
+++ sabnzbdplus-0.7.11/debian/changelog	2013-04-29 18:37:52.000000000 +0000
@@ -1,3 +1,10 @@
+sabnzbdplus (0.7.11-1ubuntu1) saucy; urgency=low
+
+  * Add Depends on consolekit to ensure we have a method for
+    Suspend/Hibernate/Shutdown available. 
+
+ -- Iain Lane <[email protected]>  Mon, 29 Apr 2013 18:35:09 +0000
+
 sabnzbdplus (0.7.11-1) experimental; urgency=low
 
   * New upstream release.
diff -Nru sabnzbdplus-0.7.11/debian/control sabnzbdplus-0.7.11/debian/control
--- sabnzbdplus-0.7.11/debian/control	2013-01-01 16:34:21.000000000 +0000
+++ sabnzbdplus-0.7.11/debian/control	2013-04-29 18:34:36.000000000 +0000
@@ -15,6 +15,7 @@
 Depends:
  ${python:Depends},
  ${misc:Depends},
+ consolekit,
  python-cheetah (>= 2.0.1),
  python-configobj,
  python-feedparser,

Reply via email to