summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-11-26 16:09:20 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-11-26 16:09:20 +0000
commit7639f2359fb6e8d4c861146b1ed4b1f3833cd75b (patch)
tree3079eab4b496d76e5c62f8d3305b51b0a9e44e28
parent63a12d9a182ad1ba5c2a3f439ec3b42fd79fe3cf (diff)
gpe-login 0.90: Lock screen on suspend, not on resume.
* 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
-rw-r--r--packages/gpe-login/files/lock-on-supend.patch14
-rw-r--r--packages/gpe-login/gpe-login_0.90.bb3
2 files changed, 16 insertions, 1 deletions
diff --git a/packages/gpe-login/files/lock-on-supend.patch b/packages/gpe-login/files/lock-on-supend.patch
new file mode 100644
index 0000000000..2aeb20f1ea
--- /dev/null
+++ b/packages/gpe-login/files/lock-on-supend.patch
@@ -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
diff --git a/packages/gpe-login/gpe-login_0.90.bb b/packages/gpe-login/gpe-login_0.90.bb
index 6b8afb2b6b..c2a274ba8b 100644
--- a/packages/gpe-login/gpe-login_0.90.bb
+++ b/packages/gpe-login/gpe-login_0.90.bb
@@ -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"