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

16 May, 2024 02:11 AM
16 May, 2024 01:58 AM
14 May, 2024 01:29 AM
13 May, 2024 12:36 AM
12 May, 2024 07:46 PM

 

05 May, 2024 04:38 PM
03 May, 2024 06:50 AM
03 May, 2024 12:30 AM
03 May, 2024 12:09 AM
19 Apr, 2024 04:41 AM
16 Apr, 2024 06:18 PM