notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.
New feature planned: get notified when the package is available. Now is the time to contribute ideas/suggestions.
Port details
hidapi Library to access USB HID-class devices
0.14.0 comms on this many watch lists=8 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.14.0Version of this port present on the latest quarterly branch.
Maintainer: sstallion@gmail.com search for ports maintained by this maintainer
Port Added: 2014-01-03 20:43:21
Last Update: 2023-05-25 09:39:33
Commit Hash: 55b6365
People watching this port, also watch:: pkg, libedit, git, readline, sqlite3
License: BSD3CLAUSE GPLv3
WWW:
https://github.com/libusb/hidapi
Description:
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
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.14.0/catalog.mk
  3. /usr/local/share/licenses/hidapi-0.14.0/LICENSE
  4. /usr/local/share/licenses/hidapi-0.14.0/BSD3CLAUSE
  5. /usr/local/share/licenses/hidapi-0.14.0/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:
  • hidapi>0: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:
TIMESTAMP = 1684809437 SHA256 (libusb-hidapi-hidapi-0.14.0_GH0.tar.gz) = a5714234abe6e1f53647dd8cba7d69f65f71c558b7896ed218864ffcf405bcbd SIZE (libusb-hidapi-hidapi-0.14.0_GH0.tar.gz) = 348221

Packages (timestamps in pop-ups are UTC):
hidapi
ABIlatestquarterly
FreeBSD:13:aarch640.14.00.14.0
FreeBSD:13:amd640.14.00.14.0
FreeBSD:13:armv60.8.0.r1_30.14.0
FreeBSD:13:armv70.14.00.14.0
FreeBSD:13:i3860.14.00.14.0
FreeBSD:13:powerpc-0.14.0
FreeBSD:13:powerpc640.8.0.r1_30.14.0
FreeBSD:13:powerpc64le-0.14.0
FreeBSD:14:aarch640.14.00.14.0
FreeBSD:14:amd640.14.00.14.0
FreeBSD:14:armv60.13.1-
FreeBSD:14:armv70.14.00.14.0
FreeBSD:14:i3860.14.00.14.0
FreeBSD:14:powerpc0.14.00.14.0
FreeBSD:14:powerpc64-0.14.0
FreeBSD:14:powerpc64le0.14.00.14.0
FreeBSD:15:aarch640.14.0-
FreeBSD:15:amd640.14.0-
FreeBSD:15:armv70.14.0-
FreeBSD:15:powerpc0.14.0-
FreeBSD:15:powerpc640.14.0-
FreeBSD:15:powerpc64le0.14.0-
 
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.71 : devel/autoconf
  4. automake>=1.16.5 : 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
  3. x11/openrgb
for Libraries
  1. audio/headsetcontrol
  2. audio/mixxx
  3. cad/openfpgaloader
  4. cad/openscad
  5. cad/openscad-devel
  6. comms/libconcord
  7. comms/py-hidapi
