Skip to content

Commit 0b2b9b3

Browse files
committed
Update to libwacom-1.4
1 parent 29e7361 commit 0b2b9b3

17 files changed

+133
-132
lines changed

0001-Add-support-for-Intel-Management-Engine-bus.patch

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 435a6d9547d5b24a73da93cdba0d7bb5c513b6c1 Mon Sep 17 00:00:00 2001
1+
From 5bf2b290f25006f5e97c868f4423048074d96dbe Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Sat, 1 Jun 2019 21:17:15 +0200
44
Subject: [PATCH 1/8] Add support for Intel Management Engine bus
@@ -14,10 +14,10 @@ the Microsoft Surface Books, Surface Pro 5 and 6, and Surface Laptops.
1414
4 files changed, 11 insertions(+)
1515

1616
diff --git a/libwacom/libwacom-database.c b/libwacom/libwacom-database.c
17-
index ebc0605..37e797a 100644
17+
index 9f2657b..6084818 100644
1818
--- a/libwacom/libwacom-database.c
1919
+++ b/libwacom/libwacom-database.c
20-
@@ -112,6 +112,8 @@ bus_from_str (const char *str)
20+
@@ -130,6 +130,8 @@ bus_from_str (const char *str)
2121
return WBUSTYPE_BLUETOOTH;
2222
if (streq(str, "i2c"))
2323
return WBUSTYPE_I2C;
@@ -26,7 +26,7 @@ index ebc0605..37e797a 100644
2626
return WBUSTYPE_UNKNOWN;
2727
}
2828

