- Update to today's git snapshot.

- wacom-0.10.6-serial-identifiers.patch: drop, upstream.
This commit is contained in:
Peter Hutterer 2010-05-20 23:27:33 +00:00
parent b65954825b
commit cbefc10a00
5 changed files with 24 additions and 40 deletions

View File

@ -1 +1 @@
xf86-input-wacom-20100427.tar.bz2
xf86-input-wacom-20100521.tar.bz2

7
70-wacom.rules Normal file
View File

@ -0,0 +1,7 @@
ACTION!="add|change", GOTO="wacom_end"
# Match all wacom tablets with a serial ID starting with WACf
ATTRS{id}=="WACf*" ENV{NAME}="Serial Wacom Tablet", ENV{SUBSYSTEM}="input", ENV{ID_INPUT}="1"
LABEL="wacom_end"

View File

@ -1 +1 @@
bd36357f284c058038895a9baa8d08ef xf86-input-wacom-20100427.tar.bz2
5edcee183c28307e253774ef041b04c1 xf86-input-wacom-20100521.tar.bz2

View File

@ -1,32 +0,0 @@
From a9746a469b522dded6828851617b3f3ee8c1bf89 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Tue, 27 Apr 2010 13:51:17 +1000
Subject: [PATCH] conf: add WACf, FUJ02e5 and FUJ02e7 to serial identifers.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
---
conf/50-wacom.conf | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/conf/50-wacom.conf b/conf/50-wacom.conf
index e1869e9..9a02b0e 100644
--- a/conf/50-wacom.conf
+++ b/conf/50-wacom.conf
@@ -15,6 +15,14 @@ Section "InputClass"
Option "ForceDevice" "ISDV4"
EndSection
+Section "InputClass"
+ Identifier "Wacom serial class identifiers"
+ MatchProduct "WACf|FUJ02e5|FUJ02e7"
+ Driver "wacom"
+ Option "ForceDevice" "ISDV4"
+EndSection
+
+
# N-Trig Duosense Electromagnetic Digitizer
Section "InputClass"
Identifier "Wacom N-Trig class"
--
1.6.6.1

View File

@ -3,12 +3,12 @@
%global driverdir %{moduledir}/input
# Disable gitdate to build from a fixed release
%global gitdate 20100427
%global gitdate 20100521
Summary: Xorg X11 wacom input driver
Name: xorg-x11-drv-wacom
Version: 0.10.6
Release: 2%{?gitdate:.%{gitdate}}%{?dist}
Release: 4%{?gitdate:.%{gitdate}}%{?dist}
URL: http://www.x.org
License: GPLv2+
Group: User Interface/X Hardware Support
@ -19,8 +19,7 @@ Source0: %{tarball}-%{gitdate}.tar.bz2
%else
Source0: http://prdownloads.sourceforge.net/linuxwacom/xf86-input-wacom-%{version}.tar.bz2
%endif
Patch01: wacom-0.10.6-serial-identifiers.patch
Source1: 70-wacom.rules
ExcludeArch: s390 s390x
@ -30,6 +29,7 @@ BuildRequires: libX11-devel libXi-devel
Requires: xorg-x11-server-Xorg >= 1.8.0-6
Requires: libX11 libXi
Requires: udev
Provides: linuxwacom = %{version}-%{release}
Obsoletes: linuxwacom <= 0.8.4.3
@ -40,8 +40,6 @@ X.Org X11 wacom input driver for Wacom tablets.
%prep
%setup -q -n %{tarball}-%{?gitdate:%{gitdate}}%{!?gitdate:%{version}}
%patch01 -p1
%build
%if 0%{?gitdate}
autoreconf -v --install || exit 1
@ -61,6 +59,9 @@ find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f --
install -d $RPM_BUILD_ROOT%{_datadir}/X11/xorg.conf.d
install -d $RPM_BUILD_ROOT/lib/udev/rules.d
install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT/lib/udev/rules.d/70-wacom.rules
%clean
rm -rf $RPM_BUILD_ROOT
@ -75,6 +76,7 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man4/wacom.4*
%{_datadir}/X11/xorg.conf.d/50-wacom.conf
%{_bindir}/xsetwacom
/lib/udev/rules.d/70-wacom.rules
%package devel
Summary: Xorg X11 wacom input driver development package
@ -93,6 +95,13 @@ X.Org X11 wacom input driver development files.
%{_includedir}/xorg/wacom-properties.h
%changelog
* Fri May 21 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.6-4.20100521
- Update to today's git snapshot.
- wacom-0.10.6-serial-identifiers.patch: drop, upstream.
* Tue May 18 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.6-3.20100427
- Install wacom udev rules file to identify serial devices.
* Tue Apr 27 2010 Peter Hutterer <peter.hutterer@redhat.com> 0.10.6-2.20100427
- wacom-0.10.6-serial-identifiers.patch: add some more serial IDs to the
config file.