Expand this list (24 items / 17 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/mysql80-client
  3. databases/mysql80-server
  4. databases/mysql81-client
  5. databases/mysql81-server
  6. devel/libsigrok
  7. devel/msp430-debug-stack
  8. devel/openocd
  9. emulators/dolphin-emu
  10. misc/g810-led
  11. misc/openhmd
  12. security/libnitrokey
  13. security/libu2f-host
  14. security/solana
  15. sysutils/msiklm
  16. x11/openrgb
  17. Collapse this list.

Deleted ports which required this port:

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

Configuration Options:
===> The following configuration options are available for hidapi-0.14.0: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings
Options name:
comms_hidapi
USES:
autoreconf gettext-tools iconv:wchar_t libtool localbase pkgconfig
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.14.0?dummy=/
Collapse this list.

Number of commits found: 22

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.14.0
25 May 2023 09:39:33
commit hash: 55b63657a7c57ad5ee8fe0766dcb1604f2237e24commit hash: 55b63657a7c57ad5ee8fe0766dcb1604f2237e24commit hash: 55b63657a7c57ad5ee8fe0766dcb1604f2237e24commit hash: 55b63657a7c57ad5ee8fe0766dcb1604f2237e24 files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Steven Stallion
comms/hidapi: Update to 0.14.0

Changelog: https://github.com/libusb/hidapi/releases/tag/hidapi-0.14.0

PR:		271575
0.13.1
10 Jan 2023 16:23:51
commit hash: b8c31f55c3cff99bfb931a88edd45dce53315e85commit hash: b8c31f55c3cff99bfb931a88edd45dce53315e85commit hash: b8c31f55c3cff99bfb931a88edd45dce53315e85commit hash: b8c31f55c3cff99bfb931a88edd45dce53315e85 files touched by this commit
Nuno Teixeira (eduardo) search for other commits by this committer
Author: Steven Stallion
comms/hidapi: Update to 0.13.1

 - Submitter becomes maintainer

ChangeLog:
https://github.com/libusb/hidapi/compare/hidapi-0.12.0...hidapi-0.13.1

PR:		268856
0.12.0
17 Oct 2022 12:02:09
commit hash: 24582f35511473609c12950304f873517128020dcommit hash: 24582f35511473609c12950304f873517128020dcommit hash: 24582f35511473609c12950304f873517128020dcommit hash: 24582f35511473609c12950304f873517128020d files touched by this commit
Emanuel Haupt (ehaupt) search for other commits by this committer
*/*: Drop maintainership
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.12.0
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.12.0
26 May 2022 19:24:42
commit hash: 717a95c1e2e6e1037475d67f4a97f900dc09f6eccommit hash: 717a95c1e2e6e1037475d67f4a97f900dc09f6eccommit hash: 717a95c1e2e6e1037475d67f4a97f900dc09f6eccommit hash: 717a95c1e2e6e1037475d67f4a97f900dc09f6ec files touched by this commit
Emanuel Haupt (ehaupt) search for other commits by this committer
comms/hidapi: Update to 0.12.0
0.11.2
09 Jan 2022 10:43:35
commit hash: d302993ef247611e086323e55d1a2ef1cab5d41dcommit hash: d302993ef247611e086323e55d1a2ef1cab5d41dcommit hash: d302993ef247611e086323e55d1a2ef1cab5d41dcommit hash: d302993ef247611e086323e55d1a2ef1cab5d41d files touched by this commit
Emanuel Haupt (ehaupt) search for other commits by this committer
comms/hidapi: Update to 0.11.2
0.11.0_1
07 Oct 2021 15:52:05
commit hash: a25d8b2a68117b2fae70a8fc46df808b58e5dd60commit hash: a25d8b2a68117b2fae70a8fc46df808b58e5dd60commit hash: a25d8b2a68117b2fae70a8fc46df808b58e5dd60commit hash: a25d8b2a68117b2fae70a8fc46df808b58e5dd60 files touched by this commit
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
0.11.0
06 Oct 2021 18:39:44
commit hash: 17e834af3141675728b00ecff9de22e463a8da27commit hash: 17e834af3141675728b00ecff9de22e463a8da27commit hash: 17e834af3141675728b00ecff9de22e463a8da27commit hash: 17e834af3141675728b00ecff9de22e463a8da27 files touched by this commit
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
0.10.1
07 Apr 2021 08:09:01
commit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455ccommit hash: cf118ccf875508b9a1c570044c93cfcc82bd455c files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
0.10.1
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.10.1
17 Mar 2021 10:01:26
Revision:568637Original commit files touched by this commit
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
0.8.0.r1_3
10 Sep 2018 13:14:52
Revision:479406Original commit files touched by this commit
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
0.8.0.r1_3
10 Oct 2015 14:03:01
Revision:398996Original commit files touched by this commit
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)
0.8.0.r1_3
30 May 2015 21:25:07
Revision:387986Original commit files touched by this commit
mat search for other commits by this committer
Cleanup USE_GITHUB usage.

With hat:	portmgr
Sponsored by:	Absolight
0.8.0.r1_3
06 May 2015 15:16:54
Revision:385521Original commit files touched by this commit
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
0.8.0.r1_3
18 Dec 2014 11:21:54
Revision:374889Original commit files touched by this commit
bapt search for other commits by this committer
Convert to USES=autoreconf
Strip binaries
Track PORTDOCS files
0.8.0.r1_2
20 Oct 2014 09:31:34
Revision:371247Original commit files touched by this commit
bapt search for other commits by this committer
Cleanup plist
0.8.0.r1_2
13 Sep 2014 18:25:05
Revision:368126Original commit files touched by this commit
tijl search for other commits by this committer
Use default LIBTOOLIZE_ARGS
0.8.0.r1_2
23 Apr 2014 13:25:17
Revision:351936Original commit files touched by this commit
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)
0.8.0.r1_1
29 Jan 2014 21:01:51
Revision:341781Original commit files touched by this commit
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.
0.8.0.r1
03 Jan 2014 20:42:36
Revision:338581Original commit files touched by this commit
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: 22