Hi all, I created an ebuild for arduino 0021. In contrast to the former (binary) ebuilds, this one builds the arduino environment from its git-sources, using the commit that tags 0021. The advantage of doing so obviously lies in portability. :-) Best regards, Torsten Reproducible: Always
Created attachment 249609 [details] arduino-0021.ebuild
Created attachment 249611 [details, diff] arduino-script-0021.patch
Created attachment 249749 [details] arduino-0021.ebuild Changed cross-avr/gcc requirement comment for atmega2560 based arduinos.
Since there are a bunch of outstanding bugs for Arduino-related ebuilds that haven't yet made it into the main portage tree, I've created an overlay that brings them all together for more convenient testing and updating: git://gitorious.org/gentoo-arduino/arduino.git I'll try to keep up with new Arduino-related ebuilds and add them as I can, but anyone who files a bug here with an ebuild related to Arduino development is welcome to add me to the CC list, or email the ebuild to me directly.
Maybe changing download Uri to http://github.com/arduino/Arduino/tarball/0022 to get rid of the live ebuild scheme?
There is a new ebuild that fetches a tarball from Github available at http://gitorious.org/~luksan/gentoo-arduino/luksans-arduino
(In reply to comment #6) > There is a new ebuild that fetches a tarball from Github > available at http://gitorious.org/~luksan/gentoo-arduino/luksans-arduino Hi Lukas, nice overlay - I just tried out your arduino-0022 ebuild and it works wonderfully. On a side note, you misspelled "arduino" in profiles/repo_name. ;-) Regards, Torsten
How can I access this overlay with layman? Regards Juergen
If I take the arduino-0022.ebuild from http://gitorious.org/~luksan/gentoo-arduino/luksans-arduino, 'emerge -uvDN world' fails with: root@condor:/usr/local/portage/dev-embedded(58)# emerge -pvuDN world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] dev-embedded/arduino-0018 [0017] USE="java" 0 kB [0=>1] Total: 1 package (1 upgrade), Size of downloads: 0 kB Portage tree and overlays: [0] /usr/portage [1] /usr/local/portage !!! The following update has been skipped due to unsatisfied dependencies: dev-embedded/arduino:0 emerge: there are no ebuilds to satisfy ">=dev-java/rxtx-2.2_pre2". (dependency required by "dev-embedded/arduino-0022" [ebuild]) Where can I get rxtx-2.2_pre2? I have already the java-overlay included. Regards
(In reply to comment #9) > If I take the arduino-0022.ebuild from > http://gitorious.org/~luksan/gentoo-arduino/luksans-arduino, 'emerge -uvDN > world' fails with: > > root@condor:/usr/local/portage/dev-embedded(58)# emerge -pvuDN world > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild U ] dev-embedded/arduino-0018 [0017] USE="java" 0 kB [0=>1] > > Total: 1 package (1 upgrade), Size of downloads: 0 kB > Portage tree and overlays: > [0] /usr/portage > [1] /usr/local/portage > > !!! The following update has been skipped due to unsatisfied dependencies: > > dev-embedded/arduino:0 > > emerge: there are no ebuilds to satisfy ">=dev-java/rxtx-2.2_pre2". > (dependency required by "dev-embedded/arduino-0022" [ebuild]) > > > > Where can I get rxtx-2.2_pre2? I have already the java-overlay included. > > Regards Probably from the same place you found the arduino ebuild
(In reply to comment #8) > How can I access this overlay with layman? > > Regards Juergen The overlay isn't available via layman. Just clone it with git and add it to PORTDIR_OVERLAY in make.conf, below the "source layman.conf" line. Example from my make.conf: source /var/portage/layman/make.conf PORTDIR_OVERLAY="/usr/local/portage /home/lukas/Projects/arduino-overlay $PORTDIR_OVERLAY"
*** This bug has been marked as a duplicate of bug 303043 ***