29-
@@ -130,6 +132,8 @@ bus_to_str (WacomBusType bus)
29+
@@ -148,6 +150,8 @@ bus_to_str (WacomBusType bus)
3030
return "bluetooth";
3131
case WBUSTYPE_I2C:
3232
return "i2c";
@@ -36,7 +36,7 @@ index ebc0605..37e797a 100644
3636
g_assert_not_reached ();
3737
}
3838
diff --git a/libwacom/libwacom.c b/libwacom/libwacom.c
39-
index c4a50a8..bd6b63f 100644
39+
index 627354c..c52daed 100644
4040
--- a/libwacom/libwacom.c
4141
+++ b/libwacom/libwacom.c
4242
@@ -147,6 +147,10 @@ get_bus_vid_pid (GUdevDevice *device,
@@ -59,7 +59,7 @@ index c4a50a8..bd6b63f 100644
5959
default: g_assert_not_reached(); break;
6060
}
6161
diff --git a/libwacom/libwacom.h b/libwacom/libwacom.h
62-
index 8035e17..799e9b2 100644
62+
index a848133..af0f134 100644
6363
--- a/libwacom/libwacom.h
6464
+++ b/libwacom/libwacom.h
6565
@@ -117,6 +117,7 @@ typedef enum {
@@ -71,10 +71,10 @@ index 8035e17..799e9b2 100644
7171

7272
/**
7373
diff --git a/test/test-tablet-validity.c b/test/test-tablet-validity.c
74-
index 8ee41e2..42e5f54 100644
74+
index 65b87c0..745c46d 100644
7575
--- a/test/test-tablet-validity.c
7676
+++ b/test/test-tablet-validity.c
77-
@@ -172,6 +172,7 @@ assert_vidpid(WacomBusType bus, int vid, int pid)
77+
@@ -177,6 +177,7 @@ assert_vidpid(WacomBusType bus, int vid, int pid)
7878
/* fall through */
7979
case WBUSTYPE_BLUETOOTH:
8080
case WBUSTYPE_I2C:
@@ -83,5 +83,5 @@ index 8ee41e2..42e5f54 100644
8383
g_assert_cmpint(pid, >, 0);
8484
break;
8585
--
86-
2.26.0
86+
2.27.0
8787

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
From 16df70f77e5636dd0d14d999ad3f535c6fae0c8e Mon Sep 17 00:00:00 2001
1+
From 50e1eff057aab7b2b92ea65de3097ab37692fb75 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Mon, 3 Jun 2019 00:42:30 +0200
44
Subject: [PATCH 2/8] data: Add Microsoft Surface Pro 4
55

66
---
77
data/surface-pro4.tablet | 14 ++++++++++++++
8-
meson.build | 1 +
9-
2 files changed, 15 insertions(+)
8+
1 file changed, 14 insertions(+)
109
create mode 100644 data/surface-pro4.tablet
1110

1211
diff --git a/data/surface-pro4.tablet b/data/surface-pro4.tablet
@@ -29,18 +28,6 @@ index 0000000..bb6f02f
2928
+Stylus=true
3029
+Touch=true
3130
+Buttons=0
32-
diff --git a/meson.build b/meson.build
33-
index 20eb0fc..b1de7ed 100644
34-
--- a/meson.build
35-
+++ b/meson.build
36-
@@ -348,6 +348,7 @@ data_files = [
37-
'data/one-by-wacom-s-p.tablet',
38-
'data/one-by-wacom-s-p2.tablet',
39-
'data/serial-wacf004.tablet',
40-
+ 'data/surface-pro4.tablet',
41-
'data/wacom-one.tablet',
42-
'data/xp-pen-star03.tablet',
43-
]
4431
--
45-
2.26.0
32+
2.27.0
4633

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
From d89c414a70db49e6ca7672d05d5647159b8b29a2 Mon Sep 17 00:00:00 2001
1+
From a66716aa122b99f2c3c12b9d487640c120be7426 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Sat, 1 Jun 2019 22:09:47 +0200
44
Subject: [PATCH 3/8] data: Add Microsoft Surface Pro 5
55

66
---
77
data/surface-pro5.tablet | 14 ++++++++++++++
8-
meson.build | 1 +
9-
2 files changed, 15 insertions(+)
8+
1 file changed, 14 insertions(+)
109
create mode 100644 data/surface-pro5.tablet
1110

1211
diff --git a/data/surface-pro5.tablet b/data/surface-pro5.tablet
@@ -29,18 +28,6 @@ index 0000000..2ad6539
2928
+Stylus=true
3029
+Touch=true
3130
+Buttons=0
32-
diff --git a/meson.build b/meson.build
33-
index b1de7ed..41f29c3 100644
34-
--- a/meson.build
35-
+++ b/meson.build
36-
@@ -349,6 +349,7 @@ data_files = [
37-
'data/one-by-wacom-s-p2.tablet',
38-
'data/serial-wacf004.tablet',
39-
'data/surface-pro4.tablet',
40-
+ 'data/surface-pro5.tablet',
41-
'data/wacom-one.tablet',
42-
'data/xp-pen-star03.tablet',
43-
]
4431
--
45-
2.26.0
32+
2.27.0
4633

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
From 4614cfcf4f437ef1e042100e7750e36c032e2146 Mon Sep 17 00:00:00 2001
1+
From cfdb0ebe6303ec2eada62b9f61e4e1c1b0fc0233 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Mon, 3 Jun 2019 00:40:34 +0200
44
Subject: [PATCH 4/8] data: Add Microsoft Surface Pro 6
55

66
---
77
data/surface-pro6.tablet | 14 ++++++++++++++
8-
meson.build | 1 +
9-
2 files changed, 15 insertions(+)
8+
1 file changed, 14 insertions(+)
109
create mode 100644 data/surface-pro6.tablet
1110

1211
diff --git a/data/surface-pro6.tablet b/data/surface-pro6.tablet
@@ -29,18 +28,6 @@ index 0000000..da31e8f
2928
+Stylus=true
3029
+Touch=true
3130
+Buttons=0
32-
diff --git a/meson.build b/meson.build
33-
index 41f29c3..49bb185 100644
34-
--- a/meson.build
35-
+++ b/meson.build
36-
@@ -350,6 +350,7 @@ data_files = [
37-
'data/serial-wacf004.tablet',
38-
'data/surface-pro4.tablet',
39-
'data/surface-pro5.tablet',
40-
+ 'data/surface-pro6.tablet',
41-
'data/wacom-one.tablet',
42-
'data/xp-pen-star03.tablet',
43-
]
4431
--
45-
2.26.0
32+
2.27.0
4633

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
From 9535ce6363534d7bf7c964a9bcc305515b0df5eb Mon Sep 17 00:00:00 2001
1+
From 122fcb323532c576fb3913b6c2230dc57cf35b12 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Mon, 3 Jun 2019 00:45:41 +0200
44
Subject: [PATCH 5/8] data: Add Microsoft Surface Book
55

66
---
77
data/surface-book.tablet | 14 ++++++++++++++
8-
meson.build | 1 +
9-
2 files changed, 15 insertions(+)
8+
1 file changed, 14 insertions(+)
109
create mode 100644 data/surface-book.tablet
1110

1211
diff --git a/data/surface-book.tablet b/data/surface-book.tablet
@@ -29,18 +28,6 @@ index 0000000..45e17db
2928
+Stylus=true
3029
+Touch=true
3130
+Buttons=0
32-
diff --git a/meson.build b/meson.build
33-
index 49bb185..04f58e0 100644
34-
--- a/meson.build
35-
+++ b/meson.build
36-
@@ -348,6 +348,7 @@ data_files = [
37-
'data/one-by-wacom-s-p.tablet',
38-
'data/one-by-wacom-s-p2.tablet',
39-
'data/serial-wacf004.tablet',
40-
+ 'data/surface-book.tablet',
41-
'data/surface-pro4.tablet',
42-
'data/surface-pro5.tablet',
43-
'data/surface-pro6.tablet',
4431
--
45-
2.26.0
32+
2.27.0
4633

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
From ac4dc86a56e6a046a282fd84fefed5d7c03a01e2 Mon Sep 17 00:00:00 2001
1+
From 02712dc4d0aa1b5a153133c7e3d2549c8d1b5b32 Mon Sep 17 00:00:00 2001
22
From: qzed <[email protected]>
33
Date: Sat, 1 Jun 2019 21:48:02 +0200
44
Subject: [PATCH 6/8] data: Add Microsoft Surface Book 2 (13.5")
55

66
---
77
data/surface-book2-13.tablet | 14 ++++++++++++++
8-
meson.build | 1 +
9-
2 files changed, 15 insertions(+)
8+
1 file changed, 14 insertions(+)
109
create mode 100644 data/surface-book2-13.tablet
1110

1211
diff --git a/data/surface-book2-13.tablet b/data/surface-book2-13.tablet
@@ -29,18 +28,6 @@ index 0000000..dc1353e
2928
+Stylus=true
3029
+Touch=true
3130
+Buttons=0
32-
diff --git a/meson.build b/meson.build
33-
index 04f58e0..84f4316 100644
34-
--- a/meson.build
35-
+++ b/meson.build
36-
@@ -349,6 +349,7 @@ data_files = [
37-
'data/one-by-wacom-s-p2.tablet',
38-
'data/serial-wacf004.tablet',
39-
'data/surface-book.tablet',
40-
+ 'data/surface-book2-13.tablet',
41-
'data/surface-pro4.tablet',
42-
'data/surface-pro5.tablet',
43-
'data/surface-pro6.tablet',
4431
--
45-
2.26.0
32+
2.27.0
4633

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
From 66f02a33892d866bc50e0840b03145bf590c1322 Mon Sep 17 00:00:00 2001
1+
From f9fda882fb7ec2d379977a968bd914e938fcdafb Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Sun, 2 Jun 2019 01:01:15 +0200
44
Subject: [PATCH 7/8] data: Add Microsoft Surface Book 2 (15")
55

66
---
77
data/surface-book2-15.tablet | 14 ++++++++++++++
8-
meson.build | 1 +
9-
2 files changed, 15 insertions(+)
8+
1 file changed, 14 insertions(+)
109
create mode 100644 data/surface-book2-15.tablet
1110

1211
diff --git a/data/surface-book2-15.tablet b/data/surface-book2-15.tablet
@@ -29,18 +28,6 @@ index 0000000..6ec6551
2928
+Stylus=true
3029
+Touch=true
3130
+Buttons=0
32-
diff --git a/meson.build b/meson.build
33-
index 84f4316..55f40af 100644
34-
--- a/meson.build
35-
+++ b/meson.build
36-
@@ -350,6 +350,7 @@ data_files = [
37-
'data/serial-wacf004.tablet',
38-
'data/surface-book.tablet',
39-
'data/surface-book2-13.tablet',
40-
+ 'data/surface-book2-15.tablet',
41-
'data/surface-pro4.tablet',
42-
'data/surface-pro5.tablet',
43-
'data/surface-pro6.tablet',
4431
--
45-
2.26.0
32+
2.27.0
4633

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
From a2086130d8ee8655c8dc5ad77e14b4ab2dbc5ddb Mon Sep 17 00:00:00 2001
1+
From 7c2a08fe22b287add99d0c16c22e0538077f865e Mon Sep 17 00:00:00 2001
22
From: Ivo Damjanovic <[email protected]>
33
Date: Fri, 10 Jan 2020 00:36:33 +0100
44
Subject: [PATCH 8/8] data: Add Microsoft Surface Go
55

66
---
77
data/surface-go.tablet | 14 ++++++++++++++
8-
meson.build | 1 +
9-
2 files changed, 15 insertions(+)
8+
1 file changed, 14 insertions(+)
109
create mode 100644 data/surface-go.tablet
1110

1211
diff --git a/data/surface-go.tablet b/data/surface-go.tablet
@@ -29,18 +28,6 @@ index 0000000..0db7a78
2928
+Stylus=true
3029
+Touch=true
3130
+Buttons=0
32-
diff --git a/meson.build b/meson.build
33-
index 55f40af..3a1c548 100644
34-
--- a/meson.build
35-
+++ b/meson.build
36-
@@ -351,6 +351,7 @@ data_files = [
37-
'data/surface-book.tablet',
38-
'data/surface-book2-13.tablet',
39-
'data/surface-book2-15.tablet',
40-
+ 'data/surface-go.tablet',
41-
'data/surface-pro4.tablet',
42-
'data/surface-pro5.tablet',
43-
'data/surface-pro6.tablet',
4431
--
45-
2.26.0
32+
2.27.0
4633

pkg/debian/.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
source
2-
patches
1+
/source
32
*.deb
43
*.buildinfo
54
*.changes

pkg/debian/debian/changelog

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
libwacom-surface (1.4-1) unstable; urgency=medium
2+
3+
* Update to libwacom-1.4
4+
5+
-- Maximilian Luz <[email protected]> Wed, 24 Jun 2020 16:10:37 +0200
6+
17
libwacom-surface (1.3-2) unstable; urgency=medium
28

39
* Bump pkgrel
@@ -8,7 +14,7 @@ libwacom-surface (1.3-1) unstable; urgency=medium
814

915
* Update to libwacom-1.3
1016

11-
-- Maximilian Luz <[email protected]> Sun, 29 Mar 2020 03:27:31 +0200
17+
-- Maximilian Luz <[email protected]> Sun, 29 Mar 2020 03:27:31 +0200
1218

1319
libwacom-surface (1.2-3) unstable; urgency=medium
1420

0 commit comments

Comments
 (0)