summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-08-11 12:54:55 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-08-11 12:54:55 +0000
commit40a0e813f7ed3e8cb922dfa7607fa213468ca1ed (patch)
treeff8adbf5203b808f3f5723b50b7480087d87effd /sys-kernel/linuxwacom-module
parentadd ~arm, bug #430574 (diff)
downloadhistorical-40a0e813f7ed3e8cb922dfa7607fa213468ca1ed.tar.gz
historical-40a0e813f7ed3e8cb922dfa7607fa213468ca1ed.tar.bz2
historical-40a0e813f7ed3e8cb922dfa7607fa213468ca1ed.zip
Stop using /etc/udev which is reserved for user modified rules and read udevdir value from udev.pc pkg-config file instead.
Package-Manager: portage-2.2.0_alpha120/cvs/Linux x86_64
Diffstat (limited to 'sys-kernel/linuxwacom-module')
-rw-r--r--sys-kernel/linuxwacom-module/ChangeLog9
-rw-r--r--sys-kernel/linuxwacom-module/Manifest29
-rw-r--r--sys-kernel/linuxwacom-module/linuxwacom-module-0.8.8_p10-r1.ebuild103
3 files changed, 133 insertions, 8 deletions
diff --git a/sys-kernel/linuxwacom-module/ChangeLog b/sys-kernel/linuxwacom-module/ChangeLog
index 6bfb64b2f483..196830a8848b 100644
--- a/sys-kernel/linuxwacom-module/ChangeLog
+++ b/sys-kernel/linuxwacom-module/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-kernel/linuxwacom-module
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linuxwacom-module/ChangeLog,v 1.3 2012/05/02 21:42:36 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linuxwacom-module/ChangeLog,v 1.4 2012/08/11 12:54:55 ssuominen Exp $
+
+*linuxwacom-module-0.8.8_p10-r1 (11 Aug 2012)
+
+ 11 Aug 2012; Samuli Suominen <ssuominen@gentoo.org>
+ +linuxwacom-module-0.8.8_p10-r1.ebuild:
+ Stop using /etc/udev which is reserved for user modified rules and read
+ udevdir value from udev.pc pkg-config file instead.
02 May 2012; Jeff Horelick <jdhore@gentoo.org>
linuxwacom-module-0.8.8_p10.ebuild:
diff --git a/sys-kernel/linuxwacom-module/Manifest b/sys-kernel/linuxwacom-module/Manifest
index 9cb7439fc966..fd50b606ab75 100644
--- a/sys-kernel/linuxwacom-module/Manifest
+++ b/sys-kernel/linuxwacom-module/Manifest
@@ -1,7 +1,22 @@
-AUX check_driver 499 RMD160 298507626fa8bb20df0d5d1404002133ef1e4c41 SHA1 12ae37807a03f36be2c5cc47e444475677b41693 SHA256 45331d948e1d37141a56258510d6ff708092f70181e83348eb66eef005878069
-AUX check_driver.1 750 RMD160 9ebe8e30ce2cb83ca3245ba29d19b06e81181651 SHA1 4d6fba491df26709b821184f9e011568eaaaebde SHA256 67bf1469f122830d9e99cbd8762e61f682c9a831577fde29af8ef1ab0440d024
-AUX linuxwacom-module-2.6.36.patch 738 RMD160 b2d254f0c52cf8418aa1975f6cc4b39e9e48ad4a SHA1 70940702e8a88e83b6db3557a28450c9ba0ca3e9 SHA256 4ad552f88e14661ea1602ec9733d90a7e6491576b65444c792267bf0f15908ea
-DIST linuxwacom-0.8.8-10.tar.bz2 1055098 RMD160 c7a5f5cbf222c33831ca6d92c376cebd3413f773 SHA1 70da7a63c1b00d8153853e4ea38652e63cc4ec0e SHA256 042be61e2f7165ecf37e1805c499575ce6912a5986fae153921821c8f5ede55a
-EBUILD linuxwacom-module-0.8.8_p10.ebuild 2768 RMD160 93c81ae6af4afcb373bf15733fcb27f051b68106 SHA1 4bc17ccdb6f0dcee3853a3136c82390ae3d86bf7 SHA256 b76c81654d2b1adcaf0fbbd78a3bd63c1100b80eba4e8c44e83ab2e7bdf1ecdf
-MISC ChangeLog 893 RMD160 f2dd2954cd6e81791964c753d78fa01905728db0 SHA1 79fbe1eb7fbc9979e6f483d113f82e46b732137a SHA256 fd69439af847fd30e980b608106551f9f96350a0c8376e7d2593e197aeb3260b
-MISC metadata.xml 402 RMD160 0beddcaf587aea4d852aedd2bb90b430357ca29f SHA1 f305509e8a5011ea4f0adda5cf86135e747220a7 SHA256 ad057296737cd496063daffdcd6f14b816d890844b0da4706a0422c313662475
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX check_driver 499 SHA256 45331d948e1d37141a56258510d6ff708092f70181e83348eb66eef005878069 SHA512 3720a70f31194df655765437d4e4a82220a3276b058bb099264503530a5bd11b71e87a7ded80c729ee8b8b4e89c2ffc532f3fc96df8dc723e9b34a13f99a6ec5 WHIRLPOOL b00f499f06469fccacb0349b1cf58fd1937490eba408023f8846158d5e0d19ba3e90b091a476b5582d07959024b34f1733826eff9518b093f49e3a47851b72ea
+AUX check_driver.1 750 SHA256 67bf1469f122830d9e99cbd8762e61f682c9a831577fde29af8ef1ab0440d024 SHA512 5a7c559995bce5121d4bd686a5b4538019ad3c152590689789c509e7a239f1d87f8088985ccc03181feda68ed0e11997816acd40e4d50b70c907ce7041a730cd WHIRLPOOL 0e6efcdea4bd4e5a36ec954e5b85462be79b1b05f62d6155618ad961b6870915e04f40078c4cb2b619abd482dec9cf2184ac2e8912d7280497cf0e5f3ff7a659
+AUX linuxwacom-module-2.6.36.patch 738 SHA256 4ad552f88e14661ea1602ec9733d90a7e6491576b65444c792267bf0f15908ea SHA512 2285719b524aa1079edee46919b9b687d357625b79b5448908155db2cd96977b67152e91564a9f3f4f26774819c5cc86835e1c0fd518c64db9fae6bdbdc683d3 WHIRLPOOL f5e98bea6fb0bc78ef1409c481c08b43bff56b8f1c83cc705760f38c84deed2ebb9a007743865504054b7b0f39f34c1137261ac6d1416a3f96022dc230cb1c57
+DIST linuxwacom-0.8.8-10.tar.bz2 1055098 SHA256 042be61e2f7165ecf37e1805c499575ce6912a5986fae153921821c8f5ede55a
+EBUILD linuxwacom-module-0.8.8_p10-r1.ebuild 2843 SHA256 f16ab091b2edf6927449be48a3774c6e8f9a769a3ef336ed13eb155ab2eb4029 SHA512 f2274f2cf94a415bf0b7c10746abc40b8f2b04f09034bad99aeb8f7c915e94bc37007dcbea152274ac48bfa7a565d7ac83041b1a95a19633965d381cb96e548d WHIRLPOOL b36fd72809f4227d6629dc4f2c341a6d4177067c237916d1d008a5cb616f0ae2829402cc98dd9674860ee30c4e70ca04facdfe4669d6c4cf642f3c55dd1f4177
+EBUILD linuxwacom-module-0.8.8_p10.ebuild 2768 SHA256 b76c81654d2b1adcaf0fbbd78a3bd63c1100b80eba4e8c44e83ab2e7bdf1ecdf SHA512 2e78d892c68e9a7dd5a21fa4365ef008fce9e07a9518b194ff86ca35180cae95766826ad370fc4f545a5473c32dcfc0790de2d671fe34da1471d32fec17f6877 WHIRLPOOL b4818f846399e0e751dd89b183b415dc699ed66f6b396dfe8e90729681464527125ae77c810887159a721cc88cb8ae8a53c843ba9d149f550f70e195ec88c6a4
+MISC ChangeLog 1168 SHA256 1282436c6b6df9c22909c65273080c8c3b2243c113f49b67168ad80ff1b05342 SHA512 eaa87340bc70485271923277c9081f2dd56ffd668b2568f420b474deb11108b69be446764cf38164b4ae5eb3b8c1afc6d348a845eca975b437fef8d7e189fea0 WHIRLPOOL d0328501772c8505d1561069aa31fc8a7865a13a78eebce2269c180e23a9f27c6f7c6c0373f9b512b072163b67124f82630f1d59eca94587258cf6f385f23268
+MISC metadata.xml 402 SHA256 ad057296737cd496063daffdcd6f14b816d890844b0da4706a0422c313662475 SHA512 4755dd39d103b9f242478b9c37422106ad5c3cf783e5f34626df452c4595fb90ae78fd4d958c497c3f247f1488dea96fbfd8764d0b5d039275d6029735b82457 WHIRLPOOL a6ef233eb418ae1c3f817e33251be60747f88f09aad49ed8b3277d550ecae49d29e1228cdc51688a7455b4d1108ff5f459cfd1c400530c3f005b92c062e2ade2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQJlYCAAoJEEdUh39IaPFNxE4IAKBlPfuR0SNDsQg8XcLO//w/
+uRKbgqNbBxAGj65bz3ui8MiflKDfII7WWddiaCH5Gxg9htG+q5iVz186gAKSD+Zg
+sSQfOAg7bVtwe5jtZ8oU+Wa9ym5SLpFEwSxW0IiYHlOYY7for95SgcuRxmaqS/1T
+IFP3XZOf6/TGC5Z0ERwR9yrqg9LK4mVXuHuTByAK3s/zgzk1RCLhsXBKwBigbiVc
+ARtlW82WoYj4R5uAnG0Wx117ox6EstzC/MDu7qUsbxPtUC12DcqEPt/fViFmd+5a
+Q9jxOvkfYifFdyZawzTx+CD160DQpKqjjs6Q7PJtmRKp4+47z14+KMkGKwDksMA=
+=E5Fl
+-----END PGP SIGNATURE-----
diff --git a/sys-kernel/linuxwacom-module/linuxwacom-module-0.8.8_p10-r1.ebuild b/sys-kernel/linuxwacom-module/linuxwacom-module-0.8.8_p10-r1.ebuild
new file mode 100644
index 000000000000..afdfbf53983e
--- /dev/null
+++ b/sys-kernel/linuxwacom-module/linuxwacom-module-0.8.8_p10-r1.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linuxwacom-module/linuxwacom-module-0.8.8_p10-r1.ebuild,v 1.1 2012/08/11 12:54:55 ssuominen Exp $
+
+EAPI="2"
+inherit eutils toolchain-funcs linux-mod autotools
+
+# http://who-t.blogspot.com/2010/09/wacom-support-in-linux.html
+MY_PN="linuxwacom"
+DESCRIPTION="Kernel driver for Wacom tablets and drawing devices"
+HOMEPAGE="http://linuxwacom.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${MY_PN}/${MY_PN}-${PV/_p/-}.tar.bz2"
+
+IUSE="usb"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
+
+RDEPEND="sys-fs/udev
+ sys-libs/ncurses"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ usb? ( >=sys-kernel/linux-headers-2.6 )"
+S=${WORKDIR}/${MY_PN}-${PV/_p/-}
+
+MODULE_NAMES="wacom(input:${S}/src:${S}/src)"
+BUILD_TARGETS="all"
+
+wacom_check() {
+ einfo "Checking wacom module not built in kernel"
+
+ if $(linux_chkconfig_present TABLET_USB_WACOM); then
+ eerror "Please, disable wacom module in the kernel:"
+ eerror
+ eerror " Device Drivers"
+ eerror " Input device support"
+ eerror " Tablets"
+ eerror " <> 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."
+ die "Wacom module already built in kernel!"
+ fi
+}
+
+pkg_setup() {
+ linux-mod_pkg_setup
+ wacom_check
+}
+
+src_prepare() {
+ if [[ $(gcc-major-version) < 4 || $(gcc-minor-version) < 2 ]]; then
+ die "Versions of linuxwacom >= 0.7.9 require gcc >= 4.2 to compile."
+ fi
+ sed '/WCM_SRC_SUBDIRS=/s: wacomxi util xdrv::' -i configure.in || die
+
+ kernel_is ge 2 6 36 && epatch "${FILESDIR}/linuxwacom-module-2.6.36.patch"
+ eautoreconf
+}
+
+# TODO: Avoid build of hal (but actually upstream is working on separation of
+# modules from linuxwacom so this is really low priority).
+src_configure() {
+ unset ARCH
+ econf \
+ --enable-wacom \
+ --with-kernel=${KV_OUT_DIR} \
+ --disable-dependency-tracking \
+ --without-x \
+ --disable-xserver64 \
+ --without-xlib \
+ --without-xorg-sdk \
+ --without-tcl \
+ --without-tk \
+ $(printf -- "--disable-%s " libwacom{cfg,xi} {wac,xi}dump xsetwacom wacomxrrd)
+}
+
+src_install() {
+ # Inelegant attempt to work around a nasty build system
+ cp src/*/wacom.{o,ko} src/ || die
+ linux-mod_src_install
+
+ local udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
+
+ insinto "${udevdir}"/rules.d
+ doins src/util/60-wacom.rules || die
+
+ exeinto "${udevdir}"
+ doexe "${FILESDIR}"/check_driver || die
+ doman "${FILESDIR}"/check_driver.1
+
+ dodoc AUTHORS ChangeLog
+}
+
+pkg_postinst() {
+ linux-mod_pkg_postinst
+ ewarn "Please remove any HAL .FDI files you may"
+ ewarn "previously have installed for linuxwacom."
+}