#697 closed defect (fixed)
grass package requires a nonexistent gs package
Reported by: | andreaerdna | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | Package |
Version: | Keywords: | ||
Cc: |
Description (last modified by )
Among the required packages for the grass
package (in the OSGeo4W v2 repository) there is a nonexistent gs
package:
@ grass
sdesc: "GRASS GIS"
ldesc: "Geographic Resources Analysis Support System (GRASS GIS)"
category: Desktop
requires: liblas gdal303-runtime proj81-runtime avce00 gpsbabel gs python3-gdal python3-matplotlib libtiff python3-wxpython python3-pillow python3-pip python3-ply python3-pyopengl python3-psycopg2-binary python3-six zstd python3-pywin32
Change History (8)
comment:1 by , 3 years ago
Priority: | major → minor |
---|
comment:2 by , 3 years ago
In the old v1 OSGeo4W repository, the gs
package is named "Ghostscript".
I don't know if GRASS actually requires the gs
package and what it is required for. Maybe to export something in ps/pdf.
The Debian grass-gui (7.8.6-1) package has the ghostscript package listed as "recommends".
And in the Compile and Install instructions for Ubuntu ghostscript is listed among the compilation dependencies.
comment:3 by , 3 years ago
The nonexistent gs package is no longer listed among the required packages for the grass package.
comment:4 by , 3 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
follow-up: 6 comment:5 by , 3 years ago
The gs package is required for / used in the cartographic composer: https://trac.osgeo.org/grass/ticket/1554
What would be needed to make that available on MS Windows (again)?
follow-up: 7 comment:6 by , 3 years ago
Replying to sbl:
What would be needed to make that available on MS Windows (again)?
hm, repackaged gs 9.55 (from ghostscript.com). Exporting postscript works, but PDF doesn't, because GRASS requires .setpdfwrite
on Windows, which ghostscript apparently doesn't have anymore.
follow-up: 8 comment:7 by , 3 years ago
Replying to jef:
GRASS requires
.setpdfwrite
on Windows, which ghostscript apparently doesn't have anymore.
It seems .setpdfwrite is no longer needed with ghostscript >= 9.50, so I think it could be removed from https://github.com/OSGeo/grass/blob/f52bc7a4a174bcc8973df7ff242283fdc00b913c/gui/wxpython/psmap/frame.py#L419
comment:8 by , 3 years ago
Replying to andreaerdna:
Replying to jef:
GRASS requires
.setpdfwrite
on Windows, which ghostscript apparently doesn't have anymore.It seems .setpdfwrite is no longer needed with ghostscript >= 9.50, so I think it could be removed from https://github.com/OSGeo/grass/blob/f52bc7a4a174bcc8973df7ff242283fdc00b913c/gui/wxpython/psmap/frame.py#L419
Thanks, jef and andreaerdna. I tried to adress this in: https://github.com/OSGeo/grass/pull/1961 and https://github.com/jef-n/OSGeo4W/pull/6
Do you know what gs is used for in GRASS?