Package: release.debian.org
Severity: normal
User: release.debian....@packages.debian.org
Usertags: unblock

Please unblock package acpi-support

The current version in jessie does not call pm-powersave correctly (typo) and 
in all cases (power adapter naming convention). This update fixes both.

Debdiff attached.

Thanks

Michael

unblock acpi-support/0.142-6

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'unstable'), (500, 'testing'), 
(1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u acpi-support-0.142/debian/addons/default/acpi-support acpi-support-0.142/debian/addons/default/acpi-support
--- acpi-support-0.142/debian/addons/default/acpi-support
+++ acpi-support-0.142/debian/addons/default/acpi-support
@@ -58,7 +58,7 @@
 
 # vbetool can switch off/on the display even if no user is logged in. However,
 # there are systems that do not reset the display when coming out of suspend,
-# so that the screen remains dark. Unable this option to switch off the display
+# so that the screen remains dark. Enable this option to switch off the display
 # even if no one is logged in.
 #DISPLAY_DPMS_NO_USER=true
 
diff -u acpi-support-0.142/debian/addons/scripts/power.sh acpi-support-0.142/debian/addons/scripts/power.sh
--- acpi-support-0.142/debian/addons/scripts/power.sh
+++ acpi-support-0.142/debian/addons/scripts/power.sh
@@ -11,6 +11,6 @@
 
-if [ $(cat /sys/class/power_supply/AC0/online) = 1 ]; then
+if `cat /sys/class/power_supply/AC*/online | grep -q 1`; then
 	pm-powersave false
 else
-	pm_powersave true
+	pm-powersave true
 fi
diff -u acpi-support-0.142/debian/changelog acpi-support-0.142/debian/changelog
--- acpi-support-0.142/debian/changelog
+++ acpi-support-0.142/debian/changelog
@@ -1,3 +1,11 @@
+acpi-support (0.142-6) unstable; urgency=medium
+
+  * Fixed typo (Closes: #767953)
+  * Adjust power.sh to the fact that AC adapters go by different names.
+    (Closes: #766632, #767947)
+
+ -- Michael Meskes <mes...@debian.org>  Mon, 10 Nov 2014 03:49:41 +0100
+
 acpi-support (0.142-5) unstable; urgency=medium
 
   * /etc/acpi/power.sh needs to figure out which pm-powersave option to use.

Reply via email to