summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-11-10 22:51:58 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-11-10 22:51:58 +0000
commit9a5d27a8d933b853d126d12cfc426b147094441b (patch)
treee863107dc400e3ea0562eb497f2fa17121e83b69 /packages
parent326c5a075c7b083dcf1f03fa2fae99d65349c476 (diff)
libopie2 1.2.3: Fix screen rotation issues.
* Addresses http://opie-bugs.oszine.de/view.php?id=1894 * Fixes rotation on h4000 with recent kernels. * Sets sane default rotation for unknown devices.
Diffstat (limited to 'packages')
-rw-r--r--packages/libopie/libopie2/h4000_and_default_rot.patch25
-rw-r--r--packages/libopie/libopie2_1.2.3.bb5
2 files changed, 28 insertions, 2 deletions
diff --git a/packages/libopie/libopie2/h4000_and_default_rot.patch b/packages/libopie/libopie2/h4000_and_default_rot.patch
new file mode 100644
index 0000000000..c10160d0b8
--- /dev/null
+++ b/packages/libopie/libopie2/h4000_and_default_rot.patch
@@ -0,0 +1,25 @@
+--- libopie2/opiecore/device/odevice_ipaq.cpp.org 2007-09-09 02:44:41.000000000 +0300
++++ libopie2/opiecore/device/odevice_ipaq.cpp 2007-11-09 12:01:56.000000000 +0200
+@@ -178,6 +178,10 @@
+ d->m_model = Model_iPAQ_HX4700;
+ else if ( d->m_modelstr == "H4000" )
+ d->m_model = Model_iPAQ_H4xxx;
++ else if ( d->m_modelstr == "H4100" )
++ d->m_model = Model_iPAQ_H4xxx;
++ else if ( d->m_modelstr == "H4300" )
++ d->m_model = Model_iPAQ_H4xxx;
+
+ else
+ d->m_model = Model_Unknown;
+@@ -198,8 +202,10 @@
+ case Model_iPAQ_H36xx:
+ case Model_iPAQ_H37xx:
+ case Model_iPAQ_H39xx:
+- default:
+ d->m_rotation = Rot270;
++ break;
++ default:
++ d->m_rotation = Rot0;
+ break;
+
+ }
diff --git a/packages/libopie/libopie2_1.2.3.bb b/packages/libopie/libopie2_1.2.3.bb
index 8aeb648bc1..1ecc983b14 100644
--- a/packages/libopie/libopie2_1.2.3.bb
+++ b/packages/libopie/libopie2_1.2.3.bb
@@ -1,9 +1,10 @@
require ${PN}.inc
-PR = "r1"
+PR = "r2"
SRC_URI = "${HANDHELDS_CVS};tag=${TAG};module=opie/libopie2 \
file://include.pro \
- file://gcc-syntax-fix.patch;patch=1"
+ file://gcc-syntax-fix.patch;patch=1 \
+ file://h4000_and_default_rot.patch;patch=1"
SRC_URI_append_poodle = " file://poodle-2.6-hotkeys.patch;patch=1"