Bug 242344

Summary: devel/arduino18: Missing menu items
Product: Ports & Packages Reporter: denverh
Component: Individual Port(s)Assignee: Kyle Evans <kevans>
Status: Open ---    
Severity: Affects Many People CC: emaste, swills
Priority: --- Keywords: needs-patch, needs-qa
Version: LatestFlags: koobs: maintainer-feedback+
koobs: merge-quarterly?
Hardware: amd64   
OS: Any   

Description denverh 2019-12-01 20:42:46 UTC
There should be menu items for a Library Manager and a Boards Manager but they don't appear.  They're normally at the top of "Sketch->Include Library" and "Tools->Board".

pkg info -Ix arduino18
arduino18-1.8.5_1

FreeBSD 11.3-RELEASE-p3

java -version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (build 1.8.0_232-b09)
OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode)

I also checked this on a fresh 11.3 system with a minimum number of applications all installed from quarterly packages with the same result.
Comment 1 Kyle Evans freebsd_committer 2019-12-02 01:33:31 UTC
(In reply to denverh from comment #0)

Hi,

Indeed. =-( All of the bits that download additional items were ripped out for now until I figured out how to reconcile with an upstream that didn't/doesn't officially support FreeBSD because supported platforms are somewhat baked into most of that stuff. I haven't made any further progress on that, unfortunately, and haven't found a good way to argue that they should support FreeBSD.
Comment 2 denverh 2019-12-02 12:59:50 UTC
Ok, thanks.  I did try looking at the code a while ago to try to figure out what might be happening, but it was too convoluted for me to follow.
Comment 3 Kyle Evans freebsd_committer 2019-12-02 13:21:34 UTC
(In reply to denverh from comment #2)

Indeed. =( And apologies- my previous comment should have been more constructive. Is there a specific board/library you're looking for?

They tend to be super easy to port independently, as it's usually just copying some files into staging at the right location.
Comment 4 denverh 2019-12-02 13:58:39 UTC
Libraries are easy enough, but I haven't always had much luck with boards.  Right now one that would be helpful would be the Adafruit Pro Trinket 5V/16 MHz (USB).
Comment 5 Kyle Evans freebsd_committer 2019-12-02 14:02:36 UTC
(In reply to denverh from comment #4)

That board looks incredibly nifty, not going to lie. =-)

I see they have the board support at [0], so I'll look at porting it over and add a patch to this PR -- it might take a couple of days to get paged in between some other work I'm doing at the moment.

[0] https://github.com/adafruit/Adafruit_Arduino_Boards
Comment 6 denverh 2019-12-02 14:06:27 UTC
Ok thanks, I appreciate it.
Comment 7 Ed Maste freebsd_committer 2020-12-10 00:48:53 UTC
SparkFun Pro Micro and clones would be useful too, config is at

https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json