Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 492960

Summary: dev-embedded/arduino: add "core-only" (-java) support
Product: Gentoo Linux Reporter: Xavier Miller (RETIRED) <xaviermiller>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: CONFIRMED ---    
Severity: enhancement CC: aklhfex, dev-embedded+disabled, dschridde+gentoobugs, hasufell, orzel, sam, xavier.miller
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: arduino-core-1.0.5.ebuild

Description Xavier Miller (RETIRED) gentoo-dev 2013-11-30 17:25:44 UTC
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?

Thanks!

Reproducible: Always
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2013-11-30 17:32:28 UTC
I am writing the proposed code
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2013-11-30 17:38:08 UTC
Created attachment 364274 [details]
arduino-core-1.0.5.ebuild

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.
Comment 3 Angelo Arrifano (RETIRED) gentoo-dev 2013-12-25 19:31:25 UTC
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.
Comment 4 Xavier Miller (RETIRED) gentoo-dev 2013-12-25 20:02:56 UTC
Hello,

This ebuild provides also the Arduino C++ libraries.

I understand your position, so I will maintain my version of arduino-core locally.
Comment 5 Julian Ospald 2014-03-29 20:16:02 UTC
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.
Comment 6 Julian Ospald 2014-04-23 19:28:42 UTC
ping
Comment 7 Thomas Capricelli 2016-01-02 21:30:33 UTC
I would be interested as well.