gpe-login: Allow brightness adjustment via Fn+3 / Fb+4 for spitz, akita and c7x0...
authorMatthias Hentges <oe@hentges.net>
Tue, 5 Jun 2007 01:28:05 +0000 (01:28 +0000)
committerMatthias Hentges <oe@hentges.net>
Tue, 5 Jun 2007 01:28:05 +0000 (01:28 +0000)
packages/gpe-login/files/brightness-adjust-keyluanchrc.patch [new file with mode: 0644]
packages/gpe-login/gpe-login_0.88.bb

diff --git a/packages/gpe-login/files/brightness-adjust-keyluanchrc.patch b/packages/gpe-login/files/brightness-adjust-keyluanchrc.patch
new file mode 100644 (file)
index 0000000..cfc73f4
--- /dev/null
@@ -0,0 +1,10 @@
+--- gpe-login-0.88/gpe-login.keylaunchrc.orig  2007-06-05 00:50:27.000000000 +0000
++++ gpe-login-0.88/gpe-login.keylaunchrc       2007-06-05 00:52:03.000000000 +0000
+@@ -7,3 +7,7 @@
+ key=...*Right:-:~chvt 3
+ key=...*Escape:-:~/etc/init.d/gpe-dm stop
++# Brightness control
++key=...*3:-:~display-brightness.sh down 
++key=...*4:-:~display-brightness.sh up 
++
index f42aa4c..6780add 100644 (file)
@@ -5,11 +5,18 @@ LICENSE = "GPL"
 DEPENDS = "gtk+ libgpewidget gpe-ownerinfo xkbd"
 RDEPENDS = "xkbd"
 RPROVIDES = "gpe-session-starter"
-PR = "r1"
+PR = "r2"
+
+PACKAGE_ARCH_${PN} = "${MACHINE}"
 
 inherit gpe
 
+
 SRC_URI += "file://removeblue-fontsize8.patch;patch=1"
 SRC_URI += " file://chvt-keylaunch.patch;patch=1 "
 SRC_URI += " file://use-xtscal.patch;patch=1 "
 
+SRC_URI_append_spitz = "file://brightness-adjust-keyluanchrc.patch;patch=1"
+SRC_URI_append_akita = "file://brightness-adjust-keyluanchrc.patch;patch=1"
+SRC_URI_append_c7x0 = "file://brightness-adjust-keyluanchrc.patch;patch=1"
+