pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/print/ghostscript-agpl



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Mar 24 16:34:45 UTC 2020

Modified Files:
        pkgsrc/print/ghostscript-agpl: Makefile Makefile.common PLIST distinfo
        pkgsrc/print/ghostscript-agpl/patches: patch-base_mkromfs.c
            patch-configure patch-devices_devs.mak
Removed Files:
        pkgsrc/print/ghostscript-agpl/patches: patch-Resource_Init_gs_ttf.ps
            patch-lib_dvipdf

Log Message:
ghostscript-agpl: updated to 9.52

Version 9.52:

Highlights in this release include:

The 9.52 release replaces the 9.51 release after a problem was reported with 9.51 which warranted the quick turnaround. Thus, like 9.51, 9.52 is primarily a maintenance release, consolidating the 
changes we introduced in 9.50.

We have continued our work on code hygiene for this release, with a focus on the static analysis tool Coverity (from Synopsys, Inc) and we have now adopted a policy of maintaining zero Coverity 
issues in the Ghostscript/GhostPDL source base.

IMPORTANT: In consultation with a representative of (OpenPrinting) it is our intention to deprecate and, in the not distant future, remove the OpenPrinting Vector/Raster Printer Drivers (that is, the 
opvp and oprp devices).

If you rely on either of these devices, please get in touch with us, so we can discuss your use case, and revise our plans accordingly.

IMPORTANT: We have forked LittleCMS2 into LittleCMS2mt (the "mt" indicating "multi-thread"). LCMS2 is not thread-safe, and cannot be made thread-safe without breaking the ABI. Our fork will be 
thread-safe and include performance enhancements (these changes have all be been offered and rejected upstream). We will maintain compatibility between Ghostscript and LCMS2 for a time, but not in 
perpetuity. If there is sufficient interest, our fork will be available as its own package separately from Ghostscript (and MuPDF).

The usual round of bug fixes, compatibility changes, and incremental improvements.


To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 pkgsrc/print/ghostscript-agpl/Makefile
cvs rdiff -u -r1.18 -r1.19 pkgsrc/print/ghostscript-agpl/Makefile.common
cvs rdiff -u -r1.15 -r1.16 pkgsrc/print/ghostscript-agpl/PLIST
cvs rdiff -u -r1.28 -r1.29 pkgsrc/print/ghostscript-agpl/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/print/ghostscript-agpl/patches/patch-Resource_Init_gs_ttf.ps \
    pkgsrc/print/ghostscript-agpl/patches/patch-lib_dvipdf
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/print/ghostscript-agpl/patches/patch-base_mkromfs.c
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/print/ghostscript-agpl/patches/patch-configure
cvs rdiff -u -r1.6 -r1.7 \
    pkgsrc/print/ghostscript-agpl/patches/patch-devices_devs.mak

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/ghostscript-agpl/Makefile
diff -u pkgsrc/print/ghostscript-agpl/Makefile:1.53 pkgsrc/print/ghostscript-agpl/Makefile:1.54
--- pkgsrc/print/ghostscript-agpl/Makefile:1.53 Tue Mar 10 22:10:51 2020
+++ pkgsrc/print/ghostscript-agpl/Makefile      Tue Mar 24 16:34:45 2020
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.53 2020/03/10 22:10:51 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2020/03/24 16:34:45 adam Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
 PKGNAME=       ${DISTNAME:S/ghostscript/ghostscript-agpl/}
-PKGREVISION=   5
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
 GITHUB_PROJECT=        ghostpdl-downloads

Index: pkgsrc/print/ghostscript-agpl/Makefile.common
diff -u pkgsrc/print/ghostscript-agpl/Makefile.common:1.18 pkgsrc/print/ghostscript-agpl/Makefile.common:1.19
--- pkgsrc/print/ghostscript-agpl/Makefile.common:1.18  Tue Dec 10 10:44:09 2019
+++ pkgsrc/print/ghostscript-agpl/Makefile.common       Tue Mar 24 16:34:45 2020
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile.common,v 1.18 2019/12/10 10:44:09 leot Exp $
+# $NetBSD: Makefile.common,v 1.19 2020/03/24 16:34:45 adam Exp $
 # used by print/ghostscript-agpl/Makefile
 # used by fonts/ghostscript-cidfonts-ryumin/Makefile
 
