X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fpath-prefix.h;h=447ddcf85dd81254642ed05081b9e896b345ae8f;hb=7b51296159813ffbc382e4decef735f222ee23f8;hp=451718c3c87c7c14a0d12e025fd039918724294a;hpb=8909f2abebf2c183793310f816dc3af9ca4a8ba3;p=inkscape.git diff --git a/src/path-prefix.h b/src/path-prefix.h index 451718c3c..447ddcf85 100644 --- a/src/path-prefix.h +++ b/src/path-prefix.h @@ -22,10 +22,11 @@ extern "C" { #ifdef ENABLE_BINRELOC # define INKSCAPE_APPICONDIR BR_DATADIR( "/pixmaps" ) +# define INKSCAPE_BINDDIR BR_DATADIR( "/inkscape/bind" ) # define INKSCAPE_EXAMPLESDIR BR_DATADIR( "/inkscape/examples" ) # define INKSCAPE_EXTENSIONDIR BR_DATADIR( "/inkscape/extensions" ) +# define INKSCAPE_FILTERDIR BR_DATADIR( "/inkscape/filters" ) # define INKSCAPE_GRADIENTSDIR BR_DATADIR( "/inkscape/gradients" ) -# define INKSCAPE_JAVADIR BR_DATADIR( "/inkscape/java" ) # define INKSCAPE_KEYSDIR BR_DATADIR( "/inkscape/keys" ) # define INKSCAPE_PIXMAPDIR BR_DATADIR( "/inkscape/icons" ) # define INKSCAPE_MARKERSDIR BR_DATADIR( "/inkscape/markers" ) @@ -42,31 +43,33 @@ extern "C" { # define CREATE_PATTERNSDIR BR_DATADIR( "/create/patterns/vector" ) #else # ifdef WIN32 -# define INKSCAPE_APPICONDIR "pixmaps" -# define INKSCAPE_EXAMPLESDIR "share\\examples" -# define INKSCAPE_EXTENSIONDIR "share\\extensions" -# define INKSCAPE_GRADIENTSDIR "share\\gradients" -# define INKSCAPE_JAVADIR "share\\java" -# define INKSCAPE_KEYSDIR "share\\keys" -# define INKSCAPE_PIXMAPDIR "share\\icons" -# define INKSCAPE_MARKERSDIR "share\\markers" -# define INKSCAPE_PALETTESDIR "share\\palettes" -# define INKSCAPE_PATTERNSDIR "share\\patterns" -# define INKSCAPE_SCREENSDIR "share\\screens" -# define INKSCAPE_TUTORIALSDIR "share\\tutorials" -# define INKSCAPE_PLUGINDIR "plugins" -# define INKSCAPE_TEMPLATESDIR "share\\templates" -# define INKSCAPE_UIDIR INKSCAPE_DATADIR "\\share\\ui" +# define INKSCAPE_APPICONDIR WIN32_DATADIR("pixmaps") +# define INKSCAPE_BINDDIR WIN32_DATADIR("share\\bind") +# define INKSCAPE_EXAMPLESDIR WIN32_DATADIR("share\\examples") +# define INKSCAPE_EXTENSIONDIR WIN32_DATADIR("share\\extensions") +# define INKSCAPE_FILTERDIR WIN32_DATADIR("share\\filters") +# define INKSCAPE_GRADIENTSDIR WIN32_DATADIR("share\\gradients") +# define INKSCAPE_KEYSDIR WIN32_DATADIR("share\\keys") +# define INKSCAPE_PIXMAPDIR WIN32_DATADIR("share\\icons") +# define INKSCAPE_MARKERSDIR WIN32_DATADIR("share\\markers") +# define INKSCAPE_PALETTESDIR WIN32_DATADIR("share\\palettes") +# define INKSCAPE_PATTERNSDIR WIN32_DATADIR("share\\patterns") +# define INKSCAPE_SCREENSDIR WIN32_DATADIR("share\\screens") +# define INKSCAPE_TUTORIALSDIR WIN32_DATADIR("share\\tutorials") +# define INKSCAPE_PLUGINDIR WIN32_DATADIR("plugins") +# define INKSCAPE_TEMPLATESDIR WIN32_DATADIR("share\\templates") +# define INKSCAPE_UIDIR WIN32_DATADIR("share\\ui") //CREATE V0.1 WIN32 support -# define CREATE_GRADIENTSDIR INKSCAPE_DATADIR "create\\gradients\\gimp" -# define CREATE_PALETTESDIR INKSCAPE_DATADIR "create\\swatches" -# define CREATE_PATTERNSDIR INKSCAPE_DATADIR "create\\patterns\\vector" +# define CREATE_GRADIENTSDIR WIN32_DATADIR("create\\gradients\\gimp") +# define CREATE_PALETTESDIR WIN32_DATADIR("create\\swatches") +# define CREATE_PATTERNSDIR WIN32_DATADIR("create\\patterns\\vector") # elif defined ENABLE_OSX_APP_LOCATIONS # define INKSCAPE_APPICONDIR "Contents/Resources/pixmaps" +# define INKSCAPE_BINDDIR "Contents/Resources/bind" # define INKSCAPE_EXAMPLESDIR "Contents/Resources/examples" # define INKSCAPE_EXTENSIONDIR "Contents/Resources/extensions" +# define INKSCAPE_FILTERDIR "Contents/Resources/filters" # define INKSCAPE_GRADIENTSDIR "Contents/Resources/gradients" -# define INKSCAPE_JAVADIR "Contents/Resources/java" # define INKSCAPE_KEYSDIR "Contents/Resources/keys" # define INKSCAPE_PIXMAPDIR "Contents/Resources/icons" # define INKSCAPE_MARKERSDIR "Contents/Resources/markers" @@ -83,10 +86,11 @@ extern "C" { # define CREATE_PATTERNSDIR "/Library/Application Support/create/patterns/vector" # else # define INKSCAPE_APPICONDIR INKSCAPE_DATADIR "/pixmaps" +# define INKSCAPE_BINDDIR INKSCAPE_DATADIR "/inkscape/bind" # define INKSCAPE_EXAMPLESDIR INKSCAPE_DATADIR "/inkscape/examples" # define INKSCAPE_EXTENSIONDIR INKSCAPE_DATADIR "/inkscape/extensions" +# define INKSCAPE_FILTERDIR INKSCAPE_DATADIR "/inkscape/filters" # define INKSCAPE_GRADIENTSDIR INKSCAPE_DATADIR "/inkscape/gradients" -# define INKSCAPE_JAVADIR INKSCAPE_DATADIR "/inkscape/java" # define INKSCAPE_KEYSDIR INKSCAPE_DATADIR "/inkscape/keys" # define INKSCAPE_PIXMAPDIR INKSCAPE_DATADIR "/inkscape/icons" # define INKSCAPE_MARKERSDIR INKSCAPE_DATADIR "/inkscape/markers"