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:   nikita
Date:           Tue May 23 17:54:04 UTC 2023

Modified Files:
        pkgsrc/comms/libhidapi: Makefile PLIST PLIST.Darwin distinfo

Log Message:
libhidapi: update to version 0.14.0

Changelog (taken from https://github.com/libusb/hidapi/releases/tag/hidapi-0.14.0):

hidapi-0.14.0
d3013f0

general: add hid_get_report_descriptor API function (#451)
macOS: fix retrieving USB Interface number on macOS 13.3 (#534)
macOS: Properly handle the close of run loop on macOS (#522)
libusb: fix crash in hid_enumerate() caused by a stale device handle (#526)

windows: alternative way to get USB Serial Number if not provided by HidD_GetSerialNumberString (#464)
windows: don't mark with dllexport in static build (#507/#515)
windows: Get Bluetooth device Model Number String instead of Device Name into product string (#500)

general: fixes (mostly error handling) of issues found by Coverity Scan (#552/#554/#555/#559/#560/#561)
general: variouse fixes and improvements

Released hidapi-win.zip includes pre-compiled:

    hidapi.dll
    hidapi.lib

For x86 and x64 Windows platforms.
And header file(s) for it.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/comms/libhidapi/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/comms/libhidapi/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/comms/libhidapi/PLIST.Darwin
cvs rdiff -u -r1.8 -r1.9 pkgsrc/comms/libhidapi/distinfo

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.10 pkgsrc/comms/libhidapi/Makefile:1.11
--- pkgsrc/comms/libhidapi/Makefile:1.10        Thu May 18 09:04:59 2023
+++ pkgsrc/comms/libhidapi/Makefile     Tue May 23 17:54:04 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2023/05/18 09:04:59 nikita Exp $
+# $NetBSD: Makefile,v 1.11 2023/05/23 17:54:04 nikita Exp $
 
 GITHUB_PROJECT=        hidapi
-GITHUB_TAG=    ${GITHUB_PROJECT}-0.13.1
+GITHUB_TAG=    ${GITHUB_PROJECT}-0.14.0
 DISTNAME=      ${GITHUB_TAG}
 PKGNAME=       lib${DISTNAME}
 CATEGORIES=    comms devel
@@ -24,6 +24,8 @@ PKGCONFIG_OVERRIDE+=  pc/hidapi.pc.in
 
 PLIST_VARS+=   libusb hidraw
 
+PLIST_SUBST+=  PKGVERSION=${PKGVERSION_NOREV}
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} != "Darwin"

Index: pkgsrc/comms/libhidapi/PLIST
diff -u pkgsrc/comms/libhidapi/PLIST:1.7 pkgsrc/comms/libhidapi/PLIST:1.8
--- pkgsrc/comms/libhidapi/PLIST:1.7    Thu May 18 09:04:59 2023
+++ pkgsrc/comms/libhidapi/PLIST        Tue May 23 17:54:04 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2023/05/18 09:04:59 nikita Exp $
+@comment $NetBSD: PLIST,v 1.8 2023/05/23 17:54:04 nikita Exp $
 include/hidapi/hidapi.h
 ${PLIST.libusb}include/hidapi/hidapi_libusb.h
 lib/cmake/hidapi/hidapi-config-version.cmake
@@ -7,9 +7,9 @@ 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.0.13.1
+${PLIST.hidraw}lib/libhidapi-hidraw.so.${PKGVERSION}
 lib/libhidapi-libusb.so
 lib/libhidapi-libusb.so.0
-lib/libhidapi-libusb.so.0.13.1
+lib/libhidapi-libusb.so.${PKGVERSION}
 ${PLIST.hidraw}lib/pkgconfig/hidapi-hidraw.pc
 ${PLIST.libusb}lib/pkgconfig/hidapi-libusb.pc

Index: pkgsrc/comms/libhidapi/PLIST.Darwin
diff -u pkgsrc/comms/libhidapi/PLIST.Darwin:1.1 pkgsrc/comms/libhidapi/PLIST.Darwin:1.2
--- pkgsrc/comms/libhidapi/PLIST.Darwin:1.1     Thu May 18 09:04:59 2023
+++ pkgsrc/comms/libhidapi/PLIST.Darwin Tue May 23 17:54:04 2023
@@ -1,6 +1,6 @@
-@comment $NetBSD: PLIST.Darwin,v 1.1 2023/05/18 09:04:59 nikita Exp $
+@comment $NetBSD: PLIST.Darwin,v 1.2 2023/05/23 17:54:04 nikita Exp $
 include/hidapi/hidapi_darwin.h
-lib/libhidapi.0.13.1dylib
+lib/libhidapi.${PKGVERSION}dylib
 lib/libhidapi.0.dylib
 lib/libhidapi.dylib
 lib/pkgconfig/hidapi.pc

Index: pkgsrc/comms/libhidapi/distinfo
diff -u pkgsrc/comms/libhidapi/distinfo:1.8 pkgsrc/comms/libhidapi/distinfo:1.9
--- pkgsrc/comms/libhidapi/distinfo:1.8 Wed May 10 16:56:38 2023
+++ pkgsrc/comms/libhidapi/distinfo     Tue May 23 17:54:04 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2023/05/10 16:56:38 nikita Exp $
+$NetBSD: distinfo,v 1.9 2023/05/23 17:54:04 nikita Exp $
 
-BLAKE2s (hidapi-0.13.1.tar.gz) = 07f19a135f835e6e28a058bad6de751f11069e75a44212ecdead881ac6a9a6d1
-SHA512 (hidapi-0.13.1.tar.gz) = 07b224b9b5146caf693e6d67514fed236436ed68f38a3ada98ebf8352dfaa4e175f576902affb4b79da1bb8c9b47a1ee0831a93c7d3d210e93faee24632f7d53
-Size (hidapi-0.13.1.tar.gz) = 244666 bytes
+BLAKE2s (hidapi-0.14.0.tar.gz) = b2121c1d82fb4ddfddd66179a36c417f5a7bae08f8e040df8bb3c51aa57b3f12
+SHA512 (hidapi-0.14.0.tar.gz) = 66a045144f90b41438898b82f0398e80223323ebfe6e4f197d2713696bb3ae60f36aea5a37a9999b34b12294783fd7e4c28c6e785462559cbe21276009da1eac
+Size (hidapi-0.14.0.tar.gz) = 348221 bytes
 SHA1 (patch-Makefile.am) = 8e39fc4650601af39c510107ca2b3c85029fb2df
 SHA1 (patch-configure.ac) = caf23d94ec0af608f63dfd3acba7b3624af78bdc
 SHA1 (patch-libusb_Makefile.am) = 2caf718bd7538bcc43b7eaea75dc5a7024f12581



Home | Main Index | Thread Index | Old Index