-GS_VERSION=    9.50
+GS_VERSION=    9.52

Index: pkgsrc/print/ghostscript-agpl/PLIST
diff -u pkgsrc/print/ghostscript-agpl/PLIST:1.15 pkgsrc/print/ghostscript-agpl/PLIST:1.16
--- pkgsrc/print/ghostscript-agpl/PLIST:1.15    Mon May  6 14:53:44 2019
+++ pkgsrc/print/ghostscript-agpl/PLIST Tue Mar 24 16:34:45 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2019/05/06 14:53:44 taca Exp $
+@comment $NetBSD: PLIST,v 1.16 2020/03/24 16:34:45 adam Exp $
 bin/dvipdf
 bin/eps2eps
 bin/gs
@@ -518,6 +518,7 @@ share/ghostscript/${PKGVERSION}/lib/mkci
 share/ghostscript/${PKGVERSION}/lib/necp2x.upp
 share/ghostscript/${PKGVERSION}/lib/necp2x6.upp
 share/ghostscript/${PKGVERSION}/lib/pdf2dsc.ps
+share/ghostscript/${PKGVERSION}/lib/pdf_info.ps
 share/ghostscript/${PKGVERSION}/lib/pf2afm.ps
 share/ghostscript/${PKGVERSION}/lib/pfbtopfa.ps
 share/ghostscript/${PKGVERSION}/lib/ppath.ps

Index: pkgsrc/print/ghostscript-agpl/distinfo
diff -u pkgsrc/print/ghostscript-agpl/distinfo:1.28 pkgsrc/print/ghostscript-agpl/distinfo:1.29
--- pkgsrc/print/ghostscript-agpl/distinfo:1.28 Thu Jan 16 11:25:41 2020
+++ pkgsrc/print/ghostscript-agpl/distinfo      Tue Mar 24 16:34:45 2020
@@ -1,15 +1,13 @@
-$NetBSD: distinfo,v 1.28 2020/01/16 11:25:41 markd Exp $
+$NetBSD: distinfo,v 1.29 2020/03/24 16:34:45 adam Exp $
 
-SHA1 (ghostscript-9.50.tar.xz) = 3be5f36300e3031e68a28cd898b3eebc9151660b
-RMD160 (ghostscript-9.50.tar.xz) = 7ba4ac83bff4b2bb4b102002501cc6ee0a74ace2
-SHA512 (ghostscript-9.50.tar.xz) = 3c1e5db519a427f4b6bfb8d93f3c3dfb67d5ec9ccd19c7afa7670deb768515f3fc617c5588e54934bbfbedfdf8609ce2ffa36dd7da3cb618937fe034f64f43ee
-Size (ghostscript-9.50.tar.xz) = 34613344 bytes
-SHA1 (patch-Resource_Init_gs_ttf.ps) = 7a65887b86079836b44d77f69257c5d46c006503
+SHA1 (ghostscript-9.52.tar.xz) = dd816e2fab38e99b86d2872838bf73e49420cfb8
+RMD160 (ghostscript-9.52.tar.xz) = b0a320a71b7de06043290e150307733ed7f591b9
+SHA512 (ghostscript-9.52.tar.xz) = 4c4a33884e1138bad553eee61fac1a72158297ad5c2ce46a4b36150848dea8158affaf2b902f4ff03e4f72ebc8154c198b618112624f409230a610b7648faa67
+Size (ghostscript-9.52.tar.xz) = 39711040 bytes
 SHA1 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909
 SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516
