diff options
Diffstat (limited to 'packages')
38 files changed, 0 insertions, 1869 deletions
diff --git a/packages/qte/qte-2.3.9-snapshot/daemonize.patch b/packages/qte/qte-2.3.10-snapshot/beagle.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/daemonize.patch +++ b/packages/qte/qte-2.3.10-snapshot/beagle.patch diff --git a/packages/qte/qte-2.3.9-snapshot/encoding.patch b/packages/qte/qte-2.3.10-snapshot/c700-hardware.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/encoding.patch +++ b/packages/qte/qte-2.3.10-snapshot/c700-hardware.patch diff --git a/packages/qte/qte-2.3.9-snapshot/fix-qgfxraster.patch b/packages/qte/qte-2.3.10-snapshot/daemonize.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/fix-qgfxraster.patch +++ b/packages/qte/qte-2.3.10-snapshot/daemonize.patch diff --git a/packages/qte/qte-2.3.9-snapshot/gcc3.patch b/packages/qte/qte-2.3.10-snapshot/devfs.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/gcc3.patch +++ b/packages/qte/qte-2.3.10-snapshot/devfs.patch diff --git a/packages/qte/qte-2.3.9-snapshot/no-moc.patch b/packages/qte/qte-2.3.10-snapshot/encoding.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/no-moc.patch +++ b/packages/qte/qte-2.3.10-snapshot/encoding.patch diff --git a/packages/qte/qte-2.3.9-snapshot/qiconview-speed.patch b/packages/qte/qte-2.3.10-snapshot/fix-qgfxraster.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/qiconview-speed.patch +++ b/packages/qte/qte-2.3.10-snapshot/fix-qgfxraster.patch diff --git a/packages/qte/qte-2.3.9-snapshot/qpe.patch b/packages/qte/qte-2.3.10-snapshot/gcc3.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/qpe.patch +++ b/packages/qte/qte-2.3.10-snapshot/gcc3.patch diff --git a/packages/qte/qte-2.3.9-snapshot/sharp_char.h b/packages/qte/qte-2.3.10-snapshot/kernel-keymap-corgi.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/sharp_char.h +++ b/packages/qte/qte-2.3.10-snapshot/kernel-keymap-corgi.patch diff --git a/packages/qte/qte-2.3.9-snapshot/simpad.patch b/packages/qte/qte-2.3.10-snapshot/kernel-keymap-tosa.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/simpad.patch +++ b/packages/qte/qte-2.3.10-snapshot/kernel-keymap-tosa.patch diff --git a/packages/qte/qte-2.3.9-snapshot/switches.h b/packages/qte/qte-2.3.10-snapshot/kernel-keymap.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/switches.h +++ b/packages/qte/qte-2.3.10-snapshot/kernel-keymap.patch diff --git a/packages/qte/qte-2.3.9-snapshot/update-qtfontdir b/packages/qte/qte-2.3.10-snapshot/no-moc.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/update-qtfontdir +++ b/packages/qte/qte-2.3.10-snapshot/no-moc.patch diff --git a/packages/qte/qte-2.3.9-snapshot/use-kernel-keycodes.patch b/packages/qte/qte-2.3.10-snapshot/opie.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-2.3.9-snapshot/use-kernel-keycodes.patch +++ b/packages/qte/qte-2.3.10-snapshot/opie.patch diff --git a/packages/qte/qte-for-opie_2.3.9-snapshot-20050114.bb b/packages/qte/qte-2.3.10-snapshot/qiconview-speed.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/qte/qte-for-opie_2.3.9-snapshot-20050114.bb +++ b/packages/qte/qte-2.3.10-snapshot/qiconview-speed.patch diff --git a/packages/uicmoc/uicmoc-native-2.3.9-snapshot-20050114/fix-makefile.patch b/packages/qte/qte-2.3.10-snapshot/qpe.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/uicmoc/uicmoc-native-2.3.9-snapshot-20050114/fix-makefile.patch +++ b/packages/qte/qte-2.3.10-snapshot/qpe.patch diff --git a/packages/uicmoc/uicmoc-native-2.3.9-snapshot-20050114/gcc3_4.patch b/packages/qte/qte-2.3.10-snapshot/qt-visibility.patch index e69de29bb2..e69de29bb2 100644 --- a/packages/uicmoc/uicmoc-native-2.3.9-snapshot-20050114/gcc3_4.patch +++ b/packages/qte/qte-2.3.10-snapshot/qt-visibility.patch diff --git a/packages/uicmoc/uicmoc-native_2.3.9-snapshot-20050114.bb b/packages/qte/qte-2.3.10-snapshot/sharp_char.h index e69de29bb2..e69de29bb2 100644 --- a/packages/uicmoc/uicmoc-native_2.3.9-snapshot-20050114.bb +++ b/packages/qte/qte-2.3.10-snapshot/sharp_char.h diff --git a/packages/qte/qte-2.3.10-snapshot/simpad.patch b/packages/qte/qte-2.3.10-snapshot/simpad.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/qte/qte-2.3.10-snapshot/simpad.patch diff --git a/packages/qte/qte-2.3.10-snapshot/switches.h b/packages/qte/qte-2.3.10-snapshot/switches.h new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/qte/qte-2.3.10-snapshot/switches.h diff --git a/packages/qte/qte-2.3.10-snapshot/tslib.patch b/packages/qte/qte-2.3.10-snapshot/tslib.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/qte/qte-2.3.10-snapshot/tslib.patch diff --git a/packages/qte/qte-2.3.10-snapshot/update-qtfontdir b/packages/qte/qte-2.3.10-snapshot/update-qtfontdir new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/qte/qte-2.3.10-snapshot/update-qtfontdir diff --git a/packages/qte/qte-2.3.10-snapshot/use-kernel-keycodes.patch b/packages/qte/qte-2.3.10-snapshot/use-kernel-keycodes.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/qte/qte-2.3.10-snapshot/use-kernel-keycodes.patch diff --git a/packages/qte/qte-2.3.10-snapshot/vt-switch.patch b/packages/qte/qte-2.3.10-snapshot/vt-switch.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/qte/qte-2.3.10-snapshot/vt-switch.patch diff --git a/packages/qte/qte-2.3.9-snapshot/beagle.patch b/packages/qte/qte-2.3.9-snapshot/beagle.patch deleted file mode 100644 index eeb31c3b98..0000000000 --- a/packages/qte/qte-2.3.9-snapshot/beagle.patch +++ /dev/null @@ -1,32 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- qt-2.3.9-snapshot-20050114/src/kernel/qkeyboard_qws.cpp~beagle -+++ qt-2.3.9-snapshot-20050114/src/kernel/qkeyboard_qws.cpp -@@ -138,7 +138,7 @@ - #include <asm/sharp_char.h> - #endif - --#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) -+#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_BEAGLE) - #define QT_QWS_AUTOREPEAT_MANUALLY - #endif - -@@ -492,9 +492,15 @@ - #endif - { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, - { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, // 90 -+#ifdef QT_QWS_BEAGLE -+ { Qt::Key_F13, 0xffff , 0xffff , 0xffff }, // lightning -+ { Qt::Key_Up, 0xffff , 0xffff , 0xffff }, // Wheel Up -+ { Qt::Key_Down, 0xffff , 0xffff , 0xffff }, // Wheel Down -+#else - { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, - { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, - { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, -+#endif - { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, - { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, - { Qt::Key_Enter, 13 , 13 , 0xffff }, diff --git a/packages/qte/qte-2.3.9-snapshot/c700-hardware.patch b/packages/qte/qte-2.3.9-snapshot/c700-hardware.patch deleted file mode 100644 index 5527ab4a88..0000000000 --- a/packages/qte/qte-2.3.9-snapshot/c700-hardware.patch +++ /dev/null @@ -1,110 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- qt-2.3.9-snapshot-20050114/src/kernel/qwindowsystem_qws.cpp~c700-hardware -+++ qt-2.3.9-snapshot-20050114/src/kernel/qwindowsystem_qws.cpp -@@ -178,7 +178,7 @@ - static QRect maxwindow_rect; - extern Q_EXPORT QRect qt_maxWindowRect; - static const char *defaultMouse = --#if defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_YOPY) || defined(QWS_CUSTOMTOUCHPANEL) -+#if defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_SLC700) || defined(QT_QWS_YOPY) || defined(QWS_CUSTOMTOUCHPANEL) - "TPanel" - #elif defined(QT_KEYPAD_MODE) - "None" -@@ -3308,7 +3308,7 @@ - void QWSServer::screenSaverSleep() - { - qt_screen->blank(TRUE); --#if !defined(QT_QWS_IPAQ) && !defined(QT_QWS_SL5XXX) -+#if !defined(QT_QWS_IPAQ) && !defined(QT_QWS_SL5XXX) && !defined(QT_QWS_SLC700) - d->screensavertimer->stop(); - #else - if ( screensaverinterval ) { ---- qt-2.3.9-snapshot-20050114/src/kernel/qwsmouse_qws.cpp~c700-hardware -+++ qt-2.3.9-snapshot-20050114/src/kernel/qwsmouse_qws.cpp -@@ -87,6 +87,19 @@ - #define QT_QWS_TP_PRESSURE_THRESHOLD 500 - #define QT_QWS_TP_MOVE_LIMIT 50 - #define QT_QWS_TP_JITTER_LIMIT 2 -+#elif defined(QT_QWS_SLC700) -+#define QT_QWS_SLC700_RAW -+typedef struct { -+ unsigned short pressure; -+ unsigned short x; -+ unsigned short y; -+ unsigned short millisecs; -+} TS_EVENT; -+#define QT_QWS_TP_SAMPLE_SIZE 10 -+#define QT_QWS_TP_MINIMUM_SAMPLES 4 -+#define QT_QWS_TP_PRESSURE_THRESHOLD 500 -+#define QT_QWS_TP_MOVE_LIMIT 50 -+#define QT_QWS_TP_JITTER_LIMIT 2 - #endif - - #ifndef QT_QWS_TP_SAMPLE_SIZE -@@ -592,7 +605,7 @@ - sub[nsub++] = new QAutoMouseSubHandler_intellimouse(fd); - notify(fd); - } --#if !defined(QT_QWS_IPAQ) && !defined(QT_QWS_SL5XXX) && !defined(QT_QWS_K2) -+#if !defined(QT_QWS_IPAQ) && !defined(QT_QWS_SL5XXX) && !defined(QT_QWS_K2) && !defined(QT_QWS_SLC700) - char fn[] = "/dev/ttyS?"; - for (int ch='0'; ch<='3'; ch++) { - fn[9] = ch; -@@ -1274,7 +1287,7 @@ - numSamples(0), skipCount(0) - { - Q_UNUSED(dev); --#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_K2) -+#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_K2) || defined(QT_QWS_SLC700) - #if defined(QT_QWS_IPAQ) - # ifdef QT_QWS_IPAQ_RAW - if ((mouseFD = open( "/dev/h3600_tsraw", O_RDONLY | O_NDELAY)) < 0) { -@@ -1284,7 +1297,7 @@ - qWarning( "Cannot open /dev/h3600_ts (%s)", strerror(errno)); - return; - } --#elif defined(QT_QWS_SL5XXX) || defined(QT_QWS_K2) -+#elif defined(QT_QWS_SL5XXX) || defined(QT_QWS_K2) || defined(QT_QWS_SLC700) - //# ifdef QT_QWS_SL5XXX_TSRAW - # if 0 - if ((mouseFD = open( "/dev/tsraw", O_RDONLY | O_NDELAY)) < 0) { -@@ -1310,7 +1323,7 @@ - - QTPanelHandlerPrivate::~QTPanelHandlerPrivate() - { --#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_K2) -+#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_K2) || defined(QT_QWS_SLC700) - if (mouseFD >= 0) - close(mouseFD); - #endif -@@ -1318,7 +1331,7 @@ - - void QTPanelHandlerPrivate::readMouseData() - { --#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_K2) -+#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_K2) || defined(QT_QWS_SLC700) - if(!qt_screen) - return; - -@@ -1337,7 +1350,7 @@ - uchar *mb = mouseBuf+idx; - data = (TS_EVENT *) mb; - if(data->pressure >= QT_QWS_TP_PRESSURE_THRESHOLD) { --#ifdef QT_QWS_SL5XXX -+#if defined(QT_QWS_SL5XXX) || defined(QT_QWS_SLC700) - samples[currSample] = QPoint( 1000 - data->x, data->y ); - #else - samples[currSample] = QPoint( data->x, data->y ); -@@ -1997,7 +2010,7 @@ - handler = new QTSLibHandlerPrivate(); - #elif defined(QT_QWS_YOPY) - handler = new QYopyTPanelHandlerPrivate(mouseProtocol,mouseDev); --#elif defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_K2) -+#elif defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX) || defined(QT_QWS_K2) || defined(QT_QWS_SLC700) - handler = new QTPanelHandlerPrivate(mouseProtocol,mouseDev); - #elif defined(QT_QWS_CASSIOPEIA) - handler = new QVrTPanelHandlerPrivate( mouseProtocol, mouseDev ); diff --git a/packages/qte/qte-2.3.9-snapshot/devfs.patch b/packages/qte/qte-2.3.9-snapshot/devfs.patch deleted file mode 100644 index 27ea4239c7..0000000000 --- a/packages/qte/qte-2.3.9-snapshot/devfs.patch +++ /dev/null @@ -1,163 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- qt-2.3.9-snapshot-20050114/configure~devfs -+++ qt-2.3.9-snapshot-20050114/configure -@@ -412,6 +412,9 @@ - -visibility-hidden) - VISIBILITY=YES - ;; -+ -devfs) -+ DEVFS=yes -+ ;; - -no-g++-exceptions) - GPLUSPLUS_EXCEPTIONS=no - ;; -@@ -1302,6 +1305,8 @@ - -visibility-hidden . Use -fvisibility=hidden as default. This requires GCC 4.0 - or a special patched GCC to support the visibility attribute - -+ -devfs ............. Use devfs /dev paths. -+ - -no-g++-exceptions . Disable exceptions on platforms using the GNU C++ - compiler by using the -fno-exceptions flag. - -@@ -1374,6 +1379,10 @@ - then - QT_CXX="${QT_CXX} -DGCC_SUPPORTS_VISIBILITY -fvisibility=hidden" - fi -+if [ "x$DEVFS" = "xyes" ] -+then -+ QT_CXX="${QT_CXX} -DQT_QWS_DEVFS" -+fi - if [ "x$THREAD" = "xyes" ] - then - cat >src-mt.mk <<EOF ---- qt-2.3.9-snapshot-20050114/src/kernel/qgfxlinuxfb_qws.cpp~devfs -+++ qt-2.3.9-snapshot-20050114/src/kernel/qgfxlinuxfb_qws.cpp -@@ -101,11 +101,19 @@ - bool QLinuxFbScreen::connect( const QString &displaySpec ) - { - // Check for explicitly specified device -+#ifdef QT_QWS_DEVFS -+ QRegExp r( "/dev/fb/[0-9]+" ); -+#else - QRegExp r( "/dev/fb[0-9]+" ); -+#endif - int len; - int m = r.match( displaySpec, 0, &len ); - -+#ifdef QT_QWS_DEVFS -+ QString dev = (m>=0) ? displaySpec.mid( m, len ) : QString("/dev/fb/0"); -+#else - QString dev = (m>=0) ? displaySpec.mid( m, len ) : QString("/dev/fb0"); -+#endif - - fd=open( dev.latin1(), O_RDWR ); - if (fd<0) { -@@ -121,14 +129,22 @@ - - /* Get fixed screen information */ - if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo)) { -+#ifdef QT_QWS_DEVFS -+ perror("reading /dev/fb/0"); -+#else - perror("reading /dev/fb0"); -+#endif - qWarning("Error reading fixed information"); - return FALSE; - } - - /* Get variable screen information */ - if (ioctl(fd, FBIOGET_VSCREENINFO, &vinfo)) { -+#ifdef QT_QWS_DEVFS -+ perror("reading /dev/fb/0"); -+#else - perror("reading /dev/fb0"); -+#endif - qWarning("Error reading variable information"); - return FALSE; - } -@@ -165,7 +181,11 @@ - data += dataoffset; - - if ((int)data == -1) { -- perror("mapping /dev/fb0"); -+#ifdef QT_QWS_DEVFS -+ perror("reading /dev/fb/0"); -+#else -+ perror("reading /dev/fb0"); -+#endif - qWarning("Error: failed to map framebuffer device to memory."); - return FALSE; - } -@@ -229,7 +249,11 @@ - - static void writeTerm(const char* termctl, int sizeof_termctl) - { -+#ifdef QT_QWS_DEVFS -+ const char* tt[]={"/dev/vc/1","/dev/console","/dev/tty",0}; -+#else - const char* tt[]={"/dev/console","/dev/tty","/dev/tty0",0}; -+#endif - const char** dev=tt; - while (*dev) { - int tty=::open(*dev,O_WRONLY); -@@ -792,7 +816,11 @@ - fb_var_screeninfo vinfo; - - if (ioctl(fd, FBIOGET_FSCREENINFO, &finfo)) { -+#ifdef QT_QWS_DEVFS -+ perror("reading /dev/fb/0"); -+#else - perror("reading /dev/fb0"); -+#endif - qFatal("Error reading fixed information"); - } - ---- qt-2.3.9-snapshot-20050114/src/kernel/qkeyboard_qws.cpp~devfs -+++ qt-2.3.9-snapshot-20050114/src/kernel/qkeyboard_qws.cpp -@@ -1192,7 +1192,11 @@ - - QWSTtyKeyboardHandler::QWSTtyKeyboardHandler(const QString& device) - { -+#ifdef QT_QWS_DEVFS -+ kbdFD=open(device.isEmpty() ? "/dev/vc/1" : device.latin1(), O_RDWR | O_NDELAY, 0); -+#else - kbdFD=open(device.isEmpty() ? "/dev/tty0" : device.latin1(), O_RDWR | O_NDELAY, 0); -+#endif - - if ( kbdFD >= 0 ) { - QSocketNotifier *notifier; ---- qt-2.3.9-snapshot-20050114/src/kernel/qwindowsystem_qws.cpp~devfs -+++ qt-2.3.9-snapshot-20050114/src/kernel/qwindowsystem_qws.cpp -@@ -836,7 +836,11 @@ - void openDevice() - { - if ( !sn ) { -+#ifdef QT_QWS_DEVFS -+ int fd = ::open("/dev/sound/dsp",O_RDWR); -+#else - int fd = ::open("/dev/dsp",O_RDWR); -+#endif - if ( fd < 0 ) { - // For debugging purposes - defined QT_NO_SOUND if you - // don't have sound hardware! ---- qt-2.3.9-snapshot-20050114/src/kernel/qsoundqss_qws.cpp~devfs -+++ qt-2.3.9-snapshot-20050114/src/kernel/qsoundqss_qws.cpp -@@ -1088,7 +1088,12 @@ - // Don't block open right away. - // - bool openOkay = false; -- if ((fd = ::open("/dev/dsp", O_WRONLY|O_NONBLOCK)) != -1) { -+#ifdef QT_QWS_DEVFS -+ if ((fd = ::open("/dev/sound/dsp", O_WRONLY|O_NONBLOCK)) != -1) -+#else -+ if ((fd = ::open("/dev/dsp", O_WRONLY|O_NONBLOCK)) != -1) -+#endif -+ { - int flags = fcntl(fd, F_GETFL); - flags &= ~O_NONBLOCK; - openOkay = (fcntl(fd, F_SETFL, flags) == 0); diff --git a/packages/qte/qte-2.3.9-snapshot/kernel-keymap-corgi.patch b/packages/qte/qte-2.3.9-snapshot/kernel-keymap-corgi.patch deleted file mode 100644 index 0fabd78fac..0000000000 --- a/packages/qte/qte-2.3.9-snapshot/kernel-keymap-corgi.patch +++ /dev/null @@ -1,23 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- qt-2.3.9-snapshot-20050114/src/kernel/qkeyboard_qws.cpp~kernel-keymap-corgi -+++ qt-2.3.9-snapshot-20050114/src/kernel/qkeyboard_qws.cpp -@@ -410,6 +410,15 @@ - { 0x20ac, 0xffff , 0x20ac , 0x20ac }, // 73 Euro sign - { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, // 74 - { Qt::Key_F32, 0xffff , 0xffff , 0xffff }, // 75 Sync -+ { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, // 76 -+ { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, // 77 -+ { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, // 78 -+ { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, // 79 -+ { Qt::Key_unknown, 0xffff , 0xffff , 0xffff }, // 7a -+ { Qt::Key_Return, 0xffff , 0xffff , 0xffff }, // 7b -+ { Qt::Key_Escape, 0xffff , 0xffff , 0xffff }, // 7c -+ { Qt::Key_Up, 0xffff , 0xffff , 0xffff }, // 7d -+ { Qt::Key_Down, 0xffff , 0xffff , 0xffff }, // 7e - { 0, 0xffff , 0xffff , 0xffff } - }; - #else diff --git a/packages/qte/qte-2.3.9-snapshot/kernel-keymap-tosa.patch b/packages/qte/qte-2.3.9-snapshot/kernel-keymap-tosa.patch deleted file mode 100644 index ca445f4d1d..0000000000 --- a/packages/qte/qte-2.3.9-snapshot/kernel-keymap-tosa.patch +++ /dev/null @@ -1,81 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- qt-2.3.9-snapshot-20050114/src/kernel/qkeyboard_qws.cpp~kernel-keymap-tosa -+++ qt-2.3.9-snapshot-20050114/src/kernel/qkeyboard_qws.cpp -@@ -355,14 +355,24 @@ - { Qt::Key_CapsLock, 0xffff , 0xffff , 0xffff }, // 3c 60 - { Qt::Key_At, '@' , 's' , 'S'-64 }, // 3d - { Qt::Key_Question, '?' , '?' , 0xffff }, // 3e -+#ifdef QT_QWS_SL6000 -+ { Qt::Key_Comma, ',' , ';' , 0xffff }, // 3f -+ { Qt::Key_Period, '.' , ':' , 0xffff }, // 40 -+#else - { Qt::Key_Comma, ',' , ',' , 0xffff }, // 3f - { Qt::Key_Period, '.' , '.' , 0xffff }, // 40 -+#endif - { Qt::Key_Tab, 9 , '\\' , 0xffff }, // 41 - { Qt::Key_X, 0xffff , 'x' , 'X'-64 }, // 42 - { Qt::Key_C, 0xffff , 'c' , 'C'-64 }, // 43 - { Qt::Key_V, 0xffff , 'v' , 'V'-64 }, // 44 -+#ifdef QT_QWS_SL6000 -+ { Qt::Key_Slash, '/' , '?' , 0xffff }, // 45 -+ { Qt::Key_Apostrophe, '\'' , '"' , 0xffff }, // 46 70 -+#else - { Qt::Key_Slash, '/' , '/' , 0xffff }, // 45 - { Qt::Key_Apostrophe, '\'' , '\'' , 0xffff }, // 46 70 -+#endif - { Qt::Key_Semicolon, ';' , ';' , 0xffff }, // 47 - { Qt::Key_QuoteDbl, '\"' , '\"' , 0xffff }, // 48 - { Qt::Key_Colon, ':' , ':' , 0xffff }, // 49 -@@ -572,6 +582,32 @@ - static const int keyMSize = sizeof(keyM)/sizeof(QWSServer::KeyMap)-1; - static QIntDict<QWSServer::KeyMap> *overrideMap = 0; - -+#if defined(QT_QWS_SL6000) -+/* Translation table to obtain a 'legacy' keycode corresponding to -+ Fn+key on tosa -+ Other devices obviously send different keycodes while Fn is down, tosa sends -+ the same keys as usual bracketed by Fn-down/Fn-up. -+ This table is used while Fn is down to obtain the key-code the SL-5xxx would -+ send, so the rest of keyboard processing does not need to be adjusted. */ -+static const uchar sl6kFnTrans[] = { 0x00, -+ 0x5e, 0x3a, 0x43, 0x4a, 0x2b, 0x4b, 0x4c, 0x4d, 0x30, 0x4e, 0x4f, 0x50, -+ // !, -, cpy, #, 3, $, %, _, 8, &, *, (, -+ 0x53, 0x3b, 0x31, 0x32, 0x29, 0x2c, 0x3d, 0x2d, 0x2f, 0x44, 0x2a, 0x42, -+ // =, +, 9, 0, 1, 4, @, 5, 7, pste, 2, cut, -+ // padding for keycodes which don't ever get directly sent on tosa -+ // except for y->6, ret->'>', BS->DEL -+ 0x2e, 0x00, 0x00, 0x57, 0x00, 0x00, 0x51, 0x00, 0x00, 0x00, 0x00, 0x00, -+ // 6, _Z, shft, ret, F11, fn, BS?, F31, lght, cncl, lft, up, -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -+ // dn, rght, OK, home, 1, 2, 3, 4, 5, 6, 7, 8, -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -+ // 9, 0, UNK, UNK, UNK, UNK, UNK, UNK, UNK, -, +, caps, -+ // here are a few translatable codes again... -+ 0x00, 0x00, 0x54, 0x56, 0x3c, 0x00, 0x00, 0x00, 0x70, 0x55 }; -+ // @, ?, ,, ., tab, cut, cpy, pste, /, ' -+static const int sl6kFnSize = sizeof(sl6kFnTrans); -+#endif -+ - /*! - Changes the mapping of the keyboard; adding the scancode to Unicode - mappings from \a map. The server takes over ownership of \a map -@@ -882,6 +918,15 @@ - int keypad = 0; - - #ifndef QT_QWS_USE_KEYCODES -+#if defined(QT_QWS_SL6000) -+ qDebug("Key pressed: %x", code); -+ if (fn) -+ if (code < sl6kFnSize) { -+ code = sl6kFnTrans[code]; -+ qDebug("Translated Fn: %x", code); -+ } else -+ qDebug("Untranslatable Fn: %x", code); -+#endif - #if defined(QT_QWS_IPAQ) - // map ipaq 'action' key (0x60, 0xe0) - if ((code & 0x7f) == 0x60) { diff --git a/packages/qte/qte-2.3.9-snapshot/kernel-keymap.patch b/packages/qte/qte-2.3.9-snapshot/kernel-keymap.patch deleted file mode 100644 index 516b2a62f5..0000000000 --- a/packages/qte/qte-2.3.9-snapshot/kernel-keymap.patch +++ /dev/null @@ -1,309 +0,0 @@ - -# -# Patch managed by http://www.holgerschurig.de/patcher.html -# - ---- qt-2.3.9-snapshot-20041221/src/kernel/qkeyboard_qws.cpp~kernel-keymap.patch -+++ qt-2.3.9-snapshot-20041221/src/kernel/qkeyboard_qws.cpp -@@ -30,6 +30,34 @@ - ** - **********************************************************************/ - -+/**************************************************************************** -+** -+** Keyboard Handling Redesign -+** Copyright 2003, Chris Larson <kergoth@handhelds.org> -+** -+** TODO: (key: . = in progress, x = completed) -+** -+** [.] Tty driver should load its initial keymap from the kernel, -+** thereby ensuring keymap consistency between X, console, and qt/e -+** [x] Read kernel keymappings. -+** [x] Read kernel keycode -> unicode map. -+** [x] Use them, along with the existing keyM, to push events up. -+** [ ] Create a new table, from transformed keycode -> qt keycode, rather -+** than the existing raw keycode -> qt keycode. -+** [ ] Adapt handleKey to deal with keys that have no unicode value, such as -+** keypresses that are mapped to strings in the string table. (e.g. F keys) -+** [ ] Cursor orientation change based on display rotation should not -+** be bound to Ipaq or 5xxx, but instead as a runtime choice based -+** on whether or not we're using a Transformed display driver. -+** [ ] Double check that VT handling, particularly with regard to switching, -+** is handled properly. -+** [ ] Add a generic means of dealing with additional (outside the realm of -+** ctrl, alt, shift, altgr) modifiers. Also ensure a means of binding -+** a keypress/combination to a 'lock' of said additional modifiers. -+** -+**********************************************************************/ -+ -+ - #include "qwindowsystem_qws.h" - #include "qwsutils_qws.h" - #include "qgfx_qws.h" -@@ -46,6 +74,7 @@ - #include <unistd.h> - #ifdef _OS_LINUX_ - #include <linux/kd.h> -+#include <linux/keyboard.h> - #endif |
