Date: Wed, 24 Mar 2010 00:46:09 +0900 (JST) From: HASHI Hiroaki <hashiz@meridiani.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/144980: gnome-power-manager cooperates with gnome-screensaver Message-ID: <201003231546.o2NFk9cs037317@stenmark.meridiani.jp> Resent-Message-ID: <201003231620.o2NGK2Av066191@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144980 >Category: ports >Synopsis: gnome-power-manager cooperates with gnome-screensaver >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 23 16:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: HASHI Hiroaki >Release: FreeBSD 8.0-STABLE i386 >Organization: none >Environment: System: FreeBSD stenmark.meridiani.jp 8.0-STABLE FreeBSD 8.0-STABLE #56: Tue Mar 23 03:50:46 JST 2010 hashiz@stenmark.meridiani.jp:/usr/obj/usr/src/sys/STENMARK i386 >Description: Now, gnome-power-manager did not cooperate with gnome-screensaver - At preference, idle_delay do not cooperate screensaver's one. - At daemon, did not set DPMS standby/off delay. >How-To-Repeat: install sysutils/gnome-power-manager and x11/gnome-screensaver >Fix: --- gnome-power-manager.patch begins here --- diff -ruN gnome-power-manager.orig/Makefile gnome-power-manager/Makefile --- gnome-power-manager.orig/Makefile 2010-02-06 15:58:13.000000000 +0900 +++ gnome-power-manager/Makefile 2010-03-24 00:32:34.000000000 +0900 @@ -8,7 +8,7 @@ PORTNAME= gnome-power-manager PORTVERSION= 2.24.4 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= sysutils gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 diff -ruN gnome-power-manager.orig/files/patch-src_gpm-screensaver.c gnome-power-manager/files/patch-src_gpm-screensaver.c --- gnome-power-manager.orig/files/patch-src_gpm-screensaver.c 1970-01-01 09:00:00.000000000 +0900 +++ gnome-power-manager/files/patch-src_gpm-screensaver.c 2010-03-24 00:26:54.000000000 +0900 @@ -0,0 +1,14 @@ +--- src/gpm-screensaver.c~ 2008-09-04 19:05:15.000000000 +0900 ++++ src/gpm-screensaver.c 2010-03-24 00:02:58.000000000 +0900 +@@ -137,9 +137,9 @@ + screensaver, NULL); + + /* get SessionIdleChanged */ +- dbus_g_proxy_add_signal (proxy, "SessionIdleChanged", G_TYPE_BOOLEAN, G_TYPE_INVALID); ++ dbus_g_proxy_add_signal (proxy, "ActiveChanged", G_TYPE_BOOLEAN, G_TYPE_INVALID); + dbus_g_proxy_connect_signal (proxy, +- "SessionIdleChanged", ++ "ActiveChanged", + G_CALLBACK (gpm_screensaver_session_idle_changed), + screensaver, NULL); + diff -ruN gnome-power-manager.orig/files/patch-src_gpm_conf.h gnome-power-manager/files/patch-src_gpm_conf.h --- gnome-power-manager.orig/files/patch-src_gpm_conf.h 1970-01-01 09:00:00.000000000 +0900 +++ gnome-power-manager/files/patch-src_gpm_conf.h 2010-03-24 00:26:04.000000000 +0900 @@ -0,0 +1,13 @@ +--- src/gpm-conf.h~ 2008-09-04 19:05:15.000000000 +0900 ++++ src/gpm-conf.h 2010-03-24 00:20:25.000000000 +0900 +@@ -149,8 +149,9 @@ + + /* gnome-screensaver */ + #define GS_CONF_DIR "/apps/gnome-screensaver" ++#define GS_CONF_SESSION_DIR "/desktop/gnome/session" + #define GS_PREF_LOCK_ENABLED GS_CONF_DIR "/lock_enabled" +-#define GS_PREF_IDLE_DELAY GS_CONF_DIR "/idle_delay" ++#define GS_PREF_IDLE_DELAY GS_CONF_SESSION_DIR "/idle_delay" + + typedef struct GpmConfPrivate GpmConfPrivate; + --- gnome-power-manager.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003231546.o2NFk9cs037317>