pkgsrc-Changes archive

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

CVS commit: pkgsrc



Module Name:    pkgsrc
Committed By:   leot
Date:           Sun Sep 13 14:16:31 UTC 2020

Modified Files:
        pkgsrc/fonts/ghostscript-cidfonts-ryumin: Makefile
        pkgsrc/print/ghostscript-agpl: Makefile Makefile.common PLIST distinfo
        pkgsrc/print/ghostscript-agpl/patches: patch-configure

Log Message:
ghostscript-agpl: Update to 9.53.0

pkgsrc changes (for fonts/ghostscript-cidfonts-ryumin):
 - Add SUBST_NOOP_OK.ttf_path, at least for the default `cidfmap-adobe' that's a
   noop

Changes:
9.53.0
======
Highlights in this release include:

 - The 9.53.0 release is primarily maintenance.
 - The most obvious change is the (re-)introduction of the patch level to the
   version number, this helps facilitate a revised policy on handling security
   related issues.
 - Our efforts in code hygiene and maintainability continue.
 - We have added the capability to build with the Tesseract OCR engine. In
   such a build, new devices are available (pdfocr8/pdfocr24/pdfocr32) which
   render the output file to an image, OCR that image, and output the image
   "wrapped" up as a PDF file, with the OCR generated text information
   included as "invisible" text (in PDF terms, text rendering mode 3).
   Due to some patches to the Tesseract sources that are required (integrated
   upstream, but awaiting release), time constraints, and the experimental
   nature of the feature, we only support including Tesseract from source, not
   linking to Tesseract shared libraries. Whether we add this capability will
   be largely dependant on community demand for the feature.
 - We have added Python bindings for the gsapi interface, can be found in
   demos/python. These are experimental, and we welcome feedback from
   interested developers.
 - For those integrating Ghostscript/GhostPDL via the gsapi interface, we have
   added new capabilities to that, specifically in terms of setting and
   interrogating device parameters. These, along with the existing interface
   calls, are documented in: Ghostscript Interpreter API
 - 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.31 -r1.32 pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile
cvs rdiff -u -r1.58 -r1.59 pkgsrc/print/ghostscript-agpl/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/print/ghostscript-agpl/Makefile.common
cvs rdiff -u -r1.16 -r1.17 pkgsrc/print/ghostscript-agpl/PLIST
cvs rdiff -u -r1.30 -r1.31 pkgsrc/print/ghostscript-agpl/distinfo
cvs rdiff -u -r1.5 -r1.6 \
    pkgsrc/print/ghostscript-agpl/patches/patch-configure

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

Modified files:

Index: pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile
diff -u pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile:1.31 pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile:1.32
--- pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile:1.31      Mon Aug 17 20:18:41 2020
+++ pkgsrc/fonts/ghostscript-cidfonts-ryumin/Makefile   Sun Sep 13 14:16:31 2020
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2020/08/17 20:18:41 leot Exp $
+# $NetBSD: Makefile,v 1.32 2020/09/13 14:16:31 leot Exp $
 
 DISTNAME=      ghostscript-cidfonts-ryumin-${GS_VERSION}
 DISTFILES=     # empty
-PKGREVISION=   23
 CATEGORIES=    fonts
 
 MAINTAINER=    makoto%ki.nu@localhost
@@ -32,6 +31,7 @@ SUBST_STAGE.ttf_path= post-build
 SUBST_MESSAGE.ttf_path=        Fixing ttf install directory in cidfmap
 SUBST_FILES.ttf_path=  ${GS_CIDFMAP}
 SUBST_SED.ttf_path=    -e 's|%%PREFIX%%|${PREFIX}|'
+SUBST_NOOP_OK.ttf_path=        yes
 .endif
 
 # To edit %%PREFIX%% in cidfmap before installation by SUBST,

Index: pkgsrc/print/ghostscript-agpl/Makefile
diff -u pkgsrc/print/ghostscript-agpl/Makefile:1.58 pkgsrc/print/ghostscript-agpl/Makefile:1.59
--- pkgsrc/print/ghostscript-agpl/Makefile:1.58 Mon Aug 31 18:11:01 2020
+++ pkgsrc/print/ghostscript-agpl/Makefile      Sun Sep 13 14:16:30 2020
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.58 2020/08/31 18:11:01 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2020/09/13 14:16:30 leot Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
 PKGNAME=       ${DISTNAME:S/ghostscript/ghostscript-agpl/}
-PKGREVISION=   4
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
 GITHUB_PROJECT=        ghostpdl-downloads
-GITHUB_RELEASE=        gs${GS_VERSION:S/.//}
+GITHUB_RELEASE=        gs${GS_VERSION:S/.//g}
 EXTRACT_SUFX=  .tar.xz
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -111,10 +110,7 @@ post-install:
 .include "../../devel/zlib/buildlink3.mk"
 BUILDLINK_API_DEPENDS.freetype2+=      freetype2>=2.10.0
 .include "../../graphics/freetype2/buildlink3.mk"
-# XXX: Strictly speaking jbig2dec>=0.16, however now jbig2dec is only checked
-# XXX: via pkg-config and jbig2dec-0.17 is the first version that provides a
-# XXX: .pc file.
-BUILDLINK_API_DEPENDS.jbig2dec+=       jbig2dec>=0.17
+BUILDLINK_API_DEPENDS.jbig2dec+=       jbig2dec>=0.19
 .include "../../graphics/jbig2dec/buildlink3.mk"
 .include "../../graphics/lcms2/buildlink3.mk"
 .include "../../graphics/openjpeg/buildlink3.mk"

Index: pkgsrc/print/ghostscript-agpl/Makefile.common
diff -u pkgsrc/print/ghostscript-agpl/Makefile.common:1.19 pkgsrc/print/ghostscript-agpl/Makefile.common:1.20
--- pkgsrc/print/ghostscript-agpl/Makefile.common:1.19  Tue Mar 24 16:34:45 2020
+++ pkgsrc/print/ghostscript-agpl/Makefile.common       Sun Sep 13 14:16:30 2020
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile.common,v 1.19 2020/03/24 16:34:45 adam Exp $
+# $NetBSD: Makefile.common,v 1.20 2020/09/13 14:16:30 leot Exp $
 # used by print/ghostscript-agpl/Makefile
 # used by fonts/ghostscript-cidfonts-ryumin/Makefile
 
-GS_VERSION=    9.52
+GS_VERSION=    9.53.0

Index: pkgsrc/print/ghostscript-agpl/PLIST
diff -u pkgsrc/print/ghostscript-agpl/PLIST:1.16 pkgsrc/print/ghostscript-agpl/PLIST:1.17
--- pkgsrc/print/ghostscript-agpl/PLIST:1.16    Tue Mar 24 16:34:45 2020
+++ pkgsrc/print/ghostscript-agpl/PLIST Sun Sep 13 14:16:30 2020
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2020/03/24 16:34:45 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2020/09/13 14:16:30 leot Exp $
 bin/dvipdf
 bin/eps2eps
 bin/gs
@@ -32,8 +32,8 @@ include/ghostscript/gserrors.h
 include/ghostscript/iapi.h
 include/ghostscript/ierrors.h
 lib/libgs.so
-lib/libgs.so.${PKGVERSION}
 lib/libgs.so.9
+lib/libgs.so.9.53
 man/de/man1/dvipdf.1
 man/de/man1/eps2eps.1
 man/de/man1/gsnd.1
@@ -478,12 +478,9 @@ share/ghostscript/${PKGVERSION}/lib/cdj5
 share/ghostscript/${PKGVERSION}/lib/cdj690.upp
 share/ghostscript/${PKGVERSION}/lib/cdj690ec.upp
 share/ghostscript/${PKGVERSION}/lib/cid2code.ps
-share/ghostscript/${PKGVERSION}/lib/dmp_init.ps
-share/ghostscript/${PKGVERSION}/lib/dmp_site.ps
 share/ghostscript/${PKGVERSION}/lib/dnj750c.upp
 share/ghostscript/${PKGVERSION}/lib/dnj750m.upp
 share/ghostscript/${PKGVERSION}/lib/docie.ps
-share/ghostscript/${PKGVERSION}/lib/escp_24.src
 share/ghostscript/${PKGVERSION}/lib/font2pcl.ps
 share/ghostscript/${PKGVERSION}/lib/ghostpdf.ppd
 share/ghostscript/${PKGVERSION}/lib/gs_ce_e.ps

Index: pkgsrc/print/ghostscript-agpl/distinfo
diff -u pkgsrc/print/ghostscript-agpl/distinfo:1.30 pkgsrc/print/ghostscript-agpl/distinfo:1.31
--- pkgsrc/print/ghostscript-agpl/distinfo:1.30 Wed Mar 25 07:46:19 2020
+++ pkgsrc/print/ghostscript-agpl/distinfo      Sun Sep 13 14:16:30 2020
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.30 2020/03/25 07:46:19 adam Exp $
+$NetBSD: distinfo,v 1.31 2020/09/13 14:16:30 leot Exp $
 
-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 (ghostscript-9.53.0.tar.xz) = 3c2ca25d2124e2dbb1b7289c449d57d25e783e2b
+RMD160 (ghostscript-9.53.0.tar.xz) = 70146bc933b1a2b02ecd17ee386b7b42521409db
+SHA512 (ghostscript-9.53.0.tar.xz) = fa594ef99e58257074b651e4d078bd1025f7bc2c435cd2a5454ba59c2a98cc82e93339ccd1eaa4fe624275165aacefeabc6f8336476027946f56aeb02e93da30
+Size (ghostscript-9.53.0.tar.xz) = 41358720 bytes
 SHA1 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909
 SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516
 SHA1 (patch-base_mkromfs.c) = 9d9afbd0fbb8c70c8f4f7de3cadc5b54541f0db0
 SHA1 (patch-base_ttobjs.h) = 378ad7d316a4a9dc53b9c8e612582a7c8e9b3688
 SHA1 (patch-base_unix-dll.mak) = 73b5ee7fcbc7940ce72f44b35417d624f7ae5bca
-SHA1 (patch-configure) = ed5213adcb44070a77fc56297f4172f73dd2a8e7
+SHA1 (patch-configure) = bd7cfaab732f698b39fa4ddfc971c31fd1216f07
 SHA1 (patch-devices_devs.mak) = e9937d401a278cc6d0a6d4cff78c526375bc18ca

Index: pkgsrc/print/ghostscript-agpl/patches/patch-configure
diff -u pkgsrc/print/ghostscript-agpl/patches/patch-configure:1.5 pkgsrc/print/ghostscript-agpl/patches/patch-configure:1.6
--- pkgsrc/print/ghostscript-agpl/patches/patch-configure:1.5   Wed Mar 25 07:46:19 2020
+++ pkgsrc/print/ghostscript-agpl/patches/patch-configure       Sun Sep 13 14:16:31 2020
@@ -1,13 +1,13 @@
-$NetBSD: patch-configure,v 1.5 2020/03/25 07:46:19 adam Exp $
+$NetBSD: patch-configure,v 1.6 2020/09/13 14:16:31 leot Exp $
 
 Use system zlib for linking.
 Add rpath.
 Get all LDFLAGS for FreeType2.
 Use correct install_name with path on Darwin.
 
---- configure.orig     2020-03-19 08:22:25.000000000 +0000
+--- configure.orig     2020-09-10 15:37:32.000000000 +0000
 +++ configure
-@@ -3917,7 +3917,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
+@@ -4027,7 +4027,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
  CFLAGSAUX_DEBUGTMP="\$(CFLAGS_DEBUG)"
  CFLAGSAUX_PROFILETMP="\$(CFLAGS_PROFILE)"
  LDFLAGSAUXTMP="\$(LDFLAGS)"
@@ -16,18 +16,18 @@ Use correct install_name with path on Da
  
  # purposefully do not include "help" output for this
  # Check whether --enable-save_confaux was given.
-@@ -4544,9 +4544,7 @@ case $host in
+@@ -4659,9 +4659,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
+-        if test $GCC = no; then
 -            SET_DT_SONAME="-h "
 -        fi
 +        SET_DT_SONAME="-h,"
-         if test $ac_cv_c_compiler_gnu = yes; then
+         if test $GCC = yes; then
              CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
              CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0"
-@@ -7022,7 +7020,7 @@ fi
+@@ -7692,7 +7690,7 @@ fi
  fi
  
  if test x$with_libpaper != xno; then
@@ -36,7 +36,7 @@ Use correct install_name with path on Da
  
  $as_echo "#define USE_LIBPAPER 1" >>confdefs.h
  
-@@ -7324,7 +7322,7 @@ $as_echo_n "checking for system freetype
+@@ -7994,7 +7992,7 @@ $as_echo_n "checking for system freetype
                  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  $as_echo "yes" >&6; }
                  FT_CFLAGS="$CFLAGS `$PKGCONFIG --cflags freetype2`"
@@ -45,14 +45,14 @@ Use correct install_name with path on Da
                  FT_BRIDGE=1
                  SHARE_FT=1
              else
-@@ -10881,10 +10879,10 @@ case $host in
+@@ -11608,10 +11606,10 @@ case $host in
      ;;
      *-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)"
--      PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(GPDL_SONAME_MAJOR_MINOR)"
+-      GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(GS_SONAME_MAJOR_MINOR)"
+-      PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(PCL_SONAME_MAJOR_MINOR)"
+-      XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(XPS_SONAME_MAJOR_MINOR)"
+-      PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(GPDL_SONAME_MAJOR_MINOR)"
 +      GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(GS_SONAME_MAJOR_MINOR)"
 +      PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(PCL_SONAME_MAJOR_MINOR)"
 +      XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(XPS_SONAME_MAJOR_MINOR)"
@@ -60,7 +60,7 @@ Use correct install_name with path on Da
        DYNAMIC_LIBS=""
        SO_LIB_EXT=".dylib"
      ;;
-@@ -10900,10 +10898,10 @@ case $host in
+@@ -11627,10 +11625,10 @@ case $host in
          #fi
          # ^^^ untested
        fi



Home | Main Index | Thread Index | Old Index