=== modified file 'share/extensions/print_win32_vector.inx' --- share/extensions/print_win32_vector.inx 2012-07-28 22:31:38 +0000 +++ share/extensions/print_win32_vector.inx 2014-04-22 07:02:22 +0000 @@ -1,17 +1,18 @@ - <_name>Win32 Vector Print - com.vaxxine.print.win32 - org.inkscape.output.svg.inkscape - print_win32_vector.py - inkex.py - - all - - - - - + <_name>Win32 Vector Print + com.vaxxine.print.win32 + org.inkscape.output.svg.inkscape + print_win32_vector.py + inkex.py + win + + all + + + + + === modified file 'src/extension/dependency.cpp' --- src/extension/dependency.cpp 2014-03-27 01:33:44 +0000 +++ src/extension/dependency.cpp 2014-04-25 19:32:41 +0000 @@ -29,6 +29,7 @@ "executable", "file", "extension", + "os", }; // These strings are for XML attribute comparisons and should not be translated @@ -219,6 +220,19 @@ } /* switch _location */ break; } /* TYPE_FILE, TYPE_EXECUTABLE */ + case TYPE_OS: { + if (strcmp(_string, "win") == 0) { +#ifndef WIN32 + return FALSE; +#endif + } + if (strcmp(_string, "notwin") == 0) { +#ifdef WIN32 + return FALSE; +#endif + } + break; + } /* TYPE_OS */ default: return FALSE; } /* switch _type */ === modified file 'src/extension/dependency.h' --- src/extension/dependency.h 2009-02-13 01:47:46 +0000 +++ src/extension/dependency.h 2014-04-22 06:53:19 +0000 @@ -32,6 +32,7 @@ TYPE_EXECUTABLE, /**< Look for an executable */ TYPE_FILE, /**< Look to make sure a file exists */ TYPE_EXTENSION, /**< Make sure a specific extension is loaded and functional */ + TYPE_OS, /**< Look for a specific operating system */ TYPE_CNT /**< Number of types */ }; /** \brief Storing the type of this particular dependency. */