The Arduino IDE is based on Java and is not needed for advanced users.
To compile Arduino sketches, you only need avr toolchain, avr tools (avrdude) and the Arduino C++ sources. And no need of Java for that.
Debian wrote a "arduino-core" package providing only the C++ libraries, samples and documentation. Then, with a third-party "Arduino-Makefile", we can compile and upload Arduino/AVR sketches.
Would it be possible to use "-java" feature, that don't deploy the IDE, and don't depend on Java?
I am writing the proposed code
Created attachment 364274 [details]
Proposed ebuild to #sunrise, but hasufell proposed to merge it to dev-embedded/arduino
but I don't know hot to mix non-java/java stuff and let you decide what to do.
Hi Xavier. Not sure I'm convinced about the utility of such use flag. Advanced Arduino-board users know exactly how to build their toolchain and which programmer to use. Apart from pulling in the dependencies, the -java use flag would just provide the examples which would not justify the additional cost of maintaining the ebuild.
This ebuild provides also the Arduino C++ libraries.
I understand your position, so I will maintain my version of arduino-core locally.
I want this too, because I hate java and don't want it on my computer.
If you don't want to support another USE flag, then I will add it as a separate package, but that will actually increase overall maintenance more than another USE flag.
Anyway, this bug is not INVALID either way. Close as WONTFIX if you still disagree.
I would be interested as well.