Package: xlockmore
Version: 1:5.27-1.01
Severity: important
Tags: patch

Hello,

the clearscreen patch broke the usefirst option (which is on by default, btw).
I'm attaching a patch that fixes the problem (not sure if that's the correct
solution though).

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (200, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-lis-00008-g249a1da-dirty (SMP w/2 CPU cores)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/bash

Versions of packages xlockmore depends on:
ii  libatk1.0-0                   1.22.0-1   The ATK accessibility toolkit
ii  libc6                         2.7-15     GNU C Library: Shared libraries
ii  libcairo2                     1.8.6-2    The Cairo 2D vector graphics libra
ii  libgcc1                       1:4.3.1-2  GCC support library
ii  libglib2.0-0                  2.18.4-2   The GLib library of C routines
ii  libgtk2.0-0                   2.12.10-2  The GTK+ graphical user interface 
ii  libice6                       2:1.0.4-1  X11 Inter-Client Exchange library
ii  libpam0g                      0.99.7.1-7 Pluggable Authentication Modules l
ii  libpango1.0-0                 1.22.4-2   Layout and rendering of internatio
ii  libsm6                        2:1.0.3-2  X11 Session Management library
ii  libstdc++6                    4.3.1-2    The GNU Standard C++ Library v3
ii  libx11-6                      2:1.1.4-2  X11 client-side library
ii  libxext6                      2:1.0.4-1  X11 miscellaneous extension librar
ii  libxmu6                       2:1.0.4-1  X11 miscellaneous utility library

Versions of packages xlockmore recommends:
ii  libpam-modules                0.99.7.1-7 Pluggable Authentication Modules f

Versions of packages xlockmore suggests:
pn  fortune                       <none>     (no description available)

-- no debconf information

-- 
Tomáš Janoušek, a.k.a. Liskni_si, http://work.lisk.in/
diff -up ./debian/changelog.orig ./debian/changelog
--- ./debian/changelog.orig	2009-03-01 17:36:20.000000000 +0100
+++ ./debian/changelog	2009-03-01 17:21:11.000000000 +0100
@@ -1,3 +1,9 @@
+xlockmore (1:5.27-1.01) unstable; urgency=low
+
+  * Fixed usefirst that was broken by 02_clearscreen.dpatch) 
+
+ -- Tomas Janousek <t...@nomi.cz>  Sun, 01 Mar 2009 17:21:09 +0100
+
 xlockmore (1:5.27-1) unstable; urgency=low
 
   * New upstream version
diff -up ./debian/patches/02_clearscreen.dpatch.orig ./debian/patches/02_clearscreen.dpatch
--- ./debian/patches/02_clearscreen.dpatch.orig	2009-03-01 17:36:20.000000000 +0100
+++ ./debian/patches/02_clearscreen.dpatch	2009-03-01 17:17:56.000000000 +0100
@@ -33,7 +33,7 @@ diff -urNad xlockmore-5.27~/xlock/xlock.
 +		XFillRectangle(dsp, Scr[thisscreen].window, Scr[thisscreen].gc,
 +			passx, passy - fontheight,
 +			xgwa.width - passx, fontheight);
-+		XSync(dsp, True);
++		XSync(dsp, False);
 +	}
 +
  	for (;;) {

Reply via email to