[arch-commits] Commit in xf86-input-synaptics/trunk (PKGBUILD add_tapbuttons.diff)

Laurent Carlier lcarlier at archlinux.org
Wed May 4 04:15:37 UTC 2016


    Date: Wednesday, May 4, 2016 @ 06:15:37
  Author: lcarlier
Revision: 266846

upgpkg: xf86-input-synaptics 1.8.3-4

only enable first tapping button, others can be inverted (FS#33291)

Modified:
  xf86-input-synaptics/trunk/PKGBUILD
  xf86-input-synaptics/trunk/add_tapbuttons.diff

---------------------+
 PKGBUILD            |   14 +++++++++++---
 add_tapbuttons.diff |    4 +---
 2 files changed, 12 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-04 02:08:58 UTC (rev 266845)
+++ PKGBUILD	2016-05-04 04:15:37 UTC (rev 266846)
@@ -6,7 +6,7 @@
 
 pkgname=xf86-input-synaptics
 pkgver=1.8.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Synaptics driver for notebook touchpads"
 arch=('i686' 'x86_64')
 license=('MIT')
@@ -18,12 +18,19 @@
 provides=('synaptics')
 conflicts=('synaptics')
 groups=('xorg-drivers' 'xorg')
-source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2)
-sha256sums=('d39f100c74f3673778b53f17bab7690161925e25dd998a15dd8cc69b52e83f01')
+source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
+        add_tapbuttons.diff)
+sha256sums=('d39f100c74f3673778b53f17bab7690161925e25dd998a15dd8cc69b52e83f01'
+            '241d7cc04ec9afcc25e10ad0e8858a927e99ec0437bba0645ca4f01dd04bb4e3')
 
 build() {
   cd ${pkgname}-${pkgver}
   
+  # * upstream disabled tapping by default if a physical left button is present - FS#33282
+  # * enable only one finger tapping, others can be inverted - FS#49103
+  # * enable MatchDevicePath directive by default - FS#33291
+  patch -Np1 -i ${srcdir}/add_tapbuttons.diff
+
   ./configure --prefix=/usr
   make
 }
@@ -30,6 +37,7 @@
 
 package() {
   cd ${pkgname}-${pkgver}
+  
   make DESTDIR="${pkgdir}" install
   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"

Modified: add_tapbuttons.diff
===================================================================
--- add_tapbuttons.diff	2016-05-04 02:08:58 UTC (rev 266845)
+++ add_tapbuttons.diff	2016-05-04 04:15:37 UTC (rev 266846)
@@ -1,12 +1,10 @@
 --- a/conf/50-synaptics.conf	2012-05-11 01:01:10.000000000 +0200
 +++ b/conf/50-synaptics.conf.new	2013-01-05 14:20:21.959670353 +0100
-@@ -11,10 +11,13 @@
+@@ -11,10 +11,11 @@
          Identifier "touchpad catchall"
          Driver "synaptics"
          MatchIsTouchpad "on"
 +        Option "TapButton1" "1"
-+        Option "TapButton2" "2"
-+        Option "TapButton3" "3"
  # 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



More information about the arch-commits mailing list