]> granicus.if.org Git - graphviz/commitdiff
doc: Use `gmt psconvert` -- new name for ps2raster
authorMark Hansen <mark@markhansen.co.nz>
Sat, 16 May 2020 04:27:34 +0000 (14:27 +1000)
committerMark Hansen <mark@markhansen.co.nz>
Sat, 16 May 2020 04:31:51 +0000 (14:31 +1000)
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

doc/info/sdlshapes.jpg
doc/infosrc/Makefile

index 8408bd656ba193b8b48685d5890a064239aacb6a..b893d03d94e19eb7cc8d6325bf21a25be349996c 100644 (file)
Binary files a/doc/info/sdlshapes.jpg and b/doc/info/sdlshapes.jpg differ
index bd5a87159f1c60b14c3290952f462f3605109c9a..ec06d7e107a0593cd2a12ac971bbf232ac7a2cfd 100644 (file)
@@ -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