Merge bk://openembedded@openembedded.bkbits.net/packages-devel
authorHolger Freyther <zecke@selfish.org>
Sat, 6 Nov 2004 17:45:22 +0000 (17:45 +0000)
committerHolger Freyther <zecke@selfish.org>
Sat, 6 Nov 2004 17:45:22 +0000 (17:45 +0000)
into handhelds.org:/home/ich/programming/oe/oe-packages-exported

2004/11/06 18:44:50+01:00 handhelds.org!zecke
QtE 2.3.7 patches:
-Change tslib.patch to avoid possible (but unlinkely) sample[-1] access

2004/11/06 18:42:29+01:00 handhelds.org!zecke
-Xine 1.0.0 plugins depended on libxine and libxine1 ( >= libxine_1.0.0-rc6a ).
 This is due packages.oeclass tries to find the dependencies on if
 extra_depends is None (default), but that doesn't work with shlibdeps which renames
 the package from libxine to libxine1 automatically.

BKrev: 418d0db2MtD7v-y2zpmbeWIAqTA-lw

libxine/libxine_1.0.0-rc6a.oe
qte/qte-2.3.7/tslib.patch
qte/qte_2.3.7.oe

index 0e25dc6..754f768 100644 (file)
@@ -96,11 +96,11 @@ do_stage() {
 
 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='' )
 }
index 27f8cb0..0475d81 100644 (file)
@@ -35,7 +35,7 @@
  
  //#define QWS_CUSTOMTOUCHPANEL
  
-@@ -1093,6 +1100,220 @@
+@@ -1093,6 +1100,221 @@
      return sent;
  }
  
@@ -58,7 +58,7 @@
 +    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:
index b8c36d4..420790d 100644 (file)
@@ -5,7 +5,7 @@ LICENSE = "GPL/QPL"
 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 \