diff options
Diffstat (limited to 'recipes/libopie/libopie2')
-rw-r--r-- | recipes/libopie/libopie2/c7x0_w100_disable.patch | 20 | ||||
-rw-r--r-- | recipes/libopie/libopie2/gcc-syntax-fix.patch | 13 | ||||
-rw-r--r-- | recipes/libopie/libopie2/h4000_and_default_rot.patch | 25 | ||||
-rw-r--r-- | recipes/libopie/libopie2/ipaq_rotate_fix.patch | 23 | ||||
-rw-r--r-- | recipes/libopie/libopie2/libopie2-tosa.patch | 14 | ||||
-rw-r--r-- | recipes/libopie/libopie2/rotate_fix.patch | 87 | ||||
-rw-r--r-- | recipes/libopie/libopie2/spitz_rotate_fix.patch | 23 |
7 files changed, 0 insertions, 205 deletions
diff --git a/recipes/libopie/libopie2/c7x0_w100_disable.patch b/recipes/libopie/libopie2/c7x0_w100_disable.patch deleted file mode 100644 index 959c56c443..0000000000 --- a/recipes/libopie/libopie2/c7x0_w100_disable.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- libopie2/opiecore/device/odevice_zaurus.cpp 10 Aug 2008 09:07:32 -0000 1.55 -+++ libopie2/opiecore/device/odevice_zaurus.cpp 20 Sep 2008 23:56:20 -0000 -@@ -313,14 +313,14 @@ - } - - // set default qte driver -- switch( d->m_model ) -+/* switch( d->m_model ) - { - case Model_Zaurus_SLC7x0: - d->m_qteDriver = "W100"; - break; -- default: -+ default:*/ - d->m_qteDriver = "Transformed"; -- } -+// } - - m_leds[0] = Led_Off; - diff --git a/recipes/libopie/libopie2/gcc-syntax-fix.patch b/recipes/libopie/libopie2/gcc-syntax-fix.patch deleted file mode 100644 index 12b64d7d37..0000000000 --- a/recipes/libopie/libopie2/gcc-syntax-fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/opiedb/osqldriver.h b/opiedb/osqldriver.h -index 492b8dd..29fbfd6 100644 ---- a/opiedb/osqldriver.h -+++ b/opiedb/osqldriver.h -@@ -77,7 +77,7 @@ public: - /** - * Get a list of tables - */ -- virtual OSQLTable::ValueList tables() const = 0l; -+ virtual OSQLTable::ValueList tables() const = 0; - virtual bool sync(); - - diff --git a/recipes/libopie/libopie2/h4000_and_default_rot.patch b/recipes/libopie/libopie2/h4000_and_default_rot.patch deleted file mode 100644 index c10160d0b8..0000000000 --- a/recipes/libopie/libopie2/h4000_and_default_rot.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- 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/recipes/libopie/libopie2/ipaq_rotate_fix.patch b/recipes/libopie/libopie2/ipaq_rotate_fix.patch deleted file mode 100644 index 9dfdb4fbf7..0000000000 --- a/recipes/libopie/libopie2/ipaq_rotate_fix.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- libopie2/opiecore/device/odevice_ipaq.cpp 2008-05-26 16:33:01.000000000 +0100 -+++ libopie2/opiecore/device/odevice_ipaq.cpp 2008-05-26 16:33:40.000000000 +0100 -@@ -331,16 +331,10 @@ - case Key_Down : { - int quarters; - switch (d->m_rotation) { -- case Rot0: quarters = 3/*270deg*/; break; -- case Rot90: quarters = 2/*270deg*/; break; -- case Rot180: quarters = 1/*270deg*/; break; -- case Rot270: quarters = 0/*270deg*/; break; -- } -- if( d->m_model == Model_iPAQ_H22xx ) { -- // FIXME: there's something screwed with the keycodes being sent on h2200. I have -- // added a temporary workaround for this here, but the bug should be fixed properly -- // later in the right place. - Paul Eggleton 25/07/2007 -- quarters = 0; -+ case Rot0: quarters = 0/*0deg*/; break; -+ case Rot90: quarters = 1/*90deg*/; break; -+ case Rot180: quarters = 2/*180deg*/; break; -+ case Rot270: quarters = 3/*270deg*/; break; - } - newkeycode = Key_Left + ( keycode - Key_Left + quarters ) % 4; - break; diff --git a/recipes/libopie/libopie2/libopie2-tosa.patch b/recipes/libopie/libopie2/libopie2-tosa.patch deleted file mode 100644 index 5d83111d21..0000000000 --- a/recipes/libopie/libopie2/libopie2-tosa.patch +++ /dev/null @@ -1,14 +0,0 @@ -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/recipes/libopie/libopie2/rotate_fix.patch b/recipes/libopie/libopie2/rotate_fix.patch deleted file mode 100644 index c6a59846a0..0000000000 --- a/recipes/libopie/libopie2/rotate_fix.patch +++ /dev/null @@ -1,87 +0,0 @@ ---- libopie2/opiecore/device/odevice_ipaq.cpp 24 May 2009 20:09:49 -0000 1.40 -+++ libopie2/opiecore/device/odevice_ipaq.cpp 27 May 2009 21:16:24 -0000 -@@ -35,6 +35,7 @@ - #include <qfile.h> - #include <qtextstream.h> - #include <qwindowsystem_qws.h> -+#include <qgfx_qws.h> - - /* OPIE */ - #include <qpe/config.h> -@@ -335,11 +336,11 @@ - int quarters; - switch (d->m_rotation) { - case Rot0: quarters = 0/*0deg*/; break; -- case Rot90: quarters = 1/*90deg*/; break; -+ case Rot90: quarters = 3/*90deg*/; break; - case Rot180: quarters = 2/*180deg*/; break; -- case Rot270: quarters = 3/*270deg*/; break; -+ case Rot270: quarters = 1/*270deg*/; break; - } -- newkeycode = Key_Left + ( keycode - Key_Left + quarters ) % 4; -+ newkeycode = Key_Left + ( keycode - Key_Left + quarters + qt_screen->transformOrientation() ) % 4; - break; - } - ---- libopie2/opiecore/device/odevice_zaurus.cpp 24 May 2009 20:09:49 -0000 1.57 -+++ libopie2/opiecore/device/odevice_zaurus.cpp 27 May 2009 21:16:24 -0000 -@@ -807,16 +807,8 @@ - case Key_Up : - case Key_Down : - { -- if (d->m_model == Model_Zaurus_SLC3000) { -- // This ensures that the cursor keys work correctly and that the -- // side wheel works as expected when the screen is flipped over -- if (rotation() == Rot270) -- newkeycode = Key_Left + ( keycode - Key_Left + 1 ) % 4; -- } -- else { -- if (rotation()==Rot90) -- newkeycode = Key_Left + ( keycode - Key_Left + 3 ) % 4; -- } -+ if (rotation()==Rot90) -+ newkeycode = Key_Left + ( keycode - Key_Left + 3 ) % 4; - break; - - } ---- libopie2/opiecore/device/odevice_palm.cpp 2009-05-27 22:28:37.000000000 +0100 -+++ libopie2/opiecore/device/odevice_palm.cpp 2009-05-27 22:28:09.000000000 +0100 -@@ -295,25 +295,21 @@ - { - int newkeycode = keycode; - -- if (qt_screen->transformOrientation() != Rot0){ -- -- switch ( keycode ) { -- case Key_Left : -- case Key_Right: -- case Key_Up : -- case Key_Down : -- newkeycode = Key_Left + ( keycode - Key_Left + 4 ) % 4; -- default: -- break; -- } -+ switch ( keycode ) { -+ case Key_Left : -+ case Key_Right: -+ case Key_Up : -+ case Key_Down : -+ newkeycode = Key_Left + ( keycode - Key_Left + qt_screen->transformOrientation() ) % 4; -+ default: -+ break; -+ } - -- if (newkeycode!=keycode) { -- if ( newkeycode != Key_unknown ) { -- QWSServer::sendKeyEvent ( -1, newkeycode, modifiers, isPress, autoRepeat ); -- } -- return true; -+ if (newkeycode!=keycode) { -+ if ( newkeycode != Key_unknown ) { -+ QWSServer::sendKeyEvent ( -1, newkeycode, modifiers, isPress, autoRepeat ); - } -- -+ return true; - } - - return false; diff --git a/recipes/libopie/libopie2/spitz_rotate_fix.patch b/recipes/libopie/libopie2/spitz_rotate_fix.patch deleted file mode 100644 index 428ec0d4cf..0000000000 --- a/recipes/libopie/libopie2/spitz_rotate_fix.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- libopie2/opiecore/device/odevice_zaurus.cpp 30 Jul 2007 19:10:52 -0000 1.53 -+++ libopie2/opiecore/device/odevice_zaurus.cpp 8 Aug 2008 23:15:15 -0000 -@@ -760,9 +760,18 @@ - case Key_Up : - case Key_Down : - { -- if (rotation()==Rot90) { -- newkeycode = Key_Left + ( keycode - Key_Left + 3 ) % 4; -+ if (d->m_model == Model_Zaurus_SLC3000) { -+ // This ensures that the cursor keys work correctly and that the -+ // side wheel works as expected when the screen is flipped over -+ if (rotation() == Rot270) -+ newkeycode = Key_Left + ( keycode - Key_Left + 1 ) % 4; - } -+ else { -+ if (rotation()==Rot90) -+ newkeycode = Key_Left + ( keycode - Key_Left + 3 ) % 4; -+ } -+ break; -+ - } - break; - |