Merge pull request #113513 from raboof/inkscape-enable-eps-import

inkscape: ps and eps import
This commit is contained in:
Sandro 2021-02-18 13:12:58 +01:00 committed by GitHub
commit 266b6cdea3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,7 @@
, fetchurl
, gettext
, gdl
, ghostscript
, glib
, glib-networking
, glibmm
@ -74,6 +75,12 @@ stdenv.mkDerivation rec {
postPatch = ''
patchShebangs share/extensions
substituteInPlace share/extensions/eps_input.inx \
--replace "location=\"path\">ps2pdf" "location=\"absolute\">${ghostscript}/bin/ps2pdf"
substituteInPlace share/extensions/ps_input.inx \
--replace "location=\"path\">ps2pdf" "location=\"absolute\">${ghostscript}/bin/ps2pdf"
substituteInPlace share/extensions/ps_input.py \
--replace "call('ps2pdf'" "call('${ghostscript}/bin/ps2pdf'"
patchShebangs share/templates
patchShebangs man/fix-roff-punct
'';