@@ -7,6 +7,7 @@
77, fetchurl
88, gettext
99, gdl
10+, ghostscript
1011, glib
1112, glib-networking
1213, glibmm
@@ -74,6 +75,12 @@ stdenv.mkDerivation rec {
7475
7576 postPatch = ''
7677 patchShebangs share/extensions
78+ substituteInPlace share/extensions/eps_input.inx \
79+ --replace "location=\"path\">ps2pdf" "location=\"absolute\">${ghostscript}/bin/ps2pdf"
80+ substituteInPlace share/extensions/ps_input.inx \
81+ --replace "location=\"path\">ps2pdf" "location=\"absolute\">${ghostscript}/bin/ps2pdf"
82+ substituteInPlace share/extensions/ps_input.py \
83+ --replace "call('ps2pdf'" "call('${ghostscript}/bin/ps2pdf'"
7784 patchShebangs share/templates
7885 patchShebangs man/fix-roff-punct
7986 '';