Subject: CVS commit: pkgsrc/comms/libhidapi
From: Nikita
Date: 2023-05-10 18:56:38
Message id: 20230510165638.755CCFA87@cvs.NetBSD.org

Log Message:
libhidapi: update to version 0.13.1

Change build-system to cmake, autotools is deprecated upstream.

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

hidapi-0.13.1

    hidraw: fix invalid read past the UDEV buffer;

hidapi-0.13.0

    general: add hid_get_device_info (#432);
    general: Meson build script (as a wrapper over CMake) (#410);
    general: add HID Bus Type in hid_device_info (#308);
    libusb: primary usage_page/usage is now available with hid_get_device_info \ 
regardless of the compilation flags;
    hidraw: Open files with O_CLOEXEC to not leak fds to child processes (#446);
    hidraw: add support for HID over SPI (#486);
    macOS: implement hid_error (#314);
    cmake: libusb: Ensure Iconv is found when provided via CFLAGS/LDFLAGS (#430);
Other various improvements.

hidapi-0.12.0

    Windows: migrate from SetupApi to CfgMgr32 (#362) - as per recommendation \ 
from Microsoft;

    Windows: add hid_winapi_get_container_id WinAPI-specific function (#379);

    Windows: improved error messages (#388);

    Windows: fixed out-of-boundary memory access for some of the function (#418);

    windows: Add .rc (#415);

    macOS: add hid_darwin_get_location_id macOS-specific function (#378);

    macOS: add macOS-specific function(s) to open device(s) in non-exclusive \ 
mode (#397);

    libusb: improved CMake dependency on Iconv (#405) - as a result, better \ 
support for NetBSD;

    general: documentation improvements;

    general: small code cleanups/improvements;

hidapi-0.11.2

    hidraw: hid_get_input_report implementation for kernels that supports it (#351);
    windows: several improvements and bugfixes (#348, #360, #361);
    libusb: fix potential crash when libusb_detach_kernel_driver fails (#363)
    general: documentation improvements;

Files:
RevisionActionfile
1.6modifypkgsrc/comms/libhidapi/Makefile
1.5modifypkgsrc/comms/libhidapi/PLIST
1.8modifypkgsrc/comms/libhidapi/distinfo