regarding the last build failure, the PKGBUILD is trying to use the wrong name for the PNG image.
Search Criteria
Package Details: energia 1.8.10E23-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/energia.git (read-only, click to copy) |
---|---|
Package Base: | energia |
Description: | Energia is a Arduino IDE clone for use with the MSP430 launchpad |
Upstream URL: | http://energia.nu/ |
Licenses: | GPL |
Provides: | energia |
Submitter: | will.price94 |
Maintainer: | mpento |
Last Packager: | mpento |
Votes: | 23 |
Popularity: | 0.000000 |
First Submitted: | 2013-01-07 23:18 (UTC) |
Last Updated: | 2020-03-08 13:47 (UTC) |
Dependencies (4)
- gcc-libs-multilib (gcc-libs-snapshotAUR, gcc-libs)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, jdk17-openj9-binAUR, jdk23-graalvm-ee-binAUR, zing-8-binAUR, zing-21-binAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk)
- java-rxtx
- libusb-compat (libusb0AUR)
Required by (1)
- platformio-git (optional)
Sources (3)
gururise commented on 2013-04-02 15:51 (UTC)
gururise commented on 2013-04-02 15:48 (UTC)
Some reason, the latest package will not build for me.. (64-bit Arch):
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat ‘/tmp/yaourt-tmp-gene/aur-energia/src/KKxcXiv.png’: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
andrew67 commented on 2013-03-20 01:00 (UTC)
Hi,
The .desktop file works in XFCE.
I switched to KDE today and the image gets stretched because it was not square. Here is fixed icon: http://i.imgur.com/ukLwVaV.png
I look at the arduino PKGBUILD here and they somehow bundle the .desktop and .png file without having to use echo or imgur link, and they use some other commands for installing them. This seems to work OK though.
will.price94 commented on 2013-03-19 16:47 (UTC)
Hello Andrew,
Thank you for the suggestions and .desktop file. I've added your contributions to the PKGBUILD with thanks.
Could you rebuild the package on your system and check that the changes work (I don't use a Gnome/KDE/XFCE etc, so am unsure whether the desktop file is functioning correctly)?
Regards,
Will
andrew67 commented on 2013-03-19 15:57 (UTC)
Hi, I made a .desktop file based on the arduino.desktop file in that PKGBUILD; seems to work for me so I thought I'd share:
[Desktop Entry]
Name=Energia
GenericName=Energia IDE
Comment=The open-source Arduino environment for MSP430 Launchpad
Exec=/opt/energia/energia
Icon=/opt/energia/energia.png
Type=Application
Terminal=false
Categories=Development;IDE;Application;
/opt/energia/energia.png would be this image: http://i.imgur.com/KKxcXiv.png
will.price94 commented on 2013-03-11 09:45 (UTC)
Hi Andrew67,
Thanks for your alerting me, I've changed that script as you specify and uploaded the new version
andrew67 commented on 2013-03-11 05:32 (UTC)
Hi, just tried this PKGBUILD and everything was going fine except mspdebug was complaining about a missing libusb shared library. Did some digging and I see these binaries are 32-bit, in which case installing lib32-libusb-compat fixed the problem for me. That should be the dependency for x86_64 and not libusb-compat.
will.price94 commented on 2013-01-26 19:10 (UTC)
That's good to know, can you compile programs without having to recompile gcc? I'll upload an updated PKGBUILD with the modifications if that's the case.
gyscos commented on 2013-01-26 17:45 (UTC)
I should indeed have searched a little more.
Renaming librxtxSerial64.so to librxtxSerial.so did the trick...
will.price94 commented on 2013-01-26 12:11 (UTC)
Hi gyscos, it looks like Energia can be used on both i686 and x86_64, the latter only with a recompiled mspgcc binaries (for x86_64) and a switch of librxtxSerial64.so to librxtSerial.so
(source info: http://elabz.com/msp430-in-64-bit-ubuntu-12-04-linux-the-arduino-way/)
You can try building it that way for the time being, I'll try and update the package build to either build the mspgcc dependencies or symlink the versions available in the AUR.
Pinned Comments
mpento commented on 2018-01-21 14:49 (UTC) (edited on 2018-01-21 14:50 (UTC) by mpento)
GTKLookAndFeel Issue
In reference to the following error:
After some research, this appears to be a problem in energia itself that was fixed in the arduino ide, which energia is derived from. For reasons unknown to me, that fix has not been propagated. The energia issue for this is still open and not assigned on github (https://github.com/energia/Energia/issues/980).
To work around this problem, as root, edit the 'energia' script located in /opt/energia/, change line 28 from this:
To this:
Once a fix is available, I will incorporate it here.