From 197fda706d3ac48da7cfa8fe49565bf89ee3034f Mon Sep 17 00:00:00 2001 From: Armin Kuster Date: Sun, 8 Jul 2018 07:45:36 -0700 Subject: xf86-input-mouse: update to 1.9.3 drop patch now included in update Signed-off-by: Armin Kuster Signed-off-by: Richard Purdie --- .../0001-Adapt-to-removal-of-xf86GetOS.patch | 48 ---------------------- .../xorg-driver/xf86-input-mouse_1.9.2.bb | 16 -------- .../xorg-driver/xf86-input-mouse_1.9.3.bb | 14 +++++++ 3 files changed, 14 insertions(+), 64 deletions(-) delete mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-mouse/0001-Adapt-to-removal-of-xf86GetOS.patch delete mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.9.2.bb create mode 100644 meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.9.3.bb diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-mouse/0001-Adapt-to-removal-of-xf86GetOS.patch b/meta/recipes-graphics/xorg-driver/xf86-input-mouse/0001-Adapt-to-removal-of-xf86GetOS.patch deleted file mode 100644 index 4a082c0a03..0000000000 --- a/meta/recipes-graphics/xorg-driver/xf86-input-mouse/0001-Adapt-to-removal-of-xf86GetOS.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 3c8f243b750a92d5837a449d344ff884dbd02b57 Mon Sep 17 00:00:00 2001 -From: Adam Jackson -Date: Thu, 16 Feb 2017 09:21:21 -0500 -Subject: [PATCH] Adapt to removal of xf86GetOS - -Signed-off-by: Adam Jackson - -Upstream-Status: Backport -Fixes build issue with updated xorg-server changes. - -Signed-off-by: Armin Kuster - ---- - src/mouse.c | 11 +++++------ - 1 file changed, 5 insertions(+), 6 deletions(-) - -diff --git a/src/mouse.c b/src/mouse.c -index dae98aa..40d97a9 100644 ---- a/src/mouse.c -+++ b/src/mouse.c -@@ -794,7 +794,6 @@ InitProtocols(void) - { - int classes; - int i; -- const char *osname = NULL; - - if (osInfo) - return TRUE; -@@ -821,11 +820,11 @@ InitProtocols(void) - mouseProtocols[i].id = PROT_UNSUP; - - /* NetBSD uses PROT_BM for "PS/2". */ -- xf86GetOS(&osname, NULL, NULL, NULL); -- if (osname && xf86NameCmp(osname, "netbsd") == 0) -- for (i = 0; mouseProtocols[i].name; i++) -- if (mouseProtocols[i].id == PROT_PS2) -- mouseProtocols[i].id = PROT_BM; -+#if defined(__NetBSD__) -+ for (i = 0; mouseProtocols[i].name; i++) -+ if (mouseProtocols[i].id == PROT_PS2) -+ mouseProtocols[i].id = PROT_BM; -+#endif - - return TRUE; - } --- -2.7.4 - diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.9.2.bb b/meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.9.2.bb deleted file mode 100644 index 8dea384e7c..0000000000 --- a/meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.9.2.bb +++ /dev/null @@ -1,16 +0,0 @@ -require xorg-driver-input.inc - -SUMMARY = "X.Org X server -- mouse input driver" - -DESCRIPTION = "mouse is an Xorg input driver for mice. The driver \ -supports most available mouse types and interfaces. The mouse driver \ -functions as a pointer input device, and may be used as the X server's \ -core pointer. Multiple mice are supported by multiple instances of this \ -driver." - -LIC_FILES_CHKSUM = "file://COPYING;md5=90ea9f90d72b6d9327dede5ffdb2a510" - -SRC_URI += "file://0001-Adapt-to-removal-of-xf86GetOS.patch" - -SRC_URI[md5sum] = "ce2d679283a22c8e0dccdd9248594845" -SRC_URI[sha256sum] = "f425d5b05c6ab412a27e0a1106bb83f9e2662b307210abbe48270892387f4b2f" diff --git a/meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.9.3.bb b/meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.9.3.bb new file mode 100644 index 0000000000..c38dab505b --- /dev/null +++ b/meta/recipes-graphics/xorg-driver/xf86-input-mouse_1.9.3.bb @@ -0,0 +1,14 @@ +require xorg-driver-input.inc + +SUMMARY = "X.Org X server -- mouse input driver" + +DESCRIPTION = "mouse is an Xorg input driver for mice. The driver \ +supports most available mouse types and interfaces. The mouse driver \ +functions as a pointer input device, and may be used as the X server's \ +core pointer. Multiple mice are supported by multiple instances of this \ +driver." + +LIC_FILES_CHKSUM = "file://COPYING;md5=90ea9f90d72b6d9327dede5ffdb2a510" + +SRC_URI[md5sum] = "a2104693bbcfe1413397f7905eecd3dc" +SRC_URI[sha256sum] = "93ecb350604d05be98b7d4e5db3b8155a44890069a7d8d6b800c0bea79c85cc5" -- cgit 1.2.3-korg