Jon A. Cruz wrote:
INKSCAPE_PIXMAPDIR is something very old and broken, and needs major fixing. It also is a *major* issue when it comes to OS X, since packaging is different than on Linux.
It should be defined at configure time, but someone decided to hardcode it relative to $(datadir) in path-prefix.h. Supposedly it is that way to support Autopackage. We need two things to fix it:
1. A way to set it (and other path defines) on configure time. Essentially, remove path-prefix.h and add some stuff to configure. 2. A set of functions that return those defined locations on Linux and figure out the correct absolute paths on Windows. Otherwise the CLI on Windows will remain totally broken because now we chdir to Inkscape's installation dir. The correct way is to build paths relative to the executable path fetched using GetModuleFileNameW.
Regards, Krzysztof Kosiński