public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-input-wacom/
Date: Mon,  3 Jul 2023 21:49:20 +0000 (UTC)	[thread overview]
Message-ID: <1688420944.d13dc9b4997faecab3f889a8519388e34e7aa0f0.sam@gentoo> (raw)

commit:     d13dc9b4997faecab3f889a8519388e34e7aa0f0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  3 21:48:47 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul  3 21:49:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d13dc9b4

Revert "x11-drivers/xf86-input-wacom: Drop old versions"

This reverts commit f820cfb16e9fe4e496e7d51746ae086d9a4e4b59.

It got dropped again, but see 138405e809ff0e3fb82967bf3053ea23a14ccfa4.

Bug: https://bugs.gentoo.org/906995
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-drivers/xf86-input-wacom/Manifest              |  1 +
 .../xf86-input-wacom/xf86-input-wacom-1.1.0.ebuild | 81 ++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/x11-drivers/xf86-input-wacom/Manifest b/x11-drivers/xf86-input-wacom/Manifest
index 14116aae65da..319fad52c341 100644
--- a/x11-drivers/xf86-input-wacom/Manifest
+++ b/x11-drivers/xf86-input-wacom/Manifest
@@ -1 +1,2 @@
+DIST xf86-input-wacom-1.1.0.tar.bz2 645948 BLAKE2B fccc81f49777b10527072bf4b30cb1a510e35d61f30fca96a68d05df55acc91f6c8dc44b2fad5d2b2f3f000646d85b2052841cbc8f933db51b668b1eb3e49dbe SHA512 d4ca8d5ea5e328c6e6b4bdb3d0ca23dee0bdb960e79f4422483d456330f9c88ea7579da4fba192fd250b23d7db1b7f40ad8ef0127f334c580030858edcbb9f4d
 DIST xf86-input-wacom-1.2.0.tar.bz2 647874 BLAKE2B c59e605bacb2694c2e322faba9b030112ffb57f916c816cbcb9a946fa063713c0590e1ea29273f73a84f4360b5bc5241c9768d7e61d77dfc9fb0af72b1a6f1cc SHA512 34817b87318d1fcf885e6427436a54d748a1c910026e6af0a22fafb461b227ca566cf06846f1f57c0d66412d5a3b20c95f014a71f8ef394ea8ca360a5f902318

