Your message dated Tue, 20 Jul 2010 02:47:27 +0000
with message-id <[email protected]>
and subject line Bug#558695: fixed in xlockmore 1:5.31-1
has caused the Debian Bug report #558695,
regarding xlockmore: add DPMS force off option
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
558695: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=558695
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xlockmore
Version: 1:5.27-1
Severity: wishlist

Hi,

with xscreensaver messing with my DPMS settings, I'm considering
switching to xlockmore. Once thing I'd like to have (both in
xscreensaver and xlockmore, in fact) is the hability to just shut the
screen down when the lock activates. I only use xlock -mode blank, so
instead of waiting for the timeout to activates, it might be useful to
just dpms force off.

I've cooked a quick patch which does that. It might benefit some
improvements, like:

- manpage doc;
- hability to chose what level to force (I'm currently forcing to off
  but it might be interesting to allow the other levels). One way might
  be to change the -dpmsforce boolean option to a -dpmslevel string
  option with would force standby/suspend/off level (on doesn't make
  much sense here).

What do you think?

Cheers,
--
Yves-Alexis


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xlockmore depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
ii  libgcc1                       1:4.4.2-3  GCC support library
ii  libice6                       2:1.0.6-1  X11 Inter-Client Exchange library
ii  libpam0g                      1.1.0-4    Pluggable Authentication Modules l
ii  libsm6                        2:1.1.1-1  X11 Session Management library
ii  libstdc++6                    4.4.2-3    The GNU Standard C++ Library v3
ii  libx11-6                      2:1.3.2-1  X11 client-side library
ii  libxext6                      2:1.0.4-1  X11 miscellaneous extension librar
ii  libxmu6                       2:1.0.5-1  X11 miscellaneous utility library

Versions of packages xlockmore recommends:
ii  libpam-modules                1.1.0-4    Pluggable Authentication Modules f

Versions of packages xlockmore suggests:
ii  fortune-mod [fortune]         1:1.99.1-4 provides fortune cookies on demand

-- no debconf information
#! /bin/sh /usr/share/dpatch/dpatch-run
## 07_add-dpmsforce.dpatch by Yves-Alexis Perez <[email protected]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: add a +/-dpmsforce option to force DPMS off when locking.
@DPATCH@
diff -urNad xlockmore-5.27~/xlock/resource.c xlockmore-5.27/xlock/resource.c
--- xlockmore-5.27~/xlock/resource.c	2009-11-29 22:18:29.000000000 +0100
+++ xlockmore-5.27/xlock/resource.c	2009-11-29 22:22:32.000000000 +0100
@@ -471,6 +471,8 @@
 	{(char *) "-dpmsstandby", (char *) ".dpmsstandby", XrmoptionSepArg, (caddr_t) NULL},
 	{(char *) "-dpmssuspend", (char *) ".dpmssuspend", XrmoptionSepArg, (caddr_t) NULL},
 	{(char *) "-dpmsoff", (char *) ".dpmsoff", XrmoptionSepArg, (caddr_t) NULL},
+	{(char *) "+dpmsforce", (char *) ".dpmsforce", XrmoptionNoArg, (caddr_t) "on"},
+	{(char *) "-dpmsforce", (char *) ".dpmsforce", XrmoptionNoArg, (caddr_t) "off"},
 #endif
 };
 
@@ -686,6 +688,7 @@
     {(char *) "-dpmsstandby seconds", (char *) "seconds to wait before engaging DPMS standby"},
     {(char *) "-dpmssuspend seconds", (char *) "seconds to wait before engaging DPMS suspend"},
 	{(char *) "-dpmsoff seconds", (char *) "seconds to wait before engaging DPMS off"},
+	{(char *) "-/+dpmsforce", (char *) "force DPMS"},
 #endif
 };
 
@@ -761,6 +764,7 @@
 int         dpmsstandby;
 int         dpmssuspend;
 int         dpmsoff;
+Bool        dpmsforce;
 
 #endif
 
@@ -976,6 +980,7 @@
 	{(void *) & dpmsstandby, (char *) "dpmsstandby", (char *) "DPMSStandby", (char *) DEF_DPMSSTANDBY, t_Int},
 	{(void *) & dpmssuspend, (char *) "dpmssuspend", (char *) "DPMSSuspend", (char *) DEF_DPMSSUSPEND, t_Int},
 	{(void *) & dpmsoff, (char *) "dpmsoff", (char *) "DPMSOff", (char *) DEF_DPMSOFF, t_Int},
+	{(void *) & dpmsforce, (char *) "dpmsforce", (char *) "DPMSForce", (char *) "off", t_Bool},
 #endif
 
 	{(void *) & mailCmd, (char *) "mailCmd", (char *) "MailCmd", (char *) DEF_MAILAPP, t_String},
diff -urNad xlockmore-5.27~/xlock/xlock.c xlockmore-5.27/xlock/xlock.c
--- xlockmore-5.27~/xlock/xlock.c	2009-11-29 22:18:29.000000000 +0100
+++ xlockmore-5.27/xlock/xlock.c	2009-11-29 22:18:29.000000000 +0100
@@ -647,6 +647,7 @@
 extern int  dpmsstandby;
 extern int  dpmssuspend;
 extern int  dpmsoff;
+extern int  dpmsforce;
 
 #endif
 
@@ -3912,6 +3913,8 @@
 #ifdef USE_DPMS
 	if ((dpmsstandby >= 0) || (dpmssuspend >= 0) || (dpmsoff >= 0))
 		SetDPMS(dsp, dpmsstandby, dpmssuspend, dpmsoff);
