Hello community,

here is the log from the commit of package xf86-input-synaptics.1199 for 
openSUSE:12.2:Update checked in at 2013-01-10 13:03:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/xf86-input-synaptics.1199 (Old)
 and      /work/SRC/openSUSE:12.2:Update/.xf86-input-synaptics.1199.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xf86-input-synaptics.1199", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ 
/work/SRC/openSUSE:12.2:Update/.xf86-input-synaptics.1199.new/xf86-input-synaptics.changes
  2013-01-10 13:03:22.000000000 +0100
@@ -0,0 +1,110 @@
+-------------------------------------------------------------------
+Thu Jan  3 16:54:31 UTC 2013 - s...@bugs.jan.ritzerfeld.org
+
+- Add xf86-input-synaptics-reset-num-active-touches-on-device-off.diff
+  patch: reset num_active_touches on DeviceOff (bnc#779452)
+
+-------------------------------------------------------------------
+Thu Jul 26 11:31:31 CEST 2012 - ti...@suse.de
+
+- Drop broken LED double-tap patches (bnc#768506,bnc#765524)
+
+-------------------------------------------------------------------
+Fri Jun 29 17:05:54 CEST 2012 - ti...@suse.de
+
+- Fix double-tap LED behavior (bnc#768506)
+- Enable tap-to-click as default (bnc#722457)
+
+-------------------------------------------------------------------
+Thu Jun 14 10:51:47 UTC 2012 - tobias.johannes.klausm...@mni.thm.de
+
+- Update to version 1.6.2
+  + #49439: out-of-bounds access if a touch was active at driver init
+  + #49965: disallow scroll distances on 0 to avoid division by 0
+  + Fix coasting for negative scroll deltas
+  + More fixes to avoid jumpy cursors on resume
+
+
+-------------------------------------------------------------------
+Wed Jun  6 15:45:07 CEST 2012 - ti...@suse.de
+
+- Remove obsoleted patches and revive LED double-tap (bnc#765524)
+  * Remove obsoleted clickpad patches:
+    xf86-input-synaptics-add-clickpad-support.diff
+    xf86-input-synaptics-fix-clickpad-capabilities.diff
+    xf86-input-synaptics-clickpad-doc-update.diff
+  * Remove obsoleted stability patches:
+    xf86-input-synaptics-filter-bogus-coord.diff
+    xf86-input-synaptics-move-threshold.diff
+  * Revive LED double-tap patch:
+    xf86-input-synaptics-led-double-tap.diff
+
+-------------------------------------------------------------------
+Fri May 11 07:51:22 UTC 2012 - vu...@opensuse.org
+
+- Update to version 1.6.1:
+  + Fix wrong conversion causing coasting to be triggered on almost
+    all scroll events.
+  + Fix bug where, on clickpads, moving the clicking finger out of
+    the soft button area caused erroneous button events.
+- Rebase xf86-input-synaptics-wait.diff,
+  xf86-input-synaptics-add-clickpad-support.diff,
+  xf86-input-synaptics-add-led-support.diff,
+  xf86-input-synaptics-fix-clickpad-capabilities.diff,
+  xf86-input-synaptics-filter-bogus-coord.diff: this is needed
+  because of whitespace changes in the code.
+
+-------------------------------------------------------------------
+Wed May  9 08:46:12 UTC 2012 - vu...@opensuse.org
+
+- Update to version 1.6.0:
+  + Fix coasting for negative scroll directions.
+  + Fix issues on resuming after suspend.
+  + Documentation fixes.
+  + Build fixes.
+- Changes from version 1.5.99.904:
+  + Ensure hw millis are monotonic.
+  + Don't release the button on TS_3 if TapAndDrag is disabled.
+  + Various scroll-related fixes.
+  + Various coasting-related fixes.
+  + Several other bug fixes.
+- Rebase xf86-input-synaptics-clickpad-doc-update.diff and
+  xf86-input-synaptics-filter-bogus-coord.diff.
+
+-------------------------------------------------------------------
+Mon Apr 23 20:28:34 UTC 2012 - dims...@opensuse.org
+
+- Disable xf86-input-synaptics-move-threshold.diff: having this
+  patch enabled and touching the pad resets X.
+
+-------------------------------------------------------------------
+Thu Apr 19 21:00:39 UTC 2012 - dims...@opensuse.org
+
+- Update to version 1.5.99.903:
+  + Support inverted scroll direction.
+  + Use maximum number of touches reported by evdev
+  + Don't count fingers twice when guessing distance (fdo#48316)
+  + Replace hardcoded max number of touches with a define.
+  + Check touch record bounds before access
+  + Do not perform a tap action when more than three touches
+  + Count number of multitouch touches for multitouch finger count
+  + conf: the bcm5974 doesn't have Apple in the product name
+- Drop patches:
+  + xf86-input-synaptics-settings.diff
+  + xf86-input-synaptics-led-double-tap.diff
+  + xf86-input-synaptics-clickpad-threshold.diff
+- Rebased patches:
+  + xf86-input-synaptics-add-clickpad-support.diff
+  + xf86-input-synaptics-add-led-support.diff
+  + xf86-input-synaptics-fix-clickpad-capabilities.diff
+  + xf86-input-synaptics-move-threshold.diff
+  + xf86-input-synaptics-filter-bogus-coord.diff
+- Add pkgconfig(mtdev) BuildRequires: new dependency.
+- Use %x11_abi_xinput_req instead of static ABI Requires.
+
+-------------------------------------------------------------------
+Wed Apr 18 11:22:34 UTC 2012 - vu...@opensuse.org
+
+- Split xf86-input-synaptics from xorg-x11-driver-input.
+  Initial version: 1.5.0.
+

New:
----
  xf86-input-synaptics-1.6.2.tar.bz2
  xf86-input-synaptics-default-tap.diff
  xf86-input-synaptics-reset-num-active-touches-on-device-off.diff
  xf86-input-synaptics-wait.diff
  xf86-input-synaptics-xorg.conf.d_snippet.diff
  xf86-input-synaptics.changes
  xf86-input-synaptics.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xf86-input-synaptics.spec ++++++
#
# spec file for package xf86-input-synaptics
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           xf86-input-synaptics
Version:        1.6.2
Release:        0
Summary:        Synaptics touchpad input driver for the Xorg X server
License:        MIT
Group:          System/X11/Servers/XF86_4
Url:            http://xorg.freedesktop.org/
Source0:        
http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2
Patch0:         xf86-input-synaptics-wait.diff
Patch2:         xf86-input-synaptics-xorg.conf.d_snippet.diff
Patch5:         xf86-input-synaptics-default-tap.diff
Patch6:         xf86-input-synaptics-reset-num-active-touches-on-device-off.diff
BuildRequires:  autoconf >= 2.60
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  pkg-config
BuildRequires:  pkgconfig(inputproto)
BuildRequires:  pkgconfig(mtdev)
BuildRequires:  pkgconfig(randrproto)
BuildRequires:  pkgconfig(recordproto)
BuildRequires:  pkgconfig(x11)
BuildRequires:  pkgconfig(xi) >= 1.2
BuildRequires:  pkgconfig(xorg-macros) >= 1.13
BuildRequires:  pkgconfig(xorg-server) >= 1.7
BuildRequires:  pkgconfig(xproto)
BuildRequires:  pkgconfig(xtst)
Requires:       udev
Supplements:    xorg-x11-server
# This was part of the xorg-x11-driver-input package up to version 7.6
Conflicts:      xorg-x11-driver-input <= 7.6
Provides:       x11-input-synaptics = %{version}
Obsoletes:      x11-input-synaptics < %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExcludeArch:    s390 s390x
%x11_abi_xinput_req

%description
synaptics is an Xorg input driver for touchpads.

Even though touchpads can be handled by the normal evdev or mouse
drivers, this driver allows more advanced features of the touchpad to
become available.

%package devel
Summary:        Synaptics touchpad input driver for the Xorg X server -- 
Development Files
Group:          Development/Libraries/X11
Requires:       %{name} = %{version}

%description devel
synaptics is an Xorg input driver for touchpads.

Even though touchpads can be handled by the normal evdev or mouse
drivers, this driver allows more advanced features of the touchpad to
become available.

%prep
%setup -q
%patch0 -p1
%patch2 -p1
%patch5 -p1
%patch6 -p1

%build
autoreconf -fi
%configure --with-xorg-conf-dir=/etc/X11/xorg.conf.d
make %{?_smp_mflags}

%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print

%post
# re-plug the input devices
udevadm trigger --subsystem-match=input --action=change
exit 0

%postun
# re-plug the input devices
udevadm trigger --subsystem-match=input --action=change
exit 0

%files
%defattr(-,root,root)
%doc COPYING README
%config %{_sysconfdir}/X11/xorg.conf.d/50-synaptics.conf
%dir %{_libdir}/xorg/modules/input
%{_libdir}/xorg/modules/input/synaptics_drv.so
%{_bindir}/synclient
%{_bindir}/syndaemon
%{_datadir}/man/man1/synclient.1%{?ext_man}
%{_datadir}/man/man1/syndaemon.1%{?ext_man}
%{_datadir}/man/man4/synaptics.4%{?ext_man}

%files devel
%defattr(-,root,root)
%{_includedir}/xorg/synaptics.h
%{_includedir}/xorg/synaptics-properties.h
%{_libdir}/pkgconfig/xorg-synaptics.pc

%changelog
++++++ xf86-input-synaptics-default-tap.diff ++++++
---
 conf/50-synaptics.conf |    4 ++++
 1 file changed, 4 insertions(+)

--- a/conf/50-synaptics.conf
+++ b/conf/50-synaptics.conf
@@ -16,6 +16,10 @@ Section "InputClass"
 # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
         MatchDevicePath "/dev/input/event*"
         Option "HorizScrollDelta"      "0"
+# enable tap-to-click as default (bnc#722457)
+       Option "TapButton1" "1"
+       Option "TapButton1" "2"
+       Option "TapButton1" "3"
 EndSection
 
 Section "InputClass"
++++++ xf86-input-synaptics-reset-num-active-touches-on-device-off.diff ++++++
---
 src/synaptics.c |    1 +
 1 file changed, 1 insertion(+)

--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -1154,6 +1154,7 @@
     priv->prev_z = 0;
     priv->prevFingers = 0;
 #ifdef HAVE_MULTITOUCH
+    priv->num_active_touches = 0;
     memset(priv->open_slots, 0, priv->num_slots * sizeof(int));
 #endif
 }
++++++ xf86-input-synaptics-wait.diff ++++++
---
 src/eventcomm.c |   14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -516,6 +516,8 @@
     int i;
     Bool touchpad_found = FALSE;
     struct dirent **namelist;
+    int wait = 0;
+    const int max_wait = 2000;
 
     if (device) {
         int fd = -1;
@@ -533,6 +535,7 @@
         }
     }
 
+    while (wait <= max_wait && !touchpad_found) {
     i = scandir(DEV_INPUT_EVENT, &namelist, EventDevOnly, alphasort);
     if (i < 0) {
         xf86IDrvMsg(pInfo, X_ERROR, "Couldn't open %s\n", DEV_INPUT_EVENT);
@@ -556,8 +559,8 @@
 
             if (event_query_is_touchpad(fd, TRUE)) {
                 touchpad_found = TRUE;
-                xf86IDrvMsg(pInfo, X_PROBED, "auto-dev sets device to %s\n",
-                            fname);
+                xf86IDrvMsg(pInfo, X_PROBED, "auto-dev sets device to %s 
(waited %d msec)\n",
+                            fname, wait);
                 pInfo->options =
                     xf86ReplaceStrOption(pInfo->options, "Device", fname);
             }
@@ -565,6 +568,13 @@
         }
         free(namelist[i]);
     }
+    if (!touchpad_found) {
+        xf86IDrvMsg(pInfo, X_ERROR, "waiting 100 msec to become devices 
ready\n");
+        usleep(100*1000);
+        wait += 100;
+        xf86IDrvMsg(pInfo, X_ERROR, "aiting time total: %d\n", wait);
+    }
+    } /* while (wait <= max_wait && !touchpad_found) */
 
     free(namelist);
 
++++++ xf86-input-synaptics-xorg.conf.d_snippet.diff ++++++
---
 conf/50-synaptics.conf |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/conf/50-synaptics.conf
+++ b/conf/50-synaptics.conf
@@ -14,7 +14,8 @@
 # This option is recommend on all Linux systems using evdev, but cannot be
 # enabled by default. See the following link for details:
 # http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
-#       MatchDevicePath "/dev/input/event*"
+        MatchDevicePath "/dev/input/event*"
+        Option "HorizScrollDelta"      "0"
 EndSection
 
 Section "InputClass"
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to