gpe-login 0.90: Lock screen on suspend, not on resume.
authorPaul Sokolovsky <pmiscml@gmail.com>
Mon, 26 Nov 2007 16:09:20 +0000 (16:09 +0000)
committerPaul Sokolovsky <pmiscml@gmail.com>
Mon, 26 Nov 2007 16:09:20 +0000 (16:09 +0000)
* When using gpe-login --autolock, lock screen before going to suspend,
not after coming out of resume, as otherwise there's noticeable delay with
screen unprotected.
* Closes #3370.
* Upstream bug http://bugs.linuxtogo.org/show_bug.cgi?id=125

packages/gpe-login/files/lock-on-supend.patch [new file with mode: 0644]
packages/gpe-login/gpe-login_0.90.bb

diff --git a/packages/gpe-login/files/lock-on-supend.patch b/packages/gpe-login/files/lock-on-supend.patch
new file mode 100644 (file)
index 0000000..2aeb20f
--- /dev/null
@@ -0,0 +1,14 @@
+Lock screen when device goes to suspend, not after some time has passed
+since resume and they stole your data from the unprotected screen.
+
+--- gpe-login-0.90/Makefile.am.org     2007-04-02 15:46:52.000000000 +0300
++++ gpe-login-0.90/Makefile.am 2007-11-24 22:41:24.000000000 +0200
+@@ -17,7 +17,7 @@
+ x11_SCRIPTS = gpe-login.setup X11/gpe-login.pre-session
+ x11_DATA = gpe-login.keylaunchrc X11/gpe-login.gtkrc
+-apmdir = $(sysconfdir)/apm/resume.d
++apmdir = $(sysconfdir)/apm/suspend.d
+ apm_SCRIPTS = gpe-login.suspend 
+       
+ xsessiondir = $(sysconfdir)/X11/Xsession.d
index 6b8afb2..c2a274b 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "GPL"
 DEPENDS = "gtk+ libgpewidget gpe-ownerinfo xkbd"
 RDEPENDS = "xkbd gpe-theme-clearlooks"
 RPROVIDES_${PN} = "gpe-session-starter"
-PR = "r3"
+PR = "r4"
 
 SRC_URI_OVERRIDES_PACKAGE_ARCH = "1"
 
@@ -16,6 +16,7 @@ inherit gpe autotools pkgconfig
 
 SRC_URI += "file://removeblue-fontsize8.patch;patch=1"
 SRC_URI += " file://chvt-keylaunch.patch;patch=1 "
+SRC_URI += " file://lock-on-supend.patch;patch=1 "
 SRC_URI += " file://gpe-xcalibrate-rises-from-dead.patch;patch=1 "
 
 SRC_URI_append_spitz = "file://brightness-adjust-keyluanchrc.patch;patch=1"