Arch linux aur package

sc.bh's Avatar

sc.bh

01 Feb, 2016 07:05 PM

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

  1. Support Staff 1 Posted by Frederik De Ble... on 02 Feb, 2016 07:51 PM

    Frederik De Bleser's Avatar

    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 or dist-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 the resources 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. 2 Posted by sc.bh on 04 Feb, 2016 04:46 PM

    sc.bh's Avatar

    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. 3 Posted by sc.bh on 04 Feb, 2016 10:33 PM

    sc.bh's Avatar

    here we are, nodebox package for Arch Linux is on aur : https://aur.archlinux.org/packages/nodebox-git/

  4. Support Staff 4 Posted by Frederik De Ble... on 05 Feb, 2016 07:12 PM

    Frederik De Bleser's Avatar

    Cool! I've replied on the GitHub issue page you created:

    https://github.com/nodebox/nodebox/issues/412#issuecomment-180082195

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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

Recent Discussions

18 Nov, 2024 11:24 PM
18 Nov, 2024 09:01 PM
07 Nov, 2024 10:53 AM
02 Nov, 2024 11:22 AM
01 Nov, 2024 12:41 AM

 

01 Oct, 2024 07:59 AM
30 Sep, 2024 11:37 PM
30 Sep, 2024 11:11 AM
30 Sep, 2024 02:37 AM
28 Sep, 2024 10:33 AM
26 Sep, 2024 06:41 AM