[arch-commits] Commit in xf86-input-synaptics/repos (6 files)
Andreas Radke
andyrtr at nymeria.archlinux.org
Sat Dec 28 12:07:55 UTC 2013
Date: Saturday, December 28, 2013 @ 13:07:55
Author: andyrtr
Revision: 202807
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 202806, xf86-input-synaptics/trunk/PKGBUILD)
xf86-input-synaptics/repos/staging-i686/add_tapbuttons.diff
(from rev 202806, xf86-input-synaptics/trunk/add_tapbuttons.diff)
xf86-input-synaptics/repos/staging-x86_64/
xf86-input-synaptics/repos/staging-x86_64/PKGBUILD
(from rev 202806, xf86-input-synaptics/trunk/PKGBUILD)
xf86-input-synaptics/repos/staging-x86_64/add_tapbuttons.diff
(from rev 202806, xf86-input-synaptics/trunk/add_tapbuttons.diff)
------------------------------------+
staging-i686/PKGBUILD | 47 +++++++++++++++++++++++++++++++++++
staging-i686/add_tapbuttons.diff | 17 ++++++++++++
staging-x86_64/PKGBUILD | 47 +++++++++++++++++++++++++++++++++++
staging-x86_64/add_tapbuttons.diff | 17 ++++++++++++
4 files changed, 128 insertions(+)
Copied: xf86-input-synaptics/repos/staging-i686/PKGBUILD (from rev 202806, xf86-input-synaptics/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2013-12-28 12:07:55 UTC (rev 202807)
@@ -0,0 +1,47 @@
+# $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.7.2
+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=20' 'libxi' 'libx11' 'resourceproto' 'scrnsaverproto')
+conflicts=('xorg-server<1.15.0' 'X-ABI-XINPUT_VERSION<20' 'X-ABI-XINPUT_VERSION>=21')
+replaces=('synaptics')
+provides=('synaptics')
+conflicts=('synaptics')
+groups=('xorg-drivers' 'xorg')
+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=('63957fa55f0d8662ef8c57f6325155c9884a854554d33921f0738e097f2a7dcd'
+ '5298d3e871db3768b34cf8516d3f53f9291202e2ea5de3300256e1cd9119a1ec')
+
+build() {
+ cd ${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 ${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 202806, xf86-input-synaptics/trunk/add_tapbuttons.diff)
===================================================================
--- staging-i686/add_tapbuttons.diff (rev 0)
+++ staging-i686/add_tapbuttons.diff 2013-12-28 12:07:55 UTC (rev 202807)
@@ -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 202806, xf86-input-synaptics/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2013-12-28 12:07:55 UTC (rev 202807)
@@ -0,0 +1,47 @@
+# $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.7.2
+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=20' 'libxi' 'libx11' 'resourceproto' 'scrnsaverproto')
+conflicts=('xorg-server<1.15.0' 'X-ABI-XINPUT_VERSION<20' 'X-ABI-XINPUT_VERSION>=21')
+replaces=('synaptics')
+provides=('synaptics')
+conflicts=('synaptics')
+groups=('xorg-drivers' 'xorg')
+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=('63957fa55f0d8662ef8c57f6325155c9884a854554d33921f0738e097f2a7dcd'
+ '5298d3e871db3768b34cf8516d3f53f9291202e2ea5de3300256e1cd9119a1ec')
+
+build() {
+ cd ${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 ${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 202806, xf86-input-synaptics/trunk/add_tapbuttons.diff)
===================================================================
--- staging-x86_64/add_tapbuttons.diff (rev 0)
+++ staging-x86_64/add_tapbuttons.diff 2013-12-28 12:07:55 UTC (rev 202807)
@@ -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