summaryrefslogtreecommitdiff
path: root/packages/libopie
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-12-01 19:20:48 +0300
committerDmitry Baryshkov <dbaryshkov@gmail.com>2008-12-01 19:27:52 +0300
commit7561550296a46418f866833c0b49203f7fd2cd85 (patch)
treee4a3e51dca10f32a0a63e802acc486ede7755a02 /packages/libopie
parent1823b120ab53ea960148e140b4515abc4082aedb (diff)
libopie2: add patch to keep up with changed tosa kernel interface
Some kernel interfaces have changed on tosa. This patch fixes the backlight setting. More to come later. Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
Diffstat (limited to 'packages/libopie')
-rw-r--r--packages/libopie/libopie2/libopie2-tosa.patch14
-rw-r--r--packages/libopie/libopie2_1.2.4.bb3
2 files changed, 16 insertions, 1 deletions
diff --git a/packages/libopie/libopie2/libopie2-tosa.patch b/packages/libopie/libopie2/libopie2-tosa.patch
new file mode 100644
index 0000000000..f62c4643d1
--- /dev/null
+++ b/packages/libopie/libopie2/libopie2-tosa.patch
@@ -0,0 +1,14 @@
+Index: libopie2/opiecore/device/odevice_zaurus.cpp
+===================================================================
+--- libopie2.orig/opiecore/device/odevice_zaurus.cpp 2008-12-01 06:38:14.670256416 +0300
++++ libopie2/opiecore/device/odevice_zaurus.cpp 2008-12-01 07:47:16.045256590 +0300
+@@ -286,6 +286,9 @@ void Zaurus::init(const QString& cpu_inf
+ case Model_Zaurus_SL5500:
+ m_backlightdev = "/sys/class/backlight/locomo-bl/";
+ break;
++ case Model_Zaurus_SL6000:
++ m_backlightdev = "/sys/class/backlight/tosa_bl/";
++ break;
+ default:
+ m_backlightdev = "/sys/class/backlight/corgi-bl/";
+ }
diff --git a/packages/libopie/libopie2_1.2.4.bb b/packages/libopie/libopie2_1.2.4.bb
index ef1a4fb360..0634ad7d22 100644
--- a/packages/libopie/libopie2_1.2.4.bb
+++ b/packages/libopie/libopie2_1.2.4.bb
@@ -1,9 +1,10 @@
require ${PN}.inc
-PR = "r0"
+PR = "r1"
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/libopie2 \
file://include.pro \
+ file://libopie2-tosa.patch;patch=1 \
file://c7x0_w100_disable.patch;patch=1"
SRC_URI_append_poodle = " file://poodle-2.6-hotkeys.patch;patch=1"