[Pkg-utopia-commits] r1224 - in packages/unstable/hal/debian: .
patches
Sjoerd Simons
sjoerd at alioth.debian.org
Mon Jan 15 22:55:12 CET 2007
Author: sjoerd
Date: 2007-01-15 22:55:12 +0100 (Mon, 15 Jan 2007)
New Revision: 1224
Modified:
packages/unstable/hal/debian/changelog
packages/unstable/hal/debian/patches/19_sonypi_support.patch
Log:
* debian/patches/19_sonypi_support.patch
- Added. Fixes the sonypi brightness setting method
(Patch from Mike Hommey) (Closes: #391528)
Modified: packages/unstable/hal/debian/changelog
===================================================================
--- packages/unstable/hal/debian/changelog 2007-01-15 18:22:48 UTC (rev 1223)
+++ packages/unstable/hal/debian/changelog 2007-01-15 21:55:12 UTC (rev 1224)
@@ -1,3 +1,11 @@
+hal (0.5.8.1-6) unstable; urgency=low
+
+ * debian/patches/19_sonypi_support.patch
+ - Added. Fixes the sonypi brightness setting method
+ (Patch from Mike Hommey) (Closes: #391528)
+
+ -- Sjoerd Simons <sjoerd at debian.org> Mon, 15 Jan 2007 22:53:09 +0100
+
hal (0.5.8.1-5) unstable; urgency=high
[ Michael Biebl ]
Modified: packages/unstable/hal/debian/patches/19_sonypi_support.patch
===================================================================
--- packages/unstable/hal/debian/patches/19_sonypi_support.patch 2007-01-15 18:22:48 UTC (rev 1223)
+++ packages/unstable/hal/debian/patches/19_sonypi_support.patch 2007-01-15 21:55:12 UTC (rev 1224)
@@ -10,15 +10,23 @@
RETVAL=$?
if [ $RETVAL != 0 ]; then
echo "org.freedesktop.Hal.Device.LaptopPanel.NotSupported" >&2
-diff -aur hal-0.5.8.vanilla/tools/linux/hal-system-lcd-set-brightness-linux hal-0.5.8/tools/linux/hal-system-lcd-set-brightness-linux
---- hal-0.5.8.vanilla/tools/linux/hal-system-lcd-set-brightness-linux 2006-09-11 23:56:40.000000000 +0200
-+++ hal-0.5.8/tools/linux/hal-system-lcd-set-brightness-linux 2006-09-17 12:20:17.000000000 +0200
-@@ -50,7 +50,7 @@
- # spicctrl -B
- # 70
- # 0..255
-- value="`/usr/sbin/spicctrl -B`"
-+ value="`/usr/bin/spicctrl -B`"
- RETVAL=$?
- if [ $RETVAL != 0 ]; then
- echo "org.freedesktop.Hal.Device.LaptopPanel.NotSupported" >&2
+--- hal-0.5.8.vanilla/tools/linux/hal-system-lcd-set-brightness-linux
++++ hal-0.5.8/tools/linux/hal-system-lcd-set-brightness-linux
+@@ -47,16 +47,7 @@ elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "omnibook" ]; then
+ # http://bugzilla.gnome.org/show_bug.cgi?id=331458
+ echo "$value" > $HAL_PROP_LINUX_ACPI_PATH
+ elif [ "$HAL_PROP_LAPTOP_PANEL_ACCESS_METHOD" = "sonypi" ]; then
+- # spicctrl -B
+- # 70
+- # 0..255
+- value="`/usr/sbin/spicctrl -B`"
+- RETVAL=$?
+- if [ $RETVAL != 0 ]; then
+- echo "org.freedesktop.Hal.Device.LaptopPanel.NotSupported" >&2
+- exit 1;
+- fi
+- exit ${value}
++ /usr/bin/spicctrl -b ${value}
+ else
+ echo "org.freedesktop.Hal.Device.LaptopPanel.NotSupported" >&2
+ echo "No ACPI method found" >&2
More information about the Pkg-utopia-commits
mailing list