diff --git a/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.1.0.ebuild b/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.1.0.ebuild
new file mode 100644
index 000000000000..1a8b5710751b
--- /dev/null
+++ b/x11-drivers/xf86-input-wacom/xf86-input-wacom-1.1.0.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit linux-info systemd udev xorg-3 meson
+
+DESCRIPTION="Driver for Wacom tablets and drawing devices"
+HOMEPAGE="https://linuxwacom.github.io/"
+LICENSE="GPL-2"
+SRC_URI="https://github.com/linuxwacom/${PN}/releases/download/${P}/${P}.tar.bz2"
+
+KEYWORDS="~alpha amd64 arm ~arm64 ~ia64 ppc ppc64 sparc x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=dev-libs/libwacom-2:=
+	>=x11-base/xorg-server-1.13:=
+	x11-libs/libX11
+	x11-libs/libXext
+	x11-libs/libXi
+	x11-libs/libXrandr
+	x11-libs/libXinerama
+	virtual/libudev:="
+DEPEND="${RDEPEND}
+	x11-base/xorg-proto"
+
+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
+}
+
+pkg_setup() {
+	linux-info_pkg_setup
+}
+
+src_configure() {
+	xorg-3_flags_setup
+
+	local emesonargs=(
+		-Dsystemd-unit-dir="$(systemd_get_systemunitdir)"
+		-Dudev-rules-dir="$(get_udevdir)/rules.d"
+		$(meson_feature test unittests)
+		-Dwacom-gobject=disabled
+	)
+	meson_src_configure
+}
+
+pkg_postinst() {
+	udev_reload
+}
+
+pkg_postrm() {
+	udev_reload
+}


             reply	other threads:[~2023-07-03 21:49 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-03 21:49 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-30 15:28 [gentoo-commits] repo/gentoo:master commit in: x11-drivers/xf86-input-wacom/ Matt Turner
2024-07-28 17:29 Sam James
2024-07-02 12:07 Jakov Smolić
2024-06-09 18:54 Matt Turner
2024-05-25 17:31 Arthur Zamarin
2024-05-17 18:26 Sam James
2024-05-17 18:26 Sam James
2024-05-17 18:26 Sam James
2024-05-17 18:26 Sam James
2024-05-17 18:26 Sam James
2024-04-21 21:09 Matt Turner
2024-04-15 16:16 Matt Turner
2024-04-04 15:05 Arthur Zamarin
2024-04-03 22:32 Sam James
2024-04-03 22:32 Sam James
2024-04-03 20:43 Arthur Zamarin
2024-04-03 20:43 Arthur Zamarin
2024-04-03 20:43 Arthur Zamarin
2024-03-04 17:07 Matt Turner
2023-11-25 17:31 Matt Turner
2023-06-05 15:40 Matt Turner
2023-05-26  7:55 Sam James
2023-05-12 22:34 Matt Turner
2023-05-10 17:07 Arthur Zamarin
2023-05-10 16:38 Sam James
2023-05-10 16:35 Arthur Zamarin
2023-05-10 16:35 Arthur Zamarin
2023-05-10 16:35 Arthur Zamarin
2023-05-10 16:18 Sam James
2023-04-09  2:10 Matt Turner
2022-10-09  1:06 Matt Turner
2022-09-03  1:36 Matt Turner
2022-09-03  1:36 Matt Turner
2022-09-01 18:39 Arthur Zamarin
2022-09-01  7:55 Jakov Smolić
2022-09-01  7:55 Jakov Smolić
2022-09-01  7:52 Jakov Smolić
2022-07-21 11:59 Matt Turner
2022-07-18  2:17 Matt Turner
2021-05-29 18:16 Matt Turner
2021-05-27 19:23 Sam James
2021-05-27 19:18 Sam James
2021-05-27 19:18 Sam James
2021-05-27 19:14 Sam James
2021-05-27 19:11 Sam James
2021-05-02 15:24 Matt Turner
2021-03-20 16:27 Matt Turner
2020-03-11 18:42 Matt Turner
2020-03-08 13:22 Mart Raudsepp
2020-03-05 15:10 Agostino Sarubbo
2020-03-05 15:09 Agostino Sarubbo
2020-03-05 13:23 Agostino Sarubbo
2020-03-05 12:54 Agostino Sarubbo
2020-03-05 11:51 Agostino Sarubbo
2020-03-05 11:40 Agostino Sarubbo
2020-03-05 11:37 Agostino Sarubbo
2020-02-02  2:52 Matt Turner
2020-01-26 21:10 Matt Turner
2020-01-03 16:14 Agostino Sarubbo
2020-01-03 14:34 Agostino Sarubbo
2020-01-03 13:56 Agostino Sarubbo
2020-01-03 13:44 Agostino Sarubbo
2020-01-03 13:42 Agostino Sarubbo
2020-01-03 13:35 Agostino Sarubbo
2020-01-03 12:00 Agostino Sarubbo
2019-12-02 17:09 Matt Turner
2019-12-02 16:46 Matt Turner
2018-06-06 23:20 Matt Turner
2018-05-28  0:02 Matt Turner
2018-05-13 11:30 Markus Meier
2018-05-08  6:24 Sergei Trofimovich
2018-05-06 20:45 Matt Turner
2018-05-06 19:40 Sergei Trofimovich
2018-05-06 19:23 Matt Turner
2018-05-06 12:30 Mikle Kolyada
2018-02-01 13:11 Chí-Thanh Christopher Nguyễn
2017-07-21  8:37 Chí-Thanh Christopher Nguyễn
2017-03-08  7:44 Michael Weber
2017-03-06 15:50 Tobias Klausmann
2017-01-28  6:12 Matt Turner
2017-01-25 12:28 Agostino Sarubbo
2017-01-22 17:20 Agostino Sarubbo
2017-01-18  3:07 Matt Turner
2016-11-17 10:48 Agostino Sarubbo
2016-11-16 10:44 Agostino Sarubbo
2016-10-30 20:05 Sven Wegener
2016-09-22 15:55 Tobias Klausmann
2016-09-17 11:14 Pacho Ramos
2016-09-17 10:49 Pacho Ramos
2016-08-05 23:33 Markus Meier
2016-05-29 18:42 Chí-Thanh Christopher Nguyễn
2015-12-19 21:40 Markus Meier
2015-11-25 21:34 Manuel Rüger
2015-10-26 18:05 Chí-Thanh Christopher Nguyễn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1688420944.d13dc9b4997faecab3f889a8519388e34e7aa0f0.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox