summaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-input-wacom
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-drivers/xf86-input-wacom
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-drivers/xf86-input-wacom')
-rw-r--r--x11-drivers/xf86-input-wacom/Manifest8
-rw-r--r--x11-drivers/xf86-input-wacom/files/xf86-input-wacom-0.34.0-xorg-server-1.19-support.patch49
-rw-r--r--x11-drivers/xf86-input-wacom/metadata.xml12
-rw-r--r--x11-drivers/xf86-input-wacom/xf86-input-wacom-0.34.0.ebuild77
-rw-r--r--x11-drivers/xf86-input-wacom/xf86-input-wacom-0.35.0.ebuild73
5 files changed, 219 insertions, 0 deletions
diff --git a/x11-drivers/xf86-input-wacom/Manifest b/x11-drivers/xf86-input-wacom/Manifest
new file mode 100644
index 000000000000..059c8e6912b3
--- /dev/null
+++ b/x11-drivers/xf86-input-wacom/Manifest
@@ -0,0 +1,8 @@
+AUX xf86-input-wacom-0.34.0-xorg-server-1.19-support.patch 1394 SHA256 d0b4259cf79217041ab278a2602f3ef6be39ca07975cc685b6d9acd3c617ff94 SHA512 77c5217d7fd76dac94151d30c50d3f76fdb5a033bf2bd0dd91365e246b1a4ce1479eb3136ab85b2c194d4cd311e8402f74bda63b7bb4e0695e1e63418089e1c2 WHIRLPOOL 2b5189bff13956c2a830579c6cc691637df2916f6843f2115667caafd8b2330dbdeaa878ca330f878370d8de8c9575fffdb643300f5d621bdf653199d6a5fabe
+DIST xf86-input-wacom-0.34.0.tar.bz2 598624 SHA256 f15d8e4f3bf3a5b2db0b3f9c9565361b084896c3cb54ac11b8de5e405f9cb045 SHA512 d0aae70853f73d989d168e054bb21ddbd2114ec6c012b1c5f949838bb20a7fe75711211886dd649ec0e9449d199da17b4ff156d5d672ad02c8b2e0b667cc40ad WHIRLPOOL f45ac8e8c93ac343cc8002ae0a981483ba5fda9aa975b935a423e86c42297c54fbff50e44a0c58c915fc3d49aa06bb743684cdc357c90678c9ef2ee332a7f94f
+DIST xf86-input-wacom-0.35.0.tar.bz2 601314 SHA256 55f60a71e81ef5544885652069a4f52b5cbaceabba53a28ac1397ec0ac26447d SHA512 9586348e8da91651bc9a9ee9e74dd77f4311060538dcb228681b98300f7624401878190322dcbc4e798bd1eeeb7d2900abc3f5e949a583b6cda44821b8821058 WHIRLPOOL 8901ec1807b8cb15a440c64500bc6c0161ad3397bbc033fa9e46a4532f51a2b29028aec663603704cb9783671c35efb43f9ceb4969afac7db362274379d3a022
+EBUILD xf86-input-wacom-0.34.0.ebuild 1853 SHA256 c5f9b6c6286caf397810f5857a25a1302a2e9b97ebb8d451d8d05426247feab0 SHA512 9db981d3e9e668da33b8855b22cfd34f6d1164a637bc9eb5711eb11c7eb6addab445547ef430452938326d2284c208d711cf710f35a135fd7b16b1b244457dcf WHIRLPOOL 299f18655ade734f96606f5fa4f23fed89e3ed7b57ae002c21c295bb7a4408d38bb0511618658e7046af9f0443ca8a96cc465b4acfb4c2dbe9c90f9bdbf2b48a
+EBUILD xf86-input-wacom-0.35.0.ebuild 1797 SHA256 9c564701eea419e9b13be9e4b4a5794cf015854d09f3d3cc223bf06501ea105b SHA512 ec778effb110216056c0b88ce836827ddaacca255de551ad719f2724c7c034b929a794decb5107b0ce989472a6c0ec4b63f7fe600356230b5ce6204a92e7b1ca WHIRLPOOL fc540998cfb948e6557cebe60adad61f78fc21bd76685bccbbfbd1a623e4db2d8c0a3fe71e603f68c304ce9fc55293ed19d12aaae4d80d32e3714505483323da
+MISC ChangeLog 6338 SHA256 c27e541a98914e64bfd8ed4da2e5cf4b48109fc6ab57a49e5e5843caa5570ad6 SHA512 00f75176205029afc5d82151012a8d5b71019739f376806c4f0491ef5c6d33e72e4a57fee6e7da50698876d74e376f949a35939a3109c11b84dd7207ad039f81 WHIRLPOOL 287ca8300358b22ac4e4ca646263449606ef522a382b34ac8853aaa2ca7eba2bc637af21b0bf95c9e7e6c04de879d73f95e6e39ae3c1022f6ef196d51b904c36
+MISC ChangeLog-2015 14509 SHA256 75470f725f37ab5d0f9d7a90f909a869c3891ac8898ada2b2b92304a6971e556 SHA512 709a893258378ea339c19cb31cbfe2f4f33a0ccebef77f2fa22be8f5b16aef0369cc90c847b090bbc4f149b07653c58e17bfc8f6a16911de09e99b9f6a744f4d WHIRLPOOL a8dd46920c96f7ff5ca4fdca88fcbd5701009e32609675371c6622cd1ec1a7263812af123918f81a9fd95063cfee54cef4cba04a1308962628b7121c915bc677
+MISC metadata.xml 436 SHA256 e34ced51fd102ae02c3e06e021d922d41105a54802f51f185acc7f8e41534e17 SHA512 2aa103f44b3d36ff6466ac1fb010b25c649f1cc19d2db1d5c9b1ad54d954184eb7c55496feb58174bd466a9296f6c3eb269819b9036486a071a8100b1a3a6cb2 WHIRLPOOL 9366b5b8a91fe0c335bdaed57f3141125cd0a23d68dda620b75a6bb361a56c37668402384dd08b29a2052a59c5132c4808f7962e77360eedaf044eb8eee14b14
diff --git a/x11-drivers/xf86-input-wacom/files/xf86-input-wacom-0.34.0-xorg-server-1.19-support.patch b/x11-drivers/xf86-input-wacom/files/xf86-input-wacom-0.34.0-xorg-server-1.19-support.patch
new file mode 100644
index 000000000000..3c1494d3605d
--- /dev/null
+++ b/x11-drivers/xf86-input-wacom/files/xf86-input-wacom-0.34.0-xorg-server-1.19-support.patch
@@ -0,0 +1,49 @@
+From f0dedf7a610ac97bc45738492b98ce4f1e0514ec Mon Sep 17 00:00:00 2001
+From: Jason Gerecke <killertofu@gmail.com>
+Date: Wed, 18 Jan 2017 09:00:10 -0800
+Subject: [PATCH] tests: Fix compilation under ABI 25 and greater
+
+The X server recently deprecated xf86BlockSIGIO and xf86UnblockSIGIO and
+simultaneously defined them inline within xf86.h. The new inline definition
+causes problems both because fake-symbols.c will end up redefining them,
+and because the function bodies reference a symbol that does not get included
+when building the tests. To fix these errors, update fake-symbols.c with
+updated include guards and a definition of the undefined symbols.
+
+Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
+Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
+---
+ test/fake-symbols.c | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+diff --git a/test/fake-symbols.c b/test/fake-symbols.c
+index 6f2c10a..e649fb9 100644
+--- a/test/fake-symbols.c
++++ b/test/fake-symbols.c
+@@ -493,6 +493,7 @@ void TimerFree(OsTimerPtr timer)
+ {
+ }
+
++#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) < 24
+ int
+ xf86BlockSIGIO (void)
+ {
+@@ -503,6 +504,15 @@ void
+ xf86UnblockSIGIO (int wasset)
+ {
+ }
++#else
++void input_lock (void)
++{
++}
++
++void input_unlock (void)
++{
++}
++#endif
+
+ /* This is not the same as the X server one, but it'll do for the tests */
+ #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 14
+--
+2.10.2
+
diff --git a/x11-drivers/xf86-input-wacom/metadata.xml b/x11-drivers/xf86-input-wacom/metadata.xml
new file mode 100644
index 000000000000..e563270e5120
--- /dev/null
+++ b/x11-drivers/xf86-input-wacom/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>x11@gentoo.org</email>
+ <name>X11</name>
+ </maintainer>
+ <longdescription>Driver for Wacom tablets and drawing devices (friendly fork of linuxwacom)</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">linuxwacom</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.34.0.ebuild b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.34.0.ebuild
new file mode 100644
index 000000000000..6374c40c3861
--- /dev/null
+++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.34.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit linux-info xorg-2
+
+DESCRIPTION="Driver for Wacom tablets and drawing devices"
+HOMEPAGE="http://linuxwacom.sourceforge.net/"
+LICENSE="GPL-2"
+EGIT_REPO_URI="git://git.code.sf.net/p/linuxwacom/${PN}"
+[[ ${PV} != 9999* ]] && \
+ SRC_URI="mirror://sourceforge/linuxwacom/${PN}/${P}.tar.bz2"
+
+KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86"
+IUSE="debug"
+
+# depend on libwacom for its udev rules, bug #389633
+RDEPEND="dev-libs/libwacom
+ virtual/udev
+ >=x11-base/xorg-server-1.7
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXinerama"
+DEPEND="${RDEPEND}
+ x11-proto/randrproto"
+
+PATCHES=(
+ "${FILESDIR}/${P}-xorg-server-1.19-support.patch"
+)
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ XORG_CONFIGURE_OPTIONS=(
+ $(use_enable debug)
+ )
+}
+
+src_install() {
+ xorg-2_src_install
+
+ rm -rf "${ED}"/usr/share/hal
+}
+
+pkg_pretend() {
+ linux-info_pkg_setup
+
+ if kernel_is lt 3 17; then
+ if ! linux_config_exists \
+ || ! linux_chkconfig_present TABLET_USB_WACOM \
+ || ! linux_chkconfig_present INPUT_EVDEV; then
+ echo
+ ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel"
+ ewarn " Device Drivers --->"
+ ewarn " Input device support --->"
+ ewarn " <*> Event interface"
+ ewarn " [*] Tablets --->"
+ ewarn " <*> Wacom Intuos/Graphire tablet support (USB)"
+ echo
+ fi
+ else
+ if ! linux_config_exists \
+ || ! linux_chkconfig_present HID_WACOM; then
+ echo
+ ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel"
+ ewarn " Device Drivers --->"
+ ewarn " HID support --->"
+ ewarn " Special HID drivers --->"
+ ewarn " <*> Wacom Intuos/Graphire tablet support (USB)"
+ echo
+ fi
+ fi
+
+}
diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.35.0.ebuild b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.35.0.ebuild
new file mode 100644
index 000000000000..61c5f062eb9c
--- /dev/null
+++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-0.35.0.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit linux-info xorg-2
+
+DESCRIPTION="Driver for Wacom tablets and drawing devices"
+HOMEPAGE="http://linuxwacom.sourceforge.net/"
+LICENSE="GPL-2"
+EGIT_REPO_URI="git://git.code.sf.net/p/linuxwacom/${PN}"
+[[ ${PV} != 9999* ]] && \
+ SRC_URI="mirror://sourceforge/linuxwacom/${PN}/${P}.tar.bz2"
+
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug"
+
+# depend on libwacom for its udev rules, bug #389633
+RDEPEND="dev-libs/libwacom
+ virtual/udev
+ >=x11-base/xorg-server-1.7
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXi
+ x11-libs/libXrandr
+ x11-libs/libXinerama"
+DEPEND="${RDEPEND}
+ x11-proto/randrproto"
+
+pkg_setup() {
+ linux-info_pkg_setup
+
+ XORG_CONFIGURE_OPTIONS=(
+ $(use_enable debug)
+ )
+}
+
+src_install() {
+ xorg-2_src_install
+
+ rm -rf "${ED}"/usr/share/hal
+}
+
+pkg_pretend() {
+ linux-info_pkg_setup
+
+ if kernel_is lt 3 17; then
+ if ! linux_config_exists \
+ || ! linux_chkconfig_present TABLET_USB_WACOM \
+ || ! linux_chkconfig_present INPUT_EVDEV; then
+ echo
+ ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel"
+ ewarn " Device Drivers --->"
+ ewarn " Input device support --->"
+ ewarn " <*> Event interface"
+ ewarn " [*] Tablets --->"
+ ewarn " <*> Wacom Intuos/Graphire tablet support (USB)"
+ echo
+ fi
+ else
+ if ! linux_config_exists \
+ || ! linux_chkconfig_present HID_WACOM; then
+ echo
+ ewarn "If you use a USB Wacom tablet, you need to enable support in your kernel"
+ ewarn " Device Drivers --->"
+ ewarn " HID support --->"
+ ewarn " Special HID drivers --->"
+ ewarn " <*> Wacom Intuos/Graphire tablet support (USB)"
+ echo
+ fi
+ fi
+
+}