From: Mark Hansen Date: Sat, 16 May 2020 04:27:34 +0000 (+1000) Subject: doc: Use `gmt psconvert` -- new name for ps2raster X-Git-Tag: 2.44.1~60^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d42acd0d9a31fd2acb60722b8d8e6569d5f00be;p=graphviz doc: Use `gmt psconvert` -- new name for ps2raster ps2raster isn't found in Ubuntu 18.04 (gmt --version 5.4.3). Nor in mac/homebrew (gmt --version 6.0.0). Here's the note that ps2raster is now psconvert: https://github.com/GenericMappingTools/gmt/blob/master/doc/rst/source/changes.rst#id282 Docs for psconvert command: https://docs.generic-mapping-tools.org/5.4/psconvert.html --- diff --git a/doc/info/sdlshapes.jpg b/doc/info/sdlshapes.jpg index 8408bd656..b893d03d9 100644 Binary files a/doc/info/sdlshapes.jpg and b/doc/info/sdlshapes.jpg differ diff --git a/doc/infosrc/Makefile b/doc/infosrc/Makefile index bd5a87159..ec06d7e10 100644 --- a/doc/infosrc/Makefile +++ b/doc/infosrc/Makefile @@ -5,7 +5,7 @@ # gs and awk are used in ps_to_jpg.sh # dot is used in mkarrows.sh, mkshapes.sh, mkstyles.sh, mktapers.sh, mksplines.sh # ps_to_png.sh and other make rules rely on netpbm tools -# and ps2raster, which is part of the GMT library. +# and psconvert, which is part of the GMT library. # # python is used to run jconvert.py, which converts the json schema # graphviz_json_schema.json to html. This also relies on the python @@ -114,7 +114,7 @@ sdlshapes.ps : sdlshapes.dot dot -Tps -lsdl.ps sdlshapes.dot > sdlshapes.ps sdlshapes.ppm: sdlshapes.ps - ps2raster sdlshapes.ps -Tm -A -E800 + gmt psconvert sdlshapes.ps -Tm -A -E800 sdlshapes.jpg : sdlshapes.ppm cat sdlshapes.ppm | pamscale .1 | pnmtojpeg >sdlshapes.jpg