-SHA1 (patch-base_mkromfs.c) = 96006928e0b5381e7101027372b6e6408f1c4a0b
+SHA1 (patch-base_mkromfs.c) = 9d9afbd0fbb8c70c8f4f7de3cadc5b54541f0db0
 SHA1 (patch-base_ttobjs.h) = 378ad7d316a4a9dc53b9c8e612582a7c8e9b3688
 SHA1 (patch-base_unix-dll.mak) = 73b5ee7fcbc7940ce72f44b35417d624f7ae5bca
-SHA1 (patch-configure) = 08ed9451fc3cf1aade8992e4297c7df736416c8b
-SHA1 (patch-devices_devs.mak) = 9857c177e7a6a28ee326dbc878bbe52ccbcfedce
-SHA1 (patch-lib_dvipdf) = 1a8e06bca28c9b74a09dfa3bea514fcca8bafd52
+SHA1 (patch-configure) = 218c3f36faca73d3145fe6a0aecab0a23d5a8ae0
+SHA1 (patch-devices_devs.mak) = e9937d401a278cc6d0a6d4cff78c526375bc18ca

Index: pkgsrc/print/ghostscript-agpl/patches/patch-base_mkromfs.c
diff -u pkgsrc/print/ghostscript-agpl/patches/patch-base_mkromfs.c:1.1 pkgsrc/print/ghostscript-agpl/patches/patch-base_mkromfs.c:1.2
--- pkgsrc/print/ghostscript-agpl/patches/patch-base_mkromfs.c:1.1      Fri Mar 31 07:26:23 2017
+++ pkgsrc/print/ghostscript-agpl/patches/patch-base_mkromfs.c  Tue Mar 24 16:34:45 2020
@@ -1,16 +1,11 @@
-$NetBSD: patch-base_mkromfs.c,v 1.1 2017/03/31 07:26:23 adam Exp $
+$NetBSD: patch-base_mkromfs.c,v 1.2 2020/03/24 16:34:45 adam Exp $
 
-chunk 1:
-fix build with _FORTIFY_SOURCE=2; it seems the arguments sometimes
+Fix build with _FORTIFY_SOURCE=2; it seems the arguments sometimes
 overlap.
 
-chunk 2:
-Replace BSD/Linux specific "qd" printf format specifier by "lld",
-should fix build problem on Solaris reported by Joern Clausen per PR pkg/40664
-
---- base/mkromfs.c.orig        2017-03-16 10:12:02.000000000 +0000
+--- base/mkromfs.c.orig        2020-03-19 08:21:42.000000000 +0000
 +++ base/mkromfs.c
-@@ -2014,7 +2014,7 @@ ws(const byte *str, int len)
+@@ -2137,7 +2137,7 @@ ws(const byte *str, int len)
      if (len >= LINE_SIZE)
          exit(1);
  
@@ -19,12 +14,3 @@ should fix build problem on Solaris repo
      flush_line_buf(len);
  }
  
