diff options
author | Thomas Raschbacher <lordvan@gentoo.org> | 2009-01-08 09:50:55 +0100 |
---|---|---|
committer | Thomas Raschbacher <lordvan@gentoo.org> | 2009-01-08 09:50:55 +0100 |
commit | 893560c19a47579e3924c2f30fb9b54017188ff4 (patch) | |
tree | 2602368ad877aff0d602caf10c72cb5004c0e98a /x11-drivers | |
parent | new manifest (diff) | |
download | lordvan-893560c19a47579e3924c2f30fb9b54017188ff4.tar.gz lordvan-893560c19a47579e3924c2f30fb9b54017188ff4.tar.bz2 lordvan-893560c19a47579e3924c2f30fb9b54017188ff4.zip |
added mhy linuxwacom rc + patches
Diffstat (limited to 'x11-drivers')
-rw-r--r-- | x11-drivers/linuxwacom/ChangeLog | 303 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/Manifest | 16 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/files/check_driver | 24 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/files/check_driver.1 | 22 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/files/linuxwacom-0.7.8-pDev.patch | 12 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/files/linuxwacom-0.8.0-xserver-xorg-input-wacom.udev | 79 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/files/linuxwacom-0.8.1-xserver-xorg-input-wacom.udev | 81 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/files/linuxwacom-0.8.1-xserver-xorg-input-wacom.udev~ | 79 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/files/xserver-xorg-input-wacom.udev | 66 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/linuxwacom-0.7.8_p3-r2.ebuild | 76 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild | 68 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/linuxwacom-0.8.0_p3-r1.ebuild | 119 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/linuxwacom-0.8.1_p4.ebuild | 119 | ||||
-rw-r--r-- | x11-drivers/linuxwacom/metadata.xml | 17 |
14 files changed, 1081 insertions, 0 deletions
diff --git a/x11-drivers/linuxwacom/ChangeLog b/x11-drivers/linuxwacom/ChangeLog new file mode 100644 index 0000000..57b89a6 --- /dev/null +++ b/x11-drivers/linuxwacom/ChangeLog @@ -0,0 +1,303 @@ +# ChangeLog for x11-drivers/linuxwacom +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/ChangeLog,v 1.26 2008/08/05 21:24:10 cardoe Exp $ + + 05 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml: + add GLEP 56 USE flag desc from use.local.desc + +*linuxwacom-0.8.0_p3-r1 (16 Jun 2008) +*linuxwacom-0.7.8_p3-r2 (16 Jun 2008) + + 16 Jun 2008; Robert Buchholz <rbu@gentoo.org> + -files/linuxwacom-0.7.9-2.6.24.patch, -files/linuxwacom-xorg71.diff, + -files/linuxwacom-0.7.9-no-tcl.patch, + +files/linuxwacom-0.8.0-xserver-xorg-input-wacom.udev, + -linuxwacom-0.7.4_p3.ebuild, -linuxwacom-0.7.8_p3-r1.ebuild, + +linuxwacom-0.7.8_p3-r2.ebuild, -linuxwacom-0.7.9_p7.ebuild, + -linuxwacom-0.8.0.ebuild, -linuxwacom-0.8.0_p3.ebuild, + +linuxwacom-0.8.0_p3-r1.ebuild: + Merge in new device IDs from Debian ruleset, and fix udev symlinking (bug + #220805). + Remove unnecessary libpixman depenency, clean up old versions. + +*linuxwacom-0.8.0_p3 (03 Jun 2008) + + 03 Jun 2008; Robert Buchholz <rbu@gentoo.org> +linuxwacom-0.8.0_p3.ebuild: + Version bump + +*linuxwacom-0.8.0 (04 May 2008) + + 04 May 2008; Mike Auty <ikelos@gentoo.org> +linuxwacom-0.8.0.ebuild: + Version bump, thanks to Andrea Franceschini (closes bug 220106). + + 24 Feb 2008; Mike Auty <ikelos@gentoo.org> linuxwacom-0.7.9_p7.ebuild: + Add warning about compiling with gcc-4.1 or lower. + + 24 Feb 2008; Donnie Berkholz <dberkholz@gentoo.org>; ChangeLog: + Update my email. + + 21 Feb 2008; Robert Buchholz <rbu@gentoo.org> linuxwacom-0.7.8_p3.ebuild, + linuxwacom-0.7.8_p3-r1.ebuild, linuxwacom-0.7.9_p7.ebuild: + Drop x11 virtual from dependencies (again). + +*linuxwacom-0.7.9_p7 (12 Feb 2008) + + 12 Feb 2008; Mike Auty <ikelos@gentoo.org> + +files/linuxwacom-0.7.9-2.6.24.patch, + +files/linuxwacom-0.7.9-no-tcl.patch, +linuxwacom-0.7.9_p7.ebuild: + Include masked linuxwacom for testing to work with 2.6.24. + +*linuxwacom-0.7.8_p3-r1 (08 Feb 2008) + + 08 Feb 2008; Robert Buchholz <rbu@gentoo.org> +files/check_driver, + +files/check_driver.1, +linuxwacom-0.7.8_p3-r1.ebuild: + Install "check_driver" to support multiple input devices via udev (bug 209263). + Enable compilation for <gcc-4 folks (bug #205139). + + 05 Feb 2008; Markus Rothe <corsair@gentoo.org> linuxwacom-0.7.8_p3.ebuild: + Stable on ppc64 + + 01 Feb 2008; Christian Faulhammer <opfer@gentoo.org> + linuxwacom-0.7.8_p3.ebuild: + stable x86, bug 208181 + + 31 Jan 2008; Robert Buchholz <rbu@gentoo.org> linuxwacom-0.7.8_p3.ebuild: + amd64 stable (bug #208181) + + 31 Jan 2008; nixnut <nixnut@gentoo.org> linuxwacom-0.7.8_p3.ebuild: + Stable on ppc wrt bug 208181 + + 04 Jan 2008; Robert Buchholz <rbu@gentoo.org> linuxwacom-0.7.8_p3.ebuild: + Split up tcltk use flag. Regressed back in from the bug's ebuild. + +*linuxwacom-0.7.8_p3 (30 Dec 2007) + + 30 Dec 2007; Robert Buchholz <rbu@gentoo.org> + +files/linuxwacom-0.7.8-pDev.patch, +files/xserver-xorg-input-wacom.udev, + metadata.xml, linuxwacom-0.7.4_p3.ebuild, +linuxwacom-0.7.8_p3.ebuild: + Version bump (bug #147537). Thanks to all the people on the bug! + Adding myself and ikelos as maintainer. + Install udev rules for tablets, see NEWS file for more. + + 22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.7.4_p3.ebuild: + Drop virtual/x11 references. + + 13 Jan 2007; Joshua Baergen <joshuabaergen@gentoo.org> + linuxwacom-0.7.4_p3.ebuild: + Split up tcltk USE-flag to tcl and tk. (Bug #17808) + + 01 Dec 2006; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml: + Typo in herd. + + 06 Sep 2006; Saleem Abdulrasool <compnerd@gentoo.org> + -files/linuxwacom-0.7.2-modular-x.patch, -linuxwacom-0.7.2.ebuild: + drop old version for gtk2->gtk with permission from joshuabergman + + 06 Sep 2006; Luis Medinas <metalgod@gentoo.org> + linuxwacom-0.7.4_p3.ebuild: + Stable on amd64. Bug #145891. + + 06 Sep 2006; Joseph Jezak <josejx@gentoo.org> linuxwacom-0.7.4_p3.ebuild: + Marked ppc stable for #145891 and compnerd. + + 03 Sep 2006; Joshua Jackson <tsunam@gentoo.org> + linuxwacom-0.7.4_p3.ebuild: + Stable x86; bug #145891 + + 02 Sep 2006; Markus Rothe <corsair@gentoo.org> linuxwacom-0.7.4_p3.ebuild: + Stable on ppc64; bug #145891 + + 28 Aug 2006; Hanno Boeck <hanno@gentoo.org> linuxwacom-0.7.4_p3.ebuild: + Remove gtk1 and fix multilib. + + 02 Jul 2006; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.6.7.ebuild, linuxwacom-0.6.8.ebuild, linuxwacom-0.6.9.ebuild, + linuxwacom-0.7.2.ebuild: + (#138641) Quote the token for has_version because it contains > (Rodrigo + Severo). + + 01 Jul 2006; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.6.7.ebuild, linuxwacom-0.6.8.ebuild, linuxwacom-0.6.9.ebuild, + linuxwacom-0.7.2.ebuild: + Apparently the boolean logic was broken for detecting 2.6 headers on 2.4 + kernels. Reported by wa1ter@myrealbox.com. + + 01 Jul 2006; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.7.2.ebuild: + ppc/ppc64 stable. + + 30 Jun 2006; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.6.7.ebuild, linuxwacom-0.6.8.ebuild, linuxwacom-0.6.9.ebuild, + linuxwacom-0.7.2.ebuild: + Only do 2.4 kernel workaround if people are actually not using a 2.6 kernel. + + 30 Jun 2006; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.6.7.ebuild, linuxwacom-0.6.8.ebuild, linuxwacom-0.6.9.ebuild, + linuxwacom-0.7.2.ebuild: + Work around 2.4 kernels by changing from a dep to checking for 2.4 + linux-headers and USE=usb. + + 30 Jun 2006; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.7.2.ebuild: + x86 stable (Second attempt). + + 30 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> + linuxwacom-0.7.2.ebuild: + Stable on amd64. + + 14 Jun 2006; Jon Hood <squinky86@gentoo.org> linuxwacom-0.7.2.ebuild: + Add multilib fixings from Malcomb Lashley <malc@gentoo.org>, #132191. + + 15 Feb 2006; Markus Rothe <corsair@gentoo.org> linuxwacom-0.7.2.ebuild: + Added ~ppc64 + + 27 Dec 2005; Bryan Stine <battousai@gentoo.org> linuxwacom-0.6.7.ebuild, + linuxwacom-0.6.8.ebuild, linuxwacom-0.6.9.ebuild, linuxwacom-0.7.2.ebuild: + Add configure option for building without Xorg SDK. Fixes bug 101674, thanks + to Andre Kloth. + +*linuxwacom-0.7.2 (27 Dec 2005) + + 27 Dec 2005; Bryan Stine <battousai@gentoo.org> + -files/linuxwacom-0.6.6-nonx86.patch, + +files/linuxwacom-0.7.2-modular-x.patch, -linuxwacom-0.6.6.ebuild, + linuxwacom-0.6.9.ebuild, +linuxwacom-0.7.2.ebuild: + Version bump to 0.7.2, expunge 0.6.6. With 0.7.2 comes modular Xorg support. + + 10 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org> + -files/linuxwacom-0.6.9-dlloader.patch, linuxwacom-0.6.9.ebuild: + Upstream included our dlloader patch but did not bump their version, so if + youu get a md5 mismatch, delete the tarball in distfiles and try again. + +*linuxwacom-0.6.9 (09 Aug 2005) + + 09 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org> + +files/linuxwacom-0.6.9-dlloader.patch, +linuxwacom-0.6.9.ebuild: + Version bump, and handle dlloader properly. Patch sent upstream. + + 26 Jul 2005; David Holm <dholm@gentoo.org> linuxwacom-0.6.8.ebuild: + Added to ~ppc. + + 22 Jul 2005; Bryan Stine <battousai@gentoo.org> + -files/linuxwacom-0.6.4-nonx86.patch, -linuxwacom-0.6.3.ebuild, + -linuxwacom-0.6.4.ebuild, linuxwacom-0.6.6.ebuild, + linuxwacom-0.6.7.ebuild, linuxwacom-0.6.8.ebuild: + Add dlloader USE flag, which installs a DSO linuxwacom Xorg driver. + Furthermore, conform to Gentoo xorg migration, /usr/X11R6 -> /usr. + +*linuxwacom-0.6.8 (07 Jun 2005) + + 07 Jun 2005; Bryan Stine <battousai@gentoo.org> linuxwacom-0.6.7.ebuild, + +linuxwacom-0.6.8.ebuild: + Version bump to 0.6.8. Marked 0.6.7 x86 stable. Closes bug #94912. + + 25 Apr 2005; Donnie Berkholz <dberkholz@gentoo.org>; metadata.xml: + Update herd to x11-drivers. + + 19 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org> + linuxwacom-0.6.7.ebuild: + Require 2.6 headers if we want to use a USB wacom device. See bug #80992. + +*linuxwacom-0.6.7 (18 Apr 2005) + + 18 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org> + +linuxwacom-0.6.7.ebuild: + Version bump for working amd64 drivers. + + 14 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org> + linuxwacom-0.6.6.ebuild: + --enable-xserver64 on amd64. + + 08 Feb 2005; Bryan Stine <battousai@gentoo.org> -linuxwacom-0.6.2.ebuild, + linuxwacom-0.6.4.ebuild, linuxwacom-0.6.6.ebuild: + Relibtoolize to fix inconsistency with new libtool 1.5.10. Fixes bug #80856. + + 31 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org> + linuxwacom-0.6.4.ebuild, linuxwacom-0.6.6.ebuild: + Works with /usr/libdir xorg-x11 installs now. + +*linuxwacom-0.6.6 (31 Dec 2004) + + 31 Dec 2004; Bryan Stine <battousai@gentoo.org> + +files/linuxwacom-0.6.6-nonx86.patch, +linuxwacom-0.6.6.ebuild: + Version bump to 0.6.6. This one needs ARCH unset before emake for the kernel + Makefiles, regardless of whether they get built. Thanks to roger (bug + #76253) for the update and error report. This closes aforementioned bug. + + 24 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org> + linuxwacom-0.6.4.ebuild: + Removing ~amd64 because of some problems I'm seeing with my intuos2 and + xorg-x11-6.8.0 + + 18 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org> + +files/linuxwacom-0.6.4-nonx86.patch, linuxwacom-0.6.4.ebuild: + Added to ~amd64. + +*linuxwacom-0.6.4 (24 Oct 2004) + + 24 Oct 2004; Bryan Stine <battousai@gentoo.org> +linuxwacom-0.6.4.ebuild: + Version bump to 0.6.4. Closes bug #67035. + + 03 Oct 2004; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.6.2.ebuild, linuxwacom-0.6.3.ebuild: + Update logic to consider that the sdk USE flag may be set without xfree or + xorg-x11 installed. + + 03 Oct 2004; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.6.2.ebuild, linuxwacom-0.6.3.ebuild: + Update dep from temporary hack to virtual/x11. + + 28 Jun 2004; Aron Griffis <agriffis@gentoo.org> linuxwacom-0.6.2.ebuild, + linuxwacom-0.6.3.ebuild: + add sed-4 dep + + 23 Jun 2004; Aron Griffis <agriffis@gentoo.org> linuxwacom-0.6.2.ebuild, + linuxwacom-0.6.3.ebuild: + QA - fix use invocation + + 11 Jun 2004; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.6.2.ebuild, linuxwacom-0.6.3.ebuild: + xfree -r6 became -r7. + + 09 Jun 2004; Bryan Stine <battousai@gentoo.org>; linuxwacom-0.6.0.ebuild, + linuxwacom-0.6.2.ebuild, linuxwacom-0.6.3.ebuild: + Added support for USE=sdk flag. When enabled, it will build the X drivers as + it normally did before. When disabled, it will build only the userland tools. + This makes the package more flexible for those who wish to keep the stock X + driver. Thanks to Scott W. Taylor <swtaylor@gentoo.org> for this concept and + related code. Furthermore, linuxwacom-0.6.0 has been clean out. + +*linuxwacom-0.6.3 (06 Jun 2004) + + 06 Jun 2004; Bryan Stine <battousai@gentoo.org>; linuxwacom-0.6.3.ebuild: + Bump to version 0.6.3. Closes #53109, thanks to Lee Trager + <nukem@users.xeroprj.org>. + + 10 May 2004; Bryan Stine <battousai@gentoo.org>; linuxwacom-0.6.2.ebuild: + Got rid of the ? : DEPEND syntax, it's deprecated. Also added a plus to the + !gtk2 DEPEND for gtk+-1.2. Thanks to Mr. Bones for the QA. + + 10 May 2004; Bryan Stine <battousai@gentoo.org>; linuxwacom-0.6.2.ebuild: + Patched ebuild. Also, pedantic spacing fixes. Thanks to Torne Wuff for the + added functionality. + +*linuxwacom-0.6.2 (10 May 2004) + + 10 May 2004; Bryan Stine <battousai@gentoo.org>; linuxwacom-0.6.2.ebuild: + Version bump, fixes bug 49862. + + 07 Apr 2004; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.6.0.ebuild: + Missing space in DEPEND. + + 07 Apr 2004; Donnie Berkholz <dberkholz@gentoo.org>; + linuxwacom-0.6.0.ebuild: + Add xorg-x11 to possible. + +*linuxwacom-0.6.0 (19 Feb 2004) + + 19 Feb 2004; Bryan Stine <battousai@gentoo.org>; linuxwacom-0.6.0.ebuild: + Initial import. Builds against the SDK, and replaces the driver distributed + with xfree. + diff --git a/x11-drivers/linuxwacom/Manifest b/x11-drivers/linuxwacom/Manifest new file mode 100644 index 0000000..edc0d93 --- /dev/null +++ b/x11-drivers/linuxwacom/Manifest @@ -0,0 +1,16 @@ +AUX check_driver 499 RMD160 298507626fa8bb20df0d5d1404002133ef1e4c41 SHA1 12ae37807a03f36be2c5cc47e444475677b41693 SHA256 45331d948e1d37141a56258510d6ff708092f70181e83348eb66eef005878069 +AUX check_driver.1 750 RMD160 9ebe8e30ce2cb83ca3245ba29d19b06e81181651 SHA1 4d6fba491df26709b821184f9e011568eaaaebde SHA256 67bf1469f122830d9e99cbd8762e61f682c9a831577fde29af8ef1ab0440d024 +AUX linuxwacom-0.7.8-pDev.patch 483 RMD160 baae89684fe5abe060ffa358dc21fb48e18c7ab3 SHA1 d2e548febac0cfef42d5021f77bb51cb44842e6a SHA256 207516fdce407efc8d635b143a2774dd9ebbe53565e32e55af6e4a2f22f810dd +AUX linuxwacom-0.8.0-xserver-xorg-input-wacom.udev 6662 RMD160 d6fc525412368c8a57165f0e938863fa85e8b331 SHA1 8c81b406d8bc2cbb818035d96d9563b49358e24f SHA256 d33255d15a991167ac21930606bb32e6818afbdf46de360e6a3fe0f52fbc70c0 +AUX linuxwacom-0.8.1-xserver-xorg-input-wacom.udev 6875 RMD160 793ccd4d8b56a3bc72ff3ef73fc76592959d7bfb SHA1 49034d22f3e334dcf143f8e3b368d5fc38b15448 SHA256 a6c297fdf68817876f0293550d4e89a1e3e812fded9984a0f0b544b2f12537bc +AUX linuxwacom-0.8.1-xserver-xorg-input-wacom.udev~ 6662 RMD160 d6fc525412368c8a57165f0e938863fa85e8b331 SHA1 8c81b406d8bc2cbb818035d96d9563b49358e24f SHA256 d33255d15a991167ac21930606bb32e6818afbdf46de360e6a3fe0f52fbc70c0 +AUX xserver-xorg-input-wacom.udev 5716 RMD160 60d36d0bf0e4acf8d5caea34d76db74d8a946d8d SHA1 45f406b7c917a1e8af9994743d4b0626f5f6beb5 SHA256 226805c56b56e4141c33f105204c347b2b68eb6590dc9b5d59c043f49279feb1 +DIST linuxwacom-0.7.8-3.tar.bz2 1002452 RMD160 5b6b614dfd2b3de562457676013b4972de1bfa81 SHA1 6bd3d6aa0a4d43a9ea6d1da02c720aa7e694da6a SHA256 ac6a3ab94cf4b306e5823eca33fe84f9b4e8c743201e220a17a3ec4fe3bd3cac +DIST linuxwacom-0.8.0-3.tar.bz2 977383 RMD160 af084f82d852ee8c94cb9fe7f5c67238d66698b1 SHA1 17a6e10fc7f8f220de03b63d18c65bc1f5a224d2 SHA256 1bb10ec8a8537859874e239c2b7fa07fbfe599b056678afd9dbcc0fd47c43396 +DIST linuxwacom-0.8.1-4.tar.bz2 1211814 RMD160 abc46f9825cdba9da3477a1cde6ff43574db341e SHA1 2a711f1fded155babe93e660e3dfea623ea60f94 SHA256 362b1308c5ad2c7d743a16eab08e21a1161731e481d646552a7a4d6eb70676ee +EBUILD linuxwacom-0.7.8_p3-r2.ebuild 1799 RMD160 2504ff7b547beaa32f7fa15bfe33061d20bca050 SHA1 8ae2193abd24447d9616287f8575c023387d25fa SHA256 80d343c6c5267a0239e0afc57c60b151d815c24b2d8cee7ed265a2966b27f126 +EBUILD linuxwacom-0.7.8_p3.ebuild 1546 RMD160 b210736f0026e4512d767724dc74a062d45b017d SHA1 6eeee50fbe3e0f2b5158800f89ef4dc8337a87b5 SHA256 2e8746c1be31637d905332a0d06f70a0af472aa9f5052d7c23870420b837b23d +EBUILD linuxwacom-0.8.0_p3-r1.ebuild 3128 RMD160 ba6178ad97c2bf954b2a0eabcfa4dcb811753c29 SHA1 136b76a890c2f957a481c92fd7079606185f967b SHA256 a8e0c66ba65687efc2744b7d104640c00a67b09939c06385151b5c6848b7d60e +EBUILD linuxwacom-0.8.1_p4.ebuild 3128 RMD160 ba6178ad97c2bf954b2a0eabcfa4dcb811753c29 SHA1 136b76a890c2f957a481c92fd7079606185f967b SHA256 a8e0c66ba65687efc2744b7d104640c00a67b09939c06385151b5c6848b7d60e +MISC ChangeLog 11782 RMD160 479e5f9a655942cda37717696570337a725052d1 SHA1 4b665c8b7a8d93c90f6793b1465cd2d1fc491de4 SHA256 9c9933138b56075d8c65d1dc87773680291ae87564151226a40870de2cf2b8a1 +MISC metadata.xml 532 RMD160 bbc7a2fba8df7eb8d52f35116f79eae6d25c5441 SHA1 e69eb5e71257a9147283e1403b7b43c5e46cc26f SHA256 bd6e67fdf43736a027a9d436ab98a36f5cc5a059bdd2f5f19538666ba389a7df diff --git a/x11-drivers/linuxwacom/files/check_driver b/x11-drivers/linuxwacom/files/check_driver new file mode 100644 index 0000000..6e49aa1 --- /dev/null +++ b/x11-drivers/linuxwacom/files/check_driver @@ -0,0 +1,24 @@ +#!/bin/sh +# + +#logger check_driver called with: $1 - $2 - $3 - + +wanted=$1 +devpath=$2 +bustype=$3 + +device=$(readlink /sys/$devpath/device) +device=${device##*/} +driver=$(readlink /sys/$devpath/device/driver) +driver=${driver##*/} + +logger device $device is bound to the $driver driver + +if [ "$driver" != "$wanted" ]; then + logger must rebind + echo -n "$device" > /sys/$devpath/device/driver/unbind + echo -n "$device" > /sys/bus/$bustype/drivers/$wanted/bind +else + logger no need to rebind +fi + diff --git a/x11-drivers/linuxwacom/files/check_driver.1 b/x11-drivers/linuxwacom/files/check_driver.1 new file mode 100644 index 0000000..cf3a5f9 --- /dev/null +++ b/x11-drivers/linuxwacom/files/check_driver.1 @@ -0,0 +1,22 @@ +.TH wacom\-tools 1 "5 Nov 2004" "Debian GNU/Linux" "Debian" +.SH NAME +check_driver \- Linux 2.6(.16+) userspace device rebinding helper. + +.SH SYNOPSIS +.B check_driver driver devpath bustype + +.SH DESCRIPTION +This is a \fBRUN\fP script that may be invoked from a udev rule to ensure the +correct driver is bound to a particular device, in situations where a +basic driver may bind to it first but a more specialised one is available. + +.SH EXAMPLE +For the wacom device, a rule like this is used: + +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}" + +.SH COPYRIGHT +2006, Ron Lee <ron@debian.org>. Created for the Debian GNU/Linux +distribution. It may be freely distributed elsewhere. + + diff --git a/x11-drivers/linuxwacom/files/linuxwacom-0.7.8-pDev.patch b/x11-drivers/linuxwacom/files/linuxwacom-0.7.8-pDev.patch new file mode 100644 index 0000000..9591e4e --- /dev/null +++ b/x11-drivers/linuxwacom/files/linuxwacom-0.7.8-pDev.patch @@ -0,0 +1,12 @@ +diff -Naur tmp-old/src/xdrv/wcmCommon.c tmp-new/src/xdrv/wcmCommon.c +--- src/xdrv/wcmCommon.c 2007-09-16 19:57:42.000000000 +0000 ++++ src/xdrv/wcmCommon.c 2007-09-16 20:39:26.000000000 +0000 +@@ -1096,7 +1096,7 @@ + #if defined WCM_XFREE86 || GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 + if (!miPointerCurrentScreen()) + #else +- if (!miPointerGetScreen(pDev->dev)) ++ if (!miPointerGetScreen(common->wcmDevices->local->dev)) + #endif + { + DBG(1, common->debugLevel, ErrorF("xf86WcmEvent: " diff --git a/x11-drivers/linuxwacom/files/linuxwacom-0.8.0-xserver-xorg-input-wacom.udev b/x11-drivers/linuxwacom/files/linuxwacom-0.8.0-xserver-xorg-input-wacom.udev new file mode 100644 index 0000000..5b58a70 --- /dev/null +++ b/x11-drivers/linuxwacom/files/linuxwacom-0.8.0-xserver-xorg-input-wacom.udev @@ -0,0 +1,79 @@ +# 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 <ron@debian.org> so that we can try +# to present users with with a standard set of device nodes +# which they can rely on across the board. + +# Convenience link for the common case of a single tablet. +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", SYMLINK+="input/wacom" + +# You probably won't need this IMPORT rule, since an earlier file is +# likely to have already done it, but the rule that follows it does +# depend on that having happened to set ID_PATH. +# IMPORT{program}="path_id %p" + +# Port specific link for users of multiple tablets of the same type. +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ENV{ID_PATH}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-wacom" + +# 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 types though, just pick your links from the +# list below. +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0000", SYMLINK+="input/tablet-penpartner" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0010", SYMLINK+="input/tablet-graphire" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0011", SYMLINK+="input/tablet-graphire2-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0012", SYMLINK+="input/tablet-graphire2-5x7" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0013", SYMLINK+="input/tablet-graphire3" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0014", SYMLINK+="input/tablet-graphire3-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0015", SYMLINK+="input/tablet-graphire4-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0016", SYMLINK+="input/tablet-graphire4-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0060", SYMLINK+="input/tablet-volito" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0061", SYMLINK+="input/tablet-penstation2" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0062", SYMLINK+="input/tablet-volito2-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0063", SYMLINK+="input/tablet-volito2-2x3" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0064", SYMLINK+="input/tablet-penpartner2" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0020", SYMLINK+="input/tablet-intuos-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0021", SYMLINK+="input/tablet-intuos-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0022", SYMLINK+="input/tablet-intuos-9x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0023", SYMLINK+="input/tablet-intuos-12x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0024", SYMLINK+="input/tablet-intuos-12x18" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0030", SYMLINK+="input/tablet-pl400" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0031", SYMLINK+="input/tablet-pl500" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0032", SYMLINK+="input/tablet-pl600" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0033", SYMLINK+="input/tablet-pl600sx" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0034", SYMLINK+="input/tablet-pl550" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0035", SYMLINK+="input/tablet-pl800" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0037", SYMLINK+="input/tablet-pl700" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0038", SYMLINK+="input/tablet-pl510" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0039", SYMLINK+="input/tablet-dtu710" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c0", SYMLINK+="input/tablet-dtf521" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c4", SYMLINK+="input/tablet-dtf720" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0003", SYMLINK+="input/tablet-cintiq_partner" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0041", SYMLINK+="input/tablet-intuos2-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0042", SYMLINK+="input/tablet-intuos2-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0043", SYMLINK+="input/tablet-intuos2-9x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0044", SYMLINK+="input/tablet-intuos2-12x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0045", SYMLINK+="input/tablet-intuos2-12x18" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b0", SYMLINK+="input/tablet-intuos3-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b1", SYMLINK+="input/tablet-intuos3-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b2", SYMLINK+="input/tablet-intuos3-9x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b3", SYMLINK+="input/tablet-intuos3-12x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b4", SYMLINK+="input/tablet-intuos3-12x19" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b5", SYMLINK+="input/tablet-intuos3-6x11" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="003f", SYMLINK+="input/tablet-cintiq21ux" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0047", SYMLINK+="input/tablet-intuos2-6x8a" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0065", SYMLINK+="input/tablet-bamboo" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c6", SYMLINK+="input/tablet-cintiq12wx" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0017", SYMLINK+="input/tablet-bamboofun-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0018", SYMLINK+="input/tablet-bamboofun-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0069", SYMLINK+="input/tablet-bamboo1" + +# Check and repossess the device if a module other than the wacom one +# is already bound to it. + +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}" + diff --git a/x11-drivers/linuxwacom/files/linuxwacom-0.8.1-xserver-xorg-input-wacom.udev b/x11-drivers/linuxwacom/files/linuxwacom-0.8.1-xserver-xorg-input-wacom.udev new file mode 100644 index 0000000..dedf795 --- /dev/null +++ b/x11-drivers/linuxwacom/files/linuxwacom-0.8.1-xserver-xorg-input-wacom.udev @@ -0,0 +1,81 @@ +# 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 <ron@debian.org> so that we can try +# to present users with with a standard set of device nodes +# which they can rely on across the board. + +# Convenience link for the common case of a single tablet. +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", SYMLINK+="input/wacom" + +# You probably won't need this IMPORT rule, since an earlier file is +# likely to have already done it, but the rule that follows it does +# depend on that having happened to set ID_PATH. +# IMPORT{program}="path_id %p" + +# Port specific link for users of multiple tablets of the same type. +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ENV{ID_PATH}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-wacom" + +# 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 types though, just pick your links from the +# list below. +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0000", SYMLINK+="input/tablet-penpartner" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0010", SYMLINK+="input/tablet-graphire" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0011", SYMLINK+="input/tablet-graphire2-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0012", SYMLINK+="input/tablet-graphire2-5x7" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0013", SYMLINK+="input/tablet-graphire3" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0014", SYMLINK+="input/tablet-graphire3-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0015", SYMLINK+="input/tablet-graphire4-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0016", SYMLINK+="input/tablet-graphire4-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0060", SYMLINK+="input/tablet-volito" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0061", SYMLINK+="input/tablet-penstation2" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0062", SYMLINK+="input/tablet-volito2-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0063", SYMLINK+="input/tablet-volito2-2x3" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0064", SYMLINK+="input/tablet-penpartner2" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0020", SYMLINK+="input/tablet-intuos-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0021", SYMLINK+="input/tablet-intuos-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0022", SYMLINK+="input/tablet-intuos-9x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0023", SYMLINK+="input/tablet-intuos-12x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0024", SYMLINK+="input/tablet-intuos-12x18" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0030", SYMLINK+="input/tablet-pl400" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0031", SYMLINK+="input/tablet-pl500" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0032", SYMLINK+="input/tablet-pl600" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0033", SYMLINK+="input/tablet-pl600sx" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0034", SYMLINK+="input/tablet-pl550" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0035", SYMLINK+="input/tablet-pl800" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0037", SYMLINK+="input/tablet-pl700" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0038", SYMLINK+="input/tablet-pl510" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0039", SYMLINK+="input/tablet-dtu710" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c0", SYMLINK+="input/tablet-dtf521" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c4", SYMLINK+="input/tablet-dtf720" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0003", SYMLINK+="input/tablet-cintiq_partner" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0041", SYMLINK+="input/tablet-intuos2-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0042", SYMLINK+="input/tablet-intuos2-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0043", SYMLINK+="input/tablet-intuos2-9x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0044", SYMLINK+="input/tablet-intuos2-12x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0045", SYMLINK+="input/tablet-intuos2-12x18" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b0", SYMLINK+="input/tablet-intuos3-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b1", SYMLINK+="input/tablet-intuos3-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b2", SYMLINK+="input/tablet-intuos3-9x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b3", SYMLINK+="input/tablet-intuos3-12x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b4", SYMLINK+="input/tablet-intuos3-12x19" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b5", SYMLINK+="input/tablet-intuos3-6x11" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="003f", SYMLINK+="input/tablet-cintiq21ux" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0047", SYMLINK+="input/tablet-intuos2-6x8a" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0065", SYMLINK+="input/tablet-bamboo" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c6", SYMLINK+="input/tablet-cintiq12wx" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0017", SYMLINK+="input/tablet-bamboofun-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0018", SYMLINK+="input/tablet-bamboofun-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0069", SYMLINK+="input/tablet-bamboo1" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0090", SYMLINK+="input/tabletPC-stylus" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0093", SYMLINK+="input/tabletPC-touch" + +# Check and repossess the device if a module other than the wacom one +# is already bound to it. + +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}" + diff --git a/x11-drivers/linuxwacom/files/linuxwacom-0.8.1-xserver-xorg-input-wacom.udev~ b/x11-drivers/linuxwacom/files/linuxwacom-0.8.1-xserver-xorg-input-wacom.udev~ new file mode 100644 index 0000000..5b58a70 --- /dev/null +++ b/x11-drivers/linuxwacom/files/linuxwacom-0.8.1-xserver-xorg-input-wacom.udev~ @@ -0,0 +1,79 @@ +# 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 <ron@debian.org> so that we can try +# to present users with with a standard set of device nodes +# which they can rely on across the board. + +# Convenience link for the common case of a single tablet. +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", SYMLINK+="input/wacom" + +# You probably won't need this IMPORT rule, since an earlier file is +# likely to have already done it, but the rule that follows it does +# depend on that having happened to set ID_PATH. +# IMPORT{program}="path_id %p" + +# Port specific link for users of multiple tablets of the same type. +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ENV{ID_PATH}=="?*", SYMLINK+="input/by-path/$env{ID_PATH}-wacom" + +# 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 types though, just pick your links from the +# list below. +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0000", SYMLINK+="input/tablet-penpartner" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0010", SYMLINK+="input/tablet-graphire" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0011", SYMLINK+="input/tablet-graphire2-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0012", SYMLINK+="input/tablet-graphire2-5x7" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0013", SYMLINK+="input/tablet-graphire3" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0014", SYMLINK+="input/tablet-graphire3-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0015", SYMLINK+="input/tablet-graphire4-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0016", SYMLINK+="input/tablet-graphire4-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0060", SYMLINK+="input/tablet-volito" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0061", SYMLINK+="input/tablet-penstation2" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0062", SYMLINK+="input/tablet-volito2-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0063", SYMLINK+="input/tablet-volito2-2x3" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0064", SYMLINK+="input/tablet-penpartner2" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0020", SYMLINK+="input/tablet-intuos-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0021", SYMLINK+="input/tablet-intuos-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0022", SYMLINK+="input/tablet-intuos-9x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0023", SYMLINK+="input/tablet-intuos-12x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0024", SYMLINK+="input/tablet-intuos-12x18" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0030", SYMLINK+="input/tablet-pl400" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0031", SYMLINK+="input/tablet-pl500" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0032", SYMLINK+="input/tablet-pl600" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0033", SYMLINK+="input/tablet-pl600sx" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0034", SYMLINK+="input/tablet-pl550" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0035", SYMLINK+="input/tablet-pl800" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0037", SYMLINK+="input/tablet-pl700" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0038", SYMLINK+="input/tablet-pl510" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0039", SYMLINK+="input/tablet-dtu710" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c0", SYMLINK+="input/tablet-dtf521" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c4", SYMLINK+="input/tablet-dtf720" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0003", SYMLINK+="input/tablet-cintiq_partner" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0041", SYMLINK+="input/tablet-intuos2-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0042", SYMLINK+="input/tablet-intuos2-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0043", SYMLINK+="input/tablet-intuos2-9x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0044", SYMLINK+="input/tablet-intuos2-12x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0045", SYMLINK+="input/tablet-intuos2-12x18" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b0", SYMLINK+="input/tablet-intuos3-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b1", SYMLINK+="input/tablet-intuos3-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b2", SYMLINK+="input/tablet-intuos3-9x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b3", SYMLINK+="input/tablet-intuos3-12x12" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b4", SYMLINK+="input/tablet-intuos3-12x19" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00b5", SYMLINK+="input/tablet-intuos3-6x11" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="003f", SYMLINK+="input/tablet-cintiq21ux" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0047", SYMLINK+="input/tablet-intuos2-6x8a" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0065", SYMLINK+="input/tablet-bamboo" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="00c6", SYMLINK+="input/tablet-cintiq12wx" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0017", SYMLINK+="input/tablet-bamboofun-4x5" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0018", SYMLINK+="input/tablet-bamboofun-6x8" +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ATTRS{idProduct}=="0069", SYMLINK+="input/tablet-bamboo1" + +# Check and repossess the device if a module other than the wacom one +# is already bound to it. + +KERNEL=="event[0-9]*", ATTRS{idVendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}" + diff --git a/x11-drivers/linuxwacom/files/xserver-xorg-input-wacom.udev b/x11-drivers/linuxwacom/files/xserver-xorg-input-wacom.udev new file mode 100644 index 0000000..0d5ac08 --- /dev/null +++ b/x11-drivers/linuxwacom/files/xserver-xorg-input-wacom.udev @@ -0,0 +1,66 @@ +# 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 <ron@debian.org> so that we can try +# to present users with with a standard set of device nodes +# which they can rely on across the board. + +# Convenience link for the common case of a single tablet. +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYMLINK="input/wacom" + +# 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 types though, just pick your links from the +# list below. +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0000", SYMLINK+="input/tablet-penpartner" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0010", SYMLINK+="input/tablet-graphire" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0011", SYMLINK+="input/tablet-graphire2-4x5" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0012", SYMLINK+="input/tablet-graphire2-5x7" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0013", SYMLINK+="input/tablet-graphire3" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0014", SYMLINK+="input/tablet-graphire3-6x8" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0015", SYMLINK+="input/tablet-graphire4-4x5" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0016", SYMLINK+="input/tablet-graphire4-6x8" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0060", SYMLINK+="input/tablet-volito" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0061", SYMLINK+="input/tablet-penstation2" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0062", SYMLINK+="input/tablet-volito2-4x5" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0063", SYMLINK+="input/tablet-volito2-2x3" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0064", SYMLINK+="input/tablet-penpartner2" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0020", SYMLINK+="input/tablet-intuos-4x5" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0021", SYMLINK+="input/tablet-intuos-6x8" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0022", SYMLINK+="input/tablet-intuos-9x12" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0023", SYMLINK+="input/tablet-intuos-12x12" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0024", SYMLINK+="input/tablet-intuos-12x18" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0030", SYMLINK+="input/tablet-pl400" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0031", SYMLINK+="input/tablet-pl500" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0032", SYMLINK+="input/tablet-pl600" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0033", SYMLINK+="input/tablet-pl600sx" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0034", SYMLINK+="input/tablet-pl550" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0035", SYMLINK+="input/tablet-pl800" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0037", SYMLINK+="input/tablet-pl700" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0038", SYMLINK+="input/tablet-pl510" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0039", SYMLINK+="input/tablet-dtu710" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="00C0", SYMLINK+="input/tablet-dtf521" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="00C4", SYMLINK+="input/tablet-dtf720" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0003", SYMLINK+="input/tablet-cintiq_partner" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0041", SYMLINK+="input/tablet-intuos2-4x5" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0042", SYMLINK+="input/tablet-intuos2-6x8" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0043", SYMLINK+="input/tablet-intuos2-9x12" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0044", SYMLINK+="input/tablet-intuos2-12x12" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0045", SYMLINK+="input/tablet-intuos2-12x18" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="00B0", SYMLINK+="input/tablet-intuos3-4x5" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="00B1", SYMLINK+="input/tablet-intuos3-6x8" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="00B2", SYMLINK+="input/tablet-intuos3-9x12" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="00B3", SYMLINK+="input/tablet-intuos3-12x12" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="00B4", SYMLINK+="input/tablet-intuos3-12x19" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="00B5", SYMLINK+="input/tablet-intuos3-6x11" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="003F", SYMLINK+="input/tablet-cintiq21ux" +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", SYSFS{idProduct}=="0047", SYMLINK+="input/tablet-intuos2-6x8a" + +# Check and repossess the device if a module other than the wacom one +# is already bound to it. + +KERNEL=="event[0-9]*", SYSFS{idVendor}=="056a", ACTION=="add", RUN+="/lib/udev/check_driver wacom $devpath $env{ID_BUS}" + diff --git a/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3-r2.ebuild b/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3-r2.ebuild new file mode 100644 index 0000000..7968bc3 --- /dev/null +++ b/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3-r2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3-r2.ebuild,v 1.1 2008/06/16 08:12:51 rbu Exp $ + +inherit eutils autotools toolchain-funcs + +DESCRIPTION="Input driver for Wacom tablets and drawing devices" +HOMEPAGE="http://linuxwacom.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P/_p/-}.tar.bz2" + +IUSE="gtk tcl tk usb" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND="x11-proto/inputproto + x11-base/xorg-server + gtk? ( >=x11-libs/gtk+-2 ) + tcl? ( dev-lang/tcl ) + tk? ( dev-lang/tk ) + sys-fs/udev + sys-libs/ncurses" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + usb? ( >=sys-kernel/linux-headers-2.6 )" +S=${WORKDIR}/${P/_p/-} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix multilib-strict error for Tcl/Tk library install + sed -i -e "s:WCM_EXECDIR/lib:WCM_EXECDIR/$(get_libdir):" configure.in + + # Remove warning parameters for gcc < 4, bug 205139 + if [[ $(gcc-major-version) -lt 4 ]]; then + sed -i -e "s:-Wno-variadic-macros::" src/xdrv/Makefile.am + fi + + epatch "${FILESDIR}"/${P%_p*}-pDev.patch + + eautoreconf +} + +src_compile() { + if use gtk; then + myconf="--with-gtk=2.0" + else + myconf="--with-gtk=no" + fi + + econf ${myconf} \ + $(use_with tcl tcl) \ + $(use_with tk tk) \ + --enable-wacomdrv --enable-wacdump \ + --enable-xsetwacom --enable-dlloader || die "econf failed" + + unset ARCH + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed." + + insinto /etc/udev/rules.d/ + newins "${FILESDIR}"/xserver-xorg-input-wacom.udev 60-wacom.rules + + exeinto /lib/udev/ + doexe "${FILESDIR}"/check_driver + doman "${FILESDIR}"/check_driver.1 + + dohtml -r docs/* + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild b/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild new file mode 100644 index 0000000..eb3e69c --- /dev/null +++ b/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.7.8_p3.ebuild,v 1.7 2008/02/21 12:57:38 rbu Exp $ + +inherit eutils autotools + +DESCRIPTION="Input driver for Wacom tablets and drawing devices" +HOMEPAGE="http://linuxwacom.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P/_p/-}.tar.bz2" + +IUSE="gtk tcl tk usb" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" + +RDEPEND="x11-proto/inputproto + x11-base/xorg-server + media-libs/libpixman + gtk? ( >=x11-libs/gtk+-2 ) + tcl? ( dev-lang/tcl ) + tk? ( dev-lang/tk ) + sys-fs/udev + sys-libs/ncurses" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + usb? ( >=sys-kernel/linux-headers-2.6 )" +S=${WORKDIR}/${P/_p/-} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix multilib-strict error for Tcl/Tk library install + sed -i -e "s:WCM_EXECDIR/lib:WCM_EXECDIR/$(get_libdir):" configure.in + + epatch "${FILESDIR}"/${P%_p*}-pDev.patch + + eautoreconf +} + +src_compile() { + if use gtk; then + myconf="--with-gtk=2.0" + else + myconf="--with-gtk=no" + fi + + econf ${myconf} \ + $(use_with tcl tcl) \ + $(use_with tk tk) \ + --enable-wacomdrv --enable-wacdump \ + --enable-xsetwacom --enable-dlloader || die "econf failed" + + unset ARCH + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed." + + insinto /etc/udev/rules.d/ + newins "${FILESDIR}"/xserver-xorg-input-wacom.udev 60-wacom.rules + + dohtml -r docs/* + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/x11-drivers/linuxwacom/linuxwacom-0.8.0_p3-r1.ebuild b/x11-drivers/linuxwacom/linuxwacom-0.8.0_p3-r1.ebuild new file mode 100644 index 0000000..f286a65 --- /dev/null +++ b/x11-drivers/linuxwacom/linuxwacom-0.8.0_p3-r1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.0_p3-r1.ebuild,v 1.1 2008/06/16 08:12:51 rbu Exp $ + +inherit eutils autotools toolchain-funcs linux-mod + +DESCRIPTION="Input driver for Wacom tablets and drawing devices" +HOMEPAGE="http://linuxwacom.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P/_p/-}.tar.bz2" + +IUSE="gtk tcl tk usb module" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND="x11-proto/inputproto + x11-base/xorg-server + gtk? ( >=x11-libs/gtk+-2 ) + tcl? ( dev-lang/tcl ) + tk? ( dev-lang/tk ) + sys-fs/udev + sys-libs/ncurses" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + usb? ( >=sys-kernel/linux-headers-2.6 )" +S=${WORKDIR}/${P/_p/-} + +MODULE_NAMES="wacom(input:${S}/src:${S}/src)" + +wacom_check() { + if use module ; then + ebegin "Checking for wacom module" + linux_chkconfig_module TABLET_USB_WACOM + eend $? + + if [[ $? -ne 0 ]] || ! [ -f "/lib/modules/${KV}/kernel/drivers/input/tablet/wacom.ko" ]; then + eerror "You need to have your kernel compiled with wacom as a module" + eerror "to let linuxwacom overwrite it." + eerror "Enable it in the kernel, found at:" + eerror + eerror " Device Drivers" + eerror " Input device support" + eerror " Tablets" + eerror " <M> Wacom Intuos/Graphire tablet support (USB)" + eerror + eerror "(in the "USB support" page it is suggested to include also:" + eerror "EHCI , OHCI , USB Human Interface Device+HID input layer)" + eerror + eerror "Then recompile kernel. Otherwise, remove the module USE flag." + die "Wacom not compiled in kernel as a module!" + fi + fi +} + +pkg_setup() { + linux-mod_pkg_setup + # echo "kernel version is ${KV} , name is ${KV%%-*}" + ewarn "Versions of linuxwacom >= 0.7.9 require gcc >= 4.2 to compile." + wacom_check +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix multilib-strict error for Tcl/Tk library install + sed -i -e "s:WCM_EXECDIR/lib:WCM_EXECDIR/$(get_libdir):" configure.in + + # Remove warning parameters for gcc < 4, bug 205139 + if [[ $(gcc-major-version) -lt 4 ]]; then + sed -i -e "s:-Wno-variadic-macros::" src/xdrv/Makefile.am + fi + + eautoreconf +} + +src_compile() { + if use gtk; then + myconf="--with-gtk=2.0" + else + myconf="--with-gtk=no" + fi + + if use module; then + myconf="${myconf} --enable-wacom" + myconf="${myconf} --with-kernel=${KV_OUT_DIR}" + fi + + econf ${myconf} \ + $(use_with tcl tcl) \ + $(use_with tk tk) \ + --enable-wacomdrv --enable-wacdump \ + --enable-xsetwacom --enable-dlloader || die "econf failed" + + unset ARCH + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed." + + # Inelegant attempt to work around a nasty build system + if use module; then + cp "${S}"/src/*/wacom.{o,ko} "${S}"/src/ + linux-mod_src_install + fi + + insinto /etc/udev/rules.d/ + newins "${FILESDIR}"/${P%_p*}-xserver-xorg-input-wacom.udev 60-wacom.rules + + exeinto /lib/udev/ + doexe "${FILESDIR}"/check_driver + doman "${FILESDIR}"/check_driver.1 + + dohtml -r docs/* + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/x11-drivers/linuxwacom/linuxwacom-0.8.1_p4.ebuild b/x11-drivers/linuxwacom/linuxwacom-0.8.1_p4.ebuild new file mode 100644 index 0000000..f286a65 --- /dev/null +++ b/x11-drivers/linuxwacom/linuxwacom-0.8.1_p4.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.0_p3-r1.ebuild,v 1.1 2008/06/16 08:12:51 rbu Exp $ + +inherit eutils autotools toolchain-funcs linux-mod + +DESCRIPTION="Input driver for Wacom tablets and drawing devices" +HOMEPAGE="http://linuxwacom.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P/_p/-}.tar.bz2" + +IUSE="gtk tcl tk usb module" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +RDEPEND="x11-proto/inputproto + x11-base/xorg-server + gtk? ( >=x11-libs/gtk+-2 ) + tcl? ( dev-lang/tcl ) + tk? ( dev-lang/tk ) + sys-fs/udev + sys-libs/ncurses" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + usb? ( >=sys-kernel/linux-headers-2.6 )" +S=${WORKDIR}/${P/_p/-} + +MODULE_NAMES="wacom(input:${S}/src:${S}/src)" + +wacom_check() { + if use module ; then + ebegin "Checking for wacom module" + linux_chkconfig_module TABLET_USB_WACOM + eend $? + + if [[ $? -ne 0 ]] || ! [ -f "/lib/modules/${KV}/kernel/drivers/input/tablet/wacom.ko" ]; then + eerror "You need to have your kernel compiled with wacom as a module" + eerror "to let linuxwacom overwrite it." + eerror "Enable it in the kernel, found at:" + eerror + eerror " Device Drivers" + eerror " Input device support" + eerror " Tablets" + eerror " <M> Wacom Intuos/Graphire tablet support (USB)" + eerror + eerror "(in the "USB support" page it is suggested to include also:" + eerror "EHCI , OHCI , USB Human Interface Device+HID input layer)" + eerror + eerror "Then recompile kernel. Otherwise, remove the module USE flag." + die "Wacom not compiled in kernel as a module!" + fi + fi +} + +pkg_setup() { + linux-mod_pkg_setup + # echo "kernel version is ${KV} , name is ${KV%%-*}" + ewarn "Versions of linuxwacom >= 0.7.9 require gcc >= 4.2 to compile." + wacom_check +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # Fix multilib-strict error for Tcl/Tk library install + sed -i -e "s:WCM_EXECDIR/lib:WCM_EXECDIR/$(get_libdir):" configure.in + + # Remove warning parameters for gcc < 4, bug 205139 + if [[ $(gcc-major-version) -lt 4 ]]; then + sed -i -e "s:-Wno-variadic-macros::" src/xdrv/Makefile.am + fi + + eautoreconf +} + +src_compile() { + if use gtk; then + myconf="--with-gtk=2.0" + else + myconf="--with-gtk=no" + fi + + if use module; then + myconf="${myconf} --enable-wacom" + myconf="${myconf} --with-kernel=${KV_OUT_DIR}" + fi + + econf ${myconf} \ + $(use_with tcl tcl) \ + $(use_with tk tk) \ + --enable-wacomdrv --enable-wacdump \ + --enable-xsetwacom --enable-dlloader || die "econf failed" + + unset ARCH + emake || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}" install || die "Install failed." + + # Inelegant attempt to work around a nasty build system + if use module; then + cp "${S}"/src/*/wacom.{o,ko} "${S}"/src/ + linux-mod_src_install + fi + + insinto /etc/udev/rules.d/ + newins "${FILESDIR}"/${P%_p*}-xserver-xorg-input-wacom.udev 60-wacom.rules + + exeinto /lib/udev/ + doexe "${FILESDIR}"/check_driver + doman "${FILESDIR}"/check_driver.1 + + dohtml -r docs/* + dodoc AUTHORS ChangeLog NEWS README +} diff --git a/x11-drivers/linuxwacom/metadata.xml b/x11-drivers/linuxwacom/metadata.xml new file mode 100644 index 0000000..04758fc --- /dev/null +++ b/x11-drivers/linuxwacom/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>x11-drivers</herd> + <maintainer> + <email>rbu@gentoo.org</email> + <name>Robert Buchholz</name> + </maintainer> + <maintainer> + <email>ikelos@gentoo.org</email> + <name>Mike Auty</name> + </maintainer> + <longdescription>linuxwacom is an open-source XFree86 input driver for Wacom tablets.</longdescription> + <use> + <flag name='module'>Build kernel module</flag> + </use> +</pkgmetadata> |