Debian Patches

Status for hackrf/2024.02.1-4

Patch Description Author Forwarded Bugs Origin Last update
0057-Test-build-with-multiple-CMake-versions.patch [PATCH 57/75] Test build with multiple CMake versions. Martin Ling <martin-git@earth.li> no 2025-09-18
0067-cmake-Update-simplify-options-needed-for-Windows-bui.patch [PATCH 67/75] cmake: Update & simplify options needed for Windows builds. Martin Ling <martin-git@earth.li> no 2025-10-04
0068-FindLIBUSB.cmake-allow-use-of-pkg-config-on-Windows.patch [PATCH 68/75] FindLIBUSB.cmake: allow use of pkg-config on Windows. Martin Ling <martin-git@earth.li> no 2025-10-04
0069-FindLIBUSB.cmake-Fix-inconsistency-in-LIBUSB_LIBRARY.patch [PATCH 69/75] FindLIBUSB.cmake: Fix inconsistency in LIBUSB_LIBRARY_NAME[S] vars. Martin Ling <martin-git@earth.li> no 2025-10-04
0070-CI-Simplify-Windows-build-by-using-pkgconf-to-find-p.patch [PATCH 70/75] CI: Simplify Windows build by using pkgconf to find paths. Martin Ling <martin-git@earth.li> no 2025-10-04
0071-Set-libhackrf-version-to-0.9.1.patch [PATCH 71/75] Set libhackrf version to 0.9.1. Martin Ling <martin-git@earth.li> no 2025-10-04
0072-CI-Add-firmware-build-on-Windows-using-MSYS2.patch [PATCH 72/75] CI: Add firmware build on Windows using MSYS2. Martin Ling <martin-git@earth.li> no 2025-10-05
0073-CI-Avoid-writing-latest-everywhere-in-OS-matrix.patch [PATCH 73/75] CI: Avoid writing '-latest' everywhere in OS matrix. Martin Ling <martin-git@earth.li> no 2025-10-05
0074-CI-Add-host-builds-using-MSYS.patch [PATCH 74/75] CI: Add host builds using MSYS. Martin Ling <martin-git@earth.li> no 2025-10-05
0075-CI-Remove-separate-steps-for-creating-directories.patch [PATCH 75/75] CI: Remove separate steps for creating directories. Martin Ling <martin-git@earth.li> no 2025-10-05
debian-kfreebsd-pkgconfig use /usr/libdata specifically on FreeBSD, not kFreeBSD Steven Chamberlain <steven@pyro.eu.org> no 2016-02-21
udev-ID_SOFTWARE_RADIO udev ENV{ID_SOFTWARE_RADIO}=1 should result in local user access A. Maitland Bottoms <bottoms@debian.org> no
0044-Add-radioconda-information.patch [PATCH 44/75] Add radioconda information
I added the Information about radioconda. I would still suggest leaving the hint about the build artifacts in the documentation, as this is currently the only source of the binaries that don't require any third party.
philippuhl <114108889+philippuhl@users.noreply.github.com> no 2025-06-14
0045-ci-check-shortfall-count-to-isolate-failures-in-firm.patch [PATCH 45/75] ci: check shortfall count to isolate failures in firmware grvvy <jacob@greatscottgadgets.com> no 2025-08-01
0046-hackrf_sweep-fix-clang-format-errors.patch [PATCH 46/75] hackrf_sweep: fix clang-format errors Mike Walters <mike@flomp.net> no 2025-08-08
0047-firmware-no-division-when-calculating-n_lo-in-RFFC50.patch [PATCH 47/75] firmware: no division when calculating n_lo in RFFC5071 synth mndza <diego.hdmp@gmail.com> no 2025-07-08
0048-firmware-fix-max283x-fractional-long-division.patch [PATCH 48/75] firmware: fix max283x fractional long division mndza <diego.hdmp@gmail.com> no 2025-07-09
0049-firmware-optimize-and-rename-rffc5071-synth-config-f.patch [PATCH 49/75] firmware: optimize and rename rffc5071 synth config function mndza <diego.hdmp@gmail.com> no 2025-08-19
0050-firmware-rffc5071-synth-configuration-accepts-Hz-ins.patch [PATCH 50/75] firmware: rffc5071 synth configuration accepts Hz instead of MHz mndza <diego.hdmp@gmail.com> no 2025-07-11
0051-firmware-round-to-nearest-frequency-when-tuning.patch [PATCH 51/75] firmware: round to nearest frequency when tuning mndza <diego.hdmp@gmail.com> no 2025-08-19
0052-firmware-disable-rffc5071-dithering-tune-to-nearest-.patch [PATCH 52/75] firmware: disable rffc5071 dithering, tune to nearest 625000 Hz step mndza <diego.hdmp@gmail.com> no 2025-08-21
0053-Implement-RAW_IO-with-WinUSB.patch [PATCH 53/75] Implement RAW_IO with WinUSB Jamie Vital <jvital2013@gmail.com> no 2025-09-15
0054-Remove-Appveyor-configuration.patch [PATCH 54/75] Remove Appveyor configuration. Martin Ling <martin-git@earth.li> no 2025-09-16
0055-Bump-CMake-minimum-version-to-3.5.0.patch [PATCH 55/75] Bump CMake minimum version to 3.5.0.
This is the minimum now accepted by latest CMake releases.
Martin Ling <martin-git@earth.li> no 2025-09-16
0056-Bump-CMake-minimum-version-to-3.10.patch [PATCH 56/75] Bump CMake minimum version to 3.10. Martin Ling <martin-git@earth.li> no 2025-09-19
0039-docs-add-troubleshooting-section-for-no-boards-found.patch [PATCH 39/75] docs: add troubleshooting section for no boards found Mike Walters <mike@flomp.net> no 2025-03-25
0040-Update-section-about-windows-binaries.patch [PATCH 40/75] Update section about windows binaries philippuhl <114108889+philippuhl@users.noreply.github.com> no 2025-05-19
0043-ci-improve-sgpio-debug-test-reliability-and-error-me.patch [PATCH 43/75] ci: improve sgpio-debug test reliability and error messaging grvvy <jacob@greatscottgadgets.com> no 2025-06-06
0001-Set-version-to-2024.02.1.patch [PATCH 01/75] Set version to 2024.02.1+ Michael Ossmann <mike@ossmann.com> no 2024-02-23
0013-ci-use-repository-URL-instead-of-relying-on-jenkins-.patch [PATCH 13/75] ci: use repository URL instead of relying on jenkins environment variables grvvy <jacob@greatscottgadgets.com> no 2024-07-17
0014-hackrf-tools-handle-ctrl-break-signal-on-windows.patch [PATCH 14/75] hackrf-tools: handle ctrl+break signal on windows Simon Berger <simon.berger@inomotech.com> no 2024-10-18
0016-Update-technical-support.yml.patch [PATCH 16/75] Update technical-support.yml Straithe <b@straithe.com> no 2024-11-23
0017-In-conditional-branch-table-list-one-destination-per.patch [PATCH 17/75] In conditional branch table, list one destination per line, in order. Martin Ling <martin-git@earth.li> no 2024-11-26
0018-Detect-whether-the-M0-missed-its-deadline.patch [PATCH 18/75] Detect whether the M0 missed its deadline.
Counter-intuitively, this actually saves us two cycles because we unroll
the first iteration of the loop that spins on the interrupt flag, saving
a branch in the case that the flag is clear the first time.
Martin Ling <martin-git@earth.li> no 2024-11-26
0019-added-AGM-CPLD-to-portapack-detect-routine.patch [PATCH 19/75] added AGM CPLD to portapack detect routine bernd-herzog <bernd@nachregenkommtsonne.de> no 2024-12-01
0020-Update-SGPIO-code-documentation.patch [PATCH 20/75] Update SGPIO code documentation. Martin Ling <martin-git@earth.li> no 2024-12-04
0021-Add-synchronization-checklist-to-documentation.patch [PATCH 21/75] Add synchronization checklist to documentation. Martin Ling <martin-git@earth.li> no 2024-08-01
0022-Add-a-shim-header-to-support-locking-without-ldrex-s.patch [PATCH 22/75] Add a shim header to support locking without ldrex/strex.

