Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339788 - dev-embedded/arduino-0021 - new ebuild
Summary: dev-embedded/arduino-0021 - new ebuild
Status: RESOLVED DUPLICATE of bug 303043
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 1 vote (vote)
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 08:00 UTC by Torsten Kurbad
Modified: 2011-05-17 10:38 UTC (History)
6 users (show)

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


Attachments
arduino-0021.ebuild (arduino-0021.ebuild,2.14 KB, text/plain)
2010-10-05 08:01 UTC, Torsten Kurbad
Details
arduino-script-0021.patch (arduino-script-0021.patch,661 bytes, patch)
2010-10-05 08:02 UTC, Torsten Kurbad
Details | Diff
arduino-0021.ebuild (arduino-0021.ebuild,2.14 KB, text/plain)
2010-10-06 14:25 UTC, Torsten Kurbad
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Kurbad 2010-10-05 08:00:58 UTC
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
Comment 1 Torsten Kurbad 2010-10-05 08:01:49 UTC
Created attachment 249609 [details]
arduino-0021.ebuild
Comment 2 Torsten Kurbad 2010-10-05 08:02:34 UTC
Created attachment 249611 [details, diff]
arduino-script-0021.patch
Comment 3 Torsten Kurbad 2010-10-06 14:25:42 UTC
Created attachment 249749 [details]
arduino-0021.ebuild

Changed cross-avr/gcc requirement comment for atmega2560 based arduinos.
Comment 4 Soren Harward 2010-10-23 19:29:25 UTC
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.
Comment 5 Florian Manschwetus 2010-12-31 07:03:24 UTC
Maybe changing download Uri to http://github.com/arduino/Arduino/tarball/0022 to get rid of the live ebuild scheme?
Comment 6 Lukas Sandström 2011-01-09 14:23:27 UTC
There is a new ebuild that fetches a tarball from Github
available at http://gitorious.org/~luksan/gentoo-arduino/luksans-arduino
Comment 7 Torsten Kurbad 2011-01-29 22:33:23 UTC
(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
Comment 8 Juergen Rose 2011-04-30 10:02:27 UTC
How can I access this overlay with layman?

Regards Juergen
Comment 9 Juergen Rose 2011-04-30 12:59:14 UTC
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
Comment 10 Markos Chandras (RETIRED) gentoo-dev 2011-04-30 13:04:20 UTC
(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
Comment 11 Lukas Sandström 2011-05-02 20:10:43 UTC
(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"
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-17 10:38:36 UTC

*** This bug has been marked as a duplicate of bug 303043 ***