New commits:
commit 5b92ed998ef5f95eeb636da782fb55b20753bad0
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
printer/ghostscript: version 9.21
diff --git a/printer/ghostscript/DETAILS b/printer/ghostscript/DETAILS
index 3855cc8..4b940ae 100755
--- a/printer/ghostscript/DETAILS
+++ b/printer/ghostscript/DETAILS
@@ -1,12 +1,11 @@
SPELL=ghostscript
- VERSION=9.20
- VX=gs$(echo $VERSION|sed -e 's:\.::')
-
SOURCE_HASH=sha512:6c9d4f669a43192119cfe1a3d8070f3024fe08ebbbc1aa906781a71d9c08c87e0b3a215e01cdf33be671bdb7400bb641b5a65d45e1b15f8c5ccaaae202fa774c
+ VERSION=9.21
+ SOURCE_HASH=sha1:6f60d7fcb5eef6a8bec5abedf21c6a7008a8c0c7:UPSTREAM_HASH
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
WEB_SITE=http://www.ghostscript.com/
-
SOURCE_URL[0]=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/$VX/$SOURCE
- LICENSE[0]=GPL
+
SOURCE_URL[0]=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION//./}/${SOURCE}
+ LICENSE[0]="AGPL"
ENTERED=20010922
SECURITY_PATCH=1
KEYWORDS="interpreter postscript printer"
diff --git a/printer/ghostscript/HISTORY b/printer/ghostscript/HISTORY
index eccc78f..42aa12a 100644
--- a/printer/ghostscript/HISTORY
+++ b/printer/ghostscript/HISTORY
@@ -1,3 +1,9 @@
+2017-03-19 Pavel Vinogradov <public AT sourcemage.org>
+ * DETAILS: version 9.21, removed VX, switched to UPSTREAM_HASH sha1,
+ changed license to AGPL
+ * PRE_BUILD: added a sed fix to remove non-existing openjpeg header
+ inclusion
+
2016-01-03 Remko van der Vossen <wich AT sourcemage.org>
* DETAILS: updated source hash, non-ghostscript dirs were removed from
the tarball
diff --git a/printer/ghostscript/PRE_BUILD b/printer/ghostscript/PRE_BUILD
index 15aea51..b5da632 100755
--- a/printer/ghostscript/PRE_BUILD
+++ b/printer/ghostscript/PRE_BUILD
@@ -3,4 +3,7 @@ cd $SOURCE_DIRECTORY &&
# remove most of the embedded libraries. use the system ones instead
rm -rf freetype jpeg libpng tiff lcms2 cups ijs openjpeg zlib &&