commit 0b538d3b75fe74f3797bd2c7b90fb7aac45e9dc5
Author: Nicolas Peugnet <nicolas@club1.fr>
Date: Wed Jul 22 19:42:16 2026 +0200
Load builtin tools from Debian packages
Add a patch to load builtin tools from /usr/libexec/arduino/builtin/tools
instead of dowloading them from the Internet, and add the Debian packaged
versions of these tools as dependencies.
Previously, these tools were installed automatically from the Internet
on first use of arduino-cli. This was not ideal for two reasons:
1. It is not expected for a Debian installed binary to install other
binaries in background on first use.
2. These tools where not built for all the architectures that Debian
supports.
All of these tools are in fact optional, but the mdns-discovery and
serial-discovery tools are added as depends as arduino-cli emits errors
when they are missing, the three other do not so we add them as recommends
only.
Even if the builtin tools directory is created by the dependencies, we
make sure it is always present by adding it to arduino-cli.dirs, in case
the tools end up being fully optional, as it is required to be able to
run any arduino-cli command.
Closes: #1142611
Among the 3 debian patches available in version 1.5.1-2 of the package, we noticed the following issues:
Automatic checks made by the Debian l10n team found some issues with the translations contained in this package. You should check the l10n status report for more information.
Issues can be things such as missing translations, problematic translated strings, outdated PO files, unknown languages, etc.