55 lines
2.6 KiB
Diff
55 lines
2.6 KiB
Diff
|
See https://bugs.launchpad.net/inkscape/+bug/226383
|
||
|
https://bugzilla.redhat.com/show_bug.cgi?id=458845
|
||
|
|
||
|
Lubomir Rintel <lkundrak@v3.sk>
|
||
|
|
||
|
diff -up inkscape-0.46/inkscape.desktop.in.uniconv inkscape-0.46/inkscape.desktop.in
|
||
|
diff -up inkscape-0.46/inkscape.desktop.in.uniconv inkscape-0.46/inkscape.desktop.in
|
||
|
--- inkscape-0.46/inkscape.desktop.in.uniconv 2008-08-13 23:31:17.000000000 +0200
|
||
|
+++ inkscape-0.46/inkscape.desktop.in 2008-08-13 23:32:35.000000000 +0200
|
||
|
@@ -7,7 +7,7 @@ Version=1.0
|
||
|
Type=Application
|
||
|
Categories=Graphics;VectorGraphics;GTK;
|
||
|
|
||
|
-MimeType=image/svg+xml;image/svg+xml-compressed;
|
||
|
+MimeType=image/svg+xml;image/svg+xml-compressed;application/vnd.corel-draw;image/x-wmf;
|
||
|
|
||
|
Exec=inkscape %F
|
||
|
TryExec=inkscape
|
||
|
diff -up inkscape-0.46/share/extensions/cdr2svg.sh.uniconv inkscape-0.46/share/extensions/cdr2svg.sh
|
||
|
--- inkscape-0.46/share/extensions/cdr2svg.sh.uniconv 2008-03-11 05:21:10.000000000 +0100
|
||
|
+++ inkscape-0.46/share/extensions/cdr2svg.sh 2008-08-13 23:31:17.000000000 +0200
|
||
|
@@ -4,7 +4,7 @@ TMPDIR="${TMPDIR-/tmp}"
|
||
|
TEMPFILENAME=`mktemp 2>/dev/null || echo "$TMPDIR/$$"`
|
||
|
TEMPFILENAME=${TEMPFILENAME}.svg
|
||
|
|
||
|
-uniconv "$1" "${TEMPFILENAME}" > /dev/null 2>&1 || rc=1
|
||
|
+unviconvertor "$1" "${TEMPFILENAME}" > /dev/null 2>&1 || rc=1
|
||
|
|
||
|
cat < "${TEMPFILENAME}" || rc=1
|
||
|
rm -f "${TEMPFILENAME}"
|
||
|
diff -up inkscape-0.46/share/extensions/cdr_input.inx.uniconv inkscape-0.46/share/extensions/cdr_input.inx
|
||
|
--- inkscape-0.46/share/extensions/cdr_input.inx.uniconv 2008-03-11 05:21:07.000000000 +0100
|
||
|
+++ inkscape-0.46/share/extensions/cdr_input.inx 2008-08-13 23:31:17.000000000 +0200
|
||
|
@@ -1,7 +1,7 @@
|
||
|
<inkscape-extension>
|
||
|
<_name>Corel DRAW Input</_name>
|
||
|
<id>org.inkscape.input.cdr</id>
|
||
|
- <dependency type="executable" location="path">uniconv</dependency>
|
||
|
+ <dependency type="executable" location="path">unviconvertor</dependency>
|
||
|
<dependency type="executable" location="extensions">cdr2svg.sh</dependency>
|
||
|
<input>
|
||
|
<extension>.cdr</extension>
|
||
|
diff -up inkscape-0.46/share/extensions/wmf_input.inx.uniconv inkscape-0.46/share/extensions/wmf_input.inx
|
||
|
--- inkscape-0.46/share/extensions/wmf_input.inx.uniconv 2008-03-11 05:21:10.000000000 +0100
|
||
|
+++ inkscape-0.46/share/extensions/wmf_input.inx 2008-08-13 23:31:17.000000000 +0200
|
||
|
@@ -1,7 +1,7 @@
|
||
|
<inkscape-extension>
|
||
|
<_name>Windows Metafile Input</_name>
|
||
|
<id>org.inkscape.input.wmf</id>
|
||
|
- <dependency type="executable" location="path">uniconv</dependency>
|
||
|
+ <dependency type="executable" location="path">unviconvertor</dependency>
|
||
|
<dependency type="executable" location="extensions">cdr2svg.sh</dependency>
|
||
|
<input>
|
||
|
<extension>.wmf</extension>
|