From eced713a6abef232abb174575edb73c4323d7994c2333eb3c9afd0253f69bd34 Mon Sep 17 00:00:00 2001 From: Matwey Kornilov Date: Sun, 5 Dec 2021 19:16:50 +0000 Subject: [PATCH] Accepting request 935846 from home:dirkmueller:Factory - update to 0.11.0: * hidraw: (explicit) workaround to allow build with kernels older than 2.6.39 * libusb: stabilize device path (uses same semantic as Linux kernel) * libusb: add platform-specific hid_libusb_wrap_sys_device * general: lots of documentation improvements * general: (Windows) DDK build files are obsolete * general: add CMake build system * general: deprecated Autotools build scripts * lots of other small fixes and improvements - remove 0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch (obsolete) OBS-URL: https://build.opensuse.org/request/show/935846 OBS-URL: https://build.opensuse.org/package/show/hardware/hidapi?expand=0&rev=15 --- ...ove-duplicate-AC_CONFIG_MACRO_DIR-22.patch | 25 ------------------- _service | 9 ------- hidapi-0.10.1.tar.gz | 3 --- hidapi-0.11.0.tar.gz | 3 +++ hidapi.changes | 14 +++++++++++ hidapi.spec | 9 +++---- 6 files changed, 20 insertions(+), 43 deletions(-) delete mode 100644 0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch delete mode 100644 _service delete mode 100644 hidapi-0.10.1.tar.gz create mode 100644 hidapi-0.11.0.tar.gz diff --git a/0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch b/0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch deleted file mode 100644 index 0fbc943..0000000 --- a/0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch +++ /dev/null @@ -1,25 +0,0 @@ -From d15d594a415e5f51d2cd8ff8bb77b3765a539b98 Mon Sep 17 00:00:00 2001 -From: Jan Palus -Date: Fri, 15 Jan 2021 14:32:14 +0100 -Subject: [PATCH] configure.ac: remove duplicate AC_CONFIG_MACRO_DIR (#226) - -fixes build with autoconf 2.70 ---- - configure.ac | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 220909a..77da67a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -13,7 +13,6 @@ LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}" - - AC_CONFIG_MACRO_DIR([m4]) - AM_INIT_AUTOMAKE([foreign -Wall -Werror]) --AC_CONFIG_MACRO_DIR([m4]) - - m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) - LT_INIT --- -2.26.2 - diff --git a/_service b/_service deleted file mode 100644 index 467ec1f..0000000 --- a/_service +++ /dev/null @@ -1,9 +0,0 @@ - - - - - hidapi-0.9.0.tar.gz - sha256 - 630ee1834bdd5c5761ab079fd04f463a89585df8fcae51a7bfe4229b1e02a652 - - diff --git a/hidapi-0.10.1.tar.gz b/hidapi-0.10.1.tar.gz deleted file mode 100644 index 9000326..0000000 --- a/hidapi-0.10.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f71dd8a1f46979c17ee521bc2117573872bbf040f8a4750e492271fc141f2644 -size 119581 diff --git a/hidapi-0.11.0.tar.gz b/hidapi-0.11.0.tar.gz new file mode 100644 index 0000000..208773f --- /dev/null +++ b/hidapi-0.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:391d8e52f2d6a5cf76e2b0c079cfefe25497ba1d4659131297081fc0cd744632 +size 232631 diff --git a/hidapi.changes b/hidapi.changes index db7ad89..c2b9566 100644 --- a/hidapi.changes +++ b/hidapi.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sun Dec 5 19:02:34 UTC 2021 - Dirk Müller + +- update to 0.11.0: + * hidraw: (explicit) workaround to allow build with kernels older than 2.6.39 + * libusb: stabilize device path (uses same semantic as Linux kernel) + * libusb: add platform-specific hid_libusb_wrap_sys_device + * general: lots of documentation improvements + * general: (Windows) DDK build files are obsolete + * general: add CMake build system + * general: deprecated Autotools build scripts + * lots of other small fixes and improvements +- remove 0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch (obsolete) + ------------------------------------------------------------------- Wed Jun 9 09:19:42 UTC 2021 - Matwey Kornilov diff --git a/hidapi.spec b/hidapi.spec index fb3ebb5..43af83d 100644 --- a/hidapi.spec +++ b/hidapi.spec @@ -19,16 +19,15 @@ %define sover 0 Name: hidapi -Version: 0.10.1 +Version: 0.11.0 Release: 0 Summary: Simple library for communicating with USB and Bluetooth HID devices -License: GPL-3.0-or-later OR BSD-3-Clause +License: BSD-3-Clause OR GPL-3.0-or-later Group: System/Libraries URL: https://github.com/libusb/hidapi Source: https://github.com/libusb/hidapi/archive/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE do_not_install_docs.patch -- don't let make install put files into /usr/share/doc/packages Patch0: do_not_install_docs.patch -Patch1: 0001-configure.ac-remove-duplicate-AC_CONFIG_MACRO_DIR-22.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ @@ -73,9 +72,7 @@ HIDAPI is a library which allows an application to interface with USB and Blueto While it can be used to communicate with standard HID devices like keyboards, mice, and Joysticks, it is most useful when used with custom (Vendor-Defined) HID devices. %prep -%setup -q -n %{name}-%{name}-%{version} -%patch0 -p1 -%patch1 -p1 +%autosetup -p1 -n %{name}-%{name}-%{version} %build ./bootstrap