Arch linux aur package
Hello,
as i intensivly use nodebox with my students on linux, i would love to try to make a nodebox package for arch linux.
But i'm not a java developper and i can't find a proper way to compile nodebox. The idea is to get jar files as described on the arch packager wiki here : https://wiki.archlinux.org/index.php/Java_package_guidelines
i tryed to run 'ant compile', i succed to have a nodebox.jar file in dist/lib/nodebox.jar but ofcourse it doesn't work if i move it in an other place.
Please can you lead me to the right way to do that,
Thanks
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Frederik De Ble... on 02 Feb, 2016 07:51 PM
NodeBox needs some resource files to start up. Those contain the core nodes, Python bundle, etc.
On Mac and Windows we use the Java FX deployment system. The idea is that you write an Ant task that mirrors the
dist-mac
ordist-win
tasks. I'm not sure if JavaFX is included in OpenJDK, though.If that doesn't work, your best bet is to start not from the
compile
task, but from theresources
task, which bundles everything in one folder. On my Mac, If I copy the nodebox.jar generated in dist/lib, to dist/resources, I'm able to start the program by double-clicking the JAR file. I don't have my Linux machine here so I can't test it directly.Hope that helps. Don't hesitate to contact me with further questions. Also, if you found a way to package it for Arch, I'd love to see script / package.
2 Posted by sc.bh on 04 Feb, 2016 04:46 PM
Thanks Fred!
your advice were so usefull :)
i finished a first draft of the package, you can clone it here : https://g-u-i.me/gogs/bachir/nodebox-git
don't hesitate to give me some feed backs
3 Posted by sc.bh on 04 Feb, 2016 10:33 PM
here we are, nodebox package for Arch Linux is on aur : https://aur.archlinux.org/packages/nodebox-git/
Support Staff 4 Posted by Frederik De Ble... on 05 Feb, 2016 07:12 PM
Cool! I've replied on the GitHub issue page you created:
https://github.com/nodebox/nodebox/issues/412#issuecomment-180082195