-@@ -2368,7 +2368,7 @@ main(int argc, char *argv[])
-     }
-     if (!buildtime)
-         buildtime = time(NULL);
--    fprintf(out,"    time_t gs_romfs_buildtime = %ld;\n\n", buildtime);
-+    fprintf(out,"    time_t gs_romfs_buildtime = %lld;\n\n", (long long)buildtime);
- 
-     /* process the remaining arguments (options interspersed with paths) */
-     for (; atarg < argc; atarg++) {

Index: pkgsrc/print/ghostscript-agpl/patches/patch-configure
diff -u pkgsrc/print/ghostscript-agpl/patches/patch-configure:1.3 pkgsrc/print/ghostscript-agpl/patches/patch-configure:1.4
--- pkgsrc/print/ghostscript-agpl/patches/patch-configure:1.3   Wed Sep  5 13:19:40 2018
+++ pkgsrc/print/ghostscript-agpl/patches/patch-configure       Tue Mar 24 16:34:45 2020
@@ -1,32 +1,32 @@
-$NetBSD: patch-configure,v 1.3 2018/09/05 13:19:40 adam Exp $
+$NetBSD: patch-configure,v 1.4 2020/03/24 16:34:45 adam Exp $
 
 Use system zlib for linking.
 Add rpath.
 Use correct install_name with path on Darwin.
 
---- configure.orig     2018-09-03 08:51:26.000000000 +0000
+--- configure.orig     2020-03-19 08:22:25.000000000 +0000
 +++ configure
-@@ -3757,7 +3757,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
+@@ -3917,7 +3917,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
  CFLAGSAUX_DEBUGTMP="\$(CFLAGS_DEBUG)"
  CFLAGSAUX_PROFILETMP="\$(CFLAGS_PROFILE)"
  LDFLAGSAUXTMP="\$(LDFLAGS)"
 -AUXEXTRALIBSTMP="\$(EXTRALIBS)"
 +AUXEXTRALIBSTMP="\$(EXTRALIBS) -lz"
  
- 
  # purposefully do not include "help" output for this
-@@ -4371,9 +4371,7 @@ else
-         SunOS)
-         CC_OPT_FLAGS_TO_TRY="-O2"
+ # Check whether --enable-save_confaux was given.
+@@ -4544,9 +4544,7 @@ case $host in
+         CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
+         CFLAGS_LARGEFILE="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
          # the trailing space is required!
 -        if test $ac_cv_c_compiler_gnu = no; then
 -            SET_DT_SONAME="-h "
 -        fi
 +        SET_DT_SONAME="-h,"
          if test $ac_cv_c_compiler_gnu = yes; then
-             CC_OPT_FLAGS_TO_TRY="-O2"
+             CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
              CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0"
-@@ -6772,7 +6770,7 @@ fi
+@@ -7022,7 +7020,7 @@ fi
  fi
  
  if test x$with_libpaper != xno; then
@@ -35,10 +35,10 @@ Use correct install_name with path on Da
  
  $as_echo "#define USE_LIBPAPER 1" >>confdefs.h
  
-@@ -10193,10 +10191,10 @@ else
-       SO_LIB_EXT=".so"
+@@ -10881,10 +10879,10 @@ case $host in
      ;;
-     Darwin*)
+     *-darwin*)
+       DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
 -      GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(GS_SONAME_MAJOR_MINOR)"
 -      PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(PCL_SONAME_MAJOR_MINOR)"
 -      XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(XPS_SONAME_MAJOR_MINOR)"
@@ -50,18 +50,18 @@ Use correct install_name with path on Da
        DYNAMIC_LIBS=""
        SO_LIB_EXT=".dylib"
      ;;
-@@ -10206,10 +10204,10 @@ else
-       else
-         DYNAMIC_CFLAGS="-KPIC"
+@@ -10900,10 +10898,10 @@ case $host in
+         #fi
+         # ^^^ untested
        fi
--      GS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR)"
--      PCL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR)"
--      XPS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR)"
--      PDL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR)"
-+      GS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR)"
-+      PCL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR)"
-+      XPS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR)"
-+      PDL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR)"
+-      GS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR) $_ldflags"
+-      PCL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR) $_ldflags"
+-      XPS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR) $_ldflags"
+-      PDL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR) $_ldflags"
++      GS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR) $_ldflags"
++      PCL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR) $_ldflags"
++      XPS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR) $_ldflags"
++      PDL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR) $_ldflags"
        DYNAMIC_LIBS=""
        SO_LIB_EXT=".so"
-       ;;
+     ;;