+  if (dpmsforce)
+    DPMSForceLevel(dsp, DPMSModeOff);
 #endif
 #ifdef HAVE_SETPRIORITY
 	(void) setpriority(0, 0, nicelevel);

--- End Message ---
--- Begin Message ---
Source: xlockmore
Source-Version: 1:5.31-1

We believe that the bug you reported is fixed in the latest version of
xlockmore, which is due to be installed in the Debian FTP archive:

xlockmore-gl_5.31-1_i386.deb
  to main/x/xlockmore/xlockmore-gl_5.31-1_i386.deb
xlockmore_5.31-1.dsc
  to main/x/xlockmore/xlockmore_5.31-1.dsc
xlockmore_5.31-1.tar.gz
  to main/x/xlockmore/xlockmore_5.31-1.tar.gz
xlockmore_5.31-1_i386.deb
  to main/x/xlockmore/xlockmore_5.31-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Stone <[email protected]> (supplier of updated xlockmore package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 19 Jul 2010 20:52:12 -0400
Source: xlockmore
Binary: xlockmore-gl xlockmore
Architecture: source i386
Version: 1:5.31-1
Distribution: unstable
Urgency: low
Maintainer: Michael Stone <[email protected]>
Changed-By: Michael Stone <[email protected]>
Description: 
 xlockmore  - Lock X11 display until password is entered.
 xlockmore-gl - Lock X11 display until password is entered -- GL version
Closes: 83413 517355 517713 539786 558695 579031
Changes: 
 xlockmore (1:5.31-1) unstable; urgency=low
 .
   * New upstream version
   * don't flush events when clearing echokeys (Closes: #517713, #517355)
   * update build-dependencies (Closes: #579031)
   * update README.Debian (Closes: #539786)
   * use DPMS for blank mode (Closes: #83413, #558695)
   * xlockmore has only blank mode, all others in xlockmore-gl
Checksums-Sha1: 
 33ab1404e59019099f8444c775b26ba8f4accba1 1526 xlockmore_5.31-1.dsc
 9bbf0f32f7645aa280a04a7e442343810116aa52 2386626 xlockmore_5.31-1.tar.gz
 33121454e654d0ed1302372332af6aba9acd6a2c 1147186 xlockmore-gl_5.31-1_i386.deb
 d5e836c554f4de4f4aba236d0dcda060f8fd9758 195570 xlockmore_5.31-1_i386.deb
Checksums-Sha256: 
 5d23f8fdae4fc45b7c06f309a34610486a2a1e06a8b43ff8a0653cb17655ad34 1526 
xlockmore_5.31-1.dsc
 e75e65c7d509822f7882eb45131b7e7c3eed9740610c6467c2650429ed02b75a 2386626 
xlockmore_5.31-1.tar.gz
 04d75ffb7d0a1ec226a4c56aca19307c83ee63cb8049cb33e62d6fbbf144310c 1147186 
xlockmore-gl_5.31-1_i386.deb
 f5be5eee93600d9821ef8b66cd6aad15f5a8c69ded5a754f03994cf4dfdaf7bd 195570 
xlockmore_5.31-1_i386.deb
Files: 
 1ab81a6b0ea257c0ef03519d1a820454 1526 x11 optional xlockmore_5.31-1.dsc
 c2bbd97a14cf8a12320fc9d7c93734cd 2386626 x11 optional xlockmore_5.31-1.tar.gz
 3da8f34af75bc9bb32032c9e745acbb5 1147186 x11 optional 
xlockmore-gl_5.31-1_i386.deb
 28857857395f5aaa0dad34d0e657aa67 195570 x11 extra xlockmore_5.31-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIVAwUBTEUMlPYarNz6Ef/eAQi5GA/9GU4eRSSyRpj2h9fs23HSo4MIDyIUYCwh
qWPa7xHVYMjkRyU+iVMQCyLGeJLxz8Amy9d2ieyFs6A3Xfj3LZZU+380EbT9c7tQ
rWIdqQtHGWy/x4C8AAS+eUKToZHc2VMsl2TKGlqNFJ13UFYqhFb6xCQ8+yseZGmO
hIx3k1hs148aPhDjNC9fOqG5bT0Y8tdhup2dUYFWx+jE+Q9udgN8yj3K2U39WJC0
l0w0l4UsOGhCQtOAyDYjl1I24acvmZjL+LFW1G9ck1CSIjiAu3BkjvourCOAMm7v
YfXwHbD+6VwgNquWBk1VE4/yoc0ABCOF82m5GNbr3KCkmwNTAAHZuiGvFseYlHBZ
jUSTleOBiodzhFa1QlMMGMngTrpZyzodDwL15X9lQdI6QTHbjvDvgzkoO8eG7TxB
RxA1FRaKAtJ3L5ect3gSmehwXDUTysxKLWBMvFclJk39MjEAIvBx2oh8axPUOhsA
xXmrPfpveIQ4JHsZdO6T4EhoAgg0dMwus/Pcjp/wPdi/VEU+DFf/V/DdFohtdU8i
DRoG9a8m6GQXWTJOUxl36C1bJOCfo/lfT4DVi3IOOoHsfQgLkBzT62q7Hxm6gDTc
ioBdfUE8ZWtwWaySpP6STcpPkOCtE5B6pSNJMlI+P+JJTawUnCxEosJTlpQ5Yet6
EaJgofiBGgs=
=Uemn
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to