diff --git a/0001-data-add-ISDV4-5040-Lenovo-X1-Yoga.patch b/0001-data-add-ISDV4-5040-Lenovo-X1-Yoga.patch new file mode 100644 index 0000000..8cad31a --- /dev/null +++ b/0001-data-add-ISDV4-5040-Lenovo-X1-Yoga.patch @@ -0,0 +1,37 @@ +From b9181e640cd42368388f613dc20cec8bba15a5db Mon Sep 17 00:00:00 2001 +From: Robert de Rooy +Date: Mon, 31 Oct 2016 09:39:01 +1000 +Subject: [PATCH libwacom] data: add ISDV4 5040 (Lenovo X1 Yoga) + +Signed-off-by: Peter Hutterer +--- + data/isdv4-5040.tablet | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + create mode 100644 data/isdv4-5040.tablet + +diff --git a/data/isdv4-5040.tablet b/data/isdv4-5040.tablet +new file mode 100644 +index 0000000..bbd80fd +--- /dev/null ++++ b/data/isdv4-5040.tablet +@@ -0,0 +1,17 @@ ++# this is for the Wacom pen + touchscreen ++# as found in the Lenovo Thinkpad X1 Yoga ++# 14" WQHD display, measuring 310x174mm ++# pen with 2 buttons, no eraser ++ ++[Device] ++Name=Wacom ISDv4 5040 ++DeviceMatch=usb:056a:5040 ++Class=ISDV4 ++Width=12 ++Height=7 ++IntegratedIn=Display;System ++ ++[Features] ++Stylus=true ++Touch=true ++Buttons=0 +-- +2.9.3 + diff --git a/libwacom.spec b/libwacom.spec index 1b95fb5..8a0529d 100644 --- a/libwacom.spec +++ b/libwacom.spec @@ -1,6 +1,6 @@ Name: libwacom Version: 0.22 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Tablet Information Client Library Requires: %{name}-data @@ -10,6 +10,8 @@ URL: http://linuxwacom.sourceforge.net Source0: http://prdownloads.sourceforge.net/linuxwacom/%{name}/%{name}-%{version}.tar.bz2 +Patch01: 0001-data-add-ISDV4-5040-Lenovo-X1-Yoga.patch + BuildRequires: autoconf automake libtool doxygen BuildRequires: glib2-devel libgudev1-devel BuildRequires: systemd systemd-devel @@ -36,6 +38,7 @@ Tablet information client library library data files. %prep %setup -q -n %{name}-%{version} +%patch01 -p1 %build autoreconf --force -v --install || exit 1 @@ -79,6 +82,9 @@ find %{buildroot} -type f -name "*.la" -delete %{_datadir}/libwacom/layouts/*.svg %changelog +* Fri Nov 11 2016 Peter Hutterer 0.22-2 +- Add Lenovo X1 Yoga data file (#1389849) + * Wed Jul 20 2016 Peter Hutterer 0.22-1 - libwacom 0.22