- Package:
- src:astyle
- Source:
- src:astyle
- Submitter:
- Philipp Matthias Hahn
- Date:
- 2025-10-27 07:13:02 UTC
- Severity:
- normal
- Tags:
Dear fellow Debian Maintainer, 3.1 is from 2018 and there are have been many releases since then. Current version is 3.6.12 from 2025-07. See <https://astyle.sourceforge.net/notes.html> The debian/watch file is broken and does not find any newer version listed on <https://qa.debian.org/watch/sf.php/astyle/>: ``` version=4 https://sf.net/astyle/astyle[_-]([\d.]+)(?:_linux)?\.tar\.(?:gz|bz2) \ debian uupdate ``` Version 3.1 has a bug, which caused Arduino to fail; see <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104936>. Attached is my current WIP, but the patch to CMakeLists.txt is still broken. TBC...
Dear fellow Debian Maintainer, Please find attached my updated version to 3.6.12: Builds, installes and fixes Arduino IDE. This update may be a requisite to fix the "auto formatting feature" in the Arduino IDE: <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1104936> It requires one minor change because of some very old deprecation from 2.05 (2014-11) being removed now <https://astyle.sourceforge.net/news.html>:--- /usr/share/arduino/lib/formatter.conf 2025-04-09 11:20:48.000000000 +0200 +++ /home/pmhahn/.arduino15/formatter.conf 2025-09-26 10:58:58.517364342 +0200 @@ -11,7 +11,8 @@ indent=spaces=2 # also indent macros -indent-preprocessor +indent-preproc-define +indent-preproc-cond # indent classes, switches (and cases), comments starting at column 1 indent-classes I can also do an NMU upload if you prefer. Philipp 🐓
Hi Philipp, Thank you so much for your work. Unfortunately I’m just now seeing that you sent a functioning patch, after spending much time today working on the update. That’ll teach me to look at bug reports more closely! I didn’t really understand if anything else than the astyle update was required for the Arduino IDE, please let me know if so. In the future, you should absolutely not hesitate to NMU astyle (or any of my other packages)! Cheers, Matteo
Hello, Am Sun, Oct 26, 2025 at 09:27:15PM +0100 schrieb Matteo Cypriani: No, just a new/fixed version of astyle is required; Arduino IDE can stay as is and just starts working with the fixes/new version of astyle installed. Okay. Philipp