ghostscript: bump version to 9.22
PATCH v4 1/1 ghostscript: bump version to 9.22
Remove patches that has been merged/updated upstream
0002-Host-tool-mkromfs_1-needs-libz.patch
-> http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=284f5fe121d8eb0a0f50a6f2465ee2f99a061018
0003-Bug-697799-have-.eqproc-check-its-parameters.patch
-> http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4f83478c88c2e05d6e8d79ca4557eb039354d2f3
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=57f20719e1cfaea77b67cb26e26de7fe4d7f9b2e
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ccfd2c75ac9be4cbd369e4cbdd40ba11a0c7bdad
0004-Bug-697799-have-.rsdparams-check-its-parameters
-> http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=04b37bbce174eed24edec7ad5b920eb93db4d47d
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ccfd2c75ac9be4cbd369e4cbdd40ba11a0c7bdad
---
v1 -> v2 : The sha1 hash for ghostpdl was mistakenly put in the
hash file. v2 fixes this issue.
v2 -> v3 : Replace md5 and sha1 hashes with sha256 and sha512 v3 -> v4 : Add links to upstream commits that supersedes buildroot commits
.../0002-Host-tool-mkromfs_1-needs-libz.patch | 48 ----------------- ...-697799-have-.eqproc-check-its-parameters.patch | 33 ------------ ...7799-have-.rsdparams-check-its-parameters.patch | 62 ---------------------- package/ghostscript/ghostscript.hash | 8 +-- package/ghostscript/ghostscript.mk | 4 +- 5 files changed, 6 insertions(+), 149 deletions(-) delete mode 100644 package/ghostscript/0002-Host-tool-mkromfs_1-needs-libz.patch delete mode 100644 package/ghostscript/0003-Bug-697799-have-.eqproc-check-its-parameters.patch delete mode 100644 package/ghostscript/0004-Bug-697799-have-.rsdparams-check-its-parameters.patch
package/ghostscript/0002-Host-tool-mkromfs_1-needs-libz.patch deleted +0 -48
@@ -1,48 +0,0 @@ -From c9e370d7cdf1bb5fbbd5c1e7e9c5431f6112b074 Mon Sep 17 00:00:00 2001 -From: Bernd Kuhls <[email protected]> -Date: Mon, 20 Mar 2017 23:43:29 +0100 -Subject: [PATCH] Host tool mkromfs_1 needs libz - -Fixes build error - -/tmp/ccckTW0s.o: In function `process_path': -mkromfs.c:(.text+0x2390): undefined reference to `compress' -/tmp/ccckTW0s.o: In function `process_initfile': -mkromfs.c:(.text+0x3616): undefined reference to `compress' -collect2: error: ld returned 1 exit status -base/unix-aux.mak:103: recipe for target 'obj/aux/mkromfs_1' failed - -Signed-off-by: Bernd Kuhls <[email protected]> ---- - Makefile.in | 1 + - base/unix-aux.mak | 2 +- - 2 files changed, 2 insertions(+), 1 deletion(-) - -diff --git a/Makefile.in b/Makefile.in -index 3a3cae5..600ce3e 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -461,6 +461,7 @@ XPS_LDFLAGS_SO=@XPS_DYNAMIC_LDFLAGS@ - - EXTRALIBS=$(XTRALIBS) @LIBS@ @DYNAMIC_LIBS@ @FONTCONFIG_LIBS@ @FT_LIBS@ @JPX_AUTOCONF_LIBS@ @EXPAT_LIBS@ - AUXEXTRALIBS=@AUXEXTRALIBS@ -+AUX_SHARED_ZLIB=@AUX_SHARED_ZLIB@ - - # Define the standard libraries to search at the end of linking. - # Most platforms require -lpthread for the POSIX threads library; -diff --git a/base/unix-aux.mak b/base/unix-aux.mak -index c5fa2a4..4ed8369 100644 ---- a/base/unix-aux.mak -+++ b/base/unix-aux.mak -@@ -100,7 +100,7 @@ MKROMFS_OBJS_1=$(AUX)gscdefs.$(OBJ) \ - $(AUX)gp_stdia.$(OBJ) $(AUX)gsutil.$(OBJ) - - $(MKROMFS_XE)_1: $(GLSRC)mkromfs.c $(MKROMFS_COMMON_DEPS) $(MKROMFS_OBJS_1) $(UNIX_AUX_MAK) $(MAKEDIRS) -- $(CCAUX_) $(GENOPTAUX) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE)_1 $(MKROMFS_OBJS_1) $(AUXEXTRALIBS) -+ $(CCAUX_) $(GENOPTAUX) $(I_)$(GLSRCDIR)$(_I) $(I_)$(GLOBJ)$(_I) $(I_)$(ZSRCDIR)$(_I) $(GLSRC)mkromfs.c $(O_)$(MKROMFS_XE)_1 $(MKROMFS_OBJS_1) $(AUXEXTRALIBS) $(AUX_SHARED_ZLIB) - - $(MKROMFS_XE): $(MKROMFS_XE)_$(SHARE_ZLIB) $(UNIX_AUX_MAK) $(MAKEDIRS) - $(CP_) $(MKROMFS_XE)_$(SHARE_ZLIB) $(MKROMFS_XE) --- -2.7.4 -
package/ghostscript/0003-Bug-697799-have-.eqproc-check-its-parameters.patch deleted +0 -33
@@ -1,33 +0,0 @@ -From 4f83478c88c2e05d6e8d79ca4557eb039354d2f3 Mon Sep 17 00:00:00 2001 -From: Chris Liddell <[email protected]> -Date: Thu, 27 Apr 2017 13:03:33 +0100 -Subject: [PATCH] Bug 697799: have .eqproc check its parameters - -The Ghostscript custom operator .eqproc was not check the number or type of -the parameters it was given. - -Signed-off-by: Peter Korsgaard <[email protected]> ---- - psi/zmisc3.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/psi/zmisc3.c b/psi/zmisc3.c -index 54b304246..37293ff4b 100644 ---- a/psi/zmisc3.c -+++ b/psi/zmisc3.c -@@ -56,6 +56,12 @@ zeqproc(i_ctx_t *i_ctx_p) - ref2_t stack[MAX_DEPTH + 1]; - ref2_t *top = stack; - -+ if (ref_stack_count(&o_stack) < 2) -+ return_error(gs_error_stackunderflow); -+ if (!r_is_array(op - 1) || !r_is_array(op)) { -+ return_error(gs_error_typecheck); -+ } -+ - make_array(&stack[0].proc1, 0, 1, op - 1); - make_array(&stack[0].proc2, 0, 1, op); - for (;;) { --- -2.11.0 -
package/ghostscript/0004-Bug-697799-have-.rsdparams-check-its-parameters.patch deleted +0 -62
62 lines not on this page · raw message
package/ghostscript/ghostscript.hash +4 -4
@@ -1,4 +1,4 @@ -# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/MD5SUMS -md5 631beea7aa1f70f2cdca14e0308b8801 ghostscript-9.21.tar.xz -# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921/SHA1SUMS -sha1 a93b456a0e18d5c925d26b0b13e961c8e8140f62 ghostscript-9.21.tar.xz +# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/SHA256SUMS +sha256 c1f862e6f40f997dbe3feba89355e8cb05d55818994e10f4932b0dd9b627d1bb ghostscript-9.22.tar.xz +# From https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/SHA512SUMS +sha512 67739ace64090ab1951cba4cb011a5a6829ee60b32ba4157d0f17e744e345ea268335304db6722677ae33565ea5b696c2ff7b889d42a463acf2933c8230523d4 ghostscript-9.22.tar.xz
package/ghostscript/ghostscript.mk +2 -2
@@ -4,8 +4,8 @@ # ################################################################################ -GHOSTSCRIPT_VERSION = 9.21 -GHOSTSCRIPT_SITE = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs921 +GHOSTSCRIPT_VERSION = 9.22 +GHOSTSCRIPT_SITE = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922 GHOSTSCRIPT_SOURCE = ghostscript-$(GHOSTSCRIPT_VERSION).tar.xz GHOSTSCRIPT_LICENSE = AGPL-3.0 GHOSTSCRIPT_LICENSE_FILES = LICENSE
Signature · 1 line
2.11.0
Thomas Petazzoni
AppliedPATCH v4 1/1 ghostscript: bump version to 9.22
Hello,
Quoted 12 lines · Olivier Schonken
Remove patches that has been merged/updated upstream
0002-Host-tool-mkromfs_1-needs-libz.patch
-> http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=284f5fe121d8eb0a0f50a6f2465ee2f99a061018
0003-Bug-697799-have-.eqproc-check-its-parameters.patch
-> http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=4f83478c88c2e05d6e8d79ca4557eb039354d2f3
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=57f20719e1cfaea77b67cb26e26de7fe4d7f9b2e
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ccfd2c75ac9be4cbd369e4cbdd40ba11a0c7bdad
0004-Bug-697799-have-.rsdparams-check-its-parameters
-> http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=04b37bbce174eed24edec7ad5b920eb93db4d47d
http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=ccfd2c75ac9be4cbd369e4cbdd40ba11a0c7bdad
Quoted 6 lines
Signed-off-by Olivier Schonken <[email protected]>---
v1 -> v2 : The sha1 hash for ghostpdl was mistakenly put in the
hash file. v2 fixes this issue.
v2 -> v3 : Replace md5 and sha1 hashes with sha256 and sha512 v3 -> v4 : Add links to upstream commits that supersedes buildroot commits
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com