mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
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
|
||||
, 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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user