cross-compile/mingw: comment on sigrok specific "MXE fixes" patch No change in behaviour, just comments and grouping and whitespace fixup. Separate the binutils downgrade from the glib downgrade. Provide empty lines for faster editor navigation. Provide comments for human readers. Keep MXE's style of glib.mk indentation when disabling warnings. This patch no longer applies to recent MXE versions, but might as well have become obsolete. A build without these "MXE fixes" patches is attempted, the result is yet to get determined. Needs more consideration.
sigrok-cross-mingw: pass PREFIX to sigrok-dumps install command Catch up with recent sigrok-dumps Makefile adjustment. The DESTDIR variable traditionally serves a different purpose. Prefer PREFIX to specify the in-filesystem base path where share/... is located.
sigrok-cross-mingw: use libusb1 version 1.0.24 for MXE builds Stick with libusb1 version 1.0.24 which is provided by current MXE (the patch "changes" from 1.0.24 to 1.0.24, remains in place in case version 1.0.25 is needed or desired later). Don't force a modified 1.0.20-rc3 any longer. Use a RAW_IO commit which is authored by jpa@ and which is discussed in libusb PR 1069.
sigrok-cross-mingw: group and sort libusb1 patches for MXE Order the different types of patches which are applied to MXE's libusb. Unbreak autotools use first, switch the library version then, enable RAW_IO after that. Comment on these groups to help casual readers.
sigrok-cross-mingw: move libusb1 manipulation out of "MXE fixes" Factor the libusb1 related tweaking out of the "MXE fixes" patch file. It is assumed that binutils and glib issues are rather different from the libusb manipulation. A separate libusb patch also simplifies its maintenance. Add comments discussing how the "event abstraction" branch reference may have become obsolete when libusb1 1.0.24 was released. Which only leaves RAW_IO as an essential motivation for a modified version (which is also being submitted towards mainline libusb).
sigrok-cross-mingw: patch for boost numeric literals issue in MXE builds Patch the pulseview cmake instructions within sigrok-util until the pulseview.git repository builds out of the box. General applicability of the compiler switch on all platforms is yet to get determined.
sigrok-cross-mingw: Temporarily skip Pulseview PDF manual for Windows CI builds. Currently Windows CI jobs fail on sigrok.org build machines in the Pulseview 'make manual-pdf' step. Intentionally break the lookup of the external utility from the cross MinGW script, to skip the PDF creation. This temporary evil hack needs to get reverted when the actual cause of the failed build got addressed. The approach of the sigrok-util patch keeps all other Pulseview builds unaffected.
sigrok-cross-mingw: Temporarily unbreak Windows CI builds in dirty ways. A typical use of the cross-compile scripts are CI builds, which currently fail in the Python tarball download step. Disable certificate checks when sigrok.org build machines fetch data from the sigrok.org site. Keep the Zadig download unaffected. Another typical use is the convenient local compilation from source at users' sites, which should be rare since nightlies are available, while developers don't run the cross-compile scripts which are designed for single shots instead of multiple iterations including local source code modifications. Which should make this change acceptable for this use case as well, and happens to unbreak it, too. Add a TODO comment, ideally this commit soon gets reverted.
sigrok-cross-mingw: Optionally emit progress messages. The cross compile script executes a lot of steps, some of them rather expensive and complex, before first output from child processes appears on screen (libserialport clone being the first typical output). Prepare to optionally emit progress messages for developers' awareness. Just set the $ECHO environment variable to suppress these.
sigrok-cross-mingw: Update MXE patch to fix various issues. - Update the URL of the custom libusb branch we use (for now), until we've switched to mainline libusb. - Integrate the libusb RAW_IO patch directly in MXE's libusb build, so that we don't have to build a custom libusb in sigrok-cross-mingw. - Bump MXE's binutils to version 2.35, which added -mbig-obj support for 32bit Windows (64bit was supported already). Required for PulseView.