Compare commits

..

3 commits

Author SHA1 Message Date
Fedora Release Engineering
d9ca4b00f4 dist-git conversion 2010-07-29 15:13:50 +00:00
Bill Nottingham
c491e22879 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:15:45 +00:00
Jesse Keating
28e6f1601f Initialize branch F-10 for wdaemon 2008-11-07 04:05:31 +00:00
4 changed files with 133 additions and 2 deletions

View file

@ -1,2 +0,0 @@
Obsolete package with Xorg's new input layer

1
sources Normal file
View file

@ -0,0 +1 @@
814152b327aea3cf5e373d92f7472f52 wdaemon-0.15.tar.bz2

27
wdaemon-add_abs_z.patch Normal file
View file

@ -0,0 +1,27 @@
--- a/wacom.c (revision 102)
+++ b/wacom.c (revision 103)
@@ -201,6 +201,7 @@
set_event(info, UI_SET_KEYBIT, BTN_1);
set_event(info, UI_SET_KEYBIT, BTN_2);
set_event(info, UI_SET_KEYBIT, BTN_3);
+ set_event(info, UI_SET_ABSBIT, ABS_Z);
/* fall thru */
case INTUOS:
set_event(info, UI_SET_EVBIT, EV_MSC);
@@ -318,6 +319,7 @@
case GRAPHIRE:
break;
+ case BEE:
case INTUOS3:
case INTUOS3L:
case CINTIQ:
@@ -325,6 +327,8 @@
/* fall through */
case INTUOS3S:
dev->absmax[ABS_RX] = 4096;
+ dev->absmax[ABS_Z] = 899;
+ dev->absmin[ABS_Z] = -900;
/* fall through */
case INTUOS:
dev->absmax[ABS_WHEEL] = 1023;

105
wdaemon.spec Normal file
View file

@ -0,0 +1,105 @@
Name: wdaemon
Version: 0.15
Release: 1%{?dist}
Summary: Hotplug helper for Wacom X.org driver
Group: User Interface/X Hardware Support
License: GPLv2+
URL: http://jake.ruivo.org/~aris/wdaemon/
Source0: http://jake.ruivo.org/~aris/wdaemon/wdaemon-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
BuildRequires: glibc-devel
Requires: udev >= 030-21
%description
Helper application which emulates persistent input devices for Wacom tablets
so they can be plugged and unplugged while X.org server is running. This should
go away as soon X.org properly supports hotplugging.
%prep
%setup -q
%build
export CFLAGS="$RPM_OPT_FLAGS"
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} sysconfdir=%{_sysconfdir} install;
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/scripts/
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/
install -m 0755 udev/is_uinput.sh $RPM_BUILD_ROOT%{_sysconfdir}/udev/scripts/
install -m 0644 udev/61-uinput-wacom.rules $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/
install -m 0644 udev/61-uinput-stddev.rules $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ $1 = 1 ]; then
/sbin/chkconfig --add %{name}
fi
%preun
if [ $1 = 0 ]; then
/sbin/service %{name} stop > /dev/null 2>&1
/sbin/chkconfig --del %{name}
fi
%postun
if [ $1 -ge 1 ]; then
/sbin/service %{name} condrestart >/dev/null 2>&1
fi
%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE Changelog README simple.conf
%{_bindir}/wdaemon
%config(noreplace) %{_sysconfdir}/udev/rules.d/61-uinput-wacom.rules
%config(noreplace) %{_sysconfdir}/udev/rules.d/61-uinput-stddev.rules
%{_sysconfdir}/rc.d/init.d/wdaemon
%{_sysconfdir}/udev/scripts/is_uinput.sh
%changelog
* Tue Sep 02 2008 Aristeu Rozanski <arozansk@redhat.com> 0.15-1
- updated to version 0.15
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.14-2
- fix license tag
* Wed Mar 12 2008 Aristeu Rozanski <arozansk@redhat.com> 0.14-1
- Updated to version 0.14
- Added fix for Z axis on newer tablets
* Wed Feb 06 2008 Aristeu Rozanski <arozansk@redhat.com> 0.13-1
- Updated to version 0.13
- Added missing entries in udev rules (Bamboo and Intuos3 4x6")
* Wed Sep 19 2007 Aristeu Rozanski <arozansk@redhat.com> 0.12-1
- Updated to version 0.12
* Wed Aug 01 2007 Aristeu Rozanski <arozansk@redhat.com> 0.11-1
- Updated to version 0.11
* Tue Jul 24 2007 Aristeu S. Rozanski F. <arozansk@redhat.com> 0.10-3
- More problems found by Jarod Wilson fixed:
- Removing exclusive architectures, it used to be in sync with linuxwacom
package
- marking udev rules as non-replaceable config files
- using install on makefile
* Mon Jul 23 2007 Aristeu S. Rozanski F. <arozansk@redhat.com> 0.10-2
- Fixing the problems found by Jarod Wilson:
- Fixing make install target
- Fixing Makefile so it honors the provided CFLAGS
- not using makeinstall macro
- installing is_uinput.sh as 755 instead of changing later with attr
* Fri Jul 20 2007 Aristeu S. Rozanski F. <arozansk@redhat.com> 0.10-1
* upgrading to version 0.10
* Thu Jul 19 2007 Aristeu S. Rozanski F. <arozansk@redhat.com> 0.09-1
- first release