[MacPorts] #67189: hidapi @0.12.0_0: hidapi_darwin.h missing

MacPorts noreply at macports.org
Mon Sep 4 11:45:35 UTC 2023


#67189: hidapi @0.12.0_0: hidapi_darwin.h missing
-----------------------------------+----------------------
  Reporter:  UNIVAC-Colonel-Panic  |      Owner:  raimue
      Type:  defect                |     Status:  assigned
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.8.1
Resolution:                        |   Keywords:
      Port:  hidapi                |
-----------------------------------+----------------------
Changes (by ryandesign):

 * cc: ryandesign (added)


Comment:

 I've tried updating the port to 0.14.0 and that didn't fix it.
 hidapi_darwin.h is still not installed. I discovered the cause is that we
 are using the autotools build system. If we switch to the cmake build
 system, the header is installed. I reported this deficiency to the
 developers and they [https://github.com/libusb/hidapi/issues/620 will not
 fix it] because the autotools build system is deprecated. Meanwhile,
 switching to cmake has other problems, such as that
 [https://github.com/libusb/hidapi/issues/622 the library version number
 will regress], which means we would have to revbump every port that links
 with libhidapi. I'd rather not do that, so I'll submit a PR that updates
 the port to 0.14.0, still using autotools, and manually copies in this
 header.

-- 
Ticket URL: <https://trac.macports.org/ticket/67189#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list