From 5a792a223aad7163cba3b0fa57d0b7b54e16d0d7 Mon Sep 17 00:00:00 2001 From: DistroBaker Date: Thu, 14 Jan 2021 04:30:02 +0000 Subject: [PATCH] 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 --- ...4-51e9-Lenovo-ThinkPad-P15-Gen-1-325.patch | 45 +++++++++++++++++++ libwacom.spec | 6 ++- 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 0001-data-Add-ISDv4-51e9-Lenovo-ThinkPad-P15-Gen-1-325.patch diff --git a/0001-data-Add-ISDv4-51e9-Lenovo-ThinkPad-P15-Gen-1-325.patch b/0001-data-Add-ISDv4-51e9-Lenovo-ThinkPad-P15-Gen-1-325.patch new file mode 100644 index 0000000..0616147 --- /dev/null +++ b/0001-data-Add-ISDv4-51e9-Lenovo-ThinkPad-P15-Gen-1-325.patch @@ -0,0 +1,45 @@ +From ba02abf58f8d0405140e658d8238b69e89120576 Mon Sep 17 00:00:00 2001 +From: Jason Gerecke +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 +--- + 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 + diff --git a/libwacom.spec b/libwacom.spec index d52d8a2..6c7d7ef 100644 --- a/libwacom.spec +++ b/libwacom.spec @@ -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 1.7-2 +- Add tablet file for Lenovo ThinkPad P15 (#1914409) + * Thu Dec 17 2020 Peter Hutterer 1.7-1 - libwacom 1.7