pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/comms/libhidapi
Module Name: pkgsrc
Committed By: adam
Date: Mon Nov 16 16:48:44 UTC 2026
Modified Files:
pkgsrc/comms/libhidapi: Makefile PLIST PLIST.Darwin distinfo
pkgsrc/comms/libhidapi/patches: patch-libusb_Makefile.am
Removed Files:
pkgsrc/comms/libhidapi/patches: patch-netbsd_CMakeLists.txt
patch-netbsd_hid.c
Log Message:
libhidapi: updated to 0.16.0
0.16.0
general: add hid_read_interrupt(), hid_is_read_interrupted(), and hid_read_clear_interrupt() for read interruption
general: add hid_set_num_input_buffers() for configuring input report buffering
FreeBSD: add a native hidraw backend
libusb: implement error reporting, including hid_libusb_error()
libusb: add configurable timeouts for writes, output reports, and feature reports
libusb: handle input reports larger than a USB packet
libusb: handle read-thread creation failure without hanging device opening
hidraw: add support for BUS_VIRTUAL
hidraw: populate release_number from HID_FIRMWARE_VERSION when supplied by the Linux kernel
winapi: fix duplicate-symbol warnings in static CMake builds
winapi: improve C99 and WIN32_LEAN_AND_MEAN compatibility
winapi: add Visual Studio 2026 support
macOS: fix compilation with newer Apple Clang
NetBSD: improve root-hub discovery and iconv compatibility
general: add HIDAPI_BUILD_AS_CXX for compiling the backends as C++
general: improve pkg-config integration
general: expand automated tests and build coverage
general: various other fixes and improvements
To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/comms/libhidapi/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/comms/libhidapi/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/comms/libhidapi/PLIST.Darwin
cvs rdiff -u -r1.11 -r1.12 pkgsrc/comms/libhidapi/distinfo
cvs rdiff -u -r1.2 -r1.3 \
pkgsrc/comms/libhidapi/patches/patch-libusb_Makefile.am
cvs rdiff -u -r1.1 -r0 \
pkgsrc/comms/libhidapi/patches/patch-netbsd_CMakeLists.txt
cvs rdiff -u -r1.2 -r0 pkgsrc/comms/libhidapi/patches/patch-netbsd_hid.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/comms/libhidapi/Makefile
diff -u pkgsrc/comms/libhidapi/Makefile:1.14 pkgsrc/comms/libhidapi/Makefile:1.15
--- pkgsrc/comms/libhidapi/Makefile:1.14 Fri Nov 6 14:12:53 2026
+++ pkgsrc/comms/libhidapi/Makefile Mon Nov 16 16:48:43 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2026/11/06 14:12:53 adam Exp $
+# $NetBSD: Makefile,v 1.15 2026/11/16 16:48:43 adam Exp $
-DISTNAME= hidapi-0.15.0
+DISTNAME= hidapi-0.16.0
PKGNAME= lib${DISTNAME}
CATEGORIES= comms devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=libusb/}
Index: pkgsrc/comms/libhidapi/PLIST
diff -u pkgsrc/comms/libhidapi/PLIST:1.9 pkgsrc/comms/libhidapi/PLIST:1.10
--- pkgsrc/comms/libhidapi/PLIST:1.9 Fri Mar 13 10:37:25 2026
+++ pkgsrc/comms/libhidapi/PLIST Mon Nov 16 16:48:43 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2026/03/13 10:37:25 tsutsui Exp $
+@comment $NetBSD: PLIST,v 1.10 2026/11/16 16:48:43 adam Exp $
include/hidapi/hidapi.h
${PLIST.libusb}include/hidapi/hidapi_libusb.h
lib/cmake/hidapi/hidapi-config-version.cmake
@@ -6,14 +6,15 @@ lib/cmake/hidapi/hidapi-config.cmake
lib/cmake/hidapi/libhidapi-release.cmake
lib/cmake/hidapi/libhidapi.cmake
${PLIST.hidraw}lib/libhidapi-hidraw.so
-${PLIST.hidraw}lib/libhidapi-hidraw.so.0
${PLIST.hidraw}lib/libhidapi-hidraw.so.${PKGVERSION}
+${PLIST.hidraw}lib/libhidapi-hidraw.so.0
lib/libhidapi-libusb.so
-lib/libhidapi-libusb.so.0
lib/libhidapi-libusb.so.${PKGVERSION}
+lib/libhidapi-libusb.so.0
${PLIST.netbsd}lib/libhidapi-netbsd.so
-${PLIST.netbsd}lib/libhidapi-netbsd.so.0
${PLIST.netbsd}lib/libhidapi-netbsd.so.${PKGVERSION}
+${PLIST.netbsd}lib/libhidapi-netbsd.so.0
${PLIST.hidraw}lib/pkgconfig/hidapi-hidraw.pc
${PLIST.libusb}lib/pkgconfig/hidapi-libusb.pc
${PLIST.netbsd}lib/pkgconfig/hidapi-netbsd.pc
+lib/pkgconfig/hidapi.pc
Index: pkgsrc/comms/libhidapi/PLIST.Darwin
diff -u pkgsrc/comms/libhidapi/PLIST.Darwin:1.3 pkgsrc/comms/libhidapi/PLIST.Darwin:1.4
--- pkgsrc/comms/libhidapi/PLIST.Darwin:1.3 Fri Jul 7 08:07:12 2023
+++ pkgsrc/comms/libhidapi/PLIST.Darwin Mon Nov 16 16:48:43 2026
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST.Darwin,v 1.3 2023/07/07 08:07:12 triaxx Exp $
+@comment $NetBSD: PLIST.Darwin,v 1.4 2026/11/16 16:48:43 adam Exp $
include/hidapi/hidapi_darwin.h
lib/libhidapi.${PKGVERSION}.dylib
lib/libhidapi.0.dylib
lib/libhidapi.dylib
-lib/pkgconfig/hidapi.pc
+lib/pkgconfig/hidapi-darwin.pc
Index: pkgsrc/comms/libhidapi/distinfo
diff -u pkgsrc/comms/libhidapi/distinfo:1.11 pkgsrc/comms/libhidapi/distinfo:1.12
--- pkgsrc/comms/libhidapi/distinfo:1.11 Tue Mar 17 19:13:40 2026
+++ pkgsrc/comms/libhidapi/distinfo Mon Nov 16 16:48:43 2026
@@ -1,10 +1,8 @@
-$NetBSD: distinfo,v 1.11 2026/03/17 19:13:40 tsutsui Exp $
+$NetBSD: distinfo,v 1.12 2026/11/16 16:48:43 adam Exp $
-BLAKE2s (hidapi-0.15.0.tar.gz) = 194b619bd498bee0708388a97dd04f2af6e0065deb74d4aafa8572f6195e97d4
-SHA512 (hidapi-0.15.0.tar.gz) = a4ddd13a80a84956872fa52aa861b40e4959f301d8d91afe0feaf9dbd87394561e1fdd20cbf8cf47200845f80a8db8a934bc2e3025fe6f16435e37c17621e7b6
-Size (hidapi-0.15.0.tar.gz) = 363838 bytes
+BLAKE2s (hidapi-0.16.0.tar.gz) = a071992416e4eaad2717fbe8eb6e3675d4a28f79da907061c01df24f226ba157
+SHA512 (hidapi-0.16.0.tar.gz) = 071d00eab861a18a05664e5a2e81beb332df06fb40feeba72b64e3f70c1e0772e2556f8ae5677e2340a5417fc6109ef450bcb67e74f5529d3984d4a7c10b433e
+Size (hidapi-0.16.0.tar.gz) = 453539 bytes
SHA1 (patch-Makefile.am) = 8e39fc4650601af39c510107ca2b3c85029fb2df
SHA1 (patch-configure.ac) = caf23d94ec0af608f63dfd3acba7b3624af78bdc
-SHA1 (patch-libusb_Makefile.am) = 2caf718bd7538bcc43b7eaea75dc5a7024f12581
-SHA1 (patch-netbsd_CMakeLists.txt) = 6a9ddb4e69be23cc34f59aee71520e17795b647a
-SHA1 (patch-netbsd_hid.c) = 4bd7079c86b34e5a43e12c5b609d7f1e209fedf0
+SHA1 (patch-libusb_Makefile.am) = e54f4d111518bfa8b41fa92011ceb743c5351734
Index: pkgsrc/comms/libhidapi/patches/patch-libusb_Makefile.am
diff -u pkgsrc/comms/libhidapi/patches/patch-libusb_Makefile.am:1.2 pkgsrc/comms/libhidapi/patches/patch-libusb_Makefile.am:1.3
--- pkgsrc/comms/libhidapi/patches/patch-libusb_Makefile.am:1.2 Sat Nov 20 18:59:05 2021
+++ pkgsrc/comms/libhidapi/patches/patch-libusb_Makefile.am Mon Nov 16 16:48:44 2026
@@ -1,11 +1,11 @@
-$NetBSD: patch-libusb_Makefile.am,v 1.2 2021/11/20 18:59:05 nia Exp $
+$NetBSD: patch-libusb_Makefile.am,v 1.3 2026/11/16 16:48:44 adam Exp $
Support NetBSD.
---- libusb/Makefile.am.orig 2021-09-27 10:08:20.000000000 +0000
+--- libusb/Makefile.am.orig 2026-11-15 21:12:48.000000000 +0000
+++ libusb/Makefile.am
-@@ -14,6 +14,13 @@ libhidapi_la_LDFLAGS = $(LTLDFLAGS)
- libhidapi_la_LIBADD = $(LIBS_LIBUSB)
+@@ -14,6 +14,13 @@ libhidapi_libusb_la_LDFLAGS = $(LTLDFLAG
+ libhidapi_libusb_la_LIBADD = $(LIBS_LIBUSB)
endif
+if OS_NETBSD
Home |
Main Index |
Thread Index |
Old Index