Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244969 - dev-embedded/arduino-0015 version bump
Summary: dev-embedded/arduino-0015 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: solar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-30 14:30 UTC by Nick Loeve
Modified: 2009-04-14 22:01 UTC (History)
4 users (show)

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


Attachments
ebuild for dev-embedded/arduino-0012 (arduino-0012.ebuild,1.67 KB, text/plain)
2008-10-30 14:31 UTC, Nick Loeve
Details
patch for arduino board Makefile (Makefile-0012.patch,1.45 KB, patch)
2008-10-30 14:32 UTC, Nick Loeve
Details | Diff
ebuild for dev-embedded/arduino-0015 (arduino-0015.ebuild,1.28 KB, text/plain)
2009-04-14 21:18 UTC, Joe Sapp (RETIRED)
Details
Makefile-0015.patch (Makefile-0015.patch,1.34 KB, patch)
2009-04-14 21:19 UTC, Joe Sapp (RETIRED)
Details | Diff
revised ebuild for version 0015 (arduino-0015.ebuild,1.59 KB, text/plain)
2009-04-14 21:29 UTC, Joe Sapp (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Loeve 2008-10-30 14:30:19 UTC
This ebuild bumps the version, fixes the new split x86/amd64 sources, makes the java IDE use the system avrdude, and fixes some permissions for starting the IDE the first time.

I have also attached an updated patch for the arduino board Makefile.

Reproducible: Always
Comment 1 Nick Loeve 2008-10-30 14:31:37 UTC
Created attachment 170319 [details]
ebuild for dev-embedded/arduino-0012
Comment 2 Nick Loeve 2008-10-30 14:32:08 UTC
Created attachment 170321 [details, diff]
patch for arduino board Makefile
Comment 3 Nick Loeve 2008-10-30 14:34:38 UTC
If you are going to use the system avrdude then you need the patch at http://bugs.gentoo.org/show_bug.cgi?id=223245 (should this be in the bugs 'depends on' field? )
Comment 4 solar (RETIRED) gentoo-dev 2008-10-30 20:03:46 UTC
(In reply to comment #3)
> If you are going to use the system avrdude then you need the patch at
> http://bugs.gentoo.org/show_bug.cgi?id=223245 (should this be in the bugs
> 'depends on' field? )

Nick,
Are you that one "needs" that avrdude patch? granted the signature line shows up as 0000.. But that never prevented me from uploading sketches.

If with 12 it's not really "needed" but rather desired then I can do the bump today for the ardy. otherwise we will need to wait a little while.

Also thanks for taking a stab at the IDE. I never really used that myself. 
Comment 5 Nick Loeve 2008-10-30 22:47:44 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > If you are going to use the system avrdude then you need the patch at
> > http://bugs.gentoo.org/show_bug.cgi?id=223245 (should this be in the bugs
> > 'depends on' field? )
> 
> Nick,
> Are you that one "needs" that avrdude patch? granted the signature line shows
> up as 0000.. But that never prevented me from uploading sketches.

Hey, yeah without that patch avrdude invoked from the IDE doesn't seem to work.

> 
> If with 12 it's not really "needed" but rather desired then I can do the bump
> today for the ardy. otherwise we will need to wait a little while.

I get the issue with 0011 and avrdude-5.5 also, so i can wait.

> 
> Also thanks for taking a stab at the IDE. I never really used that myself. 
> 

No problem. Its nice for quick programs and tests.
Comment 6 Tobias Kral 2009-01-29 10:13:22 UTC
Your "sed" doesn't work for me so I added a symlink to /usr/bin

src_install() {
		# symlink IDE to /usr/bin
		dosym /usr/bin/arduino "/usr/share/${P}/arduino"
	fi
}

But that showed up a new problem which I couldn't fix:

$ /usr/share/arduino-0012/arduino
Exception in thread "main" java.lang.NoClassDefFoundError: processing/app/Base
Caused by: java.lang.ClassNotFoundException: processing.app.Base
	at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: processing.app.Base.  Program will exit.

Even playing with $CLASSPATH didn't solved it.
Comment 7 Joe Sapp (RETIRED) gentoo-dev 2009-04-14 21:18:49 UTC
Created attachment 188359 [details]
ebuild for dev-embedded/arduino-0015
Comment 8 Joe Sapp (RETIRED) gentoo-dev 2009-04-14 21:19:18 UTC
Created attachment 188360 [details, diff]
Makefile-0015.patch
Comment 9 Joe Sapp (RETIRED) gentoo-dev 2009-04-14 21:29:16 UTC
Created attachment 188362 [details]
revised ebuild for version 0015

Oops, did not notice Nick's changes with the previous revision.  Seems like there is no separate amd64 package any more.
Comment 10 solar (RETIRED) gentoo-dev 2009-04-14 22:01:26 UTC
Thanks. In the future Joe being that I'm kinda slack, you can commit directly to the tree.