Bug 1593 - external libusb event abstraction branch no longer available
Summary: external libusb event abstraction branch no longer available
Status: CONFIRMED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Portability (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-23 20:46 CEST by Gerhard Sittig
Modified: 2020-09-29 13:47 CEST (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerhard Sittig 2020-08-23 20:46:51 CEST
Windows builds of libsigrok depend on an external libusb branch which supports 
event handling by means of poll-able objects (file handles). The external branch 
is no longer available. Instead mainline libusb integrated the feature, but 
provides a different API. Build instructions and USB handling in libsigrok 
need adjustment.

https://github.com/libusb/libusb provides usbi_os_handle_t, libsigrok's 
configure.ac and src/usb.c could use this when libusb_os_handle is missing.
Comment 1 Gerhard Sittig 2020-09-29 13:47:19 CEST
Status update: sigrok-util 149202b4da31 unbreaks the external reference to 
the rawio using libusb version. Using recent mainline libusb in the sigrok 
build remains to be done.