Index: pkgsrc/print/ghostscript-agpl/patches/patch-devices_devs.mak
diff -u pkgsrc/print/ghostscript-agpl/patches/patch-devices_devs.mak:1.6 pkgsrc/print/ghostscript-agpl/patches/patch-devices_devs.mak:1.7
--- pkgsrc/print/ghostscript-agpl/patches/patch-devices_devs.mak:1.6    Wed Sep  5 13:19:40 2018
+++ pkgsrc/print/ghostscript-agpl/patches/patch-devices_devs.mak        Tue Mar 24 16:34:45 2020
@@ -1,10 +1,10 @@
-$NetBSD: patch-devices_devs.mak,v 1.6 2018/09/05 13:19:40 adam Exp $
+$NetBSD: patch-devices_devs.mak,v 1.7 2020/03/24 16:34:45 adam Exp $
 
 Don't depend on src/zlib.h.
 
---- devices/devs.mak.orig      2018-09-03 08:50:27.000000000 +0000
+--- devices/devs.mak.orig      2020-03-19 08:21:42.000000000 +0000
 +++ devices/devs.mak
-@@ -1084,7 +1084,7 @@ $(gximdecode_h) $(DEVS_MAK) $(MAKEDIRS)
+@@ -1093,7 +1093,7 @@ $(gximdecode_h) $(DEVS_MAK) $(MAKEDIRS)
  
  $(DEVOBJ)gdevxps_0.$(OBJ) : $(DEVVECSRC)gdevxps.c $(gdevvec_h) \
  $(string__h) $(stdio__h) $(libtiff_dev) $(gx_h) $(gserrors_h) \
@@ -13,12 +13,12 @@ Don't depend on src/zlib.h.
  $(stdint__h) $(gdevtifs_h) $(gsicc_create_h) $(gsicc_cache_h) \
  $(gximdecode_h) $(DEVS_MAK) $(MAKEDIRS)
        $(XPSDEVCC) $(I_)$(TI_)$(_I) $(GLO_)gdevxps_0.$(OBJ) $(C_) $(DEVVECSRC)gdevxps.c
-@@ -1224,7 +1224,7 @@ $(DEVOBJ)gdevgprf_1.$(OBJ) : $(DEVSRC)gd
+@@ -1514,7 +1514,7 @@ $(DD)pngalpha.dev : $(libpng_dev) $(png_
+ fpng_=$(DEVOBJ)gdevfpng.$(OBJ) $(DEVOBJ)gdevpccm.$(OBJ)
  
- $(DEVOBJ)gdevgprf_0.$(OBJ) : $(DEVSRC)gdevgprf.c $(PDEVH) $(math__h)\
-  $(gdevdcrd_h) $(gscrd_h) $(gscrdp_h) $(gsparam_h) $(gxlum_h)\
-- $(gstypes_h) $(gxdcconv_h) $(gdevdevn_h) $(gsequivc_h) $(zlib_h)\
-+ $(gstypes_h) $(gxdcconv_h) $(gdevdevn_h) $(gsequivc_h) \
-  $(gscms_h) $(gsicc_cache_h) $(gsicc_manage_h) $(gxgetbit_h)\
-  $(gdevppla_h) $(gxdevsop_h) $(DEVS_MAK) $(MAKEDIRS)
-       $(DEVCC) $(DEVO_)gdevgprf_0.$(OBJ) $(II)$(ZI_)$(_I) $(C_) $(DEVSRC)gdevgprf.c
+ $(DEVOBJ)gdevfpng_0.$(OBJ) : $(DEVSRC)gdevfpng.c\
+- $(gdevprn_h) $(gxdevsop_h) $(gdevpccm_h) $(gscdefs_h) $(zlib_h) $(DEVS_MAK) $(MAKEDIRS)
++ $(gdevprn_h) $(gxdevsop_h) $(gdevpccm_h) $(gscdefs_h) $(DEVS_MAK) $(MAKEDIRS)
+       $(CC_) $(I_)$(DEVI_) $(II)$(ZI_)$(_I) $(PCF_) $(GLF_) $(DEVO_)gdevfpng_0.$(OBJ) $(C_) $(DEVSRC)gdevfpng.c
+ 
+ $(DEVOBJ)gdevfpng_1.$(OBJ) : $(DEVSRC)gdevfpng.c\



Home | Main Index | Thread Index | Old Index