r32381 - in /desktop/unstable/gnome-color-manager/debian: changelog control patches/series patches/use-gsd-not-gpm-for-brightness.patch

sjoerd at users.alioth.debian.org sjoerd at users.alioth.debian.org
Fri Jan 13 20:45:46 UTC 2012


Author: sjoerd
Date: Fri Jan 13 20:45:46 2012
New Revision: 32381

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=32381
Log:
* debian/patches/use-gsd-not-gpm-for-brightness.patch
  + Added, Use gnome-settings-daemon for brightness control when calibrating

Added:
    desktop/unstable/gnome-color-manager/debian/patches/use-gsd-not-gpm-for-brightness.patch
Modified:
    desktop/unstable/gnome-color-manager/debian/changelog
    desktop/unstable/gnome-color-manager/debian/control
    desktop/unstable/gnome-color-manager/debian/patches/series

Modified: desktop/unstable/gnome-color-manager/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-color-manager/debian/changelog?rev=32381&op=diff
==============================================================================
--- desktop/unstable/gnome-color-manager/debian/changelog [utf-8] (original)
+++ desktop/unstable/gnome-color-manager/debian/changelog [utf-8] Fri Jan 13 20:45:46 2012
@@ -1,3 +1,10 @@
+gnome-color-manager (3.2.2-2) UNRELEASED; urgency=low
+
+  * debian/patches/use-gsd-not-gpm-for-brightness.patch
+    + Added, Use gnome-settings-daemon for brightness control when calibrating
+
+ -- Sjoerd Simons <sjoerd at debian.org>  Fri, 13 Jan 2012 21:44:00 +0100
+
 gnome-color-manager (3.2.2-1) unstable; urgency=low
 
   [ Josselin Mouette ]

Modified: desktop/unstable/gnome-color-manager/debian/control
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-color-manager/debian/control?rev=32381&op=diff
==============================================================================
--- desktop/unstable/gnome-color-manager/debian/control [utf-8] (original)
+++ desktop/unstable/gnome-color-manager/debian/control [utf-8] Fri Jan 13 20:45:46 2012
@@ -7,7 +7,7 @@
 Section: gnome
 Priority: optional
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
-Uploaders: Michael Biebl <biebl at debian.org>
+Uploaders: Michael Biebl <biebl at debian.org>, Sjoerd Simons <sjoerd at debian.org>
 Standards-Version: 3.9.2
 Build-Depends: debhelper (>= 8),
                cdbs,

Modified: desktop/unstable/gnome-color-manager/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-color-manager/debian/patches/series?rev=32381&op=diff
==============================================================================
--- desktop/unstable/gnome-color-manager/debian/patches/series [utf-8] (original)
+++ desktop/unstable/gnome-color-manager/debian/patches/series [utf-8] Fri Jan 13 20:45:46 2012
@@ -1,0 +1,1 @@
+use-gsd-not-gpm-for-brightness.patch

Added: desktop/unstable/gnome-color-manager/debian/patches/use-gsd-not-gpm-for-brightness.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-color-manager/debian/patches/use-gsd-not-gpm-for-brightness.patch?rev=32381&op=file
==============================================================================
--- desktop/unstable/gnome-color-manager/debian/patches/use-gsd-not-gpm-for-brightness.patch (added)
+++ desktop/unstable/gnome-color-manager/debian/patches/use-gsd-not-gpm-for-brightness.patch [utf-8] Fri Jan 13 20:45:46 2012
@@ -1,0 +1,47 @@
+From 2be70491547a305e9650df223c39eeaab224d17c Mon Sep 17 00:00:00 2001
+From: Richard Hughes <richard at hughsie.com>
+Date: Tue, 8 Nov 2011 14:53:32 +0000
+Subject: [PATCH] Connect to GSD to change the brightness, not GPM
+
+---
+ src/gcm-brightness.c |   10 +++++-----
+ 1 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/src/gcm-brightness.c b/src/gcm-brightness.c
+index d4d10bd..deadd48 100644
+--- a/src/gcm-brightness.c
++++ b/src/gcm-brightness.c
+@@ -44,9 +44,9 @@ enum {
+ 
+ G_DEFINE_TYPE (GcmBrightness, gcm_brightness, G_TYPE_OBJECT)
+ 
+-#define	GPM_DBUS_SERVICE		"org.gnome.PowerManager"
+-#define	GPM_DBUS_INTERFACE_BACKLIGHT	"org.gnome.PowerManager.Backlight"
+-#define	GPM_DBUS_PATH_BACKLIGHT		"/org/gnome/PowerManager/Backlight"
++#define	GPM_DBUS_SERVICE		"org.gnome.SettingsDaemon"
++#define	GPM_DBUS_INTERFACE_BACKLIGHT	"org.gnome.SettingsDaemon.Power.Screen"
++#define	GPM_DBUS_PATH_BACKLIGHT		"/org/gnome/SettingsDaemon/Power"
+ 
+ gboolean
+ gcm_brightness_set_percentage (GcmBrightness *brightness, guint percentage, GError **error)
+@@ -72,7 +72,7 @@ gcm_brightness_set_percentage (GcmBrightness *brightness, guint percentage, GErr
+ 						GPM_DBUS_SERVICE,
+ 						GPM_DBUS_PATH_BACKLIGHT,
+ 						GPM_DBUS_INTERFACE_BACKLIGHT,
+-						"SetBrightness",
++						"SetPercentage",
+ 						args,
+ 						NULL,
+ 						G_DBUS_CALL_FLAGS_NONE,
+@@ -111,7 +111,7 @@ gcm_brightness_get_percentage (GcmBrightness *brightness, guint *percentage, GEr
+ 						GPM_DBUS_SERVICE,
+ 						GPM_DBUS_PATH_BACKLIGHT,
+ 						GPM_DBUS_INTERFACE_BACKLIGHT,
+-						"GetBrightness",
++						"GetPercentage",
+ 						NULL,
+ 						G_VARIANT_TYPE ("(u)"),
+ 						G_DBUS_CALL_FLAGS_NONE,
+-- 
+1.7.8.3
+




More information about the pkg-gnome-commits mailing list