--- gnome-power-manager-2.22.1.orig/debian/control.in +++ gnome-power-manager-2.22.1/debian/control.in @@ -0,0 +1,25 @@ +Source: gnome-power-manager +Section: gnome +Priority: optional +Maintainer: Ted Gould +XSBC-Original-Maintainer: Debian GNOME Maintainers +Build-Depends: debhelper (>= 5), cdbs, autotools-dev, libtool, autoconf, libgnomeui-dev, libpanel-applet2-dev, libglade2-dev, libhal-dev (>= 0.5.8), libdbus-1-dev (>= 0.71), libdbus-glib-1-dev (>= 0.71), libxml-parser-perl, libxext-dev, libx11-dev, libgtk2.0-dev (>= 2.11), libwnck-dev (>= 2.10), docbook-to-man, intltool, libnotify-dev (>= 0.4.4-3), docbook-utils, libxres-dev, xmlto, gnome-doc-utils, libpanel-applet2-dev, libgnome-keyring-dev, scrollkeeper, gnome-pkg-tools (>= 0.10), libgstreamer0.10-dev +Standards-Version: 3.7.3 +Vcs-Bzr: bzr+ssh://bazaar.launchpad.net/~ted-gould/gnome-power/ubuntu-packaging +Vcs-Browser: http://bazaar.launchpad.net/~ted-gould/gnome-power/ubuntu-packaging +Homepage: http://www.gnome.org/projects/gnome-power-manager/ + +Package: gnome-power-manager +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, notification-daemon, hal (>= 0.5.10) +Description: frontend for gnome-powermanager + GNOME Power Manager is a session daemon for the GNOME + desktop environment that makes it easy to + manage your laptop or desktop system. + . + gnome-power-manager manages battery status, events, + powermanagement settings and actions like: + * Suspend to RAM + * Suspend to Disk (Hibernate) + * Shutdown + * Blank screen --- gnome-power-manager-2.22.1.orig/debian/docs +++ gnome-power-manager-2.22.1/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO --- gnome-power-manager-2.22.1.orig/debian/control +++ gnome-power-manager-2.22.1/debian/control @@ -0,0 +1,25 @@ +Source: gnome-power-manager +Section: gnome +Priority: optional +Maintainer: Ted Gould +XSBC-Original-Maintainer: Debian GNOME Maintainers +Build-Depends: debhelper (>= 5), cdbs, autotools-dev, libtool, autoconf, libgnomeui-dev, libpanel-applet2-dev, libglade2-dev, libhal-dev (>= 0.5.8), libdbus-1-dev (>= 0.71), libdbus-glib-1-dev (>= 0.71), libxml-parser-perl, libxext-dev, libx11-dev, libgtk2.0-dev (>= 2.11), libwnck-dev (>= 2.10), docbook-to-man, intltool, libnotify-dev (>= 0.4.4-3), docbook-utils, libxres-dev, xmlto, gnome-doc-utils, libpanel-applet2-dev, libgnome-keyring-dev, scrollkeeper, gnome-pkg-tools (>= 0.10), libgstreamer0.10-dev +Standards-Version: 3.7.3 +Vcs-Bzr: bzr+ssh://bazaar.launchpad.net/~ted-gould/gnome-power/ubuntu-packaging +Vcs-Browser: http://bazaar.launchpad.net/~ted-gould/gnome-power/ubuntu-packaging +Homepage: http://www.gnome.org/projects/gnome-power-manager/ + +Package: gnome-power-manager +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, notification-daemon, hal (>= 0.5.10) +Description: frontend for gnome-powermanager + GNOME Power Manager is a session daemon for the GNOME + desktop environment that makes it easy to + manage your laptop or desktop system. + . + gnome-power-manager manages battery status, events, + powermanagement settings and actions like: + * Suspend to RAM + * Suspend to Disk (Hibernate) + * Shutdown + * Blank screen --- gnome-power-manager-2.22.1.orig/debian/patches/03_always_get_hw_backlight.patch +++ gnome-power-manager-2.22.1/debian/patches/03_always_get_hw_backlight.patch @@ -0,0 +1,30 @@ +diff -ur gnome-power-manager-2.21.92/src/gpm-brightness-lcd.c gnome-power-manager-ted/src/gpm-brightness-lcd.c +--- gnome-power-manager-2.21.92/src/gpm-brightness-lcd.c 2007-10-05 08:35:43.000000000 -0700 ++++ gnome-power-manager-ted/src/gpm-brightness-lcd.c 2008-03-04 16:13:31.000000000 -0800 +@@ -299,16 +299,26 @@ + * + * Gets the current (or at least what this class thinks is current) percentage + * brightness. This is quick as no HAL inquiry is done. ++ * ++ * NOTE: This has been modified to do the HAL inquiry to try and fix some ++ * bugs so it is no longer fast :) + **/ + gboolean + gpm_brightness_lcd_get (GpmBrightnessLcd *brightness, + guint *brightness_level) + { + gint percentage; ++ guint current_hw; + + g_return_val_if_fail (brightness != NULL, FALSE); + g_return_val_if_fail (GPM_IS_BRIGHTNESS_LCD (brightness), FALSE); + ++ gpm_brightness_lcd_get_hw (brightness, ¤t_hw); ++ if (current_hw != brightness->priv->last_set_hw) { ++ gpm_debug("brightness changed underneith us. It is (%i), we thought it was (%i).", current_hw, brightness->priv->last_set_hw); ++ brightness->priv->last_set_hw = current_hw; ++ } ++ + percentage = gpm_discrete_to_percent (brightness->priv->last_set_hw, + brightness->priv->levels); + *brightness_level = percentage; --- gnome-power-manager-2.22.1.orig/debian/patches/04_brightness_events.patch +++ gnome-power-manager-2.22.1/debian/patches/04_brightness_events.patch @@ -0,0 +1,156 @@ +diff -ur gnome-power-manager-2.22.1/src/gpm-backlight.c gnome-power-manager-ted/src/gpm-backlight.c +--- gnome-power-manager-2.22.1/src/gpm-backlight.c 2008-03-10 14:49:46.000000000 -0700 ++++ gnome-power-manager-ted/src/gpm-backlight.c 2008-04-09 11:42:38.000000000 -0700 +@@ -81,6 +81,8 @@ + GTimer *idle_timer; + gfloat ambient_sensor_value; + guint idle_dim_timeout; ++ gboolean old_system_is_idle; ++ gboolean old_on_ac; + }; + + enum { +@@ -315,9 +317,8 @@ + return FALSE; + } + +- /* just set the AC brightness for now, don't try to be clever */ +- gpm_conf_set_uint (backlight->priv->conf, GPM_CONF_BACKLIGHT_BRIGHTNESS_AC, brightness); +-#if 0 ++ /* gpm_conf_set_uint (backlight->priv->conf, GPM_CONF_BACKLIGHT_BRIGHTNESS_AC, brightness); */ ++#if 1 + gboolean ret; + /* sets the current policy brightness */ + ret = gpm_brightness_lcd_set_std (backlight->priv->brightness, brightness); +@@ -357,6 +358,7 @@ + gboolean enable_action; + gboolean battery_reduce; + guint value; ++ guint value_ac; + guint old_value; + + if (backlight->priv->can_dim == FALSE) { +@@ -370,24 +372,46 @@ + return FALSE; + } + +- /* get the 'main' brightness */ +- gpm_conf_get_uint (backlight->priv->conf, GPM_CONF_BACKLIGHT_BRIGHTNESS_AC, &value); ++ /* get the current brightness */ ++ gpm_brightness_lcd_get (backlight->priv->brightness, &value); + brightness = value / 100.0f; +- gpm_debug ("1. main brightness %f", brightness); ++ gpm_debug ("1. currently set brightness %f", brightness); + + /* get AC status */ + on_ac = gpm_ac_adapter_is_present (backlight->priv->ac_adapter); + + /* reduce if on battery power if we should */ + gpm_conf_get_bool (backlight->priv->conf, GPM_CONF_BACKLIGHT_BATTERY_REDUCE, &battery_reduce); +- if (on_ac == FALSE && battery_reduce == TRUE) { ++ if (battery_reduce == TRUE && on_ac != backlight->priv->old_on_ac) { + gpm_conf_get_uint (backlight->priv->conf, GPM_CONF_BACKLIGHT_BRIGHTNESS_BATT, &value); +- scale = (100 - value) / 100.0f; +- brightness *= scale; +- } else { +- scale = 1.0f; ++ ++ value = 100 - value; ++ scale = value / 100.0f; ++ ++ if (scale > 0.0f && scale < 1.0f) { ++ if (!on_ac) { ++ scale = -scale; ++ } ++ } else { ++ scale = 0.0f; ++ } ++ ++ /* Never let going on battery turn off the display */ ++ if (brightness + scale < 0.0f) { ++ scale = 0.0f - brightness; ++ if (scale > 0.0f) { ++ scale = 0.0f; ++ } ++ } ++ /* Never go over 100% -- it goes to 11! */ ++ if (brightness + scale > 1.0f) { ++ scale = 1.0f - brightness; ++ } ++ ++ brightness += scale; + } +- gpm_debug ("2. battery scale %f, brightness %f", scale, brightness); ++ backlight->priv->old_on_ac = on_ac; ++ gpm_debug ("2. battery change by %f, brightness %f", scale, brightness); + + /* reduce if system is momentarily idle */ + if (on_ac == TRUE) { +@@ -395,14 +419,36 @@ + } else { + gpm_conf_get_bool (backlight->priv->conf, GPM_CONF_BACKLIGHT_IDLE_DIM_BATT, &enable_action); + } +- if (enable_action == TRUE && backlight->priv->system_is_idle == TRUE) { ++ if (enable_action == TRUE && backlight->priv->system_is_idle != backlight->priv->old_system_is_idle) { + gpm_conf_get_uint (backlight->priv->conf, GPM_CONF_BACKLIGHT_IDLE_BRIGHTNESS, &value); ++ ++ value = 100 - value; + scale = value / 100.0f; +- brightness *= scale; +- } else { +- scale = 1.0f; ++ ++ if (scale > 0.0f && scale < 1.0f) { ++ if (backlight->priv->system_is_idle) { ++ scale = -scale; ++ } ++ } else { ++ scale = 0.0f; ++ } ++ ++ /* Never let idle turn off the display */ ++ if (brightness + scale < 0.0f) { ++ scale = 0.0f - brightness; ++ if (scale > 0.0f) { ++ scale = 0.0f; ++ } ++ } ++ /* Never go over 100% -- it goes to 11! */ ++ if (brightness + scale > 1.0f) { ++ scale = 1.0f - brightness; ++ } ++ ++ brightness += scale; + } +- gpm_debug ("3. idle scale %f, brightness %f", scale, brightness); ++ backlight->priv->old_system_is_idle = backlight->priv->system_is_idle; ++ gpm_debug ("3. idle change by %f, brightness %f", scale, brightness); + + /* reduce if ambient is low */ + gpm_conf_get_bool (backlight->priv->conf, GPM_CONF_AMBIENT_ENABLE, &enable_action); +@@ -872,9 +918,11 @@ + backlight->priv->ac_adapter = gpm_ac_adapter_new (); + g_signal_connect (backlight->priv->ac_adapter, "ac-adapter-changed", + G_CALLBACK (ac_adapter_changed_cb), backlight); ++ backlight->priv->old_on_ac = gpm_ac_adapter_is_present (backlight->priv->ac_adapter); + + /* assumption */ + backlight->priv->system_is_idle = FALSE; ++ backlight->priv->old_system_is_idle = FALSE; + gpm_conf_get_uint (backlight->priv->conf, + GPM_CONF_BACKLIGHT_IDLE_DIM_TIME, + &backlight->priv->idle_dim_timeout); +diff -ur gnome-power-manager-2.22.1/src/gpm-prefs-core.c gnome-power-manager-ted/src/gpm-prefs-core.c +--- gnome-power-manager-2.22.1/src/gpm-prefs-core.c 2008-03-26 01:54:53.000000000 -0700 ++++ gnome-power-manager-ted/src/gpm-prefs-core.c 2008-04-09 09:48:21.000000000 -0700 +@@ -954,9 +954,9 @@ + widget = glade_xml_get_widget (prefs->priv->glade_xml, "hbox_ac_cpu"); + gtk_widget_hide_all (widget); + } +- if (prefs->priv->has_lcd == FALSE) { + widget = glade_xml_get_widget (prefs->priv->glade_xml, "hbox_ac_brightness"); + gtk_widget_hide_all (widget); ++ if (prefs->priv->has_lcd == FALSE) { + widget = glade_xml_get_widget (prefs->priv->glade_xml, "checkbutton_ac_display_dim"); + gtk_widget_hide_all (widget); + } --- gnome-power-manager-2.22.1.orig/debian/patches/74-disable-quirks-reference.patch +++ gnome-power-manager-2.22.1/debian/patches/74-disable-quirks-reference.patch @@ -0,0 +1,28 @@ +diff -Nur gnome-power-manager-2.20.0/src/gpm-notify.c gnome-power-manager-2.20.0.new/src/gpm-notify.c +--- gnome-power-manager-2.20.0/src/gpm-notify.c 2007-08-03 18:13:36.000000000 +0100 ++++ gnome-power-manager-2.20.0.new/src/gpm-notify.c 2007-09-30 20:51:55.000000000 +0100 +@@ -581,7 +581,7 @@ + _("Do not show me this again"), + (NotifyActionCallback) notify_general_clicked_cb, + notify, NULL); +- ++#if 0 + notify->priv->internet_url = g_strdup (QUIRK_WEBSITE); + /* Translator: Quirks refer to strange/weird/undocumented behaviour of + * hardware. Because the manufacturers do not provide the necessary +@@ -589,12 +589,14 @@ + * supply the info by following the procedures outlined in the "Quirks + * website" at http://people.freedesktop.org/~hughsient/quirk/. + */ ++ + notify_notification_add_action (notify->priv->libnotify, + "visit-website", + _("Visit quirk website"), + (NotifyActionCallback) notify_general_clicked_cb, + notify, NULL); +-#endif ++#endif /* #if 0 */ ++#endif /* #ifdef HAVE_LIBNOTIFY */ + + gpm_notify_show (notify); + return TRUE; --- gnome-power-manager-2.22.1.orig/debian/patches/10_keyboard_brightness_gconf.patch +++ gnome-power-manager-2.22.1/debian/patches/10_keyboard_brightness_gconf.patch @@ -0,0 +1,20 @@ +diff -ur gnome-power-manager-2.22.1/src/gpm-srv-brightness-kbd.c gnome-power-manager-ted/src/gpm-srv-brightness-kbd.c +--- gnome-power-manager-2.22.1/src/gpm-srv-brightness-kbd.c 2008-03-10 14:49:46.000000000 -0700 ++++ gnome-power-manager-ted/src/gpm-srv-brightness-kbd.c 2008-04-09 11:49:24.000000000 -0700 +@@ -85,14 +85,14 @@ + + if (strcmp (key, GPM_CONF_KEYBOARD_BRIGHTNESS_AC) == 0) { + +- gpm_conf_get_int (srv_brightness->priv->conf, GPM_CONF_BACKLIGHT_BRIGHTNESS_AC, &value); ++ gpm_conf_get_int (srv_brightness->priv->conf, GPM_CONF_KEYBOARD_BRIGHTNESS_AC, &value); + if (on_ac == TRUE) { + gpm_brightness_kbd_set_std (srv_brightness->priv->brightness, value); + } + + } else if (strcmp (key, GPM_CONF_KEYBOARD_BRIGHTNESS_BATT) == 0) { + +- gpm_conf_get_int (srv_brightness->priv->conf, GPM_CONF_BACKLIGHT_BRIGHTNESS_AC, &value); ++ gpm_conf_get_int (srv_brightness->priv->conf, GPM_CONF_KEYBOARD_BRIGHTNESS_BATT, &value); + if (on_ac == FALSE) { + gpm_brightness_kbd_set_std (srv_brightness->priv->brightness, value); + } --- gnome-power-manager-2.22.1.orig/debian/patches/03-system-policy.patch +++ gnome-power-manager-2.22.1/debian/patches/03-system-policy.patch @@ -0,0 +1,49 @@ +--- src/gpm-main.c.orig 2007-11-02 18:31:05.000000000 +0100 ++++ src/gpm-main.c 2008-01-29 09:44:53.000000000 +0100 +@@ -147,6 +147,7 @@ + GnomeProgram *program; + char **debugoptions = NULL; + int i; ++ gint ret; + + const GOptionEntry options[] = { + { "no-daemon", '\0', 0, G_OPTION_ARG_NONE, &no_daemon, +@@ -217,7 +218,7 @@ + + gpm_debug ("GNOME %s %s", GPM_NAME, VERSION); + +-if (0) { ++/* if (0) { */ + /* check dbus connections, exit if not valid */ + system_connection = dbus_g_bus_get (DBUS_BUS_SYSTEM, &error); + if (error) { +@@ -228,7 +229,7 @@ + "It is strongly recommended you reboot " + "your computer after starting this service."); + } +-} ++/* } */ + + session_connection = dbus_g_bus_get (DBUS_BUS_SESSION, &error); + if (error) { +@@ -257,6 +258,20 @@ + + loop = g_main_loop_new (NULL, FALSE); + ++ ret = dbus_bus_request_name(dbus_g_connection_get_connection(system_connection), ++ "org.freedesktop.Policy.Power", ++ DBUS_NAME_FLAG_REPLACE_EXISTING, NULL); ++ switch (ret) { ++ case DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER: ++ gpm_debug("Successfully acquired interface org.freedesktop.Policy.Power."); ++ break; ++ case DBUS_REQUEST_NAME_REPLY_IN_QUEUE: ++ printf("Queued for interface org.freedesktop.Policy.Power."); ++ break; ++ default: ++ break; ++ }; ++ + /* Only timeout and close the mainloop if we have specified it + * on the command line */ + if (timed_exit == TRUE) { --- gnome-power-manager-2.22.1.orig/debian/patches/06_inhibit_applet_clear.patch +++ gnome-power-manager-2.22.1/debian/patches/06_inhibit_applet_clear.patch @@ -0,0 +1,13 @@ +diff -ur gnome-power-manager-orig/applets/inhibit/inhibit-applet.c gnome-power-manager-ted/applets/inhibit/inhibit-applet.c +--- gnome-power-manager-orig/applets/inhibit/inhibit-applet.c 2007-12-14 13:23:42.000000000 -0800 ++++ gnome-power-manager-ted/applets/inhibit/inhibit-applet.c 2008-03-12 10:01:47.000000000 -0700 +@@ -271,6 +271,9 @@ + return FALSE; + } + ++ /* Clear the window so we can draw on it later */ ++ gdk_window_clear(GTK_WIDGET(applet)->window); ++ + /* retrieve applet size */ + gpm_applet_get_icon (applet); + gpm_applet_check_size (applet); --- gnome-power-manager-2.22.1.orig/debian/patches/09_lid_always_blanks.patch +++ gnome-power-manager-2.22.1/debian/patches/09_lid_always_blanks.patch @@ -0,0 +1,131 @@ +diff -ur gnome-power-manager-2.22.1/src/gpm-manager.c gnome-power-manager-ted/src/gpm-manager.c +--- gnome-power-manager-2.22.1/src/gpm-manager.c 2008-03-12 13:43:14.000000000 -0700 ++++ gnome-power-manager-ted/src/gpm-manager.c 2008-04-07 09:55:21.000000000 -0700 +@@ -428,6 +428,7 @@ + const gchar *reason) + { + gchar *action = NULL; ++ gboolean has_inhibit = FALSE; + + /* error msg timeout not valid */ + if (gpm_control_is_policy_timout_valid (manager->priv->control) == FALSE) { +@@ -440,18 +441,59 @@ + return FALSE; + } + +- /* are we inhibited? */ +- if (gpm_manager_is_inhibit_valid (manager, FALSE, "policy action") == FALSE) { ++ if (policy == NULL) { ++ gpm_debug ("No policy provided, aborting action."); + return FALSE; + } + +- gpm_debug ("policy: %s", policy); + gpm_conf_get_string (manager->priv->conf, policy, &action); +- + if (action == NULL) { ++ gpm_debug ("Policy %s returned NULL action, aborting policy action.", policy); ++ return FALSE; ++ } ++ ++ /* If we're inhibited, figure out what we're being asked to do. If ++ it's blank on a lid close, that's cool. If it's suspend or hibernate ++ on a lid close we should blank instead. */ ++ gpm_inhibit_has_inhibit (manager->priv->inhibit, &has_inhibit, NULL); ++ if (has_inhibit == TRUE) { ++ // Everything in here is checking to see if has_inhibit should be FALSE ++ if (strcmp(policy, GPM_CONF_BUTTON_LID_BATT) == 0 || ++ strcmp(policy, GPM_CONF_BUTTON_LID_AC) == 0) { ++ if (strcmp (action, ACTION_BLANK) == 0) { ++ // Just blank it no matter what ++ has_inhibit = FALSE; ++ gpm_debug ("Inhibited ignored for screen blanking on lid event."); ++ } else if ((strcmp (action, ACTION_SUSPEND) == 0) || ++ (strcmp (action, ACTION_HIBERNATE) == 0)) { ++ g_free (action); ++ action = g_strdup(ACTION_BLANK); ++ has_inhibit = FALSE; ++ gpm_debug ("Adjusting lid action to blank as we're inhibited."); ++ } ++ } ++ /* If we're on critical battery user apps can't stop us, sorry guys ++ it's time to save possible data loss vs. playing music with the ++ lid closed. */ ++ if (strcmp(policy, GPM_CONF_ACTIONS_CRITICAL_BATT) == 0) { ++ has_inhibit = FALSE; ++ } ++ /* We really shouldn't inhibit nothing. (and if you send that sentence ++ to my high school English teacher I'll hunt you down) */ ++ if (strcmp (action, ACTION_NOTHING) == 0) { ++ has_inhibit = FALSE; ++ } ++ } ++ ++ /* Okay, we're really going to inhibit this thing. Pop a warning */ ++ if (has_inhibit == TRUE) { ++ gpm_manager_is_inhibit_valid (manager, FALSE, "policy action"); ++ g_free(action); + return FALSE; + } + ++ gpm_debug ("policy: %s", policy); ++ + if (strcmp (action, ACTION_NOTHING) == 0) { + gpm_info_explain_reason (manager->priv->info, GPM_EVENT_NOTIFICATION, + _("Doing nothing."), reason); +@@ -918,48 +960,25 @@ + gboolean do_policy; + gchar *action; + +- on_ac = gpm_ac_adapter_is_present (manager->priv->ac_adapter); +- + if (pressed == FALSE) { + /* we turn the lid dpms back on unconditionally */ + gpm_manager_unblank_screen (manager, NULL); + return; + } + ++ on_ac = gpm_ac_adapter_is_present (manager->priv->ac_adapter); ++ + if (on_ac == TRUE) { + gpm_debug ("Performing AC policy"); + manager_policy_do (manager, GPM_CONF_BUTTON_LID_AC, + _("The lid has been closed on ac power.")); +- return; +- } +- +- /* default */ +- do_policy = TRUE; +- +- /* are we inhibited? */ +- gpm_inhibit_has_inhibit (manager->priv->inhibit, &has_inhibit, NULL); +- +- /* do not do lid close action if suspend (or hibernate) */ +- if (has_inhibit == TRUE) { +- /* get the policy action for battery */ +- gpm_conf_get_string (manager->priv->conf, GPM_CONF_BUTTON_LID_BATT, &action); +- +- /* if we are trying to suspend or hibernate then don't do action */ +- if ((strcmp (action, ACTION_SUSPEND) == 0) || +- (strcmp (action, ACTION_HIBERNATE) == 0)) { +- do_policy = FALSE; +- } +- g_free (action); +- } +- +- if (do_policy == FALSE) { +- gpm_debug ("Not doing lid policy action as inhibited as set to sleep"); +- return; ++ } else { ++ gpm_debug ("Performing battery policy"); ++ manager_policy_do (manager, GPM_CONF_BUTTON_LID_BATT, ++ _("The lid has been closed on battery power.")); + } + +- gpm_debug ("Performing battery policy"); +- manager_policy_do (manager, GPM_CONF_BUTTON_LID_BATT, +- _("The lid has been closed on battery power.")); ++ return; + } + + /** --- gnome-power-manager-2.22.1.orig/debian/patches/75-ignore-long-failed-suspends.patch +++ gnome-power-manager-2.22.1/debian/patches/75-ignore-long-failed-suspends.patch @@ -0,0 +1,126 @@ +diff -Nur -x '*.orig' -x '*~' gnome-power-manager-2.22.1/libhal-glib/libhal-gpower.c gnome-power-manager-2.22.1.new/libhal-glib/libhal-gpower.c +--- gnome-power-manager-2.22.1/libhal-glib/libhal-gpower.c 2008-09-02 17:45:15.000000000 -0500 ++++ gnome-power-manager-2.22.1.new/libhal-glib/libhal-gpower.c 2008-09-02 17:47:54.000000000 -0500 +@@ -28,6 +28,7 @@ + #include + #include + #include ++#include + + #include "libhal-marshal.h" + #include "libhal-gpower.h" +@@ -78,9 +79,8 @@ + HAL_DBUS_SERVICE, + HAL_ROOT_COMPUTER, + HAL_DBUS_INTERFACE_POWER); +- if (power->priv->gproxy == NULL) { ++ if (power->priv->gproxy == NULL) + g_warning ("HAL does not support power management!"); +- } + + power->priv->computer = hal_gdevice_new (); + hal_gdevice_set_udi (power->priv->computer, HAL_ROOT_COMPUTER); +@@ -204,9 +204,8 @@ + hal_gpower_filter_error (GError **error) + { + /* short cut for speed, no error */ +- if (error == NULL || *error == NULL) { ++ if (error == NULL || *error == NULL) + return FALSE; +- } + + /* DBUS might time out, which is okay. We can remove this code + when the dbus glib bindings are fixed. See #332888 */ +@@ -232,6 +231,8 @@ + gboolean + hal_gpower_suspend (HalGPower *power, guint wakeup, GError **error) + { ++ time_t start; ++ time_t end; + gint retval = 0; + gboolean ret; + DBusGProxy *proxy; +@@ -244,17 +245,24 @@ + return FALSE; + } + ++ time (&start); + ret = dbus_g_proxy_call (proxy, "Suspend", error, + G_TYPE_INT, wakeup, + G_TYPE_INVALID, + G_TYPE_INT, &retval, + G_TYPE_INVALID); + /* we might have to ignore the error */ +- if (error != NULL && hal_gpower_filter_error (error) == TRUE) { ++ if (error != NULL && hal_gpower_filter_error (error)) + return TRUE; +- } +- if (retval != 0) { +- g_warning ("Suspend failed in a horrible way!"); ++ if (retval != 0) ++ g_warning ("Suspend failed without error message"); ++ ++ /* compare the amount of time that has passed - if it's more than 6 hours ++ * then the dbus call timed out (dbus-pending-call.c) */ ++ if (ret != 0) { ++ time (&end); ++ if (difftime (start, end) >= 6*60*60*1000) ++ return TRUE; + } + return ret; + } +@@ -272,6 +280,8 @@ + static gboolean + hal_gpower_pm_method_void (HalGPower *power, const gchar *method, GError **error) + { ++ time_t start; ++ time_t end; + guint retval = 0; + gboolean ret; + DBusGProxy *proxy; +@@ -279,6 +289,7 @@ + g_return_val_if_fail (LIBHAL_IS_GPOWER (power), FALSE); + g_return_val_if_fail (method != NULL, FALSE); + ++ + proxy = dbus_proxy_get_proxy (power->priv->gproxy); + if (DBUS_IS_G_PROXY (proxy) == FALSE) { + g_warning ("proxy NULL!!"); +@@ -289,16 +300,23 @@ + return FALSE; + } + ++ time (&start); + ret = dbus_g_proxy_call (proxy, method, error, + G_TYPE_INVALID, + G_TYPE_INT, &retval, + G_TYPE_INVALID); + /* we might have to ignore the error */ +- if (error != NULL && hal_gpower_filter_error (error) == TRUE) { ++ if (error != NULL && hal_gpower_filter_error (error)) + return TRUE; +- } +- if (retval != 0) { ++ if (retval != 0) + g_warning ("%s failed in a horrible way!", method); ++ ++ /* compare the amount of time that has passed - if it's more than 6 hours ++ * then the dbus call timed out (dbus-pending-call.c) */ ++ if (ret != 0) { ++ time (&end); ++ if (difftime (start,end) >= 6*60*60*1000) ++ return TRUE; + } + return ret; + } +@@ -384,9 +402,8 @@ + G_TYPE_INVALID, + G_TYPE_INT, &retval, + G_TYPE_INVALID); +- if (retval != 0) { ++ if (retval != 0) + g_warning ("SetPowerSave failed in a horrible way!"); +- } + return ret; + } + --- gnome-power-manager-2.22.1.orig/debian/patches/07_inhibit_applet_icon_resize.patch +++ gnome-power-manager-2.22.1/debian/patches/07_inhibit_applet_icon_resize.patch @@ -0,0 +1,32 @@ +diff -ur gnome-power-manager-orig/applets/inhibit/inhibit-applet.c gnome-power-manager-ted/applets/inhibit/inhibit-applet.c +--- gnome-power-manager-orig/applets/inhibit/inhibit-applet.c 2007-12-14 13:23:42.000000000 -0800 ++++ gnome-power-manager-ted/applets/inhibit/inhibit-applet.c 2008-03-12 12:08:59.000000000 -0700 +@@ -244,12 +244,20 @@ + gpm_applet_get_icon (applet); + gtk_widget_set_size_request (GTK_WIDGET(applet), applet->size, applet->icon_height + 2); + } ++ /* Adjusting incase the icon size has changed */ ++ if (GTK_WIDGET(applet)->allocation.height < applet->icon_height + 2) { ++ gtk_widget_set_size_request (GTK_WIDGET(applet), applet->size, applet->icon_height + 2); ++ } + } else { + if (applet->size != GTK_WIDGET(applet)->allocation.height) { + applet->size = GTK_WIDGET(applet)->allocation.height; + gpm_applet_get_icon (applet); + gtk_widget_set_size_request (GTK_WIDGET(applet), applet->icon_width + 2, applet->size); + } ++ /* Adjusting incase the icon size has changed */ ++ if (GTK_WIDGET(applet)->allocation.width < applet->icon_width + 2) { ++ gtk_widget_set_size_request (GTK_WIDGET(applet), applet->icon_width + 2, applet->size); ++ } + } + } + +@@ -373,6 +381,7 @@ + } + /* update icon */ + gpm_applet_get_icon (applet); ++ gpm_applet_check_size (applet); + gpm_applet_update_tooltip (applet); + gpm_applet_draw_cb (applet); + --- gnome-power-manager-2.22.1.orig/debian/patches/70-suppress-pm-actions-on-ltsp.patch +++ gnome-power-manager-2.22.1/debian/patches/70-suppress-pm-actions-on-ltsp.patch @@ -0,0 +1,25 @@ +diff -Nur gnome-power-manager-2.19.3/libhal-glib/libhal-gpower.c gnome-power-manager-2.19.3.new/libhal-glib/libhal-gpower.c +--- gnome-power-manager-2.19.3/libhal-glib/libhal-gpower.c 2007-03-29 16:05:00.000000000 +0200 ++++ gnome-power-manager-2.19.3.new/libhal-glib/libhal-gpower.c 2007-06-16 10:31:46.000000000 +0200 +@@ -162,8 +162,8 @@ + exists = hal_gdevice_get_bool (power->priv->computer, + "power_management.can_suspend", + &can_suspend, NULL); +- if (exists == FALSE) { +- g_warning ("Key can_suspend missing"); ++ if (exists == FALSE || g_getenv("LTSP_CLIENT")) { ++ g_warning ("Key can_suspend missing or running on Thin Client"); + return FALSE; + } + return can_suspend; +@@ -189,8 +189,8 @@ + exists = hal_gdevice_get_bool (power->priv->computer, + "power_management.can_hibernate", + &can_hibernate, NULL); +- if (exists == FALSE) { +- g_warning ("Key can_hibernate missing"); ++ if (exists == FALSE || g_getenv("LTSP_CLIENT")) { ++ g_warning ("Key can_hibernate missing or running on Thin Client"); + return FALSE; + } + return can_hibernate; --- gnome-power-manager-2.22.1.orig/debian/patches/02_gnome-power-manager.desktop.in.in.patch +++ gnome-power-manager-2.22.1/debian/patches/02_gnome-power-manager.desktop.in.in.patch @@ -0,0 +1,11 @@ +diff -ur gnome-power-manager-orig/data/gnome-power-manager.desktop.in.in gnome-power-manager-ted/data/gnome-power-manager.desktop.in.in +--- gnome-power-manager-orig/data/gnome-power-manager.desktop.in.in 2008-01-27 06:15:08.000000000 -0800 ++++ gnome-power-manager-ted/data/gnome-power-manager.desktop.in.in 2008-03-14 14:04:18.000000000 -0700 +@@ -2,6 +2,7 @@ + Encoding=UTF-8 + _Name=Power Manager + _Comment=Power management daemon ++StartupNotify=true + Icon=gnome-power-manager + Exec=gnome-power-manager + Terminal=false --- gnome-power-manager-2.22.1.orig/debian/README.Debian +++ gnome-power-manager-2.22.1/debian/README.Debian @@ -0,0 +1,10 @@ +GNOME Users: Starting GNOME Power Manager with your GNOME Session +================================================================= + +1) Add yourself to the powerdev group; this group is created by hal + >= 0.5.6+cvs20060219-1. +2) Open System -> Preferences -> Sessions +3) In the Startup Programs tab, click Add +4) Type "gnome-power-manager", click OK. +5) Log out of your gnome session, and log back in again. + --- gnome-power-manager-2.22.1.orig/debian/compat +++ gnome-power-manager-2.22.1/debian/compat @@ -0,0 +1 @@ +5 --- gnome-power-manager-2.22.1.orig/debian/postinst +++ gnome-power-manager-2.22.1/debian/postinst @@ -0,0 +1,43 @@ +#! /bin/sh +# postinst script for gnome-power-manager + +set -e + +#DEBHELPER# + +case "$1" in + configure) + if [ -r /usr/share/acpi-support/device-funcs ]; then + . /usr/share/acpi-support/device-funcs + DeviceConfig + fi + if [ "x$ACPI_SLEEP" = "xtrue" ]; then + gconftool-2 --direct \ + --config-source xml:readwrite:/var/lib/gconf/defaults \ + --set --type bool \ + /apps/gnome-power-manager/can_suspend true + + gconftool-2 --direct \ + --config-source xml:readwrite:/var/lib/gconf/defaults \ + --set --type string \ + /apps/gnome-power-manager/action_button_suspend suspend + + gconftool-2 --direct \ + --config-source xml:readwrite:/var/lib/gconf/defaults \ + --set --type bool \ + /apps/gnome-power-manager/suppress_suspend_warning true + + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +exit 0 --- gnome-power-manager-2.22.1.orig/debian/gconf-defaults +++ gnome-power-manager-2.22.1/debian/gconf-defaults @@ -0,0 +1,7 @@ +/apps/gnome-power-manager/ui/icon_policy charge +/apps/gnome-power-manager/backlight/brightness_battery 70 +/apps/gnome-power-manager/timeout/sleep_computer_battery 0 +/apps/gnome-power-manager/buttons/lid_battery blank +/apps/gnome-power-manager/actions/sleep_type_battery nothing +/apps/gnome-power-manager/lock/use_screensaver_settings false +/apps/gnome-power-manager/lock/blank_screen false --- gnome-power-manager-2.22.1.orig/debian/copyright +++ gnome-power-manager-2.22.1/debian/copyright @@ -0,0 +1,39 @@ +This package was debianized by Riccardo Setti + +It was downloaded from http://ftp.gnome.org/pub/GNOME/sources/gnome-power-manager/ + +Copyright Holder: Richard Hughes + William Jon McCann + Jaap A. Haitsma +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +src/eggtryicon.c src/eggtryicon.h are copyright of Anders Carlsson +and are relased under the terms of the GPL 2 + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + +src/gtk-stock-icon.c, src/gtk-stock-icon.h are copyright of Colin Walters = 6 hours. (LP: #242713) + + -- Mario Limonciello Tue, 02 Sep 2008 17:40:15 -0500 + +gnome-power-manager (2.22.1-1ubuntu4) hardy; urgency=low + + * Adding in patch 10_keyboard_brightness_gconf.patch which fixes some + cut-and-paste errors in the keyboard brightness server which set the + wrong gconf keys. + * Updating 04_brightness_events.patch so that idle changes work when + we're not on AC and work in the right direction. Also updating so + that we're not using the GCONF key for AC brightness just a fixed + value as some people have very different values for AC and it isn't + required for the logic. LP: #199522 + + -- Ted Gould Thu, 10 Apr 2008 06:27:11 -0700 + +gnome-power-manager (2.22.1-1ubuntu3) hardy; urgency=low + + * Adding patch 09_lid_always_blanks.patch to make it so that a lid + button will at least blank even when inhibitted. It also makes it so + that inhibit can't block critical battery actions. LP: #193617 + + -- Ted Gould Tue, 08 Apr 2008 08:42:22 -0700 + +gnome-power-manager (2.22.1-1ubuntu2) hardy; urgency=low + + * Removing 01_no_backlight_on_idle.patch as the code is covered + in 04_brightness_events.patch and it is breaking things by being + in the general callback. LP: #207553 + + -- Ted Gould Tue, 01 Apr 2008 15:34:51 -0700 + +gnome-power-manager (2.22.1-1ubuntu1) hardy; urgency=low + + * Removing 01-use-panel-logout.patch we should be logging out using + session managment not calling a command line utility. Consitency + would be better gained by fixing the other applications. + * Removing 05_readd_gnome_client.patch as it was merged upstream + * Removing 08_remove_lid_sounds.patch as it was merged upstream + + -- Ted Gould Tue, 01 Apr 2008 14:11:17 -0700 + +gnome-power-manager (2.22.1-1) unstable; urgency=low + + * New upstream release. + * debian/patches/73-getbrightness-returns-int.patch: + - Removed. Merged upstream + * Shutdown the gstreamer pipeline after playing a sound. Prevents a memory + exhausting bug. (Closes: #472637) + * debian/control.in: Set the Maintainer to the gnome team. Riccardo hasn't + worked on the package for months. + + -- Sjoerd Simons Sat, 29 Mar 2008 13:52:49 +0100 + +gnome-power-manager (2.22.0-1) unstable; urgency=low + + [ Michael Biebl ] + * debian/control, debian/control.in + - Add Vcs-* fields. + + [ Sjoerd Simons ] + * New upstream release + * debian/patches/01-use-panel-logout.patch: + - Updated + * debian/patches/02.gnome-power-manager.desktop.in.patch: + - Dropped + * debian/patches/73-getbrightness-returns-int.patch: + - Updated + + -- Sjoerd Simons Tue, 18 Mar 2008 14:52:01 +0100 + +gnome-power-manager (2.20.2-3) unstable; urgency=low + + [ Michael Biebl ] + * debian/patches/03-system-policy.patch + - Make gnome-power-manager claim org.freedesktop.Policy.Power on the + D-Bus system bus on startup. This ensures that gnome-power-manager, + kpowersave and powersaved are not stepping on each other's toes and only + one program is acting on power management events. + + -- Loic Minier Tue, 29 Jan 2008 10:15:41 +0100 + +gnome-power-manager (2.20.2-2) unstable; urgency=low + + * 01-use-panel-logout.patch: use gnome-panel-logout if available + instead of the session's logout window, for the sake of consistency + across the desktop. + * Use the new Homepage field. + + -- Josselin Mouette Sat, 12 Jan 2008 15:56:10 +0100 + +gnome-power-manager (2.22.0-0ubuntu2) hardy; urgency=low + + * Adjusting patch 04_brightness_events.patch based on comments + by Richard Hughes on the gnome-power-manager mailing list. + * Adding in 08_remove_lid_sounds.patch which removes all of the lid + sounds. The are silly and can cause embarassing situtions for + Ubuntu users. (LP: 204067) + + -- Ted Gould Thu, 20 Mar 2008 13:35:46 -0700 + +gnome-power-manager (2.22.0-0ubuntu1) hardy; urgency=low + + * Changing 02.gnome-power-manager.desktop.in.patch to + 02_gnome-power-manager.desktop.in.in.patch to patch the source + file instead of the derived one. + * Adding in 07_inhibit_applet_icon_resize.patch which makes it so that + icons changing size make the applet update it's size. Fixing the + inhibit applet with the Human theme. + * Adding patch 06_inhibit_applet_clear.patch which adds a + gdk_window_clear so that the icon refreshes cleanly. (LP: 139820) + * New upstream release + * Removed 75-fix-memleak-brightness-applet.patch as it's been integrated + into the upstream release. + * Adding patch 05_readd_gnome_client.patch which reverts changes to + gpm-main.c to remove gnome_program_init() which makes it so that + later calls to GNOMEClient break. + * Adding patch '04_brightness_events.patch' which changes the + brightness control from being state based to being event + based. + * Adding in a patch '03_always_get_hw_backlight.patch' which forces + the get brightness function to query instead of using a saved value. + Hopefully fixing many of the idle brightness bugs. + * Adding patch 01_no_backlight_on_idle.patch which was attached on to + Bug # 137598 by Tim Hull. Not sure that it fixes the problem, but + seems like good code to include. + + -- Ted Gould Fri, 14 Mar 2008 14:10:01 -0700 + +gnome-power-manager (2.21.92-0ubuntu2) hardy; urgency=low + + * Add debian/patches/75-fix-memleak-brightness-applet.patch: + Don't leak references in the brightness applet (LP: #196688). + Fix picked from upstream SVN trunk (commit 2680). + + -- Daniel T Chen Mon, 03 Mar 2008 15:49:23 -0500 + +gnome-power-manager (2.21.92-0ubuntu1) hardy; urgency=low + + * Upstream version update. + * HAL work arounds + * Updated icons (much smaller) + * Bug fixes + * and more! + + -- Ted Gould Fri, 15 Feb 2008 14:23:05 -0800 + +gnome-power-manager (2.21.1-0ubuntu1) hardy; urgency=low + + * Upstream unstable release + * debian/control.in + - Added build deps for keyring, applet dev and xmlto + - Modify maintainer + * debian/postinst + - Check for ACPI suspend support + * debian/gconf-defaults + - Added defaults for Ubuntu specific configuration + * debian/rules + - Make power manager autostart + - Handle custom GConf properties + + -- Ted Gould Fri, 21 Dec 2007 09:54:05 -0800 + +gnome-power-manager (2.20.2-1) unstable; urgency=low + + * New upstream bugfix release: + + debian/patches/73-getbrightness-returns-int.patch: + - Updated to apply cleanly again, partially merged upstream. + + debian/patches/71-fix-keyboard-brightness-keys.patch, + debian/patches/72-fixbashizms.patch: + - Dropped, merged upstream. + * debian/control.in: + + Update Standards-Version to 3.7.3, no other changes needed. + + -- Sebastian Dröge Sat, 15 Dec 2007 04:42:54 +0100 + +gnome-power-manager (2.20.1-1) unstable; urgency=low + + [ Josselin Mouette ] + * Depend on hal 0.5.10-1, thanks Nathaniel Smith and Hideki Yamane. + Closes: #443796. + * Drop --enable-checkfg, thanks Alban Browaeys. Closes: #444491. + + [ Sebastian Dröge ] + * New upstream bugfix release. + + -- Sebastian Dröge Sat, 01 Dec 2007 19:17:50 +0100 + +gnome-power-manager (2.20.0-1) unstable; urgency=low + + * New upstream release. + * Added patches: + 71-fix-keyboard-brightness-keys.patch + 72-fixbashizms.patch + 73-getbrightness-returns-int.patch + taken from the Ubuntu package. + * Modified patch: + 02.gnome-power-manager.desktop.in.patch + * Dropped patch: + 01_fix_gpm_dbus_conf.patch + + -- Riccardo Setti Sat, 22 Sep 2007 14:53:46 +0200 + +gnome-power-manager (2.18.3-1) unstable; urgency=low + + * New upstream stable release. + + -- Loic Minier Tue, 22 May 2007 15:09:21 +0200 + +gnome-power-manager (2.18.2-1) unstable; urgency=low + + * New upstream release. + * Dropped 40_link-applets-to-dbus.patch, applied upstream + * Dropped 41_automake.patch, no more useful. + * Adjusted libnotify build-dep. + + -- Riccardo Setti Sun, 22 Apr 2007 12:07:10 +0200 + +gnome-power-manager (2.18.1-1) experimental; urgency=low + + * New upstream release. + + -- Riccardo Setti Sat, 24 Mar 2007 20:15:01 +0100 + +gnome-power-manager (2.18.0-1) experimental; urgency=low + + [ Riccardo Setti ] + * New upstream release. + * Dropped 55_lid_state_tracking.patch + + [ Loic Minier ] + * GNOME team uploads; include uploaders.mk and build-dep on gnome-pkg-tools. + * Misc cleanups: whitespaces and indentation; reword README.Debian. + * Drop DEB_AUTO_UPDATE_AUTOCONF. + * Include CDBS's utils.mk. + * Add a get-orig-source target to retrieve the upstream tarball. + * Include the new check-dist Makefile to prevent accidental uploads to + unstable; bump build-dep on gnome-pkg-tools to >= 0.10. + * Track all stable versions in watch file. + * Build-depend on "libnotify-dev (>= 0.4.3), libnotify-dev-gtk2.10" instead + of "libnotify-dev | libnotify-dev-gtk2.10 (>= 0.4.3)". + * Bump up libnotify-dev build-dep to >= 0.4.3-2 to make the package + autobuildable. + * New patch, 40_link-applets-to-dbus, links applets against dbus-glib to fix + build with non-dbus gnome-vfs; GNOME #422345. + * New patch, 41_automake, automake-1.10 run due to 40_link-applets-to-dbus. + + -- Loic Minier Sat, 24 Mar 2007 19:00:58 +0100 + +gnome-power-manager (2.16.3-1) experimental; urgency=low + + * New upstream release. + * Rebuilt with latest libdbus (closes: 405941) + * Fixed a bug in g-p-m that prevents gnome-screensaver + from displaying any screensavers after g-p-m has put + the display into power saving mode. (closes: 398143) + + -- Riccardo Setti Sun, 19 Nov 2006 14:19:55 +0100 + +gnome-power-manager (2.16.0-2) experimental; urgency=low + + * added 55-lid-state-tracking.patch taken from the ubuntu package + . + + -- Riccardo Setti Sun, 17 Sep 2006 16:50:05 +0200 + +gnome-power-manager (2.16.0-1) experimental; urgency=low + + * New upstream release. + + -- Riccardo Setti Tue, 5 Sep 2006 20:40:30 +0200 + +gnome-power-manager (2.15.92-1) experimental; urgency=low + + * New upstream release. + + -- Riccardo Setti Mon, 21 Aug 2006 20:46:32 +0200 + +gnome-power-manager (2.15.91-1) experimental; urgency=low + + * New upstream release. + + -- Riccardo Setti Fri, 18 Aug 2006 14:52:12 +0200 + +gnome-power-manager (2.14.3-3) unstable; urgency=low + + * Gpm now can handle power button. (Closes: #366628) + * Added support for StartupNotify in launcher (closes: #361522 + * Updated pt_BR translation (thank you Goedson) (closes: #361287) + * Bumped to stadard version. No changes needed. + + -- Riccardo Setti Sun, 13 Aug 2006 21:12:08 +0200 + +gnome-power-manager (2.14.3-2) unstable; urgency=low + + * Pass --with-dbus-services option to configure so the services file is + installed in the right location (Closes: #369372) + + -- Sjoerd Simons Thu, 8 Jun 2006 21:19:54 +0200 + +gnome-power-manager (2.14.3-1) unstable; urgency=low + + * New upstream release + + -- Sjoerd Simons Fri, 26 May 2006 23:56:20 +0200 + +gnome-power-manager (2.14.0-1) unstable; urgency=low + + * New upstream version + + -- Sjoerd Simons Sun, 2 Apr 2006 19:41:33 +0200 + +gnome-power-manager (2.13.93-1) experimental; urgency=low + + * New Upstream + - removed debian/patches/02_gpm_struct_type.patch. Fixed upstream. + + -- Riccardo Setti Sun, 5 Mar 2006 19:45:37 +0100 + +gnome-power-manager (2.13.92-2) experimental; urgency=low + + * debian/patches/02_gpm_struct_type.patch + + Added. Fix compatibility with dbus 0.61 + * Build-depend on libdbus-glib-1-dev (>= 0.61) + * Add myself to uploaders + + -- Sjoerd Simons Fri, 3 Mar 2006 11:48:33 +0100 + +gnome-power-manager (2.13.92-1) experimental; urgency=low + + * New upstream + + -- Riccardo Setti Sun, 26 Feb 2006 22:14:18 +0100 + +gnome-power-manager (2.13.91-2) experimental; urgency=low + + [Riccardo Setti] + + * fixed the installation of the gconf schemas. + - thanks to Marco zufus Presi for provide a patch. + * added 01_fix_gpm_dbus_conf.patch which grants permissions to the + group powerdev + * gpm deps on the last hal in experimental + + [Michael Biebl] + + * added a watch file. + * automatic autotools updated via DEB_AUTO_UPDATE_AUTOCONF flag. + - added build-dep on autoconf + * removed debian/dirs since it was useless. + + -- Riccardo Setti Thu, 23 Feb 2006 21:05:20 +0100 + +gnome-power-manager (2.13.91-1) experimental; urgency=low + + * New Upstream Release. + + -- Riccardo Setti Tue, 21 Feb 2006 00:03:15 +0100 + +gnome-power-manager (2.13.90-1) experimental; urgency=low + + * New upstream. + + -- Riccardo Setti Thu, 16 Feb 2006 14:41:29 +0100 + +gnome-power-manager (2.13.5-1) unstable; urgency=low + + * new upstream + - removed 01_port_to_the_new_libnotify because the last notify code works fine + - gpm depends on hal >= 0.5.6, libtool + - added --disable-scrollkeeper switch + * gpm depends on notification-daemon instead of notify-daemon + + -- Riccardo Setti Sun, 12 Feb 2006 20:45:16 +0100 + +gnome-power-manager (0.3.1-1) unstable; urgency=low + + * First Debian release. + * Initial upload to Debian (closes: #303600) + * based on the ubuntu package. + * src/gpm-libnotify.{c,h}: + - ported to new libnotify api (taken from cvs) + + -- Riccardo Setti Fri, 13 Jan 2006 15:53:43 +0100 + +gnome-power-manager (0.3.1-0ubuntu4) dapper; urgency=low + + * src/gpm-libnotify.{c,h}: + - ported to new libnotify api (taken from cvs) + * debian/control: + - changed dependency from notification-daemon to notify-daemon + + -- Michael Vogt Mon, 2 Jan 2006 21:10:43 +0100 + +gnome-power-manager (0.3.1-0ubuntu3) dapper; urgency=low + + * rebuild against latest dbus + + -- Michael Vogt Wed, 21 Dec 2005 11:11:56 +0100 + +gnome-power-manager (0.3.1-0ubuntu2) dapper; urgency=low + + * suspend by calling gdm-signal directly, rather than by going through + hal (allows suspend without requiring privilege escalation) + + -- Matthew Garrett Tue, 6 Dec 2005 05:43:33 +0000 + +gnome-power-manager (0.3.1-0ubuntu1) dapper; urgency=low + + * new upstream release + + -- Oliver Grawert Thu, 17 Nov 2005 02:42:49 +0100 + +gnome-power-manager (0.2.8.1-1ubuntu1) dapper; urgency=low + + * initial dapper upload + + -- Oliver Grawert Tue, 25 Oct 2005 00:24:15 +0200 + +gnome-power-manager (0.2.8.1-1utopia1) breezy; urgency=low + + * Initial import, based from the universe ubuntu package. + + -- Richard Hughes Mon, 24 Oct 2005 00:49:03 +0100