From: buliabyak Date: Sat, 14 Jun 2008 04:37:47 +0000 (+0000) Subject: remove unused X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=37cf14db2c8d21baaccea6a08007551c5d2e19c3;p=inkscape.git remove unused --- diff --git a/share/extensions/Makefile.am b/share/extensions/Makefile.am index 909327cc9..92a52847c 100644 --- a/share/extensions/Makefile.am +++ b/share/extensions/Makefile.am @@ -78,8 +78,6 @@ extensions = \ polyhedron_3d.py \ ps2dxf.sh \ ps2epsi.sh \ - ps2pdf.cmd \ - ps2pdf.sh \ ps2pdf-ext.py \ pturtle.py \ radiusrand.py \ @@ -188,8 +186,6 @@ modules = \ outline2svg.inx \ pathalongpath.inx\ pathscatter.inx\ - pdf_output.inx.txt \ - pdf_output_via_gs_on_win32.inx.txt \ perfectboundcover.inx \ perspective.inx \ polyhedron_3d.inx \ diff --git a/share/extensions/pdf_output.inx.txt b/share/extensions/pdf_output.inx.txt deleted file mode 100644 index 3e2b4f491..000000000 --- a/share/extensions/pdf_output.inx.txt +++ /dev/null @@ -1,17 +0,0 @@ - - <_name>PDF Output - org.inkscape.output.pdf.via_gs - org.inkscape.output.ps - ps2pdf.sh - ps2pdf - - .pdf - image/x-portable-document-format - <_filetypename>Adobe PDF via postscript (*.pdf) - <_filetypetooltip>Adobe Portable Document Format - - - diff --git a/share/extensions/pdf_output_via_gs_on_win32.inx.txt b/share/extensions/pdf_output_via_gs_on_win32.inx.txt deleted file mode 100644 index ae10a048e..000000000 --- a/share/extensions/pdf_output_via_gs_on_win32.inx.txt +++ /dev/null @@ -1,24 +0,0 @@ - - - <_name>PDF Output - org.inkscape.output.pdf.via_gs_on_win32 - org.inkscape.output.ps - ps2pdf.cmd - cmd.exe - - .pdf - image/x-portable-document-format - <_filetypename>Adobe PDF via postscript (*.pdf) - <_filetypetooltip>Adobe Portable Document Format - - - diff --git a/share/extensions/ps2pdf.cmd b/share/extensions/ps2pdf.cmd deleted file mode 100644 index 81e8ba813..000000000 --- a/share/extensions/ps2pdf.cmd +++ /dev/null @@ -1,10 +0,0 @@ -REM BEGIN -@echo off -REM edit %GSDIR% to match the ghostscript installation directory -set GSDIR=%PROGRAMFILES%\gs\gs8.51 -set GSBINDIR=%GSDIR%\bin -set GSLIBDIR=%GSDIR%\lib -set PATH=%GSBINDIR%;%GSLIBDIR%;%PATH% -echo %PATH% -ps2pdf.bat %1 - -REM END \ No newline at end of file diff --git a/share/extensions/ps2pdf.sh b/share/extensions/ps2pdf.sh deleted file mode 100755 index 61b6dd146..000000000 --- a/share/extensions/ps2pdf.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -params=`grep "^%%DocumentMedia:" "$1" | head -n 1 | awk '{ if (NF==7) { if ($2!="plain") print "-sPAPERSIZE=" $2; else print "-dDEVICEWIDTHPOINTS=" $3 " -dDEVICEHEIGHTPOINTS=" $4; } }'` - -if [ "x${params}x" = "xx" ] -then - params=`grep "^%%BoundingBox:" "$1" | head -n 1 | awk '{ print "-dDEVICEWIDTHPOINTS=" $4 " -dDEVICEHEIGHTPOINTS=" $5; }'` -fi - -exec ps2pdf $params "$1" - 2> /dev/null