notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Port details
hidapi Library to access USB HID-class devices
0.11.2 comms on this many watch lists=5 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.11.2Version of this port present on the latest quarterly branch.
Maintainer: ehaupt@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-01-03 20:43:21
Last Update: 2022-01-09 10:43:35
Commit Hash: d302993
People watching this port, also watch:: git, readline, libedit, rsync, dialog4ports
License: BSD3CLAUSE GPLv3
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (21 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/hidapi-0.11.2/catalog.mk
  3. /usr/local/share/licenses/hidapi-0.11.2/LICENSE
  4. /usr/local/share/licenses/hidapi-0.11.2/BSD3CLAUSE
  5. /usr/local/share/licenses/hidapi-0.11.2/GPLv3
  6. include/hidapi/hidapi.h
  7. include/hidapi/hidapi_libusb.h
  8. lib/libhidapi.a
  9. lib/libhidapi.so
  10. lib/libhidapi.so.0
  11. lib/libhidapi.so.0.0.0
  12. libdata/pkgconfig/hidapi.pc
  13. share/doc/hidapi/AUTHORS.txt
  14. share/doc/hidapi/LICENSE-bsd.txt
  15. share/doc/hidapi/LICENSE-gpl3.txt
  16. share/doc/hidapi/LICENSE-orig.txt
  17. share/doc/hidapi/LICENSE.txt
  18. share/doc/hidapi/README.md
  19. @owner
  20. @group
  21. @mode
Collapse this list.
Dependency lines:
  • For RUN/BUILD depends:
    • hidapi>0:comms/hidapi
  • For LIB depends:
    • libhidapi.so:comms/hidapi
To install the port:
cd /usr/ports/comms/hidapi/ && make install clean
To add the package, run one of these commands:
  • pkg install comms/hidapi
  • pkg install hidapi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: hidapi
Flavors: there is no flavor information for this port.
distinfo:
Packages (timestamps in pop-ups are UTC):
hidapi
ABIlatestquarterly
FreeBSD:11:aarch640.8.0.r1_30.8.0.r1_3
FreeBSD:11:amd640.10.10.10.1
FreeBSD:11:armv60.8.0.r1_30.8.0.r1_3
FreeBSD:11:i3860.10.10.10.1
FreeBSD:11:mips--
FreeBSD:11:mips640.8.0.r1_30.8.0.r1_3
FreeBSD:12:aarch640.8.0.r1_30.11.2
FreeBSD:12:amd640.11.20.11.2
FreeBSD:12:armv60.8.0.r1_30.8.0.r1_3
FreeBSD:12:armv70.8.0.r1_30.8.0.r1_3
FreeBSD:12:i3860.11.20.11.2
FreeBSD:12:mips--
FreeBSD:12:mips640.8.0.r1_30.8.0.r1_3
FreeBSD:12:powerpc64-0.10.1
FreeBSD:13:aarch640.11.20.11.2
FreeBSD:13:amd640.11.20.11.2
FreeBSD:13:armv60.8.0.r1_30.11.2
FreeBSD:13:armv70.8.0.r1_30.11.2
FreeBSD:13:i3860.11.20.11.2
FreeBSD:13:mips--
FreeBSD:13:mips640.8.0.r1_30.8.0.r1_3
FreeBSD:13:powerpc640.8.0.r1_30.10.1
FreeBSD:14:aarch640.11.2-
FreeBSD:14:amd640.11.2-
FreeBSD:14:armv60.11.2-
FreeBSD:14:armv70.11.2-
FreeBSD:14:i3860.11.2-
FreeBSD:14:mips--
FreeBSD:14:mips640.11.2-
FreeBSD:14:powerpc640.10.1-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. msgfmt : devel/gettext-tools
  2. pkgconf>=1.3.0_1 : devel/pkgconf
  3. autoconf>=2.69 : devel/autoconf
  4. automake>=1.16.1 : devel/automake
  5. libtoolize : devel/libtool
Library dependencies:
  1. libiconv.so : converters/libiconv
This port is required by:
for Build
  1. audio/headsetcontrol
  2. misc/g810-led
for Libraries
  1. audio/headsetcontrol
  2. audio/mixxx
  3. audio/mixxx22
  4. cad/openscad
  5. cad/openscad-devel
  6. comms/libconcord
  7. comms/py-hidapi
Expand this list (18 items / 11 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/mysql80-client
  3. databases/mysql80-server
  4. devel/msp430-debug-stack
  5. emulators/dolphin-emu
  6. misc/g810-led
  7. misc/openhmd
  8. security/libnitrokey
  9. security/libu2f-host
  10. security/solana
  11. sysutils/msiklm
  12. Collapse this list.

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. audio/mixxx21*
  2. Collapse this list of deleted ports.
for Run
  1. comms/py-hid
  2. sysutils/solaar

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/libusb/hidapi/tar.gz/hidapi-0.11.2?dummy=/
Collapse this list.

Number of commits found: 16

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
09 Jan 2022 10:43:35
 files touched by this commit commit hash:d302993ef247611e086323e55d1a2ef1cab5d41d  0.11.2
Emanuel Haupt (ehaupt) search for other commits by this committer
comms/hidapi: Update to 0.11.2
07 Oct 2021 15:52:05
 files touched by this commit commit hash:a25d8b2a68117b2fae70a8fc46df808b58e5dd60  0.11.0_1
Emanuel Haupt (ehaupt) search for other commits by this committer
comms/hidapi: Switch from cmake back to autoreconf build

Switch from cmake back to to autoreconf build as this broke
comms/py-hidapi. Once this has been investigated and fixed we
can switch back to cmake.

Notified by:	pkg-fallout
06 Oct 2021 18:39:44
 files touched by this commit commit hash:17e834af3141675728b00ecff9de22e463a8da27  0.11.0
Emanuel Haupt (ehaupt) search for other commits by this committer
comms/hidapi: Update to 0.11.1

Switch to cmake due to upstream deprecation warning

Release notes:  https://github.com/libusb/hidapi/releases/tag/hidapi-0.11.0
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  0.10.1
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  0.10.1
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
17 Mar 2021 10:01:26
Original commit files touched by this commit Revision:568637  0.10.1
tijl search for other commits by this committer
The libusb project has adopted hidapi.  Update to their latest release,
0.10.1.  Bump py-hidapi so it gets rebuilt to use new functions.
Hand over to maintainer of py-hidapi so the two can be maintained together.

Reported by:	Corey Stephan (marquette.edu)
Tested by:	ehaupt
10 Sep 2018 13:14:52
Original commit files touched by this commit Revision:479406  0.8.0.r1_3
mat search for other commits by this committer
Add DOCS options to ports that should have one.

Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
10 Oct 2015 14:03:01
Original commit files touched by this commit Revision:398996  0.8.0.r1_3
tijl search for other commits by this committer
Remove iconv(), iconv_open() and iconv_close() symbols from libiconv.

These were FreeBSD specific aliases for libiconv(), libiconv_open() and
libiconv_close() that are now also provided by libc which complicates
writing configure tests that work correctly when both libc iconv and
libiconv are available.

Also, because the libiconv iconv.h header redefines iconv* to libiconv*
correct use of the header implies that the aliases aren't used.

The following ports needed fixes because there was something wrong with
the way they tried to detect or use iconv:

audio/deadbeef: Remove LIBICONV_PLUG from a source file.  It's a
compile-time option and should not be set in source code.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
30 May 2015 21:25:07
Original commit files touched by this commit Revision:387986  0.8.0.r1_3
mat search for other commits by this committer
Cleanup USE_GITHUB usage.

With hat:	portmgr
Sponsored by:	Absolight
06 May 2015 15:16:54
Original commit files touched by this commit Revision:385521  0.8.0.r1_3
mat search for other commits by this committer
Update ports in the [bcd]* categories to not use GH_COMMIT.

With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
18 Dec 2014 11:21:54
Original commit files touched by this commit Revision:374889  0.8.0.r1_3
bapt search for other commits by this committer
Convert to USES=autoreconf
Strip binaries
Track PORTDOCS files
20 Oct 2014 09:31:34
Original commit files touched by this commit Revision:371247  0.8.0.r1_2
bapt search for other commits by this committer
Cleanup plist
13 Sep 2014 18:25:05
Original commit files touched by this commit Revision:368126  0.8.0.r1_2
tijl search for other commits by this committer
Use default LIBTOOLIZE_ARGS
23 Apr 2014 13:25:17
Original commit files touched by this commit Revision:351936  0.8.0.r1_2
tijl search for other commits by this committer
When linking a library libA with a library libB using libtool, if libB.la
exists, libtool will add all libraries libB.la refers to (dependency_libs
field) to the linker command line and store them in the dependency_libs
field of libA.la.  So everything that subsequently links with libA will also
link to these extra libraries.  This causes too much overlinking.

This commit modifies Mk/Uses/libtool.mk so it empties the dependency_libs
field in .la libraries during staging.  However, because .la libraries have
very limited use when dependency_libs is empty it makes sense to completely
remove them during staging.

So with this commit USES=libtool is modified to remove .la libraries and a
new form (USES=libtool:keepla) is introduced in case they need to be kept
(dependency_libs is still emptied).
(Only the first 15 lines of the commit message are shown above View all of this commit message)
29 Jan 2014 21:01:51
Original commit files touched by this commit Revision:341781  0.8.0.r1_1
tijl search for other commits by this committer
- Remove part of a patch that wasn't entirely correct and let the port
  use the WCHAR_T iconv extension instead.
- Add USES=libtool and let libtoolize copy the necessary files instead of
  symlinking them such that they can be patched.
- Add a configure check for libusb_handle_events_completed.
03 Jan 2014 20:42:36
Original commit files touched by this commit Revision:338581  0.8.0.r1
tijl search for other commits by this committer
New port comms/hidapi.

HIDAPI is a platform independent library that allows applications to
work with USB HID-Class devices.  While it can be used to communicate
with standard HID devices like keyboards, mice, and joysticks, it is
most useful when used with custom (Vendor-Defined) HID devices.

Number of commits found: 16