Required to allow the USB queue code to be built for the M0.
Martin Ling <martin-git@earth.li> no 2024-12-16
0023-fix-compilation-warnings-1516.patch [PATCH 23/75] fix compilation warnings (#1516) gullradriel <3157857+gullradriel@users.noreply.github.com> no 2024-12-16
0024-Include-nvic.h-via-the-dispatch-headers.patch [PATCH 24/75] Include nvic.h via the dispatch headers. Martin Ling <martin-git@earth.li> no 2024-12-16
0025-Add-comment-about-constraints-on-locking-primitives.patch [PATCH 25/75] Add comment about constraints on locking primitives. Martin Ling <martin-git@earth.li> no 2024-12-16
0026-define-replacement-for-enable-and-disable-irq-for-m0.patch [PATCH 26/75] define replacement for enable and disable irq for m0 gullradriel <gullradriel@no-mail.com> no 2024-12-17
0027-added-memory-clobber-to-prevent-memory-reordering.patch [PATCH 27/75] added memory clobber to prevent memory reordering gullradriel <gullradriel@no-mail.com> no 2024-12-18
0041-Fix-DFU-CRC-errors.patch [PATCH 41/75] Fix DFU CRC errors
Previously we were calculating the dfu-suffix CRC and then modifying the
image, invalidating the check.

This re-orders the operations to apply the boot image header first and
then run dfu-suffix.
Mike Walters <mike@flomp.net> no 2025-05-22
0042-Replace-fftSize-with-more-meaningful-name-num_fft_bi.patch [PATCH 42/75] Replace fftSize with more meaningful name num_fft_bins Enes Albay <albayenes@gmail.com> no 2025-05-23
0028-build-deps-bump-jinja2-from-3.1.4-to-3.1.5-in-docs.patch [PATCH 28/75] build(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.4...3.1.5)
"dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> no 2025-01-08
0029-docs-Move-TX-RX-power-FAQ-entries-to-HackRF-One-page.patch [PATCH 29/75] docs: Move TX/RX power FAQ entries to HackRF One page Mike Walters <mike@flomp.net> no 2025-03-23
0030-docs-adjust-input-output-power-titles-wording.patch [PATCH 30/75] docs: adjust input/output power titles & wording Mike Walters <mike@flomp.net> no 2025-03-24
0031-docs-Remove-full-duplex-FAQ-entries.patch [PATCH 31/75] docs: Remove full-duplex FAQ entries Mike Walters <mike@flomp.net> no 2025-03-23
0032-docs-add-links-to-product-page-resellers-on-HackRF-o.patch [PATCH 32/75] docs: add links to product page & resellers on HackRF one page, remove from faq Mike Walters <mike@flomp.net> no 2025-03-24
0033-docs-move-gain-info-from-FAQ.patch [PATCH 33/75] docs: move gain info from FAQ Mike Walters <mike@flomp.net> no 2025-03-25
0034-docs-reword-gain-settings.patch [PATCH 34/75] docs: reword gain settings Mike Walters <mike@flomp.net> no 2025-03-25
0035-docs-move-LED-color-info-from-FAQ.patch [PATCH 35/75] docs: move LED color info from FAQ Mike Walters <mike@flomp.net> no 2025-03-25
0036-docs-rename-FAQ-to-Troubleshooting.patch [PATCH 36/75] docs: rename FAQ to Troubleshooting Mike Walters <mike@flomp.net> no 2025-03-25
0038-docs-remove-mention-of-a-very-old-DC-spike-bug.patch [PATCH 38/75] docs: remove mention of a very old DC spike bug
At this point it's more likely to confuse things than help
Mike Walters <mike@flomp.net> no 2025-03-25
0012-ci-build-docker-image-from-master-branch-s-Dockerfil.patch [PATCH 12/75] ci: build docker image from master branch's Dockerfile grvvy <jacob@greatscottgadgets.com> no 2024-07-15
0002-Fix-quoting-issue-causing-bad-library-include-path-a.patch [PATCH 02/75] * Fix quoting issue causing bad library include path, add install step hackrf-tools. * Add artifact publish step for Windows
libraries and host tools. * Replace runner.workspace with github.workspace. *
Update checkout task to v4 to supress warning. * Update CMAKE for libhackrf
and hackrf-tools to also install DLLs on WIN32 platforms. * Update
uploadartifact task to v4 since v3 uses an end-of-life node version 16. * Add
a new windows variable for the vcpkg cmake toolchain makefile.
Demetri Maltsiniotis <git@quantumhive.com> no 2023-07-14
0003-doc-markdown-heading.patch [PATCH 03/75] doc: markdown heading
The previous markdown was not valid and yielded the following warning:

```sh
⬛make html
Running Sphinx v5.3.0
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 34 source files that are out of date
updating environment: [new config] 34 added, 0 changed, 0 removed
reading sources... [100%] virtual_machines
hackrf/docs/source/list_of_hardware_revisions.rst:36: WARNING: Title underline too short.

HackRF One r10
~~~~~~~~~~~~~
hackrf/docs/source/list_of_hardware_revisions.rst:36: WARNING: Title underline too short.

HackRF One r10
~~~~~~~~~~~~~
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] virtual_machines
generating indices... genindex done
writing additional pages... search done
copying images... [100%] ../images/noisereducingcablescreenshot.jpeg
copying static files... done
copying extra files... done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 3 warnings.

The HTML pages are in build/html.
```

Congratulations on double digits.
Friendly <Hacker> no 2024-03-03
0004-CI-Use-special-action-to-install-cache-GNU-Arm-toolc.patch [PATCH 04/75] CI: Use special action to install & cache GNU Arm toolchain. Martin Ling <martin-git@earth.li> no 2024-03-19
0005-docs-update-github.com-mossmann-urls.patch [PATCH 05/75] docs: update github.com/mossmann urls
In the installing_hackrf_software docs, under "Installing From Source", the source url still points to `git clone https://github.com/mossmann/hackrf.git` instead of https://github.com/greatscottgadgets/hackrf.git

Unlike the other browser links, the git url is not automatically redirected, so cloning will fail:

```
jg@buildbot:~/hackrf$ git clone https://github.com/mossman/hackrf.git
Cloning into 'hackrf'...
```

While creating this patch, I also found a few more of those older urls and updated them too.
One last unfixed url remains at https://hackrf.readthedocs.io/en/latest/LPC43XX_Debugging.html#lpc-link, however I could not find the intended destination so I have left it as-is.
JinGen Lim <1116555+jglim@users.noreply.github.com> no 2024-04-06
0006-Correct-prototype-of-flush-callback-in-example-code.patch [PATCH 06/75] Correct prototype of flush callback in example code. Martin Ling <martin-git@earth.li> no 2024-04-11
0007-hackrf.h-fix-typos-in-documentation-comments.patch [PATCH 07/75] hackrf.h: fix typos in documentation comments Simon Ruderich <simon@ruderich.org> no 2024-04-26
0008-ci-use-python-venv-for-firmware-builds.patch [PATCH 08/75] ci: use python venv for firmware builds grvvy <jacob@greatscottgadgets.com> no 2024-04-26
0009-build-deps-bump-jinja2-from-3.1.3-to-3.1.4-in-docs.patch [PATCH 09/75] build(deps): bump jinja2 from 3.1.3 to 3.1.4 in /docs
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)
"dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> no 2024-05-06
0010-Add-spec-statement-to-hardware-revision-docs.patch [PATCH 10/75] Add spec statement to hardware revision docs Straithe <b@straithe.com> no 2024-06-08
0011-ci-usb-hub-ppps-handling-overhaul.patch [PATCH 11/75] ci: usb hub ppps handling overhaul grvvy <jacob@greatscottgadgets.com> no 2024-07-10
0058-build-deps-bump-jinja2-from-3.1.5-to-3.1.6-in-docs.patch [PATCH 58/75] build(deps): bump jinja2 from 3.1.5 to 3.1.6 in /docs
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.5...3.1.6)
"dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> no 2025-09-19
0059-modern-cmake.patch [PATCH 59/75] modern cmake
Refactor HackRF build system with a more modern CMake style.
Install files to allow library users using CMake to
find_project(HackRF CONFIG) and obtain HackRF::hackrf
and/or HackRF::hackrf_static library targets.

