Closed probonopd closed 4 years ago
Sure. I have committed code for this. Please let me know if I managed to screw it up somehow. Cheers
Thank you very much. :+1:
This should remove the need for this workaround then:
On a related note, do you know how to do this more elegantly?
I found a few bugs in the install script but upgrading to the latest commit and running "./install.py -d appdir" might do the trick.
Thank you, working on it.
Works. Thank you very much.
BirdFont contains code to look for resources in various places:
https://github.com/johanmattssonm/birdfont/blob/ad86764211ab337c96fcb73a8310d3dcd51a6615/libbirdfont/SearchPaths.vala#L32-L98
On a Linux system, this resolves to (tested with strace):
Unfortunately it does not look in
<location of the main birdfont binary>/../share/birdfont
, which means that BirdFont is currently not relocatable on Linux.According to https://mail.gnome.org/archives/vala-list/2009-August/msg00124.html,
will give you the name of your executable with full path and all links resolved (because kernel actually reverse-calculates it from the open file).
Could this be added please?