Code

patch by sas from 227449 with my changes for using ps2pdf instead of pstoedit
[inkscape.git] / share / extensions / eps_input.inx
index 5529f003b4d5026062a56ced917eed95e4020dbd..14f33764db3507100c5b842e8e9b2faeabf7a03d 100644 (file)
@@ -2,15 +2,18 @@
 <inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
     <_name>EPS Input</_name>
     <id>org.inkscape.input.eps</id>
-    <dependency type="executable">pstoedit</dependency>
+    <dependency type="extension">org.inkscape.input.pdf</dependency>    
+    <dependency type="executable" location="path">ps2pdf</dependency>
+    <dependency type="executable" location="extensions">ps2pdf-ext.py</dependency>
     <input>
         <extension>.eps</extension>
         <mimetype>image/x-encapsulated-postscript</mimetype>
-        <_filetypename>Encapsulated Postscript (*.eps)</_filetypename>
-        <_filetypetooltip>Encapsulated Postscript</_filetypetooltip>
+        <_filetypename>Encapsulated PostScript (*.eps)</_filetypename>
+        <_filetypetooltip>Encapsulated PostScript</_filetypetooltip>
         <output_extension>org.inkscape.output.eps</output_extension>
     </input>
     <script>
-        <command reldir="path">pstoedit -f plot-svg</command>
+        <command reldir="extensions" interpreter="python">ps2pdf-ext.py</command>
+        <helper_extension>org.inkscape.input.pdf</helper_extension>
     </script>
 </inkscape-extension>