--- xf86-input-wacom-0.10.6.orig/debian/xserver-xorg-input-wacom.udev +++ xf86-input-wacom-0.10.6/debian/xserver-xorg-input-wacom.udev @@ -0,0 +1,110 @@ +# udev rules for wacom tablets. +# These rules were compiled for the Debian GNU/Linux distribution, +# but others may, and indeed are encouraged to, use them also. +# +# Should you do so, PLEASE CO-ORDINATE ANY CHANGES OR ADDITIONS +# of new devices with Ron so that we can try +# to present users with a standard set of device nodes which +# they can rely on across the board. + +# Catch the serial tablets and tell X that's what they are +ACTION=="add|change", SUBSYSTEM=="pnp", ATTR{id}=="WACf*", ENV{NAME}="Serial Wacom Tablet" +ACTION=="add|change", SUBSYSTEM=="pnp", ATTR{id}=="FUJ*", ENV{NAME}="Serial Wacom Tablet" +ACTION=="add|change", SUBSYSTEMS=="pnp", ATTRS{id}=="WACf*", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1" +ACTION=="add|change", SUBSYSTEMS=="pnp", ATTRS{id}=="FUJ*", ENV{ID_INPUT}="1", ENV{ID_INPUT_TABLET}="1" + +KERNEL!="event[0-9]*", GOTO="wacom_end" + +# Port specific link for users of multiple tablets of the same type. +# The ID_PATH variable is set by the "path_id" script in an earlier rule file. +ATTRS{idVendor}=="056a", ENV{ID_PATH}=="?*", SYMLINK="input/by-path/$env{ID_PATH}-wacom" + +# Multiple interface support for stylus and touch devices. +DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="00", ENV{WACOM_TYPE}="stylus" +DRIVERS=="wacom", ATTRS{bInterfaceNumber}=="01", ENV{WACOM_TYPE}="touch" + +# Type-named links for multiple tablets. If you want to use multiple +# tablets of the _same_ type, you will probably need to use the links +# from /dev/input/by-path to identify which is plugged into what usb +# port. For different tablet types though, just pick your links from +# the list below. +# +# We override SYMLINK for tabletpc devices because the by-path link +# is not required with such devices, there will only ever be one. +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0000", SYMLINK+="input/tablet-penpartner" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0003", SYMLINK+="input/tablet-cintiq_partner" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0010", SYMLINK+="input/tablet-graphire" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0011", SYMLINK+="input/tablet-graphire2-4x5" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0012", SYMLINK+="input/tablet-graphire2-5x7" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0013", SYMLINK+="input/tablet-graphire3" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0014", SYMLINK+="input/tablet-graphire3-6x8" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0015", SYMLINK+="input/tablet-graphire4-4x5" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0016", SYMLINK+="input/tablet-graphire4-6x8" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0017", SYMLINK+="input/tablet-bamboofun-4x5" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0018", SYMLINK+="input/tablet-bamboofun-6x8" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0019", SYMLINK+="input/tablet-bamboo1-medium" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0020", SYMLINK+="input/tablet-intuos-4x5" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0021", SYMLINK+="input/tablet-intuos-6x8" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0022", SYMLINK+="input/tablet-intuos-9x12" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0023", SYMLINK+="input/tablet-intuos-12x12" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0024", SYMLINK+="input/tablet-intuos-12x18" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0030", SYMLINK+="input/tablet-pl400" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0031", SYMLINK+="input/tablet-pl500" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0032", SYMLINK+="input/tablet-pl600" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0033", SYMLINK+="input/tablet-pl600sx" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0034", SYMLINK+="input/tablet-pl550" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0035", SYMLINK+="input/tablet-pl800" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0037", SYMLINK+="input/tablet-pl700" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0038", SYMLINK+="input/tablet-pl510" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0039", SYMLINK+="input/tablet-dtu710" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="003f", SYMLINK+="input/tablet-cintiq21ux" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0041", SYMLINK+="input/tablet-intuos2-4x5" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0042", SYMLINK+="input/tablet-intuos2-6x8" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0043", SYMLINK+="input/tablet-intuos2-9x12" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0044", SYMLINK+="input/tablet-intuos2-12x12" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0045", SYMLINK+="input/tablet-intuos2-12x18" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0047", SYMLINK+="input/tablet-intuos2-6x8a" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0060", SYMLINK+="input/tablet-volito" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0061", SYMLINK+="input/tablet-penstation2" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0062", SYMLINK+="input/tablet-volito2-4x5" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0063", SYMLINK+="input/tablet-volito2-2x3" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0064", SYMLINK+="input/tablet-penpartner2" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0065", SYMLINK+="input/tablet-bamboo" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0069", SYMLINK+="input/tablet-bamboo1" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0081", SYMLINK+="input/tablet-graphire_bt-6x8" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0090", SYMLINK="input/tablet-tpc90" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0093", SYMLINK="input/tablet-tpc93-$env{WACOM_TYPE}" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="009a", SYMLINK="input/tablet-tpc9a-$env{WACOM_TYPE}" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b0", SYMLINK+="input/tablet-intuos3-4x5" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b1", SYMLINK+="input/tablet-intuos3-6x8" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b2", SYMLINK+="input/tablet-intuos3-9x12" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b3", SYMLINK+="input/tablet-intuos3-12x12" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b4", SYMLINK+="input/tablet-intuos3-12x19" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b5", SYMLINK+="input/tablet-intuos3-6x11" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b7", SYMLINK+="input/tablet-intuos3-4x6" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b8", SYMLINK+="input/tablet-intuos4-4x6" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b9", SYMLINK+="input/tablet-intuos4-6x9" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00ba", SYMLINK+="input/tablet-intuos4-8x13" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00bb", SYMLINK+="input/tablet-intuos4-12x19" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c0", SYMLINK+="input/tablet-dtf521" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c4", SYMLINK+="input/tablet-dtf720" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c5", SYMLINK+="input/tablet-cintiq20wsx" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c6", SYMLINK+="input/tablet-cintiq12wx" +ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c7", ENV{WACOM_TYPE}!="touch", SYMLINK+="input/tablet-dtu1931" + +# Convenience links for the common case of a single tablet. We could do just this: +#ATTRS{idVendor}=="056a", SYMLINK+="input/wacom-$env{WACOM_TYPE}" +# but for legacy reasons, we keep the input/wacom link as the generic stylus device. +ATTRS{idVendor}=="056a", ENV{WACOM_TYPE}!="touch", SYMLINK+="input/wacom" +ATTRS{idVendor}=="056a", ENV{WACOM_TYPE}=="touch", SYMLINK+="input/wacom-touch" + +# Check and repossess the device if a module other than the wacom one +# is already bound to it. +# +# We probably don't need this one in the Real World anymore ... +# See the old wacom-tools package if we actually do need to resurrect the +# check_driver script for this again. +#ATTRS{idVendor}=="056a", ACTION=="add", RUN+="check_driver wacom $devpath $env{ID_BUS}" + +LABEL="wacom_end" + --- xf86-input-wacom-0.10.6.orig/debian/copyright +++ xf86-input-wacom-0.10.6/debian/copyright @@ -0,0 +1,28 @@ +This package was created by Ron Lee on +Thu, 4 Nov 2004 16:06:55 -0800. + +The linuxwacom homepage is http://linuxwacom.sf.net + +The upstream source is currently being obtained from: +git://anongit.freedesktop.org/~whot/xf86-input-wacom + +linuxwacom is: + Copyright (C) 1995-2004 Frederic Lepied + Copyright (C) 2002-2004 John E. Joganic + Copyright (C) 2002-2010 Ping Cheng, Wacom. + Copyright (C) 1999-2005 Vojtech Pavlik + and others. + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + +A copy of the GPL can be found in /usr/share/common-licenses +on Debian systems. + --- xf86-input-wacom-0.10.6.orig/debian/compat +++ xf86-input-wacom-0.10.6/debian/compat @@ -0,0 +1 @@ +6 --- xf86-input-wacom-0.10.6.orig/debian/control +++ xf86-input-wacom-0.10.6/debian/control @@ -0,0 +1,22 @@ +Source: xf86-input-wacom +Section: x11 +Priority: optional +Maintainer: Ubuntu X-SWAT +XSBC-Original-Maintainer: Ron Lee +Build-Depends: debhelper (>= 6.0.7), pkg-config, xutils-dev, + xserver-xorg-dev (>= 2:1.7.6.901), libxi-dev, quilt +Standards-Version: 3.8.4 +Homepage: http://linuxwacom.sf.net +Vcs-Git: git://git.debian.org/users/ron/xf86-input-wacom.git +Vcs-Browser: http://git.debian.org/?p=users/ron/xf86-input-wacom.git;a=summary + +Package: xserver-xorg-input-wacom +Section: x11 +Architecture: any +Depends: ${xinpdriver:Depends}, ${shlibs:Depends}, ${misc:Depends} +Suggests: xinput +Provides: ${xinpdriver:Provides} +Replaces: wacom-tools (<< 0.10.0) +Conflicts: wacom-tools (<< 0.10.0) +Description: X.Org X server -- Wacom input driver + This package provides the X.Org driver for Wacom tablet devices. --- xf86-input-wacom-0.10.6.orig/debian/rules +++ xf86-input-wacom-0.10.6/debian/rules @@ -0,0 +1,86 @@ +#!/usr/bin/make -f +# (ever more vaguely) Derived from: +# Sample debian/rules that uses debhelper, +# GNU copyright 1997 by Joey Hess. +# Copyright Ron Lee 2003, 2004, 2007 + +export DH_OPTIONS + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + + +objdir = objs +package = xserver-xorg-input-wacom +include debian/xsfbs/xsfbs.mk + +clean: xsfclean + dh_testdir + dh_testroot + $(RM) -r $(objdir) + rm -f *-stamp + dh_clean + +configure: $(STAMP_DIR)/patch + dh_testdir + +$(objdir)/config.status: configure + dh_testdir + mkdir -p $(objdir) + cd $(objdir) && ../configure --host=$(DEB_HOST_GNU_TYPE) \ + --build=$(DEB_BUILD_GNU_TYPE) \ + --prefix=/usr + +build: build-arch + +build-arch: build-arch-stamp +build-arch-stamp: $(objdir)/config.status + dh_testdir + cd $(objdir) && $(MAKE) + touch $@ + +build-indep: + + +install: install-arch + +install-arch: DH_OPTIONS = -p$(package) +install-arch: build-arch +install-arch: + dh_testdir + dh_testroot + dh_clean -k + + cd $(objdir) && $(MAKE) install DESTDIR=$(CURDIR)/debian/$(package) + $(RM) debian/$(package)/usr/lib/xorg/modules/input/*.la + + dh_installudev --priority=69 + +install-indep: + + +binary: binary-arch + +binary-arch: DH_OPTIONS = -a +binary-arch: install-arch serverabi + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: + + +.PHONY: clean build build-arch build-indep install install-arch install-indep \ + binary binary-arch binary-indep + --- xf86-input-wacom-0.10.6.orig/debian/changelog +++ xf86-input-wacom-0.10.6/debian/changelog @@ -0,0 +1,840 @@ +xf86-input-wacom (1:0.10.6-0ubuntu2) maverick; urgency=low + + * debian/xserver-xorg-input-wacom.udev: revert udev rules for serial PNP + devices to use correct rules from Lucid (Debian bug 589847). + + -- Kees Cook Wed, 21 Jul 2010 08:49:28 -0700 + +xf86-input-wacom (1:0.10.6-0ubuntu1) maverick; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + + 107_ntrig_tabletpc.patch: PCI id for N-Trig TabletPC + + debian/rules: use xsfbs & xsfbs patch system + + debian/control: add B-D on quilt + + Add epoch + * Update to new upstream version + + Drop 101_strcat_args.patch, included in new upstream version. + + Drop debian/local: xorg.conf.d snippet is now shipped upstream. + * debian/rules: + + Use xsfbs targets rather than hand-coding server ABI substvars. + + Drop deletion of HAL rules; new upstream no longer installs them. + * debian/control: + + Add ${misc:Depends} to silence lintian + + Use ${xinpdriver:Depends} rather than deprecated ${xserver:Depends} + * Update debian/xsfbs + * Add XSF README.source + + -- Christopher James Halse Rogers Thu, 10 Jun 2010 15:24:41 +1000 + +xf86-input-wacom (0.10.5+20100416-1) unstable; urgency=low + + * Normalise pressure sensitivity. This helps avoid a heavily used stylus + from inadvertantly generating a click when brought into proximity due + to its initial unloaded pressure value creeping up. + * Use pkg-config to decide where to install 20-wacom.conf. Closes: #578113 + Proper detection of this in the upstream install means we don't need to + manually remove the .fdi anymore either. + + -- Ron Lee Sat, 17 Apr 2010 17:40:38 +0930 + +xf86-input-wacom (0.10.5+20100415-1) unstable; urgency=low + + * Move 10-wacom.conf to 20-wacom.conf, as merged upstream. + * Add xutils-dev to B-D, for xorg-macros.pc + It doesn't seem to actually cause any problems to have that missing, + but it does bark in the build logs and we may be using things from it + in the not too distant future now. + + -- Ron Lee Thu, 15 Apr 2010 17:31:12 +0930 + +xf86-input-wacom (0.10.5+20100414-1) unstable; urgency=low + + * Replace the hardcoded rotation tables with a single call to atan2. + * Many fixes for wheels, buttons, and tabletpc devices. + * Fix scrolling issues with Intuos3 by ensuring the pad always operates + in relative mode. + * Lots of fixes for xsetwacom. + * Switch from udev to xorg.conf.d snippets. + Add udev rules to claim the serial tablets. + Thanks to Timo Aaltonen for passing along patches and testing of these. + + -- Ron Lee Wed, 14 Apr 2010 22:24:07 +0930 + +xf86-input-wacom (1:0.10.5-0ubuntu4) lucid; urgency=low + + * Autoreconf so that it builds too.. + + -- Timo Aaltonen Thu, 22 Apr 2010 22:17:54 +0300 + +xf86-input-wacom (1:0.10.5-0ubuntu3) lucid; urgency=low + + * 10-wacom.conf: Don't claim to support WALTOP tablets, it needs more + work. Let evdev handle them now (392825). + + -- Timo Aaltonen Wed, 21 Apr 2010 09:47:43 +0300 + +xf86-input-wacom (1:0.10.5-0ubuntu2) lucid; urgency=low + + * Add 101_strcat_args.patch: Cherrypick from upstream. + Fix buffer copy error. + * Previous upload solved spurious stylus events with serial wacom + (LP: #532720) + + -- Bryce Harrington Wed, 31 Mar 2010 17:02:06 -0700 + +xf86-input-wacom (1:0.10.5-0ubuntu1) lucid; urgency=low + + * Merge from debian. + * rules: Run xsfclean on clean. + + -- Timo Aaltonen Wed, 31 Mar 2010 07:20:20 +0300 + +xf86-input-wacom (0.10.5-1) UNRELEASED; urgency=low + + * New upstream release. + * Add support for serial wacoms to the udev rules. + * Add 10-wacom.conf. + + -- Timo Aaltonen Tue, 23 Mar 2010 22:58:11 +0200 + +xf86-input-wacom (1:0.10.3+20100109-1ubuntu3) lucid; urgency=low + + * Add 107_ntrig_tabletpc.patch: PCI id for N-Trig TabletPC + (LP: #541453) + + -- Bryce Harrington Thu, 18 Mar 2010 14:05:59 -0700 + +xf86-input-wacom (1:0.10.3+20100109-1ubuntu2) lucid; urgency=low + + * Add support for serial wacoms to the udev rules, thanks Tom Jaeger! + (LP: #522318) + + -- Timo Aaltonen Fri, 05 Mar 2010 10:52:11 +0200 + +xf86-input-wacom (1:0.10.3+20100109-1ubuntu1) lucid; urgency=low + + * Merge from Debian unstable, remaining changes: + - Bump the epoch because of old Ubuntu packaging. + - control: Bump the epoch and version on Replaces/Conflicts. + + -- Timo Aaltonen Thu, 21 Jan 2010 17:45:03 +0200 + +xf86-input-wacom (0.10.3+20100109-1) unstable; urgency=low + + * New upstream snapshot, now supports server/udev among many fixes. + * xsetwacom is back from the dead again. + * Push our udev rules down to run after 65-xorg-evdev.rules + + -- Ron Lee Sat, 09 Jan 2010 18:40:47 +1030 + +xf86-input-wacom (0.10.2+20091203-1) unstable; urgency=low + + * Pull a new upstream snapshot with some fixes for button issues, and more. + * Add the udev rules back, tweaked for post-hal hotplugging support with X. + * Add build-deps for x11proto-kb-dev, libxkbfile-dev. The new upstream now + #includes xorg/xkbstr.h from xserver-xorg-dev, which in current Sid then + in turn #includes X11/extensions/XKB.h and X11/extensions/XKBproto.h from + x11proto-kb-dev and X11/extensions/XKMformat.h from libxkbfile-dev. + + -- Ron Lee Sat, 05 Dec 2009 23:51:33 +1030 + +xf86-input-wacom (0.10.1-1) unstable; urgency=low + + * The Great Leap Forward. + * Restructure the package to only contain the Xorg driver. + The kernel driver has been regularly merged with mainline for quite some + time already, and the Xorg driver is moving closer to upstream now too, + so we can drop any pretense of this still being an agglomeration of things + or of needing to be one, and simply tack the packaging needed for X onto a + real git repo. Anything else can go in its own package and/or repo. + + -- Ron Lee Sat, 28 Nov 2009 01:03:15 +1030 + +wacom-tools (1:0.8.4.1-0ubuntu4) karmic; urgency=low + + * Add 106_tc1100_stylus_buttons.patch: Support TC1100 stylus buttons. + Thanks Krzysztof! + (LP: #377444) + * Update note that there is not a -dev for this package because apps + should be using input properties now, instead. + (LP: #5918) + + -- Bryce Harrington Wed, 14 Oct 2009 12:46:02 -0700 + +wacom-tools (1:0.8.4.1-0ubuntu3) karmic; urgency=low + + * Remember to include patch in series file. + + -- Bryce Harrington Wed, 07 Oct 2009 02:37:29 -0700 + +wacom-tools (1:0.8.4.1-0ubuntu2) karmic; urgency=low + + * Add patches/105_wacf008_baud_38400.patch: Baud rate for this hardware + is autodetecting to 9600, but 38400 gives a better user experience. + (LP: #444612) + + -- Bryce Harrington Tue, 06 Oct 2009 20:01:00 -0700 + +wacom-tools (1:0.8.4.1-0ubuntu1) karmic; urgency=low + + * New upstream version. (LP: #405800) + * xsfbs: Remove deprecated --print-installation-architecture. (LP: #403316) + * waltop-ntrig.diff: Drop support for WALTOP, it doesn't work and crashes + the server. + + -- Timo Aaltonen Wed, 16 Sep 2009 16:31:32 +0300 + +wacom-tools (1:0.8.3.2-1ubuntu1) karmic; urgency=low + + * Merge with Debian unstable, remaining changes: + - Bump the epoch because of old Ubuntu packaging. + - debian/control: + - Change the Maintainer address. + - Bump the epoch on Replaces/Conflicts. + - Don't build wacom-kernel-source anymore (#71944). + - debian/wacom.postinst: + Remove old files. + - debian/rules: Disable the scaling quirk. + - Enable patch system (quilt). + - Import debian/xsfbs/* + - Add quilt to build-deps. + - Include wacomcpl so the stylus can be calibrated. (#216347) + - debian/rules: --enable-libwacomxi + - debian/control: Add tcl-dev, tk-dev to Build-Depends, and tcl, + tk to wacom-tools Depends. + - Modify 10-linuxwacom.fdi to support WALTOP and N-Trig. + - Add 104_revert-check.diff: Don't check the serial number, it breaks + some devices. Disabled for now, needs testing because part of it + is upstream now. + + -- Timo Aaltonen Fri, 22 May 2009 12:04:32 +0300 + +wacom-tools (0.8.3.2-1) unstable; urgency=low + + * Include fdi support for HAL. + + -- Ron Lee Sun, 12 Apr 2009 04:03:15 +0930 + +wacom-tools (0.8.3.1-1) unstable; urgency=low + + * New upstream release, supports the xorg 1.6 API changes. + Drops support for 2.4 kernels and some early 2.6 ones too. + Closes: #513052, #516451 + * Add es.po, thanks to Fernando González de Requena. Closes: #520544 + * Add a few new tablets to the udev rules. + + -- Ron Lee Sun, 29 Mar 2009 16:56:27 +1030 + +wacom-tools (1:0.8.2.2-0ubuntu2) jaunty; urgency=low + + * Replace 101_fedora-fix-mapping.diff with + 101_dont-touch-the-button-map.diff by Thomas Jaeger, which does the + same and more, and is already upstream. + + -- Timo Aaltonen Wed, 08 Apr 2009 00:21:07 +0300 + +wacom-tools (1:0.8.2.2-0ubuntu1) jaunty; urgency=low + + * New upstream release. (LP: #355340) + * Patch 100_allow_eraser.patch dropped, included in this version. + * 100_fedora-fix-build.diff + - Make the driver to build against xserver 1.6. + * 101_fedora-fix-mapping.diff + - No button 0 in the server, all offsets have to begin at 1. + * 102_fedora-wcmmaxx.diff + - Don't assign priv->wcmMaxX/Y back into common->wcmMaxX/Y. + * 103_fedora-hal-setup.diff + - Add a hal callout program to set up the device. + (LP: #215689, #356091) + * 104_revert-check.diff + - Don't check the serial number, it breaks some devices. + * Modify 10-wacom.fdi to include changes from Fedora. Should allow + hotplugging (built-in) serial tablets. (LP: #337112) + * rules: + - Run autoreconf on build + - xserver-xorg-input-wacom includes /usr/lib/hal/hal-setup-wacom + * control: + - autoreconf: add automake, libtool to build-deps. + - hal-setup-wacom: add libhal-dev to build-deps. + + -- Timo Aaltonen Tue, 24 Mar 2009 10:06:54 +0200 + +wacom-tools (1:0.8.1.6-1ubuntu8) jaunty; urgency=low + + * Remove the xserver-xorg-input-wacom init script; the entire script is + better expressed as a single line added to the xserver-xorg-input-wacom + udev rules. + + -- Scott James Remnant Fri, 27 Feb 2009 00:27:10 +0000 + +wacom-tools (1:0.8.1.6-1ubuntu7) jaunty; urgency=low + + * Drop reference to non-existent build-stamp target in debian/rules, + fixing a build failure. + * debian/rules: call 'unpatch' as part of the clean target, and remove + the stamp dir. + + -- Steve Langasek Mon, 23 Feb 2009 09:26:04 +0000 + +wacom-tools (1:0.8.1.6-1ubuntu6) jaunty; urgency=low + + * Add build system (quilt) + * Add 100_allow_eraser.patch (LP: #257495) + + Respect TPCButton preference for eraser devices when using pen + + -- Bryce Harrington Wed, 04 Feb 2009 11:51:05 +0100 + +wacom-tools (1:0.8.1.6-1ubuntu5) jaunty; urgency=low + + * wcmConfig.c: Don't crash on device unplug (LP: #320753) + + -- Timo Aaltonen Sun, 25 Jan 2009 17:56:52 +0200 + +wacom-tools (1:0.8.1.6-1ubuntu4) jaunty; urgency=low + + * Add Breaks to ensure the right version of udev gets used. + + -- Scott James Remnant Fri, 09 Jan 2009 12:03:35 +0000 + +wacom-tools (1:0.8.1.6-1ubuntu3) jaunty; urgency=low + + * Rebuild against new debhelper for udev path change. + + -- Scott James Remnant Tue, 06 Jan 2009 18:22:53 +0000 + +wacom-tools (1:0.8.1.6-1ubuntu2) jaunty; urgency=low + + * Rebuild against new xorg-server for armel. + + -- Loic Minier Fri, 19 Dec 2008 15:19:01 +0100 + +wacom-tools (1:0.8.1.6-1ubuntu1) jaunty; urgency=low + + * Merge from debian unstable, remaining changes: + - Bump the epoch because of old Ubuntu packaging. + - debian/control: + Change the Maintainer address. + Bump the epoch on Replaces/Conflicts. + Don't build wacom-kernel-source anymore (#71944). + - debian/wacom.postinst: + Remove old files. + - debian/xserver-xorg-input-wacom.init.d, debian/rules: + Initscript for serial devices. + - debian/rules: Disable the scaling quirk. + - Enable input-hotplug: install 10-wacom.fdi in + /usr/share/hal/fdi/policy/20thirdparty. + - Include wacomcpl so the stylus can be calibrated. (LP: #216347) + - debian/rules: --enable-libwacomxi + - debian/control: Add tcl-dev, tk-dev to Build-Depends, and tcl, + tk to wacom-tools Depends. + * Applied xserver-1.6.patch, so it builds against the new xserver. + + -- Timo Aaltonen Mon, 15 Dec 2008 12:12:34 +0200 + +wacom-tools (0.8.1.6-1+) experimental; urgency=low + + * Same source as -1, but targetted at xorg1.5 in experimental. + + -- Ron Lee Fri, 31 Oct 2008 23:25:59 +1030 + +wacom-tools (0.8.1.6-1) unstable; urgency=low + + * Updated udev rules, factored out many common tests and added support + for tabletpc devices with multiple interfaces. + * Updated sv.po, thanks again to Martin Bagge. Closes: #503354 + + -- Ron Lee Sat, 25 Oct 2008 22:18:53 +1030 + +wacom-tools (0.8.1.4-1) experimental; urgency=low + + * Experimental upload for testing with xorg 1.5 Closes: #493976 + * Update sv.po, thanks to Martin Bagge. Closes: #483769 + + -- Ron Lee Sat, 04 Oct 2008 16:37:42 +0930 + +wacom-tools (1:0.8.1.4-0ubuntu3) intrepid; urgency=low + + * debian/rules: Enable the fdi file again. (LP: #282203) + + -- Timo Aaltonen Tue, 21 Oct 2008 18:11:01 +0300 + +wacom-tools (1:0.8.1.4-0ubuntu2) intrepid; urgency=low + + * debian/rules: Don't use the fdi file, since with input-hotplug it's not + possible to fully utilize the device, and properly configuring it is + more awkward. Install it in /usr/share/doc/xserver-xorg-input-wacom + instead so people can use it if they want. + * Include wacomcpl so the stylus can be calibrated. (LP: #216347) + - debian/rules: --enable-libwacomxi + - debian/control: Add tcl-dev, tk-dev to Build-Depends, and tcl, tk to + wacom-tools Depends. + + -- Timo Aaltonen Fri, 10 Oct 2008 13:45:33 +0300 + +wacom-tools (1:0.8.1.4-0ubuntu1) intrepid; urgency=low + + [ Timo Aaltonen ] + * New upstream release. + * src/xdrv/wcmConfig.c: s/WCM_UNINIT_CALLED/WCM_XORG_XSERVER_1_4/ + (LP: #259035) + + [ Mario Limonciello ] + * Modify 10-wacom.fdi to include current representation + of N-Trig digitizer. (LP: #272289) + + -- Timo Aaltonen Thu, 25 Sep 2008 10:16:07 +0300 + +wacom-tools (1:0.8.1.3-0ubuntu2) intrepid; urgency=low + + * debian/rules: install the fdi file again.. + + -- Timo Aaltonen Fri, 22 Aug 2008 08:51:34 +0300 + +wacom-tools (1:0.8.1.3-0ubuntu1) intrepid; urgency=low + + * New upstream release. + * 10-wacom.fdi: + - Check for WALTOP devices (like Aiptek 10000U). + - Set Type = stylus. + + -- Timo Aaltonen Fri, 15 Aug 2008 12:03:58 +0300 + +wacom-tools (1:0.8.0.2-2ubuntu3) intrepid; urgency=low + + * Enable input-hotplug: install 10-wacom.fdi in + /usr/share/hal/fdi/policy/20thirdparty. + + -- Timo Aaltonen Fri, 01 Aug 2008 10:12:50 +0300 + +wacom-tools (1:0.8.0.2-2ubuntu2) intrepid; urgency=low + + * Rebuild against the new xserver-xorg-dev. + + -- Timo Aaltonen Mon, 07 Jul 2008 17:43:36 +0300 + +wacom-tools (1:0.8.0.2-2ubuntu1) intrepid; urgency=low + + * Merge with Debian unstable, remaining changes: + - Bump the epoch because of old Ubuntu packaging. + - debian/control: + Change the Maintainer address. + Bump the epoch on Replaces/Conflicts. + Don't build wacom-kernel-source anymore (#71944). + - debian/wacom.postinst: + Remove old files. + - debian/xserver-xorg-input-wacom.init.d, debian/rules: + Initscript for serial devices. + - debian/rules: Disable the scaling quirk. + + -- Timo Aaltonen Wed, 04 Jun 2008 19:24:32 +0300 + +wacom-tools (0.8.0.2-2) unstable; urgency=low + + * Fix a regression to the dlloader test (again). Closes: #481720 + + -- Ron Lee Mon, 19 May 2008 19:19:53 +0930 + +wacom-tools (0.8.0.2-1) unstable; urgency=low + + * Fixes a crash with XServer 1.4 Closes: #454568 + * Be explicit about using bash. Closes: #459166 + * Update nl.po, thanks to Vincent Zweije and debian-l10n-dutch. + Closes: #464448 + * Split lintian-overrides into two files because lintian barfs if the + entries for different packages are all kept together. *unf* + * Bump the debhelper minimum version to 6.0.7 for dh_lintian, and + bump compat to 6 if we are going to be forced to depend on it anyhow. + + -- Ron Lee Sat, 17 May 2008 06:35:40 +0930 + +wacom-tools (1:0.7.9.8-0ubuntu3) hardy; urgency=low + + * Another fix for the braindead configure{,.in}. Removed a test + figuring out if $WCM_MODDIR had evdev/kbd/mouse in it, and if not + change the dlloader configure option we used back to 'no'. How sane. + (LP: #208909) + + -- Timo Aaltonen Sun, 30 Mar 2008 08:16:01 +0300 + +wacom-tools (1:0.7.9.8-0ubuntu2) hardy; urgency=low + + * Fix the broken configure{,.in} by adding 'test' to the module path + check. (LP: #208909) + + -- Timo Aaltonen Sat, 29 Mar 2008 23:28:04 +0200 + +wacom-tools (1:0.7.9.8-0ubuntu1) hardy; urgency=low + + [ Tom Jaeger ] + * New upstream release (LP: 195953) + * debian/rules: disable the scaling quirk. + * linuxwacom/src/xdrv/Makefile.{am,in}: + - add DEFAULT_INCLUDES to fix the build because we use a builddir. + - fix the source patch of .depend target. + + -- Timo Aaltonen Sat, 29 Mar 2008 13:30:55 +0200 + +wacom-tools (1:0.7.9.3-2ubuntu2) hardy; urgency=low + + * Add an epoch to the Conflicts/Replaces (LP: #180214). + + -- Timo Aaltonen Fri, 04 Jan 2008 00:46:59 +0200 + +wacom-tools (1:0.7.9.3-2ubuntu1) hardy; urgency=low + + * Merge with Debian unstable (LP: #134879, #136977, #174382, #175050). + Remaining changes: + - Bump the epoch because of old Ubuntu packaging. + - debian/control: + Change the Maintainer address. + - debian/wacom.postinst: + Remove old files. + - debian/xserver-xorg-input-wacom.init.d, debian/rules: + Initscript for serial devices. + * Fix initscript to work with SysFS in 2.6.24. (LP: #177878) + * debian/control: don't build wacom-kernel-source anymore. (LP: #71944) + + -- Timo Aaltonen Sun, 30 Dec 2007 18:59:29 +0200 + +wacom-tools (0.7.9.3-2) unstable; urgency=low + + * Make xserver-xorg-input-wacom conflict/replace the earlier wacom-tools + packages because the wacom.4 manpage has switched packages. + * Generate a xserver-xorg-input-wacom.substvars file to manage the XOrg + version provides and dependencies. + + -- Ron Lee Sun, 02 Dec 2007 11:16:28 +1030 + +wacom-tools (0.7.9.3-1) unstable; urgency=low + + * New upstream release, includes support for XOrg 7.3/1.4 + Closes: #442424, #443032 + * Don't overrun padkey_codes[] when iterating through it. Closes: #447681 + * Move the wacom(4) man page to the xserver-xorg-input-wacom package. + Closes: #440164 + * Include the new text and translations courtesy of the Smith Review. + With a big thanks to everyone who contributed to that! + Closes: #443956, #444561, #444672, #444762, #445024, #445519, #445796 + Closes: #446135, #446402, #446440, #446576, #446717 + * Tidy the debian/copyright file. Closes: #451647 + * Add Provides: xserver-xorg-input-2 so the next X ABI transition will be + a bit less painful for people. + * Update the udev rules for new tablets. Lower-case the product ids since + udev appears to be case sensitive doing string compares for hex values. + Nice one guys. + * Add a build-dep for pkg-config, it appears to have infected XOrg now too. + + -- Ron Lee Sun, 02 Dec 2007 08:32:45 +1030 + +wacom-tools (0.7.7.11-1) unstable; urgency=low + + * New upstream release. + * Include upstream documentation like the man page says we do. + I guess nobody ever read it before ;-) Closes: #427689 + + -- Ron Lee Wed, 06 Jun 2007 18:50:46 +0930 + +wacom-tools (0.7.7.10-3) unstable; urgency=low + + * Reapply the patch to fix 64/32 bit cross builds, that seems to have + been lost or misapplied too. + + -- Ron Lee Mon, 04 Jun 2007 17:15:35 +0930 + +wacom-tools (0.7.7.10-2) unstable; urgency=low + + * Don't depend on the xorg module dir actually existing when + --with-xmoduledir is used (again). This is an upstream regression + to the patch submitted for 0.7.4.1-3. Closes: #427428 + + -- Ron Lee Mon, 04 Jun 2007 15:09:29 +0930 + +wacom-tools (0.7.7.10-1) unstable; urgency=low + + * New upstream version. Closes: #396883, #415244, #422532 + * Update vi.po, thanks to Clytie Siddall. Closes: #427020 + * Drop the external module package, upstream seems to be syncing fairly + regularly with the mainstream kernel team again, so this should not + be needed by most people, and causes confusion and trouble for the rest. + Closes: #418008, #417140, #404471, #317287 + * Lintian now bitches about reusing DH_COMPAT for the source package, so + I guess we now need to clutter the debian/ dir with files for each use + of the /rules. *sigh* This seems a bit _too_ pedantic to me. + + -- Ron Lee Sat, 02 Jun 2007 23:51:51 +0930 + +wacom-tools (0.7.4.1-6) unstable; urgency=low + + * Debconf translation updates only. Many thanks to Christian Perrier for + coordinating this 'final' update for etch. + - German. Closes: #398671 + - Galician. Closes: #407897 + - Portuguese. Closes: #408334 + - Italian. Closes: #409832 + - Japanese. Closes: #411503 + - Russian. Closes: #411748 + + -- Ron Lee Wed, 28 Feb 2007 23:49:53 +1030 + +wacom-tools (0.7.4.1-5) unstable; urgency=high + + * Urgency high because only one line of code has changed and it + fixes a FTBFS with xorg7.1 -- broken or not. + + * Backported change from upstream cvs to remove unneccessary #include + (for any version of xorg/xfree), that breaks builds with xorg7.1. + cf. #388776 + + * Updated fr.po, thanks to Jean-Luc Coulon and debian-l10n-french. + Closes: #367224 + * Updated cs.po, thanks to Miroslav Kure. + Closes: #384761 + * Added nl.po, thanks to Vincent Zweije and debian-l10n-dutch. + Closes: #388312 + * Added sv.po, thanks to Daniel Nylander. + Closes: #389022 + + -- Ron Lee Fri, 6 Oct 2006 18:26:26 +0930 + +wacom-tools (0.7.4.1-4) unstable; urgency=high + + * Make check_driver executable, even after it's been reconstituted + from a diff.gz. Closes: #384873 + + -- Ron Lee Tue, 29 Aug 2006 19:45:29 +0930 + +wacom-tools (0.7.4.1-3) unstable; urgency=low + + * Replace the quick fix from -2 with some better autodetection, + and an option to explicitly supply the xorg module dir, which + we can't check without build-depending on X runtime packages. + + -- Ron Lee Thu, 18 May 2006 15:33:23 +0930 + +wacom-tools (0.7.4.1-2) unstable; urgency=low + + * Quick and dirty hack to workaround the failing 'dlloader' detection. + + -- Ron Lee Tue, 16 May 2006 23:35:37 +0930 + +wacom-tools (0.7.4.1-1) unstable; urgency=low + + * New linuxwacom release. Better support for PenPartner, DTF-521 + and xorg7. Kernel 2.6 < 2.6.8 no longer supported. + * Remove patches incorporated upstream. + * Specify xorg-sdk and xlib locations explicitly still to avoid + linuxwacom trying to install to lib64 if a 64bit kernel is found. + It can be worked around for 64 bit builds, but totally breaks + building in a ia32 chroot on such a machine if we don't do this. + * Disable building the kernel module with the support libs + (or at least, try to). + * Switch to DH_COMPAT level 5. + * Fix the product id for DTF-720. + + -- Ron Lee Sun, 14 May 2006 15:30:26 +0930 + +wacom-tools (0.7.3.1-5) unstable; urgency=low + + * Move the check_driver RUN script to /lib/udev, and shave a few cycles + from each time it is called. Thanks to MD for checking it over. + + -- Ron Lee Sat, 13 May 2006 17:13:03 +0930 + +wacom-tools (0.7.3.1-4) unstable; urgency=low + + * Update the wacom-kernel-modules package for the change in kernel + package names. Reported as a followup to #317288, but this does + not solve the original issue of upgrading a kernel without a change + in the kernel version. + + -- Ron Lee Sat, 13 May 2006 16:36:42 +0930 + +wacom-tools (0.7.3.1-3) unstable; urgency=low + + * Remove the old udev rules in the postinst if they are unmodified. + Bark at the user to remove them if they have been changed locally. + Being conffiles, they are not removed on upgrade, even if they + are no longer provided by the package. But newer udev barfs on + them, so we have to do something to get them out of the picture. + + -- Ron Lee Fri, 12 May 2006 23:10:45 +0930 + +wacom-tools (0.7.3.1-2) unstable; urgency=low + + * May Day, May Day. + * Add missing build-dep for libxi-dev. Closes: #365538 + + -- Ron Lee Mon, 1 May 2006 13:31:03 +0930 + +wacom-tools (0.7.3.1-1) unstable; urgency=low + + * New upstream source. + * The previous device snatching code will not work with + kernel 2.6.13+, time to see what 2.6.16 has to offer + in its place. Closes: #350663 + * Build the wacom_drv module for xorg7, it is no longer + supplied as part of the xorg source package. + * Fix udev rules, again, it may still be a moving target, + but let's hope its getting a little tired of ducking + and weaving too. We now provide a convenience link to + /dev/input/wacom for users of a single tablet, and named + links for the convenience of users with multiple tablets + of different types. Users with multiple tablets of the + same type will need to bind them to the /dev/input/by-path + nodes that correspond to each tablet. + Closes: #324391, #358057 + * Re-implemented device rebinding from userspace, using a + udev RUN rule and a small script to check and rebind + if required. + + -- Ron Lee Fri, 14 Apr 2006 00:59:34 +0930 + +wacom-tools (0.6.6-9) unstable; urgency=low + + * Added cs.po, thanks to Miroslav Kure. Closes: #314986 + * Added jp.po, thanks to TANAKA Atushi. Closes: #322411 + * Fixed typo in debconf template (closes: #324086), and + added vi.po, thanks to Clytie Siddall. Closes: #324087 + * Only set KSRC to a simple default if it is not already + set. (cf. #315130 and #341823) + * Rip out obsolete FLAVOUR support in line with similar + changes to kernel-package. + * Remove unused dh_* boilerplate. + + -- Ron Lee Mon, 20 Jun 2005 16:10:52 +0930 + +wacom-tools (0.6.6-8) unstable; urgency=low + + * The promised new upstream is still in limbo, so in the + meantime, s/kdist_config/kdist_configure/ + Closes: #296168, #314739 + * Look for the docs in the correct source location when + installing them to the binary package. Closes: #300579 + * And don't pretend they are html. That is just far too + surprising for popular taste. + + -- Ron Lee Sun, 19 Jun 2005 00:37:25 +0930 + +wacom-tools (0.6.6-7) unstable; urgency=low + + * Restore build-dep on libx11-dev, despite reports to the + contrary libxt-dev alone is evidently not sufficient. + Closes: #294960 + + -- Ron Lee Sun, 13 Feb 2005 10:52:07 +1030 + +wacom-tools (0.6.6-6) unstable; urgency=low + + * Punt device snatching out to userspace via sysfs, it's the only + way to be sure at present. This is an(other) experimental + implementation before the core kernel api is decided and only + available for kernel 2.6.10 and later at this stage. + * Add a udev rule to create /dev/input/wacom* for each + wacom tablet device plugged in to the system. Its a conffile + so you can hard code your own device id's there if you want + constant names that don't depend on the number of wacom devices + you have and the order you plug them in. + * Add a hotplug script to poke the module device snatching code. + * Typo fix in 2.6.7/wacom.c Closes: #294642 thanks. + * Patch missing functions into 2.6.8/wacom.c, I have a report + that this works for people who really need it. Closes: #287941 + * Add debhelper build-dep to the module package. Closes: #290721 + * Add libx11 build-dep too until this is fixed properly upstream, + and a dep on build-essential Closes: #288238 thanks. + * Does not close #286111, nor can I reproduce it still. + + -- Ron Lee Sat, 12 Feb 2005 16:27:21 +1030 + +wacom-tools (0.6.6-5) unstable; urgency=low + + * First crack at the device snatching patch. + + -- Ron Lee Tue, 11 Jan 2005 18:00:40 +1030 + +wacom-tools (0.6.6-4) unstable; urgency=low + + * Removed evdev patch since what it attempts to do is + already handled in the kernel for cases where it might + reliably work. + + Removed usbhid patch since we can get in before it + without needing to manually maintain a list of 'quirks'. + + Removed mousedev and usbmouse patches, since the former + is now built into 2.6 kernels anyway and cannot easily + be replaced on the fly, and since this is simply the wrong + approach to fixing the problem of dynamic device naming + for generic devices IMO, it just hides it for some people + until they buy another device. + + This and tested support for kernel 2.6, Closes: #281230 + and more... + + * Explicitly point configure at the kernel source. Closes: #285206 + + * Update the other libtool goop as well to fix FTBFS + on mips and mipsel. Closes: #285213 + + * (ab)use a shared 'confdir' (and worse) to restore something like + the functionality needed by wacom.modutils for wacom.modprobe + until we can fix the kernel. Don't try this at home kids, it is + surely not best practice in any of the domains it kludges through. + Though its as legal as falling asleep sober at the wheel ... + + -- Ron Lee Fri, 10 Dec 2004 16:12:07 +1030 + +wacom-tools (0.6.6-3) unstable; urgency=low + + * Updated to build with 2.6.10-rc2. + + -- Ron Lee Fri, 3 Dec 2004 23:58:50 +1030 + +wacom-tools (0.6.6-2) unstable; urgency=low + + * Updated patch for kernel 2.4.28 + + -- Ron Lee Fri, 3 Dec 2004 03:24:16 +1030 + +wacom-tools (0.6.6-1) unstable; urgency=low + + * New upstream release incorporating submitted fixes, + thanks Ping! + * Add missing build depends, Closes: #281451 + thanks Andreas Jochens. + * Included fr.po debconf template translation, Closes: #282768 + thanks Jean-Luc Coulon (f5ibh) and the debian-l10n-french ml. + * Use DESTDIR instead of (ab)using prefix as it is supported here. + Closes: #283037 + + -- Ron Lee Thu, 2 Dec 2004 19:09:05 +1030 + +wacom-tools (0.6.5-2) unstable; urgency=low + + * This package builds arch any utils too, add suitable build depends. + Closes: #281126 Thanks lamont. + + -- Ron Lee Sun, 14 Nov 2004 20:54:13 +1030 + +wacom-tools (0.6.5-1) unstable; urgency=low + + * New linuxwacom beta release. + * Improves support for Intuos3 and more recent 2.6 branch kernels. + (but still only tested with 2.4.27, see below) + + -- Ron Lee Sun, 7 Nov 2004 01:32:34 +1030 + +wacom-tools (0.6.4-1) unstable; urgency=low + + * Initial trivial packaging. Note this has only been tested with 2.4.27. + * Provides the basics from the linuxwacom project -- test and config tools, + and kernel modules in a convenient form for users of kernel packages. + It does not provide an updated X11 module, hopefully any important parts + of that will be ultimately be included by the X maintainers once I look + at what they might accept. + * Updated config.{guess,sub}. + * Modify the version detection to handle a non-numeric suffix + from --append_to_version or flavour. + * Closes: #279555 + + -- Ron Lee Thu, 4 Nov 2003 16:06:55 -0800 + --- xf86-input-wacom-0.10.6.orig/debian/README.source +++ xf86-input-wacom-0.10.6/debian/README.source @@ -0,0 +1,73 @@ +------------------------------------------------------ +Quick Guide To Patching This Package For The Impatient +------------------------------------------------------ + +1. Make sure you have quilt installed +2. Unpack the package as usual with "dpkg-source -x" +3. Run the "patch" target in debian/rules +4. Create a new patch with "quilt new" (see quilt(1)) +5. Edit all the files you want to include in the patch with "quilt edit" + (see quilt(1)). +6. Write the patch with "quilt refresh" (see quilt(1)) +7. Run the "clean" target in debian/rules + +Alternatively, instead of using quilt directly, you can drop the patch in to +debian/patches and add the name of the patch to debian/patches/series. + +------------------------------------ +Guide To The X Strike Force Packages +------------------------------------ + +The X Strike Force team maintains X packages in git repositories on +git.debian.org in the pkg-xorg subdirectory. Most upstream packages +are actually maintained in git repositories as well, so they often +just need to be pulled into git.debian.org in a "upstream-*" branch. +Otherwise, the upstream sources are manually installed in the Debian +git repository. + +The .orig.tar.gz upstream source file could be generated using this +"upstream-*" branch in the Debian git repository but it is actually +copied from upstream tarballs directly. + +Due to X.org being highly modular, packaging all X.org applications +as their own independent packages would have created too many Debian +packages. For this reason, some X.org applications have been grouped +into larger packages: xutils, xutils-dev, x11-apps, x11-session-utils, +x11-utils, x11-xfs-utils, x11-xkb-utils, x11-xserver-utils. +Most packages, including the X.org server itself and all libraries +and drivers are, however maintained independently. + +The Debian packaging is added by creating the "debian-*" git branch +which contains the aforementioned "upstream-*" branch plus the debian/ +repository files. +When a patch has to be applied to the Debian package, two solutions +are involved: +* If the patch is available in one of the upstream branches, it + may be git'cherry-picked into the Debian repository. In this + case, it appears directly in the .diff.gz. +* Otherwise, the patch is added to debian/patches/ which is managed + with quilt as documented in /usr/share/doc/quilt/README.source. + +quilt is actually invoked by the Debian X packaging through a larger +set of scripts called XSFBS. XSFBS brings some other X specific +features such as managing dependencies and conflicts due to the video +and input driver ABIs. +XSFBS itself is maintained in a separate repository at + git://git.debian.org/pkg-xorg/xsfbs.git +and it is pulled inside the other Debian X repositories when needed. + +The XSFBS patching system requires a build dependency on quilt. Also +a dependency on $(STAMP_DIR)/patch has to be added to debian/rules +so that the XSFBS patching occurs before the actual build. So the +very first target of the build (likely the one running autoreconf) +should depend on $(STAMP_DIR)/patch. It should also not depend on +anything so that parallel builds are correctly supported (nothing +should probably run while patching is being done). And finally, the +clean target should depend on the xsfclean target so that patches +are unapplied on clean. + +When the upstream sources contain some DFSG-nonfree files, they are +listed in text files in debian/prune/ in the "debian-*" branch of +the Debian repository. XSFBS' scripts then take care of removing +these listed files during the build so as to generate a modified +DFSG-free .orig.tar.gz tarball. --- xf86-input-wacom-0.10.6.orig/debian/xsfbs/xsfbs.sh +++ xf86-input-wacom-0.10.6/debian/xsfbs/xsfbs.sh @@ -0,0 +1,622 @@ +# This is the X Strike Force shell library for X Window System package +# maintainer scripts. It serves to define shell functions commonly used by +# such packages, and performs some error checking necessary for proper operation +# of those functions. By itself, it does not "do" much; the maintainer scripts +# invoke the functions defined here to accomplish package installation and +# removal tasks. + +# If you are reading this within a Debian package maintainer script (e.g., +# /var/lib/dpkg/info/PACKAGE.{config,preinst,postinst,prerm,postrm}), you can +# skip past this library by scanning forward in this file to the string +# "GOBSTOPPER". + +SOURCE_VERSION=@SOURCE_VERSION@ +OFFICIAL_BUILD=@OFFICIAL_BUILD@ + +# Use special abnormal exit codes so that problems with this library are more +# easily tracked down. +SHELL_LIB_INTERNAL_ERROR=86 +SHELL_LIB_THROWN_ERROR=74 +SHELL_LIB_USAGE_ERROR=99 + +# old -> new variable names +if [ -z "$DEBUG_XORG_PACKAGE" ] && [ -n "$DEBUG_XFREE86_PACKAGE" ]; then + DEBUG_XORG_PACKAGE="$DEBUG_XFREE86_PACKAGE" +fi +if [ -z "$DEBUG_XORG_DEBCONF" ] && [ -n "$DEBUG_XFREE86_DEBCONF" ]; then + DEBUG_XORG_DEBCONF="$DEBUG_XFREE86_DEBCONF" +fi + +# initial sanity checks +if [ -z "$THIS_PACKAGE" ]; then + cat >&2 < on the World Wide Web for +instructions, read the file /usr/share/doc/debian/bug-reporting.txt from the +"doc-debian" package, or install the "reportbug" package and use the command of +the same name to file a report against version $SOURCE_VERSION of this package. +EOF + exit $SHELL_LIB_USAGE_ERROR +fi + +if [ -z "$THIS_SCRIPT" ]; then + cat >&2 < on the World Wide Web for +instructions, read the file /usr/share/doc/debian/bug-reporting.txt from the +"doc-debian" package, or install the "reportbug" package and use the command of +the same name to file a report against version $SOURCE_VERSION of the +"$THIS_PACKAGE" package. +EOF + exit $SHELL_LIB_USAGE_ERROR +fi + +if [ "$1" = "reconfigure" ] || [ -n "$DEBCONF_RECONFIGURE" ]; then + RECONFIGURE="true" +else + RECONFIGURE= +fi + +if ([ "$1" = "install" ] || [ "$1" = "configure" ]) && [ -z "$2" ]; then + FIRSTINST="yes" +fi + +if [ -z "$RECONFIGURE" ] && [ -z "$FIRSTINST" ]; then + UPGRADE="yes" +fi + +trap "message;\ + message \"Received signal. Aborting $THIS_PACKAGE package $THIS_SCRIPT script.\";\ + message;\ + exit 1" HUP INT QUIT TERM + +reject_nondigits () { + # syntax: reject_nondigits [ operand ... ] + # + # scan operands (typically shell variables whose values cannot be trusted) for + # characters other than decimal digits and barf if any are found + while [ -n "$1" ]; do + # does the operand contain anything but digits? + if ! expr "$1" : "[[:digit:]]\+$" > /dev/null 2>&1; then + # can't use die(), because it wraps message() which wraps this function + echo "$THIS_PACKAGE $THIS_SCRIPT error: reject_nondigits() encountered" \ + "possibly malicious garbage \"$1\"" >&2 + exit $SHELL_LIB_THROWN_ERROR + fi + shift + done +} + +reject_unlikely_path_chars () { + # syntax: reject_unlikely_path_chars [ operand ... ] + # + # scan operands (typically shell variables whose values cannot be trusted) for + # characters unlikely to be seen in a path and which the shell might + # interpret and barf if any are found + while [ -n "$1" ]; do + # does the operand contain any funny characters? + if expr "$1" : '.*[!$&()*;<>?|].*' > /dev/null 2>&1; then + # can't use die(), because I want to avoid forward references + echo "$THIS_PACKAGE $THIS_SCRIPT error: reject_unlikely_path_chars()" \ + "encountered possibly malicious garbage \"$1\"" >&2 + exit $SHELL_LIB_THROWN_ERROR + fi + shift + done +} + +# Query the terminal to establish a default number of columns to use for +# displaying messages to the user. This is used only as a fallback in the +# event the COLUMNS variable is not set. ($COLUMNS can react to SIGWINCH while +# the script is running, and this cannot, only being calculated once.) +DEFCOLUMNS=$(stty size 2> /dev/null | awk '{print $2}') || true +if ! expr "$DEFCOLUMNS" : "[[:digit:]]\+$" > /dev/null 2>&1; then + DEFCOLUMNS=80 +fi + +message () { + # pretty-print messages of arbitrary length + reject_nondigits "$COLUMNS" + echo "$*" | fmt -t -w ${COLUMNS:-$DEFCOLUMNS} >&2 +} + +observe () { + # syntax: observe message ... + # + # issue observational message suitable for logging someday when support for + # it exists in dpkg + if [ -n "$DEBUG_XORG_PACKAGE" ]; then + message "$THIS_PACKAGE $THIS_SCRIPT note: $*" + fi +} + +warn () { + # syntax: warn message ... + # + # issue warning message suitable for logging someday when support for + # it exists in dpkg; also send to standard error + message "$THIS_PACKAGE $THIS_SCRIPT warning: $*" +} + +die () { + # syntax: die message ... + # + # exit script with error message + message "$THIS_PACKAGE $THIS_SCRIPT error: $*" + exit $SHELL_LIB_THROWN_ERROR +} + +internal_error () { + # exit script with error; essentially a "THIS SHOULD NEVER HAPPEN" message + message "internal error: $*" + if [ -n "$OFFICIAL_BUILD" ]; then + message "Please report a bug in the $THIS_SCRIPT script of the" \ + "$THIS_PACKAGE package, version $SOURCE_VERSION to the Debian Bug" \ + "Tracking System. Include all messages above that mention the" \ + "$THIS_PACKAGE package. Visit " \ + " on the World Wide Web for" \ + "instructions, read the file" \ + "/usr/share/doc/debian/bug-reporting.txt from the doc-debian" \ + "package, or install the reportbug package and use the command of" \ + "the same name to file a report." + fi + exit $SHELL_LIB_INTERNAL_ERROR +} + +usage_error () { + message "usage error: $*" + message "Please report a bug in the $THIS_SCRIPT script of the" \ + "$THIS_PACKAGE package, version $SOURCE_VERSION to the Debian Bug" \ + "Tracking System. Include all messages above that mention the" \ + "$THIS_PACKAGE package. Visit " \ + " on the World Wide Web for" \ + "instructions, read the file" \ + "/usr/share/doc/debian/bug-reporting.txt from the doc-debian" \ + "package, or install the reportbug package and use the command of" \ + "the same name to file a report." + exit $SHELL_LIB_USAGE_ERROR +} + +font_update () { + # run $UPDATECMDS in $FONTDIRS + + local dir cmd shortcmd x_font_dir_prefix + + x_font_dir_prefix="/usr/share/fonts/X11" + + if [ -z "$UPDATECMDS" ]; then + usage_error "font_update() called but \$UPDATECMDS not set" + fi + if [ -z "$FONTDIRS" ]; then + usage_error "font_update() called but \$FONTDIRS not set" + fi + + reject_unlikely_path_chars "$UPDATECMDS" + reject_unlikely_path_chars "$FONTDIRS" + + for dir in $FONTDIRS; do + if [ -d "$x_font_dir_prefix/$dir" ]; then + for cmd in $UPDATECMDS; do + if which "$cmd" > /dev/null 2>&1; then + shortcmd=${cmd##*/} + observe "running $shortcmd in $dir font directory" + cmd_opts= + if [ "$shortcmd" = "update-fonts-alias" ]; then + cmd_opts=--x11r7-layout + fi + if [ "$shortcmd" = "update-fonts-dir" ]; then + cmd_opts=--x11r7-layout + fi + if [ "$shortcmd" = "update-fonts-scale" ]; then + cmd_opts=--x11r7-layout + fi + $cmd $cmd_opts $dir || warn "$cmd $cmd_opts $dir" \ + "failed; font directory data may not" \ + "be up to date" + else + warn "$cmd not found; not updating corresponding $dir font" \ + "directory data" + fi + done + else + warn "$dir is not a directory; not updating font directory data" + fi + done +} + +remove_conffile_prepare () { + # syntax: remove_conffile_prepare filename official_md5sum ... + # + # Check a conffile "filename" against a list of canonical MD5 checksums. + # If the file's current MD5 checksum matches one of the "official_md5sum" + # operands provided, then prepare the conffile for removal from the system. + # We defer actual deletion until the package is configured so that we can + # roll this operation back if package installation fails. + # + # Call this function from a preinst script in the event $1 is "upgrade" or + # "install" and verify $2 to ensure the package is being upgraded from a + # version (or installed over a version removed-but-not-purged) prior to the + # one in which the conffile was obsoleted. + + local conffile current_checksum + + # validate arguments + if [ $# -lt 2 ]; then + usage_error "remove_conffile_prepare() called with wrong number of" \ + "arguments; expected at least 2, got $#" + exit $SHELL_LIB_USAGE_ERROR + fi + + conffile="$1" + shift + + # does the conffile even exist? + if [ -e "$conffile" ]; then + # calculate its checksum + current_checksum=$(md5sum < "$conffile" | sed 's/[[:space:]].*//') + # compare it to each supplied checksum + while [ -n "$1" ]; do + if [ "$current_checksum" = "$1" ]; then + # we found a match; move the confffile and stop looking + observe "preparing obsolete conffile $conffile for removal" + mv "$conffile" "$conffile.$THIS_PACKAGE-tmp" + break + fi + shift + done + fi +} + +remove_conffile_lookup () { + # syntax: remove_conffile_lookup package filename + # + # Lookup the md5sum of a conffile in dpkg's database, and prepare for removal + # if it matches the actual file's md5sum. + # + # Call this function when you would call remove_conffile_prepare but only + # want to check against dpkg's status database instead of known checksums. + + local package conffile old_md5sum + + # validate arguments + if [ $# -ne 2 ]; then + usage_error "remove_conffile_lookup() called with wrong number of" \ + "arguments; expected 1, got $#" + exit $SHELL_LIB_USAGE_ERROR + fi + + package="$1" + conffile="$2" + + if ! [ -e "$conffile" ]; then + return + fi + old_md5sum="$(dpkg-query -W -f='${Conffiles}' "$package" | \ + awk '{ if (match($0, "^ '"$conffile"' ")) print $2}')" + if [ -n "$old_md5sum" ]; then + remove_conffile_prepare "$conffile" "$old_md5sum" + fi +} + +remove_conffile_commit () { + # syntax: remove_conffile_commit filename + # + # Complete the removal of a conffile "filename" that has become obsolete. + # + # Call this function from a postinst script after having used + # remove_conffile_prepare() in the preinst. + + local conffile + + # validate arguments + if [ $# -ne 1 ]; then + usage_error "remove_conffile_commit() called with wrong number of" \ + "arguments; expected 1, got $#" + exit $SHELL_LIB_USAGE_ERROR + fi + + conffile="$1" + + # if the temporary file created by remove_conffile_prepare() exists, remove it + if [ -e "$conffile.$THIS_PACKAGE-tmp" ]; then + observe "committing removal of obsolete conffile $conffile" + rm "$conffile.$THIS_PACKAGE-tmp" + fi +} + +remove_conffile_rollback () { + # syntax: remove_conffile_rollback filename + # + # Roll back the removal of a conffile "filename". + # + # Call this function from a postrm script in the event $1 is "abort-upgrade" + # or "abort-install" is after having used remove_conffile_prepare() in the + # preinst. + + local conffile + + # validate arguments + if [ $# -ne 1 ]; then + usage_error "remove_conffile_rollback() called with wrong number of" \ + "arguments; expected 1, got $#" + exit $SHELL_LIB_USAGE_ERROR + fi + + conffile="$1" + + # if the temporary file created by remove_conffile_prepare() exists, move it + # back + if [ -e "$conffile.$THIS_PACKAGE-tmp" ]; then + observe "rolling back removal of obsolete conffile $conffile" + mv "$conffile.$THIS_PACKAGE-tmp" "$conffile" + fi +} + +replace_conffile_with_symlink_prepare () { + # syntax: replace_conffile_with_symlink_prepare oldfilename newfilename \ + # official_md5sum ... + # + # Check a conffile "oldfilename" against a list of canonical MD5 checksums. + # If the file's current MD5 checksum matches one of the "official_md5sum" + # operands provided, then prepare the conffile for removal from the system. + # We defer actual deletion until the package is configured so that we can + # roll this operation back if package installation fails. Otherwise copy it + # to newfilename and let dpkg handle it through conffiles mechanism. + # + # Call this function from a preinst script in the event $1 is "upgrade" or + # "install" and verify $2 to ensure the package is being upgraded from a + # version (or installed over a version removed-but-not-purged) prior to the + # one in which the conffile was obsoleted. + + local conffile current_checksum + + # validate arguments + if [ $# -lt 3 ]; then + usage_error "replace_conffile_with_symlink_prepare() called with wrong" \ + " number of arguments; expected at least 3, got $#" + exit $SHELL_LIB_USAGE_ERROR + fi + + oldconffile="$1" + shift + newconffile="$1" + shift + + remove_conffile_prepare "$_oldconffile" "$@" + # If $oldconffile still exists, then md5sums didn't match. + # Copy it to new one. + if [ -f "$oldconffile" ]; then + cp "$oldconffile" "$newconffile" + fi + +} + +replace_conffile_with_symlink_commit () { + # syntax: replace_conffile_with_symlink_commit oldfilename + # + # Complete the removal of a conffile "oldfilename" that has been + # replaced by a symlink. + # + # Call this function from a postinst script after having used + # replace_conffile_with_symlink_prepare() in the preinst. + + local conffile + + # validate arguments + if [ $# -ne 1 ]; then + usage_error "replace_conffile_with_symlink_commit() called with wrong" \ + "number of arguments; expected 1, got $#" + exit $SHELL_LIB_USAGE_ERROR + fi + + conffile="$1" + + remove_conffile_commit "$conffile" +} + +replace_conffile_with_symlink_rollback () { + # syntax: replace_conffile_with_symlink_rollback oldfilename newfilename + # + # Roll back the replacing of a conffile "oldfilename" with symlink to + # "newfilename". + # + # Call this function from a postrm script in the event $1 is "abort-upgrade" + # or "abort-install" and verify $2 to ensure the package failed to upgrade + # from a version (or install over a version removed-but-not-purged) prior + # to the one in which the conffile was obsoleted. + # You should have used replace_conffile_with_symlink_prepare() in the + # preinst. + + local conffile + + # validate arguments + if [ $# -ne 2 ]; then + usage_error "replace_conffile_with_symlink_rollback() called with wrong" \ + "number of arguments; expected 2, got $#" + exit $SHELL_LIB_USAGE_ERROR + fi + + oldconffile="$1" + newconffile="$2" + + remove_conffile_rollback "$_oldconffile" + if [ -f "$newconffile" ]; then + rm "$newconffile" + fi +} + +run () { + # syntax: run command [ argument ... ] + # + # Run specified command with optional arguments and report its exit status. + # Useful for commands whose exit status may be nonzero, but still acceptable, + # or commands whose failure is not fatal to us. + # + # NOTE: Do *not* use this function with db_get or db_metaget commands; in + # those cases the return value of the debconf command *must* be checked + # before the string returned by debconf is used for anything. + + local retval + + # validate arguments + if [ $# -lt 1 ]; then + usage_error "run() called with wrong number of arguments; expected at" \ + "least 1, got $#" + exit $SHELL_LIB_USAGE_ERROR + fi + + "$@" || retval=$? + + if [ ${retval:-0} -ne 0 ]; then + observe "command \"$*\" exited with status $retval" + fi +} + +make_symlink_sane () { + # syntax: make_symlink_sane symlink target + # + # Ensure that the symbolic link symlink exists, and points to target. + # + # If symlink does not exist, create it and point it at target. + # + # If symlink exists but is not a symbolic link, back it up. + # + # If symlink exists, is a symbolic link, but points to the wrong location, fix + # it. + # + # If symlink exists, is a symbolic link, and already points to target, do + # nothing. + # + # This function wouldn't be needed if ln had an -I, --idempotent option. + + # Validate arguments. + if [ $# -ne 2 ]; then + usage_error "make_symlink_sane() called with wrong number of arguments;" \ + "expected 2, got $#" + exit $SHELL_LIB_USAGE_ERROR + fi + + # We could just use the positional parameters as-is, but that makes things + # harder to follow. + local symlink target + + symlink="$1" + target="$2" + + if [ -L "$symlink" ] && [ "$(readlink "$symlink")" = "$target" ]; then + observe "link from $symlink to $target already exists" + else + observe "creating symbolic link from $symlink to $target" + mkdir -p "${target%/*}" "${symlink%/*}" + ln -s -b -S ".dpkg-old" "$target" "$symlink" + fi +} + +migrate_dir_to_symlink () { + # syntax: migrate_dir_to_symlink old_location new_location + # + # Per Debian Policy section 6.5.4, "A directory will never be replaced by a + # symbolic link to a directory or vice versa; instead, the existing state + # (symlink or not) will be left alone and dpkg will follow the symlink if + # there is one." + # + # We have to do it ourselves. + # + # This function moves the contents of old_location, a directory, into + # new_location, a directory, then makes old_location a symbolic link to + # new_location. + # + # old_location need not exist, but if it does, it must be a directory (or a + # symlink to a directory). If it is not, it is backed up. If new_location + # exists already and is not a directory, it is backed up. + # + # This function should be called from a package's preinst so that other + # packages unpacked after this one --- but before this package's postinst runs + # --- are unpacked into new_location even if their payloads contain + # old_location filespecs. + + # Validate arguments. + if [ $# -ne 2 ]; then + usage_error "migrate_dir_to_symlink() called with wrong number of" + "arguments; expected 2, got $#" + exit $SHELL_LIB_USAGE_ERROR + fi + + # We could just use the positional parameters as-is, but that makes things + # harder to follow. + local new old + + old="$1" + new="$2" + + # Is old location a symlink? + if [ -L "$old" ]; then + # Does it already point to new location? + if [ "$(readlink "$old")" = "$new" ]; then + # Nothing to do; migration has already been done. + observe "migration of $old to $new already done" + return 0 + else + # Back it up. + warn "backing up symbolic link $old as $old.dpkg-old" + mv -b "$old" "$old.dpkg-old" + fi + fi + + # Does old location exist, but is not a directory? + if [ -e "$old" ] && ! [ -d "$old" ]; then + # Back it up. + warn "backing up non-directory $old as $old.dpkg-old" + mv -b "$old" "$old.dpkg-old" + fi + + observe "migrating $old to $new" + + # Is new location a symlink? + if [ -L "$new" ]; then + # Does it point the wrong way, i.e., back to where we're migrating from? + if [ "$(readlink "$new")" = "$old" ]; then + # Get rid of it. + observe "removing symbolic link $new which points to $old" + rm "$new" + else + # Back it up. + warn "backing up symbolic link $new as $new.dpkg-old" + mv -b "$new" "$new.dpkg-old" + fi + fi + + # Does new location exist, but is not a directory? + if [ -e "$new" ] && ! [ -d "$new" ]; then + warn "backing up non-directory $new as $new.dpkg-old" + mv -b "$new" "$new.dpkg-old" + fi + + # Create new directory if it does not yet exist. + if ! [ -e "$new" ]; then + observe "creating $new" + mkdir -p "$new" + fi + + # Copy files in old location to new location. Back up any filenames that + # already exist in the new location with the extension ".dpkg-old". + observe "copying files from $old to $new" + if ! (cd "$old" && cp -a -b -S ".dpkg-old" . "$new"); then + die "error(s) encountered while copying files from $old to $new" + fi + + # Remove files at old location. + observe "removing $old" + rm -r "$old" + + # Create symlink from old location to new location. + make_symlink_sane "$old" "$new" +} + +# vim:set ai et sw=2 ts=2 tw=80: + +# GOBSTOPPER: The X Strike Force shell library ends here. --- xf86-input-wacom-0.10.6.orig/debian/xsfbs/xsfbs.mk +++ xf86-input-wacom-0.10.6/debian/xsfbs/xsfbs.mk @@ -0,0 +1,285 @@ +#!/usr/bin/make -f + +# Debian X Strike Force Build System (XSFBS): Make portion + +# Copyright 1996 Stephen Early +# Copyright 1997 Mark Eichin +# Copyright 1998-2005, 2007 Branden Robinson +# Copyright 2005 David Nusinow +# +# Licensed under the GNU General Public License, version 2. See the file +# /usr/share/common-licenses/GPL or . + +# Originally by Stephen Early +# Modified by Mark W. Eichin +# Modified by Adam Heath +# Modified by Branden Robinson +# Modified by Fabio Massimo Di Nitto +# Modified by David Nusinow +# Acknowledgements to Manoj Srivastava. + +# Pass $(DH_OPTIONS) into the environment for debhelper's benefit. +export DH_OPTIONS + +# force quilt to not use ~/.quiltrc and to use debian/patches +QUILT = QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null + +# Set up parameters for the upstream build environment. + +# Determine (source) package name from Debian changelog. +SOURCE_NAME:=$(shell dpkg-parsechangelog -ldebian/changelog \ + | grep '^Source:' | awk '{print $$2}') + +# Determine package version from Debian changelog. +SOURCE_VERSION:=$(shell dpkg-parsechangelog -ldebian/changelog \ + | grep '^Version:' | awk '{print $$2}') + +# Determine upstream version number. +UPSTREAM_VERSION:=$(shell echo $(SOURCE_VERSION) | sed 's/-.*//') + +# Determine the source version without the epoch for make-orig-tar-gz +NO_EPOCH_VER:=$(shell echo $(UPSTREAM_VERSION) | sed 's/^.://') + +# Figure out who's building this package. +BUILDER:=$(shell echo $${DEBEMAIL:-$${EMAIL:-$$(echo $$LOGNAME@$$(cat /etc/mailname 2>/dev/null))}}) + +# Find out if this is an official build; an official build has nothing but +# digits, dots, and/or the codename of a release in the Debian part of the +# version number. Anything else indicates an unofficial build. +OFFICIAL_BUILD:=$(shell VERSION=$(SOURCE_VERSION); if ! expr "$$(echo $${VERSION\#\#*-} | sed 's/\(woody\|sarge\|etch\|lenny\)//g')" : ".*[^0-9.].*" >/dev/null 2>&1; then echo yes; fi) + +# Set up parameters for the Debian build environment. + +# Determine our architecture. +BUILD_ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) +# Work around some old-time dpkg braindamage. +BUILD_ARCH:=$(subst i486,i386,$(BUILD_ARCH)) +# The DEB_HOST_ARCH variable may be set per the Debian cross-compilation policy. +ifdef DEB_HOST_ARCH + ARCH:=$(DEB_HOST_ARCH) +else + # dpkg-cross sets the ARCH environment variable; if set, use it. + ifdef ARCH + ARCH:=$(ARCH) + else + ARCH:=$(BUILD_ARCH) + endif +endif + +# $(STAMP_DIR) houses stamp files for complex targets. +STAMP_DIR:=stampdir + +# $(DEBTREEDIR) is where all install rules are told (via $(DESTDIR)) to place +# their files. +DEBTREEDIR:=$(CURDIR)/debian/tmp + +# All "important" targets have four lines: +# 1) A target name that is invoked by a package-building tool or the user. +# This consists of a dependency on a "$(STAMP_DIR)/"-prefixed counterpart. +# 2) A line delcaring 1) as a phony target (".PHONY:"). +# 3) A "$(STAMP_DIR)/"-prefixed target which does the actual work, and may +# depend on other targets. +# 4) A line declaring 3) as a member of the $(stampdir_targets) variable; the +# "$(STAMP_DIR)/" prefix is omitted. +# +# This indirection is needed so that the "stamp" files that signify when a rule +# is done can be located in a separate "stampdir". Recall that make has no way +# to know when a goal has been met for a phony target (like "build" or +# "install"). +# +# At the end of each "$(STAMP_DIR)/" target, be sure to run the command ">$@" +# so that the target will not be run again. Removing the file will make Make +# run the target over. + +# All phony targets should be declared as dependencies of .PHONY, even if they +# do not have "($STAMP_DIR)/"-prefixed counterparts. + +# Define a harmless default rule to keep things from going nuts by accident. +.PHONY: default +default: + +# Set up the $(STAMP_DIR) directory. +.PHONY: stampdir +stampdir_targets+=stampdir +stampdir: $(STAMP_DIR)/stampdir +$(STAMP_DIR)/stampdir: + mkdir $(STAMP_DIR) + >$@ + +# Set up the package build directory as quilt expects to find it. +.PHONY: prepare +stampdir_targets+=prepare +prepare: $(STAMP_DIR)/prepare +$(STAMP_DIR)/prepare: $(STAMP_DIR)/logdir $(STAMP_DIR)/genscripts + >$@ + +.PHONY: logdir +stampdir_targets+=logdir +logdir: $(STAMP_DIR)/logdir +$(STAMP_DIR)/logdir: $(STAMP_DIR)/stampdir + mkdir -p $(STAMP_DIR)/log + >$@ + +# Apply all patches to the upstream source. +.PHONY: patch +stampdir_targets+=patch +patch: $(STAMP_DIR)/patch +$(STAMP_DIR)/patch: $(STAMP_DIR)/prepare + if ! [ `which quilt` ]; then \ + echo "Couldn't find quilt. Please install it or add it to the build-depends for this package."; \ + exit 1; \ + fi; \ + if $(QUILT) next >/dev/null 2>&1; then \ + echo -n "Applying patches..."; \ + if $(QUILT) push -a -v >$(STAMP_DIR)/log/patch 2>&1; then \ + cat $(STAMP_DIR)/log/patch; \ + echo "successful."; \ + else \ + cat $(STAMP_DIR)/log/patch; \ + echo "failed! (check $(STAMP_DIR)/log/patch for details)"; \ + exit 1; \ + fi; \ + else \ + echo "No patches to apply"; \ + fi; \ + >$@ + +# Revert all patches to the upstream source. +.PHONY: unpatch +unpatch: $(STAMP_DIR)/logdir + rm -f $(STAMP_DIR)/patch + @echo -n "Unapplying patches..."; \ + if $(QUILT) applied >/dev/null 2>/dev/null; then \ + if $(QUILT) pop -a -v >$(STAMP_DIR)/log/unpatch 2>&1; then \ + cat $(STAMP_DIR)/log/unpatch; \ + echo "successful."; \ + else \ + cat $(STAMP_DIR)/log/unpatch; \ + echo "failed! (check $(STAMP_DIR)/log/unpatch for details)"; \ + exit 1; \ + fi; \ + else \ + echo "nothing to do."; \ + fi + +# Clean the generated maintainer scripts. +.PHONY: cleanscripts +cleanscripts: + rm -f $(STAMP_DIR)/genscripts + rm -f debian/*.config \ + debian/*.postinst \ + debian/*.postrm \ + debian/*.preinst \ + debian/*.prerm + +# Clean the package build tree. +.PHONY: xsfclean +xsfclean: cleanscripts unpatch + dh_testdir + rm -rf .pc + rm -rf $(STAMP_DIR) + dh_clean + +# Remove files from the upstream source tree that we don't need, or which have +# licensing problems. It must be run before creating the .orig.tar.gz. +# +# Note: This rule is for Debian package maintainers' convenience, and is not +# needed for conventional build scenarios. +.PHONY: prune-upstream-tree +prune-upstream-tree: + # Ensure we're in the correct directory. + dh_testdir + grep -rvh '^#' debian/prune/ | xargs --no-run-if-empty rm -rf + +# Verify that there are no offsets or fuzz in the patches we apply. +# +# Note: This rule is for Debian package maintainers' convenience, and is not +# needed for conventional build scenarios. +.PHONY: patch-audit +patch-audit: prepare unpatch + @echo -n "Auditing patches..."; \ + >$(STAMP_DIR)/log/patch; \ + FUZZY=; \ + while [ -n "$$($(QUILT) next)" ]; do \ + RESULT=$$($(QUILT) push -v | tee -a $(STAMP_DIR)/log/patch | grep ^Hunk | sed 's/^Hunk.*\(succeeded\|FAILED\).*/\1/');\ + case "$$RESULT" in \ + succeeded) \ + echo "fuzzy patch: $$($(QUILT) top)" \ + | tee -a $(STAMP_DIR)/log/$$($(QUILT) top); \ + FUZZY=yes; \ + ;; \ + FAILED) \ + echo "broken patch: $$($(QUILT) next)" \ + | tee -a $(STAMP_DIR)/log/$$($(QUILT) next); \ + exit 1; \ + ;; \ + esac; \ + done; \ + if [ -n "$$FUZZY" ]; then \ + echo "there were fuzzy patches; please fix."; \ + exit 1; \ + else \ + echo "done."; \ + fi + +# Generate the maintainer scripts. +.PHONY: genscripts +stampdir_targets+=genscripts +genscripts: $(STAMP_DIR)/genscripts +$(STAMP_DIR)/genscripts: $(STAMP_DIR)/stampdir + for FILE in debian/*.config.in \ + debian/*.postinst.in \ + debian/*.postrm.in \ + debian/*.preinst.in \ + debian/*.prerm.in; do \ + if [ -e "$$FILE" ]; then \ + MAINTSCRIPT=$$(echo $$FILE | sed 's/.in$$//'); \ + sed -n '1,/^#INCLUDE_SHELL_LIB#$$/p' <$$FILE \ + | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >$$MAINTSCRIPT.tmp; \ + cat debian/xsfbs/xsfbs.sh >>$$MAINTSCRIPT.tmp; \ + sed -n '/^#INCLUDE_SHELL_LIB#$$/,$$p' <$$FILE \ + | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >>$$MAINTSCRIPT.tmp; \ + sed -e 's/@SOURCE_VERSION@/$(SOURCE_VERSION)/' \ + -e 's/@OFFICIAL_BUILD@/$(OFFICIAL_BUILD)/' \ + <$$MAINTSCRIPT.tmp >$$MAINTSCRIPT; \ + rm $$MAINTSCRIPT.tmp; \ + fi; \ + done + # Validate syntax of generated shell scripts. + #sh debian/scripts/validate-posix-sh debian/*.config \ + # debian/*.postinst \ + # debian/*.postrm \ + # debian/*.preinst \ + # debian/*.prerm + >$@ + +# Compute dependencies for drivers +# +VIDEODEP = $(shell cat /usr/share/xserver-xorg/videodrvdep 2>/dev/null) +INPUTDEP = $(shell cat /usr/share/xserver-xorg/xinputdep 2>/dev/null) + +# these two can be removed post-squeeze +VIDEOABI = $(shell cat /usr/share/xserver-xorg/videoabiver 2>/dev/null) +INPUTABI = $(shell cat /usr/share/xserver-xorg/inputabiver 2>/dev/null) +VIDDRIVER_PROVIDES = xserver-xorg-video-$(VIDEOABI), xorg-driver-video +INPDRIVER_PROVIDES = xserver-xorg-input-$(INPUTABI), xorg-driver-input + +ifeq ($(PACKAGE),) +PACKAGE=$(shell awk '/^Package:/ { print $$2; exit }' < debian/control) +endif + +.PHONY: serverabi +serverabi: install +ifeq ($(VIDEODEP),) + @echo 'error: xserver-xorg-dev >= 1.7.6.901 needs to be installed' + @exit 1 +else + echo "xviddriver:Depends=$(VIDEODEP)" >> debian/$(PACKAGE).substvars + echo "xinpdriver:Depends=$(INPUTDEP)" >> debian/$(PACKAGE).substvars + # the following is there for compatibility... + echo "xviddriver:Provides=$(VIDDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars + echo "xinpdriver:Provides=$(INPDRIVER_PROVIDES)" >> debian/$(PACKAGE).substvars + echo "xserver:Depends=$(VIDEODEP), $(INPUTDEP)" >> debian/$(PACKAGE).substvars +endif + +# vim:set noet ai sts=8 sw=8 tw=0: --- xf86-input-wacom-0.10.6.orig/debian/xsfbs/repack.sh +++ xf86-input-wacom-0.10.6/debian/xsfbs/repack.sh @@ -0,0 +1,32 @@ +#!/bin/sh + +set -e + +if ! [ -d debian/prune ]; then + exit 0 +fi + +if [ "x$1" != x--upstream-version ]; then + exit 1 +fi + +version="$2" +filename="$3" + +if [ -z "$version" ] || ! [ -f "$filename" ]; then + exit 1 +fi + +dir="$(pwd)" +tempdir="$(mktemp -d)" + +cd "$tempdir" +tar xf "$dir/$filename" +cat "$dir"/debian/prune/* | while read file; do rm -f */$file; done + +tar czf "$dir/$filename" * +cd "$dir" +rm -rf "$tempdir" +echo "Done pruning upstream tarball" + +exit 0 --- xf86-input-wacom-0.10.6.orig/debian/patches/100_ntrig_2010_02_03.patch +++ xf86-input-wacom-0.10.6/debian/patches/100_ntrig_2010_02_03.patch @@ -0,0 +1,23 @@ +Index: xf86-input-wacom-0.10.6/src/wcmUSB.c +=================================================================== +--- xf86-input-wacom-0.10.6.orig/src/wcmUSB.c 2010-04-27 12:07:06.000000000 +1000 ++++ xf86-input-wacom-0.10.6/src/wcmUSB.c 2010-06-10 15:49:23.526470001 +1000 +@@ -418,7 +418,8 @@ + { 0x9A, 2540, 2540, &usbTabletPC }, /* TabletPC 0x9A */ + { 0x9F, 10, 10, &usbTabletPC }, /* CapPlus 0x9F */ + { 0xE2, 10, 10, &usbTabletPC }, /* TabletPC 0xE2 */ +- { 0xE3, 2540, 2540, &usbTabletPC } /* TabletPC 0xE3 */ ++ { 0xE3, 2540, 2540, &usbTabletPC }, /* TabletPC 0xE3 */ ++ { 0x1 , 1122, 934, &usbTabletPC } /* N-Trig TabletPC */ + }; + + static Bool usbWcmInit(LocalDevicePtr local, char* id, float *version) +@@ -436,7 +437,7 @@ + ioctl(local->fd, EVIOCGNAME(sizeof(id)), id); + + /* vendor is wacom */ +- if (sID.vendor == WACOM_VENDOR_ID) ++ if (sID.vendor == WACOM_VENDOR_ID || sID.vendor == 0x1b96) + { + for (i = 0; i < sizeof (WacomModelDesc) / sizeof (WacomModelDesc [0]); i++) + if (sID.product == WacomModelDesc [i].model_id) --- xf86-input-wacom-0.10.6.orig/debian/patches/series +++ xf86-input-wacom-0.10.6/debian/patches/series @@ -0,0 +1 @@ +100_ntrig_2010_02_03.patch