Code

Removed support for AI (EPS based) export and EPSI export.
authortavmjong <tavmjong@users.sourceforge.net>
Tue, 11 Aug 2009 08:45:43 +0000 (08:45 +0000)
committertavmjong <tavmjong@users.sourceforge.net>
Tue, 11 Aug 2009 08:45:43 +0000 (08:45 +0000)
AI export only supported (poorly) Adobe Illustrator 8.0 (released in 1998);
Adobe Illustrator 10 (2001) and later support direct SVG import.

EPSI export has limited use now that many programs such as OpenOffice
can directly use the vector data in EPS files. If needed, the program
ps2epsi can be used to make EPSI files from EPS files.

share/extensions/Makefile.am
share/extensions/ai_output.inx [deleted file]
share/extensions/epsi_output.inx [deleted file]
share/extensions/ps2epsi.sh [deleted file]

index aeb58fea4950ee517b4be81bd05eeed1dd8e6855..d95304fc5f2642ab868d6d48034dbfa634d2a0b2 100644 (file)
@@ -91,7 +91,6 @@ extensions = \
        polyhedron_3d.py \
        printing-marks.py \
        ps2dxf.sh \
-       ps2epsi.sh \
        ps2pdf-ext.py \
        pturtle.py \
        radiusrand.py \
@@ -143,7 +142,6 @@ otherstuff = \
 modules = \
        addnodes.inx \
        ai_input.inx \
-       ai_output.inx \
        aisvg.inx \
        ccx_input.inx \
        cdr_input.inx\
@@ -179,7 +177,6 @@ modules = \
        edge3d.inx \
        embedimage.inx \
        eps_input.inx \
-       epsi_output.inx \
        eqtexsvg.inx \
        export_gimp_palette.inx \
        extractimage.inx \
diff --git a/share/extensions/ai_output.inx b/share/extensions/ai_output.inx
deleted file mode 100644 (file)
index a94dd76..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
-    <_name>AI 8.0 Output</_name>
-    <id>org.inkscape.output.ai</id>
-    <dependency type="executable" location="path">gs</dependency>
-    <dependency type="extension">org.inkscape.output.ps</dependency>
-    <output>
-        <extension>.ai</extension>
-        <mimetype>image/x-adobe-illustrator</mimetype>
-        <_filetypename>Adobe Illustrator 8.0 (*.ai)</_filetypename>
-        <_filetypetooltip>Write Adobe Illustrator 8.0 (Postscript-based)</_filetypetooltip>
-    </output>
-    <script>
-        <command reldir="path">gs -q -dNODISPLAY -dSAFER ps2ai.ps</command>
-        <helper_extension>org.inkscape.output.ps</helper_extension>
-    </script>
-</inkscape-extension>
diff --git a/share/extensions/epsi_output.inx b/share/extensions/epsi_output.inx
deleted file mode 100644 (file)
index 80f1903..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
-    <_name>EPSI Output</_name>
-    <id>org.inkscape.output.epsi</id>
-    <dependency type="extension">org.inkscape.output.ps</dependency>
-    <dependency type="executable" location="extensions">ps2epsi.sh</dependency>
-    <dependency type="executable">ps2epsi</dependency>
-    <output>
-        <extension>.epsi</extension>
-        <mimetype>image/x-encapsulated-postscript</mimetype>
-        <_filetypename>Encapsulated Postscript Interchange (*.epsi)</_filetypename>
-        <_filetypetooltip>Encapsulated Postscript with a thumbnail</_filetypetooltip>
-    </output>
-    <script>
-        <command reldir="extensions">ps2epsi.sh</command>
-        <helper_extension>org.inkscape.output.ps</helper_extension>
-    </script>
-</inkscape-extension>
diff --git a/share/extensions/ps2epsi.sh b/share/extensions/ps2epsi.sh
deleted file mode 100755 (executable)
index 3584bcd..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#! /bin/sh
-
-TMPDIR="${TMPDIR-/tmp}"
-TEMPFILENAME=`mktemp 2>/dev/null || echo "$TMPDIR/tmp-ps-$$.epsi"`
-ps2epsi "$1" "${TEMPFILENAME}" > /dev/null 2>&1
-rc=0
-cat < "${TEMPFILENAME}" || rc=1
-rm -f "${TEMPFILENAME}"
-exit $rc