[arch-commits] Commit in xf86-input-wacom/repos (4 files)

andyrtr at archlinux.org andyrtr at archlinux.org
Sun Feb 12 04:44:23 EST 2012


    Date: Sunday, February 12, 2012 @ 04:44:23
  Author: andyrtr
Revision: 150020

db-move: moved xf86-input-wacom from [staging] to [testing] (x86_64)

Added:
  xf86-input-wacom/repos/testing-x86_64/
  xf86-input-wacom/repos/testing-x86_64/70-wacom.rules
    (from rev 149988, xf86-input-wacom/repos/staging-x86_64/70-wacom.rules)
  xf86-input-wacom/repos/testing-x86_64/PKGBUILD
    (from rev 149988, xf86-input-wacom/repos/staging-x86_64/PKGBUILD)
Deleted:
  xf86-input-wacom/repos/staging-x86_64/

----------------+
 70-wacom.rules |   12 ++++++++++++
 PKGBUILD       |   35 +++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

Copied: xf86-input-wacom/repos/testing-x86_64/70-wacom.rules (from rev 149988, xf86-input-wacom/repos/staging-x86_64/70-wacom.rules)
===================================================================
--- testing-x86_64/70-wacom.rules	                        (rev 0)
+++ testing-x86_64/70-wacom.rules	2012-02-12 09:44:23 UTC (rev 150020)
@@ -0,0 +1,12 @@
+ACTION!="add|change", GOTO="wacom_end"
+
+# Match all serial wacom tablets with a serial ID starting with WACf
+# Notes: We assign NAME though we shouldn't, but currently the server requires it
+#        We assign the lot to subsystem pnp too because server reads NAME from
+#        the parent device. Once all that's fixed, as simple SUBSYSTEM="tty"
+#        will do and the ENV{NAME} can be removed.
+SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="WACf*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
+SUBSYSTEM=="tty|pnp", SUBSYSTEMS=="pnp", ATTRS{id}=="FUJ*", ENV{ID_MODEL}="Serial Wacom Tablet $attr{id}", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1", ENV{NAME}="Serial Wacom Tablet $attr{id}"
+
+LABEL="wacom_end"
+

Copied: xf86-input-wacom/repos/testing-x86_64/PKGBUILD (from rev 149988, xf86-input-wacom/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2012-02-12 09:44:23 UTC (rev 150020)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: M Rawash <mrawash at gmail.com>
+
+pkgname=xf86-input-wacom
+pkgver=0.13.0
+pkgrel=2
+pkgdesc="X.Org Wacom tablet driver"
+arch=('i686' 'x86_64')
+url="http://linuxwacom.sourceforge.net/"
+license=('GPL')
+backup=('etc/X11/xorg.conf.d/50-wacom.conf')
+depends=('libxi' 'libxrandr' 'libxinerama')
+makedepends=('xorg-server-devel>=1.11.99.902' 'libxext')
+conflicts=('xorg-server<1.11.99.902')
+options=(!libtool)
+source=(http://downloads.sourceforge.net/project/linuxwacom/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+        70-wacom.rules)
+md5sums=('4a426535989e84c4161e3607ea851654'
+         '10db4f8272286690255c1bcc18bfdd92')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --with-xorg-conf-dir=/etc/X11/xorg.conf.d
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  install -m755 -d "${pkgdir}/lib/udev/rules.d"
+  install -m644 "${srcdir}/70-wacom.rules"  "${pkgdir}/lib/udev/rules.d/"
+}



More information about the arch-commits mailing list