Accepting request 940109 from hardware

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/940109
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hidapi?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2021-12-13 19:41:55 +00:00 committed by Git OBS Bridge
commit 0eb14118d4
6 changed files with 20 additions and 43 deletions

View File

@ -1,25 +0,0 @@
From d15d594a415e5f51d2cd8ff8bb77b3765a539b98 Mon Sep 17 00:00:00 2001
From: Jan Palus <atler@pld-linux.org>
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

View File

@ -1,9 +0,0 @@
<services>
<service name="download_files" mode="disabled">
</service>
<service name="verify_file" mode="disabled">
<param name="file">hidapi-0.9.0.tar.gz</param>
<param name="verifier">sha256</param>
<param name="checksum">630ee1834bdd5c5761ab079fd04f463a89585df8fcae51a7bfe4229b1e02a652</param>
</service>
</services>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f71dd8a1f46979c17ee521bc2117573872bbf040f8a4750e492271fc141f2644
size 119581

3
hidapi-0.11.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:391d8e52f2d6a5cf76e2b0c079cfefe25497ba1d4659131297081fc0cd744632
size 232631

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sun Dec 5 19:02:34 UTC 2021 - Dirk Müller <dmueller@suse.com>
- 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 <matwey.kornilov@gmail.com>

View File

@ -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