When launching Gimp.app the directory for the gegl plug-ins is created in
The current patch (rev. 62) for 'gegl/gegl-init.c' doesn't work as expeced - 'g_get_user_data_dir' returns '~/.local/share' according to the XDG Base Directory Specification: «If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.»
a) add 'export XDG_DATA_HOME="$HOME"' to 'Contents/Resources/bin/gimp'
b) add 'export XDG_DATA_HOME="$HOME/$GIMP2_DIRECTORY"' to 'Contents/Resources/bin/gimp' and change the patch for 'gegl/gegl-init.c' for the module_path from "Library/Application Support/Gimp/gegl" to "gegl".
Variant a) could have unintended consequences as XDG_DATA_HOME could be picked up by other plugins or XDG aware libs whereas variant b) would contain any potential file or directory creation inside the $GIMP2_DIRECTORY.
I have tested and confirmed variant a), I can't however test variant b) myself because I don't have the build environment for GIMP set up.
Mac OS X 10.5.8 (9L30)
XQuartz 2.4.0 (xorg-server 1.5.3-apple14)
GIMP 2.6.7p3 for Mac OS X Leopard
build by GIMP on OS X, http://gimp.lisanet.de
Sa 14 Nov 2009 03:07:22 CET
Log in to post a comment.