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:           Wed May 10 16:56:38 UTC 2023

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

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;


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/comms/libhidapi/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/comms/libhidapi/PLIST
cvs rdiff -u -r1.7 -r1.8 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.5 pkgsrc/comms/libhidapi/Makefile:1.6
--- pkgsrc/comms/libhidapi/Makefile:1.5 Tue Dec  7 16:42:13 2021
+++ pkgsrc/comms/libhidapi/Makefile     Wed May 10 16:56:38 2023
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2021/12/07 16:42:13 jperkin Exp $
+# $NetBSD: Makefile,v 1.6 2023/05/10 16:56:38 nikita Exp $
 
 GITHUB_PROJECT=        hidapi
-GITHUB_TAG=    ${GITHUB_PROJECT}-0.11.0
+GITHUB_TAG=    ${GITHUB_PROJECT}-0.13.1
 DISTNAME=      ${GITHUB_TAG}
 PKGNAME=       lib${DISTNAME}
 CATEGORIES=    comms devel
@@ -13,11 +13,8 @@ COMMENT=     Library for comunicating with b
 LICENSE=       gnu-gpl-v3 OR modified-bsd
 
 USE_LANGUAGES= c c++
-USE_TOOLS+=    autoreconf autoconf automake
-USE_TOOLS+=    pkg-config gmake
+USE_TOOLS+=    pkg-config
 
-HAS_CONFIGURE= yes
-GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 
 PKGCONFIG_OVERRIDE+=   pc/hidapi-hidraw.pc.in
@@ -32,9 +29,7 @@ PLIST_VARS+=  libusb
 PLIST.libusb=  yes
 .endif
 
-pre-configure:
-       cd ${WRKSRC} && ${SH} ./bootstrap
-
+.include "../../devel/cmake/build.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/libusb1/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/comms/libhidapi/PLIST
diff -u pkgsrc/comms/libhidapi/PLIST:1.4 pkgsrc/comms/libhidapi/PLIST:1.5
--- pkgsrc/comms/libhidapi/PLIST:1.4    Tue Dec  7 16:42:13 2021
+++ pkgsrc/comms/libhidapi/PLIST        Wed May 10 16:56:38 2023
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.4 2021/12/07 16:42:13 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.5 2023/05/10 16:56:38 nikita Exp $
 include/hidapi/hidapi.h
 ${PLIST.libusb}include/hidapi/hidapi_libusb.h
-lib/libhidapi.la
-lib/pkgconfig/hidapi.pc
-share/doc/hidapi/AUTHORS.txt
-share/doc/hidapi/LICENSE-bsd.txt
-share/doc/hidapi/LICENSE-gpl3.txt
-share/doc/hidapi/LICENSE-orig.txt
-share/doc/hidapi/LICENSE.txt
-share/doc/hidapi/README.md
+lib/cmake/hidapi/hidapi-config-version.cmake
+lib/cmake/hidapi/hidapi-config.cmake
+lib/cmake/hidapi/libhidapi-release.cmake
+lib/cmake/hidapi/libhidapi.cmake
+lib/libhidapi-libusb.so
+lib/libhidapi-libusb.so.0
+lib/libhidapi-libusb.so.0.13.1
+lib/pkgconfig/hidapi-libusb.pc

Index: pkgsrc/comms/libhidapi/distinfo
diff -u pkgsrc/comms/libhidapi/distinfo:1.7 pkgsrc/comms/libhidapi/distinfo:1.8
--- pkgsrc/comms/libhidapi/distinfo:1.7 Sat Nov 20 18:59:05 2021
+++ pkgsrc/comms/libhidapi/distinfo     Wed May 10 16:56:38 2023
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.7 2021/11/20 18:59:05 nia Exp $
+$NetBSD: distinfo,v 1.8 2023/05/10 16:56:38 nikita Exp $
 
-BLAKE2s (hidapi-0.11.0.tar.gz) = 02dafe2ed9d145768a4b36ac2ce9c50292824eec3fde39e9ad3f68f8a65d49c0
-SHA512 (hidapi-0.11.0.tar.gz) = 0de4abc963600d159ce231416c468b9e81a8361e4d2c2202988d6eb2e58a923700e9b9be639fbddc6bc14625131848409e2e88dbc4b34a1f8a726c8fa4692d92
-Size (hidapi-0.11.0.tar.gz) = 232631 bytes
+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
 SHA1 (patch-Makefile.am) = 8e39fc4650601af39c510107ca2b3c85029fb2df
 SHA1 (patch-configure.ac) = caf23d94ec0af608f63dfd3acba7b3624af78bdc
 SHA1 (patch-libusb_Makefile.am) = 2caf718bd7538bcc43b7eaea75dc5a7024f12581



Home | Main Index | Thread Index | Old Index