Index: Makefile
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
retrieving revision 1.122
diff -u -p -r1.122 Makefile
--- Makefile 11 Mar 2022 19:51:00 -0000 1.122
+++ Makefile 30 Mar 2022 19:28:54 -0000
@@ -1,10 +1,9 @@
COMMENT = PostScript and PDF interpreter
-VERSION = 9.55.0
+VERSION = 9.56.0
DISTNAME = ghostscript-${VERSION}
CATEGORIES = lang print
-SHARED_LIBS = gs 16.0
-REVISION = 1
+SHARED_LIBS = gs 17.0
MASTER_SITES = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION:S/.//g}/
Index: distinfo
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/distinfo,v
retrieving revision 1.18
diff -u -p -r1.18 distinfo
--- distinfo 27 Jan 2022 20:55:01 -0000 1.18
+++ distinfo 30 Mar 2022 19:28:54 -0000
@@ -1,2 +1,2 @@
-SHA256 (ghostscript-9.55.0.tar.gz) = MeIGS+Z+FbR4qNoAfZbWzU0r7iU+W+IgcDoiX395pws=
-SIZE (ghostscript-9.55.0.tar.gz) = 82089478
+SHA256 (ghostscript-9.56.0.tar.gz) = J0FxhVyb8Hnv2DCEiNp8KF6pAxR0tusfuA4CisA9LiY=
+SIZE (ghostscript-9.56.0.tar.gz) = 82525235
Index: patches/patch-base_unix-dll_mak
===================================================================
RCS file: patches/patch-base_unix-dll_mak
diff -N patches/patch-base_unix-dll_mak
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-base_unix-dll_mak 30 Mar 2022 19:28:54 -0000
@@ -0,0 +1,28 @@
+Pull in commit from Master branch: "Fix broken .so build"
+https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=ef6bd6d61a3b5649dda077822d68de4e89133174
+
+Index: base/unix-dll.mak
+--- base/unix-dll.mak.orig
++++ base/unix-dll.mak
+@@ -193,15 +193,16 @@ gpdl-so-links-subtarget: $(GPDL_SO) $(UNIX_DLL_MAK) $(
+ $(NO_OP)
+
+ # Build the small Ghostscript loaders, with Gtk+ and without
+-$(GLOBJ)dxmainc.$(OBJ): $(PSSRC)dxmainc.c $(UNIX_DLL_MAK) $(MAKEDIRS)
++$(GLO)dxmainc.$(OBJ): $(PSSRC)dxmainc.c $(UNIX_DLL_MAK) $(MAKEDIRS)
+ $(GLCC) $(GLO_)dxmainc.$(OBJ) $(C_) $(PSSRC)dxmainc.c
+
+-$(GSSOC_XE): gs-so-links-subtarget $(GLOBJ)dxmainc.$(OBJ) $(UNIX_DLL_MAK) $(MAKEDIRS)
++$(GLO)dxmain.$(OBJ): $(PSSRC)dxmain.c $(UNIX_DLL_MAK) $(MAKEDIRS)
++ $(GLCC) $(SOC_CFLAGS) $(GLO_)dxmain.$(OBJ) $(C_) $(PSSRC)dxmain.c
++
++$(GSSOC_XE): gs-so-links-subtarget $(GLO)dxmainc.$(OBJ) $(UNIX_DLL_MAK) $(MAKEDIRS)
+ $(GLCC) -L$(BINDIR) $(LDFLAGS) $(O_) $(GSSOC_XE) $(GLOBJ)dxmainc.$(OBJ) -l$(GS_SO_BASE)
+
+-$(GLO_)$(SOC_LOADER).$(OBJ): $(PSSRC)$(SOC_LOADER).c $(UNIX_DLL_MAK) $(MAKEDIRS)
+-
+-$(GSSOX_XE): gs-so-links-subtarget $(GLO_)$(SOC_LOADER).$(OBJ) $(UNIX_DLL_MAK) $(MAKEDIRS)
++$(GSSOX_XE): gs-so-links-subtarget $(GLO)$(SOC_LOADER).$(OBJ) $(UNIX_DLL_MAK) $(MAKEDIRS)
+ $(GLCC) -L$(BINDIR) $(LDFLAGS) $(O_) $(GSSOX_XE) $(GLOBJ)$(SOC_LOADER).$(OBJ) -l$(GS_SO_BASE) $(SOC_LIBS)
+
+ $(PCLSOC_XE): gpcl6-so-links-subtarget $(UNIX_DLL_MAK) $(PLOBJ)$(REALMAIN_SRC).$(OBJ) $(MAKEDIRS)
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/patches/patch-configure,v
retrieving revision 1.3
diff -u -p -r1.3 patch-configure
--- patches/patch-configure 11 Mar 2022 19:51:00 -0000 1.3
+++ patches/patch-configure 30 Mar 2022 19:28:54 -0000
@@ -1,7 +1,7 @@
Index: configure
--- configure.orig
+++ configure
-@@ -11465,8 +11465,8 @@ DLL_EXT=""
+@@ -11408,8 +11408,8 @@ DLL_EXT=""
SO_LIB_VERSION_SEPARATOR="."
libname1="_SO_BASE)\$(GS_SOEXT)\$(DLL_EXT)"
@@ -12,7 +12,7 @@ Index: configure
GS_SONAME="lib\$(GS${libname1}"
GS_SONAME_MAJOR="lib\$(GS${libname2}"
GS_SONAME_MAJOR_MINOR="lib\$(GS${libname3}"
-@@ -11577,11 +11577,11 @@ case $host in
+@@ -11520,11 +11520,11 @@ case $host in
;;
*bsd*)
DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/pkg/PLIST,v
retrieving revision 1.32
diff -u -p -r1.32 PLIST
--- pkg/PLIST 11 Mar 2022 19:51:00 -0000 1.32
+++ pkg/PLIST 30 Mar 2022 19:28:54 -0000
@@ -71,7 +71,6 @@ share/doc/ghostscript/${VERSION}/
share/doc/ghostscript/${VERSION}/API.htm
share/doc/ghostscript/${VERSION}/C-style.htm
share/doc/ghostscript/${VERSION}/COPYING
-share/doc/ghostscript/${VERSION}/Commprod.htm
share/doc/ghostscript/${VERSION}/DLL.htm
share/doc/ghostscript/${VERSION}/Deprecated.htm
share/doc/ghostscript/${VERSION}/Develop.htm
@@ -97,7 +96,6 @@ share/doc/ghostscript/${VERSION}/Use.htm
share/doc/ghostscript/${VERSION}/VectorDevices.htm
share/doc/ghostscript/${VERSION}/WhatIsGS.htm
share/doc/ghostscript/${VERSION}/gdevds32.c
-share/doc/ghostscript/${VERSION}/gs-style.css
share/doc/ghostscript/${VERSION}/images/
share/doc/ghostscript/${VERSION}/images/Artifex_logo.png
share/doc/ghostscript/${VERSION}/images/favicon.png
@@ -105,10 +103,8 @@ share/doc/ghostscript/${VERSION}/images/
share/doc/ghostscript/${VERSION}/images/hamburger-light.png
share/doc/ghostscript/${VERSION}/images/x-light.png
share/doc/ghostscript/${VERSION}/index.html
-share/doc/ghostscript/${VERSION}/index.js
share/doc/ghostscript/${VERSION}/pscet_status.txt
share/doc/ghostscript/${VERSION}/sample_downscale_device.htm
-share/doc/ghostscript/${VERSION}/style.css
share/doc/ghostscript/${VERSION}/subclass.htm
share/doc/ghostscript/${VERSION}/thirdparty.htm
share/ghostscript/
Contrary to what I would have expected, the 9.56.0 update does not
include any explicitly mentioned security related fixes. It does change
the default PDF renderer, however which might cause some fallout.
The rc1 and rc2 versions have worked so far without issue for me, but I
had to pull in a very recent patch from their master branch to make the
a4-gtk build work again.
Considering all that, it's probably better not to rush this into ports
for 7.1 but here's the diff for early review and consideration anyway.
cu,
Volker
No comments:
Post a Comment