Bug 213496 - devel/arduino-builder: Package hardware definitions
Summary: devel/arduino-builder: Package hardware definitions
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Boris Samorodov
URL:
Keywords: easy, patch
Depends on:
Blocks:
 
Reported: 2016-10-15 05:55 UTC by Kyle Evans
Modified: 2016-10-15 21:28 UTC (History)
1 user (show)

See Also:


Attachments
svn(1) diff of devel/arduino-builder (829 bytes, patch)
2016-10-15 05:55 UTC, Kyle Evans
kevans: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Evans freebsd_committer 2016-10-15 05:55:31 UTC
Created attachment 175778 [details]
svn(1) diff of devel/arduino-builder

Arduino 1.6's build system actually pulls in its hardware definitions from arduino-builder. Switching over what I've got working so far to not downloading *anything* in do-build revealed this as an issue, so we go ahead and package these with arduino-builder instead.

As a nice consequence, this provides us with *almost* everything we need to use Arduino stuff without even installing the IDE yet -- the exception being a proper 'tools/' directory, but this too may get separated out with either yet another port or a future iteration of devel/arduino-builder. To be honest, though, I'm leaning towards an arduino-tools port that brings in the tools/ stuff. This would lead us to:

arduino16 depends on: devel/arduino-core, devel/arduino-builder, devel/arduino-tools, devel/openjdk8 (build, run)

devel/arduino-core depends on: nothing*

devel/arduino-builder depends on: go (build)

devel/arduino-tools depends on: devel/avrdude, devel/bossa, devel/arm-none-eabi-gcc, devel/arm-none-eabi-newlib (pending), devel/arduino-ctags, devel/arduino-core (for CMSIS materials in the SAM core).

* arduino-core is totally awesome, because this could be usable without the arduino-tools installed

This build setup, while kinda branchy as far as a tree goes, would allow one to have everything they need to build Arduino sketches without pulling in Java as a dependency by just building devel/arduino-{core,builder,tools} and they would have a complete command-line setup.
Comment 1 Boris Samorodov freebsd_committer 2016-10-15 13:36:39 UTC
Take.
Comment 2 commit-hook freebsd_committer 2016-10-15 21:22:34 UTC
A commit references this bug:

Author: bsam
Date: Sat Oct 15 21:22:06 UTC 2016
New revision: 424029
URL: https://svnweb.freebsd.org/changeset/ports/424029

Log:
  devel/arduino-builder: Add package hardware definitions.

  PR:		213496
  Submitted by:	Kyle Evans <bsdports@kyle-evans.net> (maintiner))

Changes:
  head/devel/arduino-builder/Makefile
Comment 3 Boris Samorodov freebsd_committer 2016-10-15 21:28:36 UTC
Committed, thanks!