Friday, March 31, 2023

[Maintainer Update] print/ghostscript/gnu 10.01.1

Index: Makefile
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/Makefile,v
retrieving revision 1.125
diff -u -p -r1.125 Makefile
--- Makefile 6 Oct 2022 15:46:20 -0000 1.125
+++ Makefile 31 Mar 2023 17:35:10 -0000
@@ -1,13 +1,12 @@
COMMENT = PostScript and PDF interpreter

-VERSION = 10.00.0
-DISTVSN = 10.0.0
-DISTNAME = ghostscript-${DISTVSN}
+VERSION = 10.01.1
+DISTNAME = ghostscript-${VERSION}
EXTRACT_SUFX = .tar.xz
CATEGORIES = lang print
SHARED_LIBS = gs 18.0

-MASTER_SITES = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVSN:S/.//g}/
+MASTER_SITES = https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${VERSION:S/.//g}/

PORTROACH = site:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/

@@ -109,6 +108,9 @@ pre-configure:

post-install:
rm -f ${PREFIX}/lib/libgs.so{,.${LIBgs_VERSION:R}}
+.if !${FLAVOR:Mgtk}
+ rm -f ${PREFIX}/bin/gsx
+.endif
# rename the dynamic binary
mv ${PREFIX}/bin/{gsc,gs}

Index: distinfo
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/distinfo,v
retrieving revision 1.20
diff -u -p -r1.20 distinfo
--- distinfo 6 Oct 2022 15:46:20 -0000 1.20
+++ distinfo 31 Mar 2023 17:35:10 -0000
@@ -1,2 +1,2 @@
-SHA256 (ghostscript-10.0.0.tar.xz) = 8fpYX3x9Mq36gas4k4gQCsnfg0ROtk2x+5JzcUHvn2E=
-SIZE (ghostscript-10.0.0.tar.xz) = 62749144
+SHA256 (ghostscript-10.01.1.tar.xz) = yRGTY1qiV4+VCLi6hGEGweNwX70/7V/ZoBXyG1XxXWg=
+SIZE (ghostscript-10.01.1.tar.xz) = 67567268
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/print/ghostscript/gnu/patches/patch-configure,v
retrieving revision 1.5
diff -u -p -r1.5 patch-configure
--- patches/patch-configure 6 Oct 2022 15:46:20 -0000 1.5
+++ patches/patch-configure 31 Mar 2023 17:35:10 -0000
@@ -1,7 +1,7 @@
Index: configure
--- configure.orig
+++ configure
-@@ -11470,8 +11470,8 @@ DLL_EXT=""
+@@ -12682,8 +12682,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}"
-@@ -11582,11 +11582,11 @@ case $host in
+@@ -12795,11 +12795,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.34
diff -u -p -r1.34 PLIST
--- pkg/PLIST 6 Oct 2022 15:46:20 -0000 1.34
+++ pkg/PLIST 31 Mar 2023 17:35:10 -0000
@@ -30,20 +30,6 @@ include/ghostscript/gserrors.h
include/ghostscript/iapi.h
include/ghostscript/ierrors.h
@lib lib/libgs.so.${LIBgs_VERSION}
-man/de/
-man/de/man1/
-@man man/de/man1/dvipdf.1
-@man man/de/man1/eps2eps.1
-@man man/de/man1/gsnd.1
-@man man/de/man1/pdf2dsc.1
-@man man/de/man1/pdf2ps.1
-@man man/de/man1/printafm.1
-@man man/de/man1/ps2ascii.1
-@man man/de/man1/ps2pdf.1
-@man man/de/man1/ps2pdf12.1
-@man man/de/man1/ps2pdf13.1
-@man man/de/man1/ps2pdf14.1
-@man man/de/man1/ps2ps.1
@man man/man1/dvipdf.1
@man man/man1/eps2eps.1
@man man/man1/gs.1
@@ -70,8 +56,8 @@ share/doc/ghostscript/
share/doc/ghostscript/${VERSION}/
share/doc/ghostscript/${VERSION}/COPYING
share/doc/ghostscript/${VERSION}/GS9_Color_Management.pdf
+share/doc/ghostscript/${VERSION}/Ghostscript.pdf
share/doc/ghostscript/${VERSION}/News.htm
-share/doc/ghostscript/${VERSION}/images/
share/ghostscript/
share/ghostscript/${VERSION}/
share/ghostscript/${VERSION}/lib/
Update ghostscript to the latest release 10.01.1

Lots of changes, most of which are considered bugfixes.

This release deprecates the old PDF interpreter (the new
one was already default in 10.0.0).

Other changes:

* Remove workaround to handle different version string
formats - not needed anymore
* Remove ${PREFIX}/bin/gsx for non-gtk flavours, since
a binary by that name is now installed by default

Built and tested on amd64.

No comments:

Post a Comment