# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description GPL Ghostscript, An interpreter for PostScript and PDF
long_description Ghostscript is the well-known PostScript interpreter which \
is available for all common and most esoteric platforms and \
supports many different printers and some displays.
homepage https://www.ghostscript.com/
master_sites https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs[strsed ${version} {g/\.//}]:source \
sourceforge:gs-fonts:fonts \
https://github.com/adobe-type-tools/mapping-resources-pdf/archive/:misc
# Note: this needs to be manually updated for new upstream commits
set mappingresources_commit \
7a92a5afa72e86bf15850e217f7dcf77a0a29b83
distfiles ${distname}.tar.gz:source \
ghostscript-fonts-other-6.0.tar.gz:fonts \
ghostscript-fonts-std-8.11.tar.gz:fonts \
${mappingresources_commit}.zip:misc
# The security patch (courtesy Ken Moffat) should only be needed until
patchfiles patch-base_unix-dll.mak.diff \
patch-9.25-security_fixes-2.diff
checksums ${distname}.tar.gz \
rmd160 bb7e20fbcbcc36f45b3f19964e19d6ff70d802fd \
sha256 baafa64740b090bff50b220a6df3be95c46069b7e30f4b4effed28316e5b2389 \
ghostscript-fonts-other-6.0.tar.gz \
rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f \
sha256 4fa051e341167008d37fe34c19d241060cd17b13909932cd7ca7fe759243c2de \
ghostscript-fonts-std-8.11.tar.gz \
rmd160 10a19a10d0388bc084a7c1d3da845068d7169054 \
sha256 0eb6f356119f2e49b2563210852e17f57f9dcc5755f350a69a46a0d641a0c401 \
${mappingresources_commit}.zip \
rmd160 b979ddadf8cb18dc71b4504d483a53769f7ed25e \
sha256 b48eb9010c0739c46f332a41ec10420b254a43388b21e4ca5dbd10c9d55c2c1d \