qte 2.3.10: set proper keyboard on Simpad - patch from Frederic Devernay
authorMarcin Juszkiewicz <hrw@openembedded.org>
Thu, 1 Dec 2005 14:46:01 +0000 (14:46 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Thu, 1 Dec 2005 14:46:01 +0000 (14:46 +0000)
- close bug #393

packages/qte/qte-2.3.10/simpad-defaultkbd.patch [new file with mode: 0644]
packages/qte/qte_2.3.10.bb

diff --git a/packages/qte/qte-2.3.10/simpad-defaultkbd.patch b/packages/qte/qte-2.3.10/simpad-defaultkbd.patch
new file mode 100644 (file)
index 0000000..3e5450a
--- /dev/null
@@ -0,0 +1,11 @@
+--- qt-2.3.10/src/kernel/qwindowsystem_qws.cpp.orig    2005-11-30 10:53:32.000000000 +0100
++++ qt-2.3.10/src/kernel/qwindowsystem_qws.cpp 2005-11-30 10:55:51.000000000 +0100
+@@ -2917,7 +2917,7 @@
+ {
+     QString keyboards = getenv("QWS_KEYBOARD");
+     if ( keyboards.isEmpty() ) {
+-#if defined( QT_QWS_CASSIOPEIA )
++#if defined( QT_QWS_CASSIOPEIA ) || defined( QT_QWS_SIMPAD )
+       keyboards = "Buttons";
+ #elif !defined(QT_NO_QWS_VFB)
+       extern bool qvfbEnabled;
index 32a41d2..e247431 100644 (file)
@@ -7,7 +7,7 @@ DEPENDS = "zlib libpng jpeg tslib uicmoc-native"
 DEPENDS_mnci = "zlib libpng jpeg uicmoc-native"
 DEPENDS_append_c7x0 = " sharp-aticore-oss"
 PROVIDES = "virtual/qte virtual/libqte2"
-PR = "r27"
+PR = "r28"
 
 SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz;md5=1f7ad30113afc500cab7f5b2f4dec0d7 \
           file://qpe.patch;patch=1 \
@@ -33,6 +33,7 @@ SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz;m
           file://key.patch;patch=1 \
        file://bidimetrics.patch;patch=5 \
           file://fix-native-build.patch;patch=1 \
+          file://simpad-defaultkbd.patch;patch=1 \
           file://sharp_char.h \
           file://switches.h "