Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
919c2c35d2 | ||
|
|
6e1781fe87 | ||
|
|
8e4509047b |
6 changed files with 2 additions and 154 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: wdaemon
|
||||
# $Id$
|
||||
NAME := wdaemon
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
2
dead.package
Normal file
2
dead.package
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Obsolete package with Xorg's new input layer
|
||||
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
814152b327aea3cf5e373d92f7472f52 wdaemon-0.15.tar.bz2
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
--- 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
105
wdaemon.spec
|
|
@ -1,105 +0,0 @@
|
|||
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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue