Username: Password: Remember me
Search Criteria Advanced
Package Details

arduino 0018-1
http://www.arduino.cc/
The Arduino IDE

unsupported :: devel
Maintainer: Trashman
Votes: 85

License: GPL

Last Updated: Wed, 03 Feb 2010 11:52:56 +0000
First Submitted: Sat, 10 Feb 2007 16:33:23 +0000

Tarball :: Files :: PKGBUILD

Dependencies avr-libc bash java-runtime libusb
Required by arduino-onewire

Sources
http://arduino.googlecode.com/files/arduino-0018.tgz
Comment by: pdxleif on Mon, 01 Feb 2010 04:18:42 +0000
0018 is out.
Comment by: bostonvaulter on Sat, 02 Jan 2010 09:36:09 +0000
I had to add myself to the uucp group before this would work for me. Just noting it for others who try.
Comment by: schivmeister on Sat, 26 Dec 2009 08:08:24 +0000
Hello

This may be moved to community soon (provided it's not too much of a hassle to maintain; I'll have a look first). Thanks for the work!
Comment by: denis on Sat, 19 Sep 2009 19:58:34 +0000
I have made a new PKGBUILD for this, it builds on 64-bit and includes a desktop file.
http://repo.mupuf.org/pkgbuilds/arduino-0017-1.src.tar.gz
Comment by: Harvie on Fri, 11 Sep 2009 03:07:54 +0000
please add launcher to /usr/share/applications/arduino-ide.desktop
You can use those icons:
http://artworkz.harvie.cz/desktop-icons/arduino-diecimila.png
http://artworkz.harvie.cz/desktop-icons/arduino-diecimila.svg
Comment by: imrehg on Sat, 21 Feb 2009 00:40:07 +0000
Fair enough, it looks reasonable, I'll think about it.
However at the moment it would look completely misleading on AUR, as the site does not handle lines like:
if [ "${CARCH}" = 'i686' ]; then ...
so it would look as the package is the x86_64 version only.
Of course, the package would still work, and one wouldn't see weirdness through yaourt, for example, so this might be a cosmetic issue...
Comment by: flamelab on Sat, 21 Feb 2009 00:13:34 +0000
But you can "bunch together" those too. Look at the flashplugin PKGBUILD in extra. Two different versions for both arches.
Comment by: imrehg on Sat, 21 Feb 2009 00:01:20 +0000
The reason why there are two packages is not because it couldn't be handled with a single one with conditionals, as your example package shows, but because the two are different arduino releases... I wanted the package version to reflect that, since usually there are plenty of differences between version. No need to bunch together the 0013 for i686 and 0012 for x86_64, in my opinion....
Comment by: flamelab on Fri, 20 Feb 2009 23:47:39 +0000
No need for 2 packages for 32 and 64 bit.

Follow this google-desktop PKGBUILD

http://pastebin.com/f78c782c6

that I propose here http://aur.archlinux.org/packages.php?ID=24040

and change the sources and md5sums according to your package.
Comment by: imrehg on Fri, 20 Feb 2009 03:38:44 +0000
Hi,
I added new package for amd64 bit release of arduino, called arduino64.
Since I don't have a 64bit machine, I cannot check it. Please leave a comment there if something is not working.
Cheers....
Comment by: imrehg on Thu, 19 Feb 2009 16:51:06 +0000
Updated package:
==================
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
pkgname=arduino
pkgver=0013
_modver=2
pkgrel=1
pkgdesc="The Arduino IDE"
arch=('i686')
url="http://www.arduino.cc/"
license=('GPL')
depends=('avr-libc' 'java-runtime' 'libusb' 'bash')
source=(http://www.arduino.cc/files/${pkgname}-${pkgver}-linux${_modver}.tgz)
build() {
install -d ${pkgdir}/usr/share
cp -r ${srcdir}/${pkgname}-${pkgver} ${pkgdir}/usr/share/arduino
find ${pkgdir}/usr/share/arduino -type d -exec chmod 755 '{}' \;
find ${pkgdir}/usr/share/arduino -type f -exec chmod 644 '{}' \;
chmod 755 ${pkgdir}/usr/share/arduino/arduino
install -Dm755 ${srcdir}/arduino.sh ${pkgdir}/usr/bin/arduino
chmod 755 ${pkgdir}/usr/share/arduino/hardware/tools/avrdude
}
md5sums=('738e8481cf5248cd94450b4e399de2c2')
==================

This supposed to correct a few things:
1) jre not needed, runs on openjdk6 just as well, so include only java-runtime as dependency
2) avrdude is included in the package, not needed as dependency
3) avrdude runtime execution permission
4) 64-bit version should be a different package, as it has different version number (currently still on 0012)

Any suggestions? If I borked anything, just let me know, I'm happy to fix it.
Comment by: k33l0r on Fri, 06 Feb 2009 23:44:07 +0000
Please update the PKGBUILD to install the real 64-bit version for x86_64...
Comment by: k33l0r on Sat, 03 Jan 2009 11:50:30 +0000
regomodo:

I had the same problem as you did with the

"./arduino: line 16: java: command not found"

error.

I solved it by creating a symbolic link to /opt/java/jre/bin/java in /usr/bin/

sudo ln -s /opt/java/jre/bin/java /usr/bin/

That solved it for me, but I'm not sure if it's the "correct" thing to do or if it will break something else...
Comment by: m3tr0g33k on Sun, 07 Dec 2008 19:49:48 +0000
I have prepared RXTX as 64-bit, but I get:

java.lang.UnsatisfiedLinkError: gnu.io.RXTXCommDriver.nativeGetVersion()Ljava/lang/String; thrown while loading gnu.io.RXTXCommDriver
java.lang.NoClassDefFoundError: Could not initialize class gnu.io.RXTXCommDriver thrown while loading gnu.io.RXTXCommDriver

on starting arduino, and then repeated when I open the Tools menu. Port selection is greyed out.

Anyone else got arduino x86_64 working?
Comment by: imrehg on Mon, 24 Nov 2008 07:22:38 +0000
Hey,

Very useful package, thanks. Nevertheless, please add the correct permission for the avrdude (as it is in the last comment). That would make it perfect!

Cheers.
Comment by: ticapix on Thu, 30 Oct 2008 06:58:48 +0000
Hi,

the install is missing a:

chmod +x /usr/share/arduino/hardware/tools/avrdude

to correct a error about permission when IDE try to program the board
Comment by: Sann on Sun, 26 Oct 2008 09:16:17 +0000
2008.10.12 Arduino 0012 for Linux 32bit available:
2008.10.24 Arduino 0012 for Linux AMD 64bit available:

http://arduino.cc/
Comment by: winch on Sat, 17 May 2008 17:09:28 +0000
arduino IDE won't run on X86_64 due to a 32-bit lib.

$ file /usr/share/arduino/lib/librxtxSerial.so
/usr/share/arduino/lib/librxtxSerial.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, stripped
Comment by: bardo on Wed, 30 Jan 2008 01:33:41 +0000
Finally updated to version 10. I have been waiting because of my addition of binutils-avr, gcc-avr, avr-libc and avrdude to [community], which took a lot of time in terms of standard adherence.

Remember to vote this package if you want to see it in [community[, and have fun!
Comment by: regomodo on Mon, 22 Oct 2007 16:15:12 +0000
sorry bardo

Cheers for the hint. I install things via yaourt so i end up missing what it says in the aur sometimes.

I've reinstalled arduino with the chages you suggested and an edited uisp PKGBUILD except i now get a different error

./arduino: line 16: java: command not found

But i've installed jre and all the packages arduino chose.
Comment by: bardo on Tue, 16 Oct 2007 23:23:44 +0000
Please. don't mark a package as out of date if it is not out of date. If it doesn't work just post a comment and I'll be notified.

You get a not found error about avr-g++, and this is the problem. As I pointed out in a comment of the gcc-avr package, you should modify its PKGBUILD so that you have:

../configure --target=avr --prefix=/opt/avr --disable-nls --enable-languages=c,c++ --disable-libssp

Notice that I added c++. I also sent a mail to the maintainer of these packages, because he's been inactive for a long time. If he doesn't answer in a few days I'll orphan his packages.
Comment by: regomodo on Tue, 16 Oct 2007 22:33:40 +0000
it may be because of uisp but arduino spits out a load of errors at the start

[quote]
java.io.IOException: Cannot run program "avr-g++": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:466)
at processing.app.Library.build(Library.java:430)
at processing.app.LibraryManager.buildAllUnbuilt(LibraryManager.java:227)
at processing.app.Editor.prepareLibraries(Editor.java:353)
at processing.app.Base.<init>(Base.java:214)
at processing.app.Base.main(Base.java:177)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 7 more
java.io.IOException: Cannot run program "mozilla": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:466)
at processing.app.Base.openURL(Base.java:711)
at processing.app.Library.build(Library.java:481)
at processing.app.LibraryManager.buildAllUnbuilt(LibraryManager.java:227)
at processing.app.Editor.prepareLibraries(Editor.java:353)
at processing.app.Base.<init>(Base.java:214)
at processing.app.Base.main(Base.java:177)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
at java.lang.ProcessImpl.start(ProcessImpl.java:65)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
... 8 more[/quote]
Comment by: bardo on Sat, 11 Aug 2007 11:01:19 +0000
Bump to version 9.
Comment by: bardo on Fri, 23 Feb 2007 12:24:49 +0000
Updated to current packaging standards, added a dependency.
Comment by: bardo on Sat, 10 Feb 2007 16:33:23 +0000
This is just a first release, it\'s not perfect.

ATM you need to be root in order to avoid problems with rxtx lock files, the rest seems to work right.
Also the file /usr/share/arduino/lib/targets/libraries/Wire/utility/twi.o needs to be created, and it will be created at the first run, but the directory isn\'t (obviously) writable, so you\'ll need to run it from a root account the first time.

If anyone finds a way to correct those issues, please let me know.

v1.6.0