Dear all, I would like to package hidapi and propose it for inclusion in Cygwin. hidapi is a multi-platform library which allows an application to interface with USB and Bluetooth HID-Class devices on Windows, Linux, and Mac OS X. hidapi has been included in many Linux distributions.
My proposed setup.hint: MinGW 64 bit: -------------------------------------------------------------------------------------------------- category: Devel requires: sdesc: "USB HID library for Win64 toolchain" ldesc: "C Library for USB/Bluetooth HID device access from Linux, Mac OS X, FreeBSD, and Windows." -------------------------------------------------------------------------------------------------- MinGW 32 bit: -------------------------------------------------------------------------------------------------- category: Devel requires: sdesc: "USB HID library for Win32 toolchain" ldesc: "C Library for USB/Bluetooth HID device access from Linux, Mac OS X, FreeBSD, and Windows." -------------------------------------------------------------------------------------------------- Cygwin libhidapi0 32/64 bit: -------------------------------------------------------------------------------------------------- category: Libs requires: sdesc: "USB HID library" ldesc: "C Library for USB/Bluetooth HID device access from Linux, Mac OS X, FreeBSD, and Windows." external-source: hidapi -------------------------------------------------------------------------------------------------- Cygwin libhidapi-devel 32/64 bit: -------------------------------------------------------------------------------------------------- category: Libs requires: libhidapi0 sdesc: "USB HID library" ldesc: "C Library for USB/Bluetooth HID device access from Linux, Mac OS X, FreeBSD, and Windows." external-source: hidapi -------------------------------------------------------------------------------------------------- The package build successfully and everything works for me. The package files are available for inspection from: https://github.com/azru0512/cygwin/releases/download/mingw-hidapi-0.8.0-rc1.x86_64/setup.hint https://github.com/azru0512/cygwin/releases/download/mingw-hidapi-0.8.0-rc1.x86_64/mingw64-x86_64-hidapi-0.8.0-rc1-1-src.tar.xz https://github.com/azru0512/cygwin/releases/download/mingw-hidapi-0.8.0-rc1.x86_64/mingw64-x86_64-hidapi-0.8.0-rc1-1.tar.xz https://github.com/azru0512/cygwin/releases/download/mingw-hidapi-0.8.0-rc1.x86_64/setup-debuginfo.hint https://github.com/azru0512/cygwin/releases/download/mingw-hidapi-0.8.0-rc1.x86_64/mingw64-x86_64-hidapi-debuginfo-0.8.0-rc1-1.tar.xz https://github.com/azru0512/cygwin/releases/download/mingw-hidapi-0.8.0-rc1.i686/setup.hint https://github.com/azru0512/cygwin/releases/download/mingw-hidapi-0.8.0-rc1.i686/mingw64-i686-hidapi-0.8.0-rc1-1-src.tar.xz https://github.com/azru0512/cygwin/releases/download/mingw-hidapi-0.8.0-rc1.i686/mingw64-i686-hidapi-0.8.0-rc1-1.tar.xz https://github.com/azru0512/cygwin/releases/download/mingw-hidapi-0.8.0-rc1.i686/setup-debuginfo.hint https://github.com/azru0512/cygwin/releases/download/mingw-hidapi-0.8.0-rc1.i686/mingw64-i686-hidapi-debuginfo-0.8.0-rc1-1.tar.xz https://github.com/azru0512/cygwin/releases/download/hidapi-0.8.0-rc1.x86_64/hidapi-0.8.0-rc1-1.x86_64.tar.xz https://github.com/azru0512/cygwin/releases/download/hidapi-0.8.0-rc1.i686/hidapi-0.8.0-rc1-1.i686.tar.xz Regards, chenwj -- Wei-Ren Chen (陳韋任) Homepage: http://people.cs.nctu.edu.tw/~chenwj