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
Created attachment 170319 [details] ebuild for dev-embedded/arduino-0012
Created attachment 170321 [details, diff] patch for arduino board Makefile
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? )
(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.
(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.
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.
Created attachment 188359 [details] ebuild for dev-embedded/arduino-0015
Created attachment 188360 [details, diff] Makefile-0015.patch
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.
Thanks. In the future Joe being that I'm kinda slack, you can commit directly to the tree.