Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/libwacom.git#175a93a0802f486e291e4a72a70ff82b0c3b79d8
This commit is contained in:
DistroBaker 2021-01-14 04:30:02 +00:00
parent bed76ded9c
commit 5a792a223a
2 changed files with 50 additions and 1 deletions

View File

@ -0,0 +1,45 @@
From ba02abf58f8d0405140e658d8238b69e89120576 Mon Sep 17 00:00:00 2001
From: Jason Gerecke <jason.gerecke@wacom.com>
Date: Wed, 6 Jan 2021 13:01:29 -0800
Subject: [PATCH libwacom] data: Add ISDv4 51e9 (Lenovo ThinkPad P15 Gen 1)
(#325)
Tablet definition was tested and verified to work by the bug reporter.
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
---
data/isdv4-51e9.tablet | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 data/isdv4-51e9.tablet
diff --git a/data/isdv4-51e9.tablet b/data/isdv4-51e9.tablet
new file mode 100644
index 0000000..8684b26
--- /dev/null
+++ b/data/isdv4-51e9.tablet
@@ -0,0 +1,22 @@
+# Lenovo ThinkPad P15 Gen 1
+# Sensor Type: AES
+# Features: Touch (Integrated), Tilt
+# HW Resolution: 34422 x 19362 (2540 x 2540 lpi)
+#
+# Autogenerated from sysinfo.VSiBXWPx2J
+# From private bug report
+
+[Device]
+Name=ISDv4 51e9
+ModelName=
+DeviceMatch=usb:056a:51e9
+Class=ISDV4
+Width=14
+Height=8
+IntegratedIn=Display;System
+Styli=@isdv4-aes;
+
+[Features]
+Stylus=true
+Touch=true
+Buttons=0
--
2.29.2

View File

@ -1,6 +1,6 @@
Name: libwacom
Version: 1.7
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Tablet Information Client Library
Requires: %{name}-data
@ -10,6 +10,7 @@ URL: https://github.com/linuxwacom/libwacom
Source0: https://github.com/linuxwacom/libwacom/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
Patch01: 0001-meson.build-fix-typo-causing-the-data-file-test-to-b.patch
Patch02: 0001-data-Add-ISDv4-51e9-Lenovo-ThinkPad-P15-Gen-1-325.patch
BuildRequires: meson gcc
BuildRequires: glib2-devel libgudev1-devel
@ -80,6 +81,9 @@ install -d ${RPM_BUILD_ROOT}/%{_udevrulesdir}
%{_datadir}/libwacom/layouts/*.svg
%changelog
* Thu Jan 14 2021 Peter Hutterer <peter.hutterer@redhat.com> 1.7-2
- Add tablet file for Lenovo ThinkPad P15 (#1914409)
* Thu Dec 17 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.7-1
- libwacom 1.7