python populate_packages_prepend () {
plugindir = oe.data.expand('${libdir}/xine/plugins/1.0.0', d)
- do_split_packages(d, plugindir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s')
+ do_split_packages(d, plugindir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s', extra_depends='' )
postdir = oe.data.expand('${libdir}/xine/plugins/1.0.0/post', d)
- do_split_packages(d, postdir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s')
+ do_split_packages(d, postdir, '^xineplug_(.*)\.so$', 'libxine-plugin-%s', 'Xine plugin for %s', extra_depends='' )
fontdir = oe.data.expand('${datadir}/xine/libxine1/fonts', d)
- do_split_packages(d, fontdir, '^(.*).xinefont.gz$', 'libxine-font-%s', 'Xine font %s')
+ do_split_packages(d, fontdir, '^(.*).xinefont.gz$', 'libxine-font-%s', 'Xine font %s', extra_depends='' )
}
//#define QWS_CUSTOMTOUCHPANEL
-@@ -1093,6 +1100,220 @@
+@@ -1093,6 +1100,221 @@
return sent;
}
+ void interpolateSample();
+
+private:
-+ bool raw;
++ bool raw : 1;
+#ifdef QWS_TSLIB
+ struct tsdev *ts;
+#endif
+
+ delete m_notify;
+ m_notify = 0; ts = 0;
++ raw = false;
+#endif
+
+}
+ {
+ qDebug( "Could not save calibration: %s", calFile.latin1() );
+ }
-+ raw = false;
+}
+
+void QTSLibHandler::readMouseData()
+ */
+void QTSLibHandler::interpolateSample() {
+ static struct ts_sample samples[25];
-+ int index = -1;
++ int index = 0;
+ int ret;
+
+ do {
-+ index++;
+ /* fill only the last sample again */
+ if ( index >= 25 )
+ index = 24;
+ continue;
+ }
+ }
-+ }while (samples[index].pressure != 0);
++ }while (samples[index++].pressure != 0);
+
+ /*
+ * index is maximal 25 and we at least one sample
+ */
++ if( index >= 25 )
++ index = 24;
+ int x, y;
+
+ /*
/*
* Handler for /dev/tpanel Linux kernel driver
*/
-@@ -1235,7 +1456,7 @@
+@@ -1235,7 +1457,7 @@
QTPanelHandlerPrivate::QTPanelHandlerPrivate( MouseProtocol, QString dev )
numSamples(0), skipCount(0)
{
#if defined(QT_QWS_IPAQ) || defined(QT_QWS_SL5XXX)
-@@ -1315,7 +1536,7 @@
+@@ -1315,7 +1537,7 @@
mousePos = QPoint( 0, 0 );
QPoint totalMousePos = oldTotalMousePos;
totalMousePos += samples[currSample];
totalMousePos -= samples[lastSample];
mousePos = totalMousePos / (sampleCount - 1);
-@@ -1345,7 +1566,7 @@
+@@ -1345,7 +1567,7 @@
// save recuring information
currSample++;
lastSample++;
oldTotalMousePos = totalMousePos;
} else {
-@@ -1658,7 +1879,7 @@
+@@ -1658,7 +1880,7 @@
if ( mouseProto == "USB" && mouseDev.isEmpty() )
mouseDev = "/dev/input/mice";
MouseProtocol mouseProtocol = Unknown;
int idx = 0;
-@@ -1689,12 +1910,14 @@
+@@ -1689,12 +1911,14 @@
break;
case TPanel:
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
DEPENDS = "zlib libpng jpeg tslib uicmoc-native"
PROVIDES = "virtual/qte virtual/libqte2"
-PR = "r19"
+PR = "r20"
SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}.tar.gz \
file://qpe.patch;patch=1 \