diff options
author | Philipp Zabel <philipp.zabel@gmail.com> | 2007-03-29 09:14:24 +0000 |
---|---|---|
committer | Philipp Zabel <philipp.zabel@gmail.com> | 2007-03-29 09:14:24 +0000 |
commit | 29ecffc666e166906ccaa73f65c2e12ea17a1769 (patch) | |
tree | c07be1632f86e3e46ffeeec943911102c2e71047 /packages/gpe-conf | |
parent | e2090647014fc0efe067f38b84e8369e61859fe9 (diff) |
gpe-conf: fix for http://bugs.linuxtogo.org/show_bug.cgi?id=42 by Manuel Teira
Diffstat (limited to 'packages/gpe-conf')
-rw-r--r-- | packages/gpe-conf/gpe-conf-0.2.5/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch | 11 | ||||
-rw-r--r-- | packages/gpe-conf/gpe-conf_0.2.5.bb | 4 |
3 files changed, 14 insertions, 1 deletions
diff --git a/packages/gpe-conf/gpe-conf-0.2.5/.mtn2git_empty b/packages/gpe-conf/gpe-conf-0.2.5/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/gpe-conf/gpe-conf-0.2.5/.mtn2git_empty diff --git a/packages/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch b/packages/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch new file mode 100644 index 0000000000..7a953c25ec --- /dev/null +++ b/packages/gpe-conf/gpe-conf-0.2.5/backlight-bugfix.patch @@ -0,0 +1,11 @@ +--- gpe-conf-0.2.5/modules/screen/brightness.c~brightness ++++ gpe-conf-0.2.5/modules/screen/brightness.c +@@ -216,7 +216,7 @@ + FILE *f_power; + gint value = SYS_STATE_ON; + +- f_power = fopen(SYS_BRIGHTNESS, "r"); ++ f_power = fopen(SYS_POWER, "r"); + if (f_power != NULL) + { + fscanf(f_power,"%i", &value); diff --git a/packages/gpe-conf/gpe-conf_0.2.5.bb b/packages/gpe-conf/gpe-conf_0.2.5.bb index eff9f55033..6cbddeedd0 100644 --- a/packages/gpe-conf/gpe-conf_0.2.5.bb +++ b/packages/gpe-conf/gpe-conf_0.2.5.bb @@ -10,7 +10,7 @@ RDEPENDS_gpe-conf-panel = "gpe-conf" RPROVIDES_${PN} += " bl" RCONFLICTS_${PN} = "bl" -PR = "r1" +PR = "r2" GPE_TARBALL_SUFFIX = "bz2" @@ -22,3 +22,5 @@ FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps \ ${datadir}/applications/gpe-conf-* ${datadir}/gpe/pixmaps \ ${datadir}/gpe-conf" FILES_gpe-conf-panel = "${datadir}/applications/gpe-conf.desktop" + +SRC_URI += "file://backlight-bugfix.patch;patch=1" |