Add options ENABLE_STATIC_LIB and ENABLE_SHARED_LIB
to allow shared or static library to be disabled.
(Default builds both shared and static libraries.)

Add option ENABLE_HACKRF_SWEEP, when disabled allows
building without FFT library. (Default enabled.)

Add option DISABLE_USB_DEVICE_DISCOVERY for a compile definition
which could be used to alter libusb usage as needed on Android.
"A. Maitland Bottoms" <bottoms@debian.org> no 2025-08-17
0060-update-scripts.patch [PATCH 60/75] update scripts
Modernize CMake usage in scripts to define a build directory
using the cmake -B flag, use cmake --build rather than just make.
"A. Maitland Bottoms" <bottoms@debian.org> no 2025-08-17
0061-Don-t-try-to-use-install-option-on-CMake-3.10-added-.patch [PATCH 61/75] Don't try to use --install option on CMake 3.10 (added in 3.15). Martin Ling <martin-git@earth.li> no 2025-09-19
0062-Enable-earlier-CMake-versions-on-macOS-runners.patch [PATCH 62/75] Enable earlier CMake versions on macOS runners. Martin Ling <martin-git@earth.li> no 2025-09-19
0063-Fix-missing-shared-library-version.patch [PATCH 63/75] Fix missing shared library version
The libtarget variable isn't defined here (it's used in a helper
function above). This caused libhackrf to be built and installed without
a version number.
Adam Sampson <ats@offog.org> no 2025-10-01
0064-Use-stdbool.h-rather-than-our-own-bool-definition.patch [PATCH 64/75] Use stdbool.h rather than our own bool definition. Martin Ling <martin-git@earth.li> no 2025-10-02
0065-Update-CMake-code-for-producing-make-uninstall-targe.patch [PATCH 65/75] Update CMake code for producing 'make uninstall' target. Martin Ling <martin-git@earth.li> no 2025-10-02
0066-cmake-Use-FFTW3f-if-found-by-any-means-not-just-pkg-.patch [PATCH 66/75] cmake: Use FFTW3f if found by any means, not just pkg-config.

PC_FFTW3f_FOUND indicates that FFTW3f was found via pkg-config.
It can also be found without pkg-config, if the necessary paths
are supplied. This fixes hackrf_sweep not being built in that case.
Martin Ling <martin-git@earth.li> no 2025-10-04

All known versions for source package 'hackrf'

Links