Control: tags 1124566 + pending Dear maintainer,
I've prepared an NMU for openfpgaloader (versioned as 0.13.1-1.1) and uploaded it to DELAYED/14. Please feel free to tell me if I should cancel it. This is an updated version that also fixes #1124566. cu Adrian
diffstat for openfpgaloader-0.13.1 openfpgaloader-0.13.1 changelog | 10 ++ control | 2 patches/0001-CMakeLists.txt-try-to-uses-find_package-to-detect-th.patch | 46 ++++++++++ patches/series | 1 4 files changed, 58 insertions(+), 1 deletion(-) diff -Nru openfpgaloader-0.13.1/debian/changelog openfpgaloader-0.13.1/debian/changelog --- openfpgaloader-0.13.1/debian/changelog 2025-03-02 22:31:27.000000000 +0200 +++ openfpgaloader-0.13.1/debian/changelog 2026-02-28 18:11:35.000000000 +0200 @@ -1,3 +1,13 @@ +openfpgaloader (0.13.1-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Backport upstream fix for FTBFS with libftdi rc versions. + (Closes: #1125555) + * Apply patch from Aurelien Jarno to stop unnecessarily build + depending on libusb 0.1. (Closes: #1124566) + + -- Adrian Bunk <[email protected]> Sat, 28 Feb 2026 18:11:35 +0200 + openfpgaloader (0.13.1-1) unstable; urgency=medium * New upstream version diff -Nru openfpgaloader-0.13.1/debian/control openfpgaloader-0.13.1/debian/control --- openfpgaloader-0.13.1/debian/control 2025-03-02 22:31:27.000000000 +0200 +++ openfpgaloader-0.13.1/debian/control 2026-02-28 18:11:35.000000000 +0200 @@ -9,7 +9,7 @@ libftdi1-dev, libhidapi-dev, libudev-dev, - libusb-dev, + libusb-1.0-0-dev, zlib1g-dev, libgpiod-dev, cmake, diff -Nru openfpgaloader-0.13.1/debian/patches/0001-CMakeLists.txt-try-to-uses-find_package-to-detect-th.patch openfpgaloader-0.13.1/debian/patches/0001-CMakeLists.txt-try-to-uses-find_package-to-detect-th.patch --- openfpgaloader-0.13.1/debian/patches/0001-CMakeLists.txt-try-to-uses-find_package-to-detect-th.patch 1970-01-01 02:00:00.000000000 +0200 +++ openfpgaloader-0.13.1/debian/patches/0001-CMakeLists.txt-try-to-uses-find_package-to-detect-th.patch 2026-02-28 18:09:46.000000000 +0200 @@ -0,0 +1,46 @@ +From 87fc9ead66b9dfda8a5b7ad5de9c2b84e7392a36 Mon Sep 17 00:00:00 2001 +From: Gwenhael Goavec-Merou <[email protected]> +Date: Thu, 22 Jan 2026 10:54:24 +0100 +Subject: CMakeLists.txt: try to uses find_package to detect the libFTDI and + keep pkg_config way as backward compat + +--- + CMakeLists.txt | 13 +++++++++---- + 1 file changed, 9 insertions(+), 4 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 986499c..ef06841 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -45,9 +45,17 @@ add_definitions(-DDATA_DIR=\"${CMAKE_INSTALL_FULL_DATAROOTDIR}\") + add_definitions(-DISE_DIR=\"${ISE_PATH}\") + add_definitions(-DBLASTERII_DIR=\"${BLASTERII_PATH}\") + ++# Try to find the LibFTDI1 with cmake ++find_package(LibFTDI1 QUIET) ++ + if (USE_PKGCONFIG) + find_package(PkgConfig REQUIRED) +- pkg_check_modules(LIBFTDI REQUIRED libftdi1) ++ if (NOT LIBFTDI_FOUND) ++ pkg_check_modules(LIBFTDI REQUIRED libftdi1) ++ string(REPLACE "." ";" VERSION_LIST ${LIBFTDI_VERSION}) ++ list(GET VERSION_LIST 0 LIBFTDI_VERSION_MAJOR) ++ list(GET VERSION_LIST 1 LIBFTDI_VERSION_MINOR) ++ endif() + pkg_check_modules(LIBUSB REQUIRED libusb-1.0) + pkg_check_modules(HIDAPI hidapi-libusb) + # if libusb not found try with hidraw +@@ -323,9 +331,6 @@ endif() + + # libftdi < 1.4 as no usb_addr + # libftdi >= 1.5 as purge_buffer obsolete +-string(REPLACE "." ";" VERSION_LIST ${LIBFTDI_VERSION}) +-list(GET VERSION_LIST 0 LIBFTDI_VERSION_MAJOR) +-list(GET VERSION_LIST 1 LIBFTDI_VERSION_MINOR) + math(EXPR FTDI_VAL "${LIBFTDI_VERSION_MAJOR} * 100 + ${LIBFTDI_VERSION_MINOR}") + + add_definitions(-DFTDI_VERSION=${FTDI_VAL}) +-- +2.47.3 + diff -Nru openfpgaloader-0.13.1/debian/patches/series openfpgaloader-0.13.1/debian/patches/series --- openfpgaloader-0.13.1/debian/patches/series 2025-03-02 22:31:27.000000000 +0200 +++ openfpgaloader-0.13.1/debian/patches/series 2026-02-28 18:11:33.000000000 +0200 @@ -1 +1,2 @@ 1010-appstream-metainfo-xml.patch +0001-CMakeLists.txt-try-to-uses-find_package-to-detect-th.patch

