path-prefix.h revision 4f9777949d0a40a288f670c5e10d778739d12cdc
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter * Separate the inkscape paths from the prefix code, as that is kind of
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter * a separate package (binreloc)
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter * Since the directories set up by autoconf end up in config.h, we can't
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter * _change_ them, since config.h isn't protected by a set of
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter * one-time-include directives and is repeatedly re-included by some
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter * chains of .h files. As a result, nothing should refer to those
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter * define'd directories, and instead should use only the paths defined here.
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter#endif /* __cplusplus */
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_APPICONDIR BR_DATADIR( "/pixmaps" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_EXTENSIONDIR BR_DATADIR( "/inkscape/extensions" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_GRADIENTSDIR BR_DATADIR( "/inkscape/gradients" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_KEYSDIR BR_DATADIR( "/inkscape/keys" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_PIXMAPDIR BR_DATADIR( "/inkscape/icons" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_MARKERSDIR BR_DATADIR( "/inkscape/markers" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_PALETTESDIR BR_DATADIR( "/inkscape/palettes" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_PATTERNSDIR BR_DATADIR( "/inkscape/patterns" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_SCREENSDIR BR_DATADIR( "/inkscape/screens" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_TUTORIALSDIR BR_DATADIR( "/inkscape/tutorials" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_PLUGINDIR BR_LIBDIR( "/inkscape/plugins" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_TEMPLATESDIR BR_DATADIR( "/inkscape/templates" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_UIDIR BR_DATADIR( "/inkscape/ui" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter//CREATE V0.1 support
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define CREATE_GRADIENTSDIR BR_DATADIR( "/create/gradients/gimp" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define CREATE_PALETTESDIR BR_DATADIR( "/create/swatches" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define CREATE_PATTERNSDIR BR_DATADIR( "/create/patterns/vector" )
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_EXTENSIONDIR "share\\extensions"
06b7bc8ca2e005ed510210d3b8dee16afbabbcc9Stef Walter# define INKSCAPE_GRADIENTSDIR "share\\gradients"
42c28b9424b6ef8a0021b124773e171dd5defaddJakub Hrozek# define INKSCAPE_TUTORIALSDIR "share\\tutorials"
42c28b9424b6ef8a0021b124773e171dd5defaddJakub Hrozek# define INKSCAPE_TEMPLATESDIR "share\\templates"
42c28b9424b6ef8a0021b124773e171dd5defaddJakub Hrozek# define INKSCAPE_UIDIR INKSCAPE_DATADIR "\\share\\ui"
42c28b9424b6ef8a0021b124773e171dd5defaddJakub Hrozek//CREATE V0.1 WIN32 support
42c28b9424b6ef8a0021b124773e171dd5defaddJakub Hrozek# define CREATE_GRADIENTSDIR INKSCAPE_DATADIR "create\\gradients\\gimp"
42c28b9424b6ef8a0021b124773e171dd5defaddJakub Hrozek# define CREATE_PALETTESDIR INKSCAPE_DATADIR "create\\swatches"
42c28b9424b6ef8a0021b124773e171dd5defaddJakub Hrozek# define CREATE_PATTERNSDIR INKSCAPE_DATADIR "create\\patterns\\vector"
42c28b9424b6ef8a0021b124773e171dd5defaddJakub Hrozek# define INKSCAPE_APPICONDIR "Contents/Resources/pixmaps"
42c28b9424b6ef8a0021b124773e171dd5defaddJakub Hrozek# define INKSCAPE_EXTENSIONDIR "Contents/Resources/extensions"
42c28b9424b6ef8a0021b124773e171dd5defaddJakub Hrozek# define INKSCAPE_GRADIENTSDIR "Contents/Resources/gradients"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_KEYSDIR "Contents/Resources/keys"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_PIXMAPDIR "Contents/Resources/icons"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_MARKERSDIR "Contents/Resources/markers"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_PALETTESDIR "Contents/Resources/palettes"
06b7bc8ca2e005ed510210d3b8dee16afbabbcc9Stef Walter# define INKSCAPE_PATTERNSDIR "Contents/Resources/patterns"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_SCREENSDIR "Contents/Resources/screens"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_TUTORIALSDIR "Contents/Resources/tutorials"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_PLUGINDIR "Contents/Resources/plugins"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_TEMPLATESDIR "Contents/Resources/templates"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter//CREATE V0.1 support
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter// fixme: is this the correct path
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define CREATE_GRADIENTSDIR "/create/gradients/gimp"
06b7bc8ca2e005ed510210d3b8dee16afbabbcc9Stef Walter# define CREATE_PALETTESDIR "/create/swatches"
06b7bc8ca2e005ed510210d3b8dee16afbabbcc9Stef Walter# define CREATE_PATTERNSDIR "/create/patterns/vector"
06b7bc8ca2e005ed510210d3b8dee16afbabbcc9Stef Walter# define INKSCAPE_APPICONDIR INKSCAPE_DATADIR "/pixmaps"
06b7bc8ca2e005ed510210d3b8dee16afbabbcc9Stef Walter# define INKSCAPE_EXTENSIONDIR INKSCAPE_DATADIR "/inkscape/extensions"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_GRADIENTSDIR INKSCAPE_DATADIR "/inkscape/gradients"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_KEYSDIR INKSCAPE_DATADIR "/inkscape/keys"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_PIXMAPDIR INKSCAPE_DATADIR "/inkscape/icons"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_MARKERSDIR INKSCAPE_DATADIR "/inkscape/markers"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_PALETTESDIR INKSCAPE_DATADIR "/inkscape/palettes"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_PATTERNSDIR INKSCAPE_DATADIR "/inkscape/patterns"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_SCREENSDIR INKSCAPE_DATADIR "/inkscape/screens"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_TUTORIALSDIR INKSCAPE_DATADIR "/inkscape/tutorials"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_PLUGINDIR INKSCAPE_LIBDIR "/inkscape/plugins"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_TEMPLATESDIR INKSCAPE_DATADIR "/inkscape/templates"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define INKSCAPE_UIDIR INKSCAPE_DATADIR "/inkscape/ui"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter//CREATE V0.1 support
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define CREATE_GRADIENTSDIR INKSCAPE_DATADIR "/create/gradients/gimp"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define CREATE_PALETTESDIR INKSCAPE_DATADIR "/create/swatches"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter# define CREATE_PATTERNSDIR INKSCAPE_DATADIR "/create/patterns/vector"
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter#endif /* __cplusplus */
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter#endif /* _PATH_PREFIX_H_ */