Because our usbhid(3) defines hid_init(3), the libhidapi's one has been
renamed to hidapi_hid_init(). Sigrok expects the libhidapi one. This led
to build failures on ld.bfd arches, and probably runtime errors on other
arches.
As such, redefine the hid_init() call to hidapi_hid_init().
OK sthen@, kmos@ (who build tested on sparc64) and
"seems ok to me" bentley@ (maintainer)
Disable ruby support; ruby gets picked up but the bindings fail to build.
Improve some package COMMENTs.
Enable debug packages.
requested & tested by jcs@
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.
This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.
Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
"Behavior of FILE_PATTERNS was unintentionally changed in doxygen 1.8.16,
this lead to the libsigrok doxygen invocation generating almost no data,
and missing all the enums needed for the binding generation, resulting
in build failures."
Upstream-issue: https://github.com/doxygen/doxygen/issues/7190
Patch from ArchLinux
The sigrok project aims at creating a portable, cross-platform,
Free/Libre/Open-Source logic analyzer software that supports various
logic analyzer hardware products.
It includes command-line and graphical interfaces, libraries for
protocol decoding and talking to logic analyzers, and free firmware
for certain pieces of hardware.
ok rsadowski@