Bug 1593

Summary: external libusb event abstraction branch no longer available
Product: libsigrok Reporter: Gerhard Sittig <Gerhard.Sittig>
Component: PortabilityAssignee: Nobody <nobody>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unreleased development snapshot   
Target Milestone: ---   
Hardware: All   
OS: All   

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.