[arch-commits] Commit in xf86-input-synaptics/repos (6 files)

Andreas Radke andyrtr at nymeria.archlinux.org
Sat Mar 9 11:10:14 UTC 2013


    Date: Saturday, March 9, 2013 @ 12:10:14
  Author: andyrtr
Revision: 179687

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  xf86-input-synaptics/repos/staging-i686/
  xf86-input-synaptics/repos/staging-i686/PKGBUILD
    (from rev 179686, xf86-input-synaptics/trunk/PKGBUILD)
  xf86-input-synaptics/repos/staging-i686/add_tapbuttons.diff
    (from rev 179686, xf86-input-synaptics/trunk/add_tapbuttons.diff)
  xf86-input-synaptics/repos/staging-x86_64/
  xf86-input-synaptics/repos/staging-x86_64/PKGBUILD
    (from rev 179686, xf86-input-synaptics/trunk/PKGBUILD)
  xf86-input-synaptics/repos/staging-x86_64/add_tapbuttons.diff
    (from rev 179686, xf86-input-synaptics/trunk/add_tapbuttons.diff)

------------------------------------+
 staging-i686/PKGBUILD              |   48 +++++++++++++++++++++++++++++++++++
 staging-i686/add_tapbuttons.diff   |   17 ++++++++++++
 staging-x86_64/PKGBUILD            |   48 +++++++++++++++++++++++++++++++++++
 staging-x86_64/add_tapbuttons.diff |   17 ++++++++++++
 4 files changed, 130 insertions(+)

Copied: xf86-input-synaptics/repos/staging-i686/PKGBUILD (from rev 179686, xf86-input-synaptics/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-03-09 11:10:14 UTC (rev 179687)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tobias Powalowski  <tpowa at archlinux.org>
+# Contributor: Thomas Bächler <thomas at archlinux.org>
+# Contributor: Alexander Baldeck <alexander at archlinux.org>
+
+pkgname=xf86-input-synaptics
+pkgver=1.6.3
+pkgrel=2
+pkgdesc="Synaptics driver for notebook touchpads"
+arch=('i686' 'x86_64')
+license=('custom')
+url="http://xorg.freedesktop.org/"
+depends=('libxtst' 'mtdev')
+makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=19' 'libxi' 'libx11' 'resourceproto' 'scrnsaverproto')
+conflicts=('xorg-server<1.14.0' 'X-ABI-XINPUT_VERSION<19' 'X-ABI-XINPUT_VERSION>=20')
+replaces=('synaptics')
+provides=('synaptics')
+conflicts=('synaptics')
+groups=('xorg-drivers' 'xorg')
+options=(!libtool)
+backup=('etc/X11/xorg.conf.d/50-synaptics.conf')
+source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
+        add_tapbuttons.diff)
+sha256sums=('b40c9dbd5f743ff1eb2ac81a23b9676df72e76ed3fa6408de3f8a3a260248604'
+            '5298d3e871db3768b34cf8516d3f53f9291202e2ea5de3300256e1cd9119a1ec')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  
+  # * upstream disabled tapping by default if a physical left button is present - see FS#33282
+  # * enable MatchDevicePath directive by default - FS#33291
+  patch -Np1 -i ${srcdir}/add_tapbuttons.diff
+  
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d"
+  install -m644 conf/50-synaptics.conf "${pkgdir}/etc/X11/xorg.conf.d/"
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  rm -rf "${pkgdir}/usr/share/X11"
+}

Copied: xf86-input-synaptics/repos/staging-i686/add_tapbuttons.diff (from rev 179686, xf86-input-synaptics/trunk/add_tapbuttons.diff)
===================================================================
--- staging-i686/add_tapbuttons.diff	                        (rev 0)
+++ staging-i686/add_tapbuttons.diff	2013-03-09 11:10:14 UTC (rev 179687)
@@ -0,0 +1,17 @@
+--- 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 @@
+         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
+-#       MatchDevicePath "/dev/input/event*"
++        MatchDevicePath "/dev/input/event*"
+ EndSection
+ 
+ Section "InputClass"

Copied: xf86-input-synaptics/repos/staging-x86_64/PKGBUILD (from rev 179686, xf86-input-synaptics/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-03-09 11:10:14 UTC (rev 179687)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: Tobias Powalowski  <tpowa at archlinux.org>
+# Contributor: Thomas Bächler <thomas at archlinux.org>
+# Contributor: Alexander Baldeck <alexander at archlinux.org>
+
+pkgname=xf86-input-synaptics
+pkgver=1.6.3
+pkgrel=2
+pkgdesc="Synaptics driver for notebook touchpads"
+arch=('i686' 'x86_64')
+license=('custom')
+url="http://xorg.freedesktop.org/"
+depends=('libxtst' 'mtdev')
+makedepends=('xorg-server-devel' 'X-ABI-XINPUT_VERSION=19' 'libxi' 'libx11' 'resourceproto' 'scrnsaverproto')
+conflicts=('xorg-server<1.14.0' 'X-ABI-XINPUT_VERSION<19' 'X-ABI-XINPUT_VERSION>=20')
+replaces=('synaptics')
+provides=('synaptics')
+conflicts=('synaptics')
+groups=('xorg-drivers' 'xorg')
+options=(!libtool)
+backup=('etc/X11/xorg.conf.d/50-synaptics.conf')
+source=(http://xorg.freedesktop.org/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2
+        add_tapbuttons.diff)
+sha256sums=('b40c9dbd5f743ff1eb2ac81a23b9676df72e76ed3fa6408de3f8a3a260248604'
+            '5298d3e871db3768b34cf8516d3f53f9291202e2ea5de3300256e1cd9119a1ec')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  
+  # * upstream disabled tapping by default if a physical left button is present - see FS#33282
+  # * enable MatchDevicePath directive by default - FS#33291
+  patch -Np1 -i ${srcdir}/add_tapbuttons.diff
+  
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}/etc/X11/xorg.conf.d"
+  install -m644 conf/50-synaptics.conf "${pkgdir}/etc/X11/xorg.conf.d/"
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+  rm -rf "${pkgdir}/usr/share/X11"
+}

Copied: xf86-input-synaptics/repos/staging-x86_64/add_tapbuttons.diff (from rev 179686, xf86-input-synaptics/trunk/add_tapbuttons.diff)
===================================================================
--- staging-x86_64/add_tapbuttons.diff	                        (rev 0)
+++ staging-x86_64/add_tapbuttons.diff	2013-03-09 11:10:14 UTC (rev 179687)
@@ -0,0 +1,17 @@
+--- 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 @@
+         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
+-#       MatchDevicePath "/dev/input/event*"
++        MatchDevicePath "/dev/input/event*"
+ EndSection
+ 
+ Section "InputClass"




More information about the arch-commits mailing list