Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915984 - dev-embedded/arduino version bump
Summary: dev-embedded/arduino version bump
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-19 00:44 UTC by John L. Poole
Modified: 2024-12-20 01:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John L. Poole 2023-10-19 00:44:42 UTC
In portage is version 1.8.19 which Arduino's site deems "legacy" https://www.arduino.cc/en/software.

Current version of the IDE is 2.2.1. 



Reproducible: Always
Comment 1 John L. Poole 2023-10-19 01:02:46 UTC
I looked into trying to bump and it looks like there has been a complete change in the method of availability.

See https://docs.arduino.cc/software/ide-v2/tutorials/getting-started/ide-v2-downloading-and-installing

I do not think without a maintainer bumping the Arduino IDE will be possible.  I wonder if Arduino should just be removed from portage.
Comment 2 John L. Poole 2023-10-19 14:27:47 UTC
I've done further digging into setting up the current Arduino IDE and finally succeeded in installing their current IDE.  The process is entirely different, you just download their FUSE APP  and run it (I unzipped it, but ran it afterwards).  They rely on Filesystem in Userspace ("FUSE") which is sys-fs/fuse, and they require version 2.x whereas FUSE is at version 3.

I may post to the forum a "howto" documenting what you do to run Arduino's current IDE.

In the meantime 1.8.19 is as far as it goes.
Comment 3 Gabriel Marcano 2024-12-20 01:24:56 UTC
It looks like it may be possible (but miserable) to actually build the IDE instead of just unpacking the appimage they release, but yes, it's a completely different process than before.

The main problem is that upstream now uses Electron, which pulls in the whole dependency mess that is the Javascript ecosystem. Gentoo currently doesn't seem to have great support for apps that use npm/yarn as part of the build scripts (and honestly, I can't blame Gentoo).

Here's the documentation on how to build the IDE: https://github.com/arduino/arduino-ide/blob/main/docs/development.md

They then point to Theia IDE, which they're based off: https://github.com/eclipse-theia/theia/blob/master/doc/Developing.md#prerequisites

Until Gentoo has a way to deal with Javascript dependencies in some sane manner, I don't know how much of a shot this has at being built. Are there other Electron apps in the Portage tree that can be used as inspiration?

Actually, how is VSCode packaged up for Gentoo? I took a look at the ebuild... and do they just unpack the upstream release? Maybe something like this could be used for this IDE... not great, but hey, VSCode is doing it and it's in the tree right now.