From a16c97a572e3d17edb32e28ab31c5af884ddce50 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 17 Feb 2010 07:23:07 +0000 Subject: [PATCH] - Add 10-wacom.conf, the fdi file doesn't work anymore. - Drop hal requires. --- 10-wacom.conf | 19 +++++++++++++++++++ xorg-x11-drv-wacom.spec | 16 ++++++++++------ 2 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 10-wacom.conf diff --git a/10-wacom.conf b/10-wacom.conf new file mode 100644 index 0000000..1751d44 --- /dev/null +++ b/10-wacom.conf @@ -0,0 +1,19 @@ +Section "InputClass" + Identifier "Wacom class" + MatchProduct "Wacom|WALTOP|WACOM" + Driver "wacom" +EndSection + +Section "InputClass" + Identifier "Wacom serial class" + MatchProduct "WACf|FUJ02e5|FUJ02e7" + Driver "wacom" + Option "ForceDevice" "ISDV4" +EndSection + +# N-Trig Duosense Electromagnetic Digitizer +Section "InputClass" + Identifier "Wacom serial class" + MatchProduct "HID 1b96:0001" + Driver "wacom" +EndSection diff --git a/xorg-x11-drv-wacom.spec b/xorg-x11-drv-wacom.spec index c51bf00..e95c8d6 100644 --- a/xorg-x11-drv-wacom.spec +++ b/xorg-x11-drv-wacom.spec @@ -5,13 +5,14 @@ Summary: Xorg X11 wacom input driver Name: xorg-x11-drv-wacom Version: 0.10.4 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://www.x.org License: GPLv2+ Group: User Interface/X Hardware Support BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: http://prdownloads.sourceforge.net/linuxwacom/xf86-input-wacom-0.10.4.tar.bz2 +Source1: 10-wacom.conf ExcludeArch: s390 s390x @@ -19,8 +20,7 @@ BuildRequires: xorg-x11-server-sdk >= 1.7.0 BuildRequires: xorg-x11-util-macros >= 1.3.0 BuildRequires: libX11-devel libXi-devel -Requires: xorg-x11-server-Xorg >= 1.7.0 -Requires: hal +Requires: xorg-x11-server-Xorg >= 1.7.99 Requires: libX11 libXi Provides: linuxwacom = %{version}-%{release} @@ -45,8 +45,8 @@ make install DESTDIR=$RPM_BUILD_ROOT # should be fixed in upstream Makefile.am or whatever. find $RPM_BUILD_ROOT -regex ".*\.la$" | xargs rm -f -- -install -d $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/20thirdparty -install -m 0644 ${RPM_BUILD_ROOT}%{_datadir}/hal/fdi/policy/20thirdparty/wacom.fdi $RPM_BUILD_ROOT%{_datadir}/hal/fdi/policy/20thirdparty/10-wacom.fdi +install -d $RPM_BUILD_ROOT%{_sysconfdir}/xorg.conf.d +install -m 0644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_sysconfdir}/xorg.conf.d/ rm ${RPM_BUILD_ROOT}%{_datadir}/hal/fdi/policy/20thirdparty/wacom.fdi %clean @@ -57,7 +57,7 @@ rm -rf $RPM_BUILD_ROOT %doc AUTHORS ChangeLog README GPL %{driverdir}/wacom_drv.so %{_mandir}/man4/wacom.4* -%{_datadir}/hal/fdi/policy/20thirdparty/10-wacom.fdi +%{_sysconfdir}/xorg.conf.d/10-wacom.conf %{_bindir}/xsetwacom %package devel @@ -77,6 +77,10 @@ X.Org X11 wacom input driver development files. %{_includedir}/xorg/wacom-properties.h %changelog +* Wed Feb 17 2010 Peter Hutterer 0.10.4-3 +- Add 10-wacom.conf, the fdi file doesn't work anymore. +- Drop hal requires. + * Wed Feb 03 2010 Peter Hutterer 0.10.4-2 - Update sources to sourceforge, 0.10.4 was released on sf only. - Remove wacom.fdi, we're just using the one shipped by the driver now.