Merge pull request #113513 from raboof/inkscape-enable-eps-import
inkscape: ps and eps import
This commit is contained in:
commit
266b6cdea3
@ -7,6 +7,7 @@
|
|||||||
, fetchurl
|
, fetchurl
|
||||||
, gettext
|
, gettext
|
||||||
, gdl
|
, gdl
|
||||||
|
, ghostscript
|
||||||
, glib
|
, glib
|
||||||
, glib-networking
|
, glib-networking
|
||||||
, glibmm
|
, glibmm
|
||||||
@ -74,6 +75,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs share/extensions
|
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 share/templates
|
||||||
patchShebangs man/fix-roff-punct
|
patchShebangs man/fix-roff-punct
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user