GR.jl
GR.jl copied to clipboard
Does not work with PackageCompiler.jl create_app
Hi,
When building an app using GR using PackageCompiler.jl it seems some artifacts are not included. Namely the font directory (which uses hardcoded paths) and at runtime there are errors with:
ErrorException("could not load library "libGR.so"\nlibGR.so: cannot open shared object file: No such file or directory")
Rusty
I think this is an issue for Yggdrasil.
I think we have to add a FileProduct
for the fonts
directory (as described here), but i don't see how to add a complete directory.
It seems like the fonts would be considered artifacts.
The relevant example may be:
https://github.com/staticfloat/Gtk.jl/blob/e500dcadaa8bf3571d27b0ac7cd92ef00febcb1f/src/Gtk.jl#L82-L111
Whereas GTK uses GDK_PIXBUF_MODULEDIR which contains its modules.
I'm quite new to Julia packaging, but I'm unaware of how to test the Yggdrasil scripts if I wanted to make a PR.