[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xserver-xorg-input-synaptics: Changes to 'debian-unstable'



 configure.ac                                                     |    2 
 debian/README.source                                             |   73 ++++++++++
 debian/changelog                                                 |   12 +
 debian/patches/01-synaptics-dont-grab-if-not-on-current-VT.patch |    6 
 debian/patches/02-mention-tapping-in-manpage-notes.patch         |   22 ++-
 debian/xserver-xorg-input-synaptics.README.Debian                |    2 
 debian/xsfbs/xsfbs.sh                                            |   12 -
 src/eventcomm.c                                                  |   45 ++++--
 src/synaptics.c                                                  |    6 
 src/synapticsstr.h                                               |    3 
 tools/synclient.c                                                |    2 
 11 files changed, 144 insertions(+), 41 deletions(-)

New commits:
commit 64509dac0a5b8c07f2edce3876f86d0e0fc6667d
Author: Mattia Dongili <malattia@linux.it>
Date:   Sat Jun 6 13:55:24 2009 +0900

    Update README.Debian's date signature with the last modification time
    
    Signed-off-by: Mattia Dongili <malattia@linux.it>

diff --git a/debian/changelog b/debian/changelog
index 1141f3f..07d970d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ xserver-xorg-input-synaptics (1.1.2-1) unstable; urgency=low
   * Replace 02-mention-tapping-in-manpage-notes.patch with the patch accepted
     upstream (1f499d).
   * Refresh patch 01-synaptics-dont-grab-if-not-on-current-VT.patch.
+  * Update README.Debian's date signature with the last modification time
+    (closes: #531999).
 
  -- Mattia Dongili <malattia@debian.org>  Sat, 06 Jun 2009 13:32:59 +0900
 
diff --git a/debian/xserver-xorg-input-synaptics.README.Debian b/debian/xserver-xorg-input-synaptics.README.Debian
index b125d39..6f5e957 100644
--- a/debian/xserver-xorg-input-synaptics.README.Debian
+++ b/debian/xserver-xorg-input-synaptics.README.Debian
@@ -113,4 +113,4 @@ simply add the following line to your ~/.xinitrc file:
 Customize the daemon options to fit your needs, the only mandatory option is
 '-d' to run syndaemon in the background. See 'man 1 syndaemon' for more.
 
- -- Mattia Dongili <malattia@debian.org>, Tue,  2 Mar 2004 11:42:05 +0100
+ -- Mattia Dongili <malattia@debian.org>, Mon, 11 May 2009 23:04:40 +0900

commit 9465ba09209f05947f73b4de4aa081e95f68e428
Author: Mattia Dongili <malattia@linux.it>
Date:   Sat Jun 6 13:39:56 2009 +0900

    Refresh 01-synaptics-dont-grab-if-not-on-current-VT.patch
    
    Signed-off-by: Mattia Dongili <malattia@linux.it>

diff --git a/debian/changelog b/debian/changelog
index ae4febc..1141f3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ xserver-xorg-input-synaptics (1.1.2-1) unstable; urgency=low
   * New upstream release.
   * Replace 02-mention-tapping-in-manpage-notes.patch with the patch accepted
     upstream (1f499d).
+  * Refresh patch 01-synaptics-dont-grab-if-not-on-current-VT.patch.
 
  -- Mattia Dongili <malattia@debian.org>  Sat, 06 Jun 2009 13:32:59 +0900
 
diff --git a/debian/patches/01-synaptics-dont-grab-if-not-on-current-VT.patch b/debian/patches/01-synaptics-dont-grab-if-not-on-current-VT.patch
index 89b0eaa..d5c6156 100644
--- a/debian/patches/01-synaptics-dont-grab-if-not-on-current-VT.patch
+++ b/debian/patches/01-synaptics-dont-grab-if-not-on-current-VT.patch
@@ -4,9 +4,9 @@ instance of Xorg.
 
 Index: xserver-xorg-input-synaptics/src/synaptics.c
 ===================================================================
---- xserver-xorg-input-synaptics.orig/src/synaptics.c	2009-05-10 21:48:36.607797666 +0900
-+++ xserver-xorg-input-synaptics/src/synaptics.c	2009-05-12 23:45:41.218675859 +0900
-@@ -710,6 +710,9 @@
+--- xserver-xorg-input-synaptics.orig/src/synaptics.c	2009-06-03 21:46:59.820825153 +0900
++++ xserver-xorg-input-synaptics/src/synaptics.c	2009-06-06 13:35:52.016859832 +0900
+@@ -714,6 +714,9 @@
  
      DBG(3, ErrorF("Synaptics DeviceOn called\n"));
  

commit 8c46e4948bf1e016a212d24ac57046bcec7aa9c1
Author: Mattia Dongili <malattia@linux.it>
Date:   Sat Jun 6 13:37:38 2009 +0900

    Replace 02-mention-tapping-in-manpage-notes.patch
    
    Upstream accepted the patch with some modifications. Use that instead
    (1f499d).
    
    Signed-off-by: Mattia Dongili <malattia@linux.it>

diff --git a/debian/changelog b/debian/changelog
index fb9eaae..ae4febc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,10 @@ xserver-xorg-input-synaptics (1.1.2-1) unstable; urgency=low
 
   [ Mattia Dongili ]
   * New upstream release.
+  * Replace 02-mention-tapping-in-manpage-notes.patch with the patch accepted
+    upstream (1f499d).
 
- -- Mattia Dongili <malattia@debian.org>  Wed, 03 Jun 2009 21:48:36 +0900
+ -- Mattia Dongili <malattia@debian.org>  Sat, 06 Jun 2009 13:32:59 +0900
 
 xserver-xorg-input-synaptics (1.1.1~git20090510-1) unstable; urgency=low
 
diff --git a/debian/patches/02-mention-tapping-in-manpage-notes.patch b/debian/patches/02-mention-tapping-in-manpage-notes.patch
index 3bc96d7..199780b 100644
--- a/debian/patches/02-mention-tapping-in-manpage-notes.patch
+++ b/debian/patches/02-mention-tapping-in-manpage-notes.patch
@@ -1,16 +1,26 @@
-Mention how to enable tapping in the driver manpage
+commit 1f499dd3f067848c344c13e04305e9f428438c9f
+Author: Mattia Dongili <malattia@linux.it>
+Date:   Fri Jun 5 08:57:06 2009 +1000
+
+    man: explain TapButton default values
+    
+    Clarify how the new default values are set and what options to set
+    to get a different behaviour.
+    
+    Signed-off-by: Mattia Dongili <malattia@linux.it>
+    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
 
 Index: xserver-xorg-input-synaptics/man/synaptics.man
 ===================================================================
---- xserver-xorg-input-synaptics.orig/man/synaptics.man	2009-05-13 00:14:36.753651106 +0900
-+++ xserver-xorg-input-synaptics/man/synaptics.man	2009-05-13 00:27:28.785651827 +0900
+--- xserver-xorg-input-synaptics.orig/man/synaptics.man	2009-06-06 12:59:09.725856323 +0900
++++ xserver-xorg-input-synaptics/man/synaptics.man	2009-06-06 13:35:52.040859452 +0900
 @@ -813,6 +813,9 @@
  vertical scrolling is enabled, horizontal two-finger scrolling is disabled and
  edge scrolling is disabled. If no multi-finger capabilities are reported,
  edge scrolling is enabled for both horizontal and vertical scrolling.
-+Tapping is disabled by default for touchpads with two buttons or more, to enable
-+it you need to map tap actions to buttons. See the "TapButton1", "TapButton2"
-+and "TapButton3" option descriptions for their meaning.
++Tapping is disabled by default for touchpads with one or more physical buttons.
++To enable it you need to map tap actions to buttons. See the "TapButton1",
++"TapButton2" and "TapButton3" options.
  .LP
  Button mapping for physical buttons is handled in the server.
  If the device is switched to left-handed (an in-server mapping of physical

commit 2922ac76e9acb7dffa12ae5c130d95c867e8e824
Author: Mattia Dongili <malattia@linux.it>
Date:   Thu Jun 4 22:25:23 2009 +0900

    Package version 1.1.2
    
    Signed-off-by: Mattia Dongili <malattia@linux.it>

diff --git a/debian/changelog b/debian/changelog
index 75258a3..fb9eaae 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xserver-xorg-input-synaptics (1.1.2-1) unstable; urgency=low
+
+  [ Mattia Dongili ]
+  * New upstream release.
+
+ -- Mattia Dongili <malattia@debian.org>  Wed, 03 Jun 2009 21:48:36 +0900
+
 xserver-xorg-input-synaptics (1.1.1~git20090510-1) unstable; urgency=low
 
   [ David Nusinow ]

commit 8f72294ada477f003888b6776883c1dd98289f3f
Author: Julien Cristau <jcristau@debian.org>
Date:   Wed Jun 3 03:37:37 2009 +0200

    Kill custom readlink function
    
    This was needed for very, very old versions of debianutils.
    Closes: #498890

diff --git a/debian/xsfbs/xsfbs.sh b/debian/xsfbs/xsfbs.sh
index 197eb74..781826f 100644
--- a/debian/xsfbs/xsfbs.sh
+++ b/debian/xsfbs/xsfbs.sh
@@ -303,16 +303,6 @@ EOF
   fi
 }
 
-# we require a readlink command or shell function
-if ! which readlink > /dev/null 2>&1; then
-  message "The readlink command was not found.  Please install version" \
-          "1.13.1 or later of the debianutils package."
-  readlink () {
-    # returns what symlink in $1 actually points to
-    perl -e '$l = shift; exit 1 unless -l $l; $r = readlink $l; exit 1 unless $r; print "$r\n"' "$1"
-  }
-fi
-
 check_symlink () {
   # syntax: check_symlink symlink
   #

commit b46ea23ab9f8db40880d294733debbe7a5ebcab7
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Thu May 28 09:46:18 2009 +1000

    synaptics 1.1.2

diff --git a/configure.ac b/configure.ac
index 0681873..ef85cb5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
 
 AC_PREREQ(2.57)
 AC_INIT([xf86-input-synaptics],
-        1.1.1,
+        1.1.2,
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
         xf86-input-synaptics)
 

commit 7deebf983f53c505bc25171ab77fdc408f250a6e
Author: Julien Cristau <jcristau@debian.org>
Date:   Tue May 26 15:58:19 2009 +0200

    xsfbs: don't run dpkg --print-installation-architecture
    
    This is deprecated in new dpkg, and had no users anyway.

diff --git a/debian/xsfbs/xsfbs.sh b/debian/xsfbs/xsfbs.sh
index 8840ff9..197eb74 100644
--- a/debian/xsfbs/xsfbs.sh
+++ b/debian/xsfbs/xsfbs.sh
@@ -57,8 +57,6 @@ EOF
   exit $SHELL_LIB_USAGE_ERROR
 fi
 
-ARCHITECTURE="$(dpkg --print-installation-architecture)"
-
 if [ "$1" = "reconfigure" ] || [ -n "$DEBCONF_RECONFIGURE" ]; then
   RECONFIGURE="true"
 else

commit 4178d948cd66a938222d0d7c6353ee8d60229e40
Author: David Nusinow <dnusinow@debian.org>
Date:   Mon May 25 20:08:50 2009 -0400

    Add README.source

diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..34ab4bf
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,73 @@
+------------------------------------------------------
+Quick Guide To Patching This Package For The Impatient
+------------------------------------------------------
+
+1. Make sure you have quilt installed
+2. Unpack the package as usual with "dpkg-source -x"
+3. Run the "patch" target in debian/rules
+4. Create a new patch with "quilt new" (see quilt(1))
+5. Edit all the files you want to include in the patch with "quilt edit" 
+   (see quilt(1)).
+6. Write the patch with "quilt refresh" (see quilt(1))
+7. Run the "clean" target in debian/rules
+
+Alternatively, instead of using quilt directly, you can drop the patch in to 
+debian/patches and add the name of the patch to debian/patches/series.
+
+------------------------------------
+Guide To The X Strike Force Packages
+------------------------------------
+
+The X Strike Force team maintains X packages in git repositories on
+git.debian.org in the pkg-xorg subdirectory. Most upstream packages
+are actually maintained in git repositories as well, so they often
+just need to be pulled into git.debian.org in a "upstream-*" branch.
+Otherwise, the upstream sources are manually installed in the Debian
+git repository.
+
+The .orig.tar.gz upstream source file could be generated this
+"upstream-*" branch in the Debian git repository but it is actually
+copied from upstream tarballs directly.
+
+Due to X.org being highly modular, packaging all X.org applications
+as their own independent packages would have created too many Debian
+packages. For this reason, some X.org applications have been grouped
+into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils,
+x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils.
+Most packages, including the X.org server itself and all libraries
+and drivers are, however maintained independently.
+
+The Debian packaging is added by creating the "debian-*" git branch
+which contains the aforementioned "upstream-*" branch plus the debian/
+repository files.
+When a patch has to be applied to the Debian package, two solutions
+are involved:
+* If the patch is available in one of the upstream branches, it
+  may be git'cherry-picked into the Debian repository. In this
+  case, it appears directly in the .diff.gz.
+* Otherwise, the patch is added to debian/patches/ which is managed
+  with quilt as documented in /usr/share/doc/quilt/README.source.
+
+quilt is actually invoked by the Debian X packaging through a larger
+set of scripts called XSFBS. XSFBS brings some other X specific
+features such as managing dependencies and conflicts due to the video
+and input driver ABIs.
+XSFBS itself is maintained in a separate repository at
+  git://git.debian.org/pkg-xorg/xsfbs.git
+and it is pulled inside the other Debian X repositories when needed.
+
+The XSFBS patching system requires a build dependency on quilt. Also
+a dependency on $(STAMP_DIR)/patch has to be added to debian/rules
+so that the XSFBS patching occurs before the actual build. So the
+very first target of the build (likely the one running autoreconf)
+should depend on $(STAMP_DIR)/patch. It should also not depend on
+anything so that parallel builds are correctly supported (nothing
+should probably run while patching is being done). And finally, the
+clean target should depend on the xsfclean target so that patches
+are unapplied on clean.
+
+When the upstream sources contain some DFSG-nonfree files, they are
+listed in text files in debian/prune/ in the "debian-*" branch of
+the Debian repository. XSFBS' scripts then take care of removing
+these listed files during the build so as to generate a modified
+DFSG-free .orig.tar.gz tarball.

commit d4c64483f75af56f0b989798adb28487a76d926f
Author: Jeremy Huddleston <jeremyhu@freedesktop.org>
Date:   Thu May 7 18:17:55 2009 +1000

    Add model-specific edges for appletouch.
    
    Needs around 8.5% to be useable.
    
    I created a table to iterate through the different products rather than
    using if/else branches.  I can enumerate the appletouch product_ids, but I
    suspect they will all be around the same range (hence the PRODUCT_ANY).  If
    another product id shows different behavior, we can just add an entry to
    the table as appropriate.
    
    I also changed the default eheight to be 5.4% to match the spec.
    
    Reported-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
    Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
    (cherry picked from commit c3ab0ae4f3f04da7018173662ede174c97710c8a)

diff --git a/src/eventcomm.c b/src/eventcomm.c
index 690d179..600fa29 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -115,22 +115,37 @@ event_query_is_touchpad(int fd)
     return TRUE;
 }
 
+typedef struct {
+	short vendor;
+	short product;
+	enum TouchpadModel model;
+} model_lookup_t;
+#define PRODUCT_ANY 0x0000
+
+static model_lookup_t model_lookup_table[] = {
+	{0x0002, 0x0007, MODEL_SYNAPTICS},
+	{0x0002, 0x0008, MODEL_ALPS},
+	{0x05ac, PRODUCT_ANY, MODEL_APPLETOUCH},
+	{0x0, 0x0, 0x0}
+};
+
 static void
 event_query_info(LocalDevicePtr local)
 {
     SynapticsPrivate *priv = (SynapticsPrivate *)local->private;
     short id[4];
     int rc;
+    model_lookup_t *model_lookup;
 
     SYSCALL(rc = ioctl(local->fd, EVIOCGID, id));
     if (rc < 0)
         return;
 
-    if (id[ID_VENDOR] == 0x2 && id[ID_PRODUCT] == 0x7)
-        priv->model = MODEL_SYNAPTICS;
-    else if (id[ID_VENDOR] == 0x2 && id[ID_PRODUCT] == 0x8)
-        priv->model = MODEL_ALPS;
-
+    for(model_lookup = model_lookup_table; model_lookup->vendor; model_lookup++) {
+        if(model_lookup->vendor == id[ID_VENDOR] &&
+           (model_lookup->product == id[ID_PRODUCT] || model_lookup->product == PRODUCT_ANY))
+            priv->model = model_lookup->model;
+    }
 }
 
 /* Query device for axis ranges */
diff --git a/src/synaptics.c b/src/synaptics.c
index 710c786..fdd7790 100644
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -341,10 +341,14 @@ static void set_default_parameters(LocalDevicePtr local)
         {
             ewidth = width * .15;
             eheight = height * .15;
+        } else if (priv->model == MODEL_APPLETOUCH)
+        {
+            ewidth = width * .085;
+            eheight = height * .085;
         } else
         {
             ewidth = width * .04;
-            eheight = height * .04;
+            eheight = height * .054;
         }
 
         l = priv->minx + ewidth;
diff --git a/src/synapticsstr.h b/src/synapticsstr.h
index f518c11..d5a3f91 100644
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -82,7 +82,8 @@ enum TapButtonState {
 enum TouchpadModel {
     MODEL_UNKNOWN = 0,
     MODEL_SYNAPTICS,
-    MODEL_ALPS
+    MODEL_ALPS,
+    MODEL_APPLETOUCH
 };
 
 typedef struct _SynapticsPrivateRec

commit 3b2c023ca64c20203973fc3e606ab91dfc65c16f
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue May 19 08:43:57 2009 +1000

    synaptics 1.1.1

diff --git a/configure.ac b/configure.ac
index edbcc05..0681873 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
 
 AC_PREREQ(2.57)
 AC_INIT([xf86-input-synaptics],
-        1.1.0,
+        1.1.1,
         [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
         xf86-input-synaptics)
 

commit 553106362973f4938e0a03a4178c97b0ce0ff0f1
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue May 19 08:43:29 2009 +1000

    synclient: up max value for AccelFactor to 1.0
    
    There's no real reason to restrict AccelFactor to 0.2, the driver itself
    doesn't restrict AccelFactor either. Upwards of 1.0 it's hard to spot any
    real differences in speed though, so 1.0 seems like a sensible maximum.
    
    Red Hat Bug 462574 <https://bugzilla.redhat.com/show_bug.cgi?id=462574>
    
    Reported-by: David Woodhouse <dwmw2@infradead.org>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
    (cherry picked from commit 35191ec094a2006ba290713640dd95c88ca3b0f9)
    
    Conflicts:
    
    	tools/synclient.c

diff --git a/tools/synclient.c b/tools/synclient.c
index 2ebd458..99d83f0 100644
--- a/tools/synclient.c
+++ b/tools/synclient.c
@@ -131,7 +131,7 @@ static struct Parameter params[] = {
 		SYNAPTICS_PROP_SPEED,		0, /*float */	0),
     DEFINE_PAR("MaxSpeed",             max_speed,               PT_DOUBLE, 0, 1.0,
 		SYNAPTICS_PROP_SPEED,		0, /*float */	1),
-    DEFINE_PAR("AccelFactor",          accl,                    PT_DOUBLE, 0, 0.2,
+    DEFINE_PAR("AccelFactor",          accl,                    PT_DOUBLE, 0, 1.0,
 		SYNAPTICS_PROP_SPEED,		0, /*float */	2),
     DEFINE_PAR("TrackstickSpeed",      trackstick_speed,        PT_DOUBLE, 0, 200.0,
 		SYNAPTICS_PROP_SPEED,		0, /*float */ 3),

commit 4b12887fbd4ae82196b4e64beef0118905c5aa38
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Fri May 15 11:59:58 2009 +1000

    eventcomm: force boolean values for has_left, has_right, etc.
    
    TEST_BIT simply returns the value of the bytes, so we end up with has_left
    and friends being an integer value instead of a boolean value. This again
    may cause confusion in other parts, if a 1/0 boolean value is expected (e.g.
    all xf86SetBoolOption()).
    
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
    (cherry picked from commit e0d651c77e3a59086d5f36d1aaf9e6ba80394336)

diff --git a/src/eventcomm.c b/src/eventcomm.c
index 5b38c28..690d179 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -202,15 +202,15 @@ event_query_axis_ranges(LocalDevicePtr local)
     if (rc >= 0)
     {
 	buf[0] = 0;
-	if ((priv->has_left = TEST_BIT(BTN_LEFT, keybits)))
+	if ((priv->has_left = (TEST_BIT(BTN_LEFT, keybits) != 0)))
 	   strcat(buf, " left");
-	if ((priv->has_right = TEST_BIT(BTN_RIGHT, keybits)))
+	if ((priv->has_right = (TEST_BIT(BTN_RIGHT, keybits) != 0)))
 	   strcat(buf, " right");
-	if ((priv->has_middle = TEST_BIT(BTN_MIDDLE, keybits)))
+	if ((priv->has_middle = (TEST_BIT(BTN_MIDDLE, keybits) != 0)))
 	   strcat(buf, " middle");
-	if ((priv->has_double = TEST_BIT(BTN_TOOL_DOUBLETAP, keybits)))
+	if ((priv->has_double = (TEST_BIT(BTN_TOOL_DOUBLETAP, keybits) != 0)))
 	   strcat(buf, " double");
-	if ((priv->has_triple = TEST_BIT(BTN_TOOL_TRIPLETAP, keybits)))
+	if ((priv->has_triple = (TEST_BIT(BTN_TOOL_TRIPLETAP, keybits) != 0)))
 	   strcat(buf, " triple");
 	xf86Msg(X_INFO, "%s: buttons:%s\n", local->name, buf);
     }

commit 372ab4c9b66e3d267e35275d3d2597cdb594ed73
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue Mar 24 11:24:02 2009 +1000

    Shut up valgrind warnings about uninitialized variables.
    
    Reported-by: Zdenek Kabelac <zkabelac@redhat.com>
    Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
    (cherry picked from commit 18442d927f6cf03e7a366f6c3c0292b065ba1c64)

diff --git a/src/eventcomm.c b/src/eventcomm.c
index 3b03695..5b38c28 100644
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -78,9 +78,9 @@ static Bool
 event_query_is_touchpad(int fd)
 {
     int ret;
-    unsigned long evbits[NBITS(EV_MAX)];
-    unsigned long absbits[NBITS(ABS_MAX)];
-    unsigned long keybits[NBITS(KEY_MAX)];
+    unsigned long evbits[NBITS(EV_MAX)] = {0};
+    unsigned long absbits[NBITS(ABS_MAX)] = {0};
+    unsigned long keybits[NBITS(KEY_MAX)] = {0};
 
     /* Check for ABS_X, ABS_Y, ABS_PRESSURE and BTN_TOOL_FINGER */
 
@@ -139,8 +139,8 @@ event_query_axis_ranges(LocalDevicePtr local)
 {
     SynapticsPrivate *priv = (SynapticsPrivate *)local->private;
     struct input_absinfo abs;
-    unsigned long absbits[NBITS(ABS_MAX)];
-    unsigned long keybits[NBITS(KEY_MAX)];
+    unsigned long absbits[NBITS(ABS_MAX)] = {0};
+    unsigned long keybits[NBITS(KEY_MAX)] = {0};
     char buf[256];
     int rc;
 

commit fa6396d6bf68b9a0154089146287245f9ad60a1e
Author: Julien Cristau <jcristau@debian.org>
Date:   Wed Feb 25 21:31:03 2009 +0100

    xsfbs: repack.sh needs to be executable

diff --git a/debian/xsfbs/repack.sh b/debian/xsfbs/repack.sh
old mode 100644
new mode 100755


Reply to: