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:   leot
Date:           Tue Dec 10 10:44:09 UTC 2019

Modified Files:
        pkgsrc/print/ghostscript-agpl: Makefile Makefile.common distinfo

Log Message:
ghostscript-agpl: Update to 9.50

Changes:
Version 9.50 (2019-09-30)

Highlights in this release include:

  * The change to version 9.50 (rather than the intended 9.28) follows
    recognition of the extent and importance of the file access control
    redesign/reimplementation outlined below.
  * The file access control capability (enable with -dSAFER) has been
    completely rewritten, with a ground-up rethink of the design. For more
    details, see: SAFER.

    It is important to note that -dSAFER now only enables the file access
    controls, and no longer applies restrictions to standard Postscript
    functionality (specifically, restrictions on setpagedevice. If your
    application relies on these Postscript restrictions, see OLDSAFER, and
    please get in touch, as we do plan to remove those Postscript restrictions
    unless we have reason not to.

    IMPORTANT: File access controls are now enabled by default. In order to run
    Ghostscript without these controls, see NOSAFER

    Important Note for Windows Users: See below under Incompatible Changes
  * IMPORTANT: We are in the process of forking LittleCMS. 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. 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.
  * Special thanks to Akira Kakuto, Paul Wessel, William Bader, Nelson H. F.
    Beebe and everyone else who put time and effort into testing this new
    release.

For a list of open issues, or to report problems, please visit
bugs.ghostscript.com.

Incompatible changes

  * There are a couple of subtle incompatibilities between the old and new
    SAFER implementations. Firstly, as mentioned above, SAFER now leaves
    standard Postcript functionality unchanged (except for the file access
    limitations). Secondly, the interaction with save/restore operations,
    see SAFER.

    Important Note for Windows Users:
    The file/path pattern matching is case sensitive, even on Windows. This is
    a change in behaviour compared to the old code which, on Windows, was case
    insensitive. This is in recognition of changes in Windows behaviour, in
    that it now supports (although does not enforce) case sensitivity.
  * The following is not strictly speaking new to 9.50, as not much has changed
    since 9.27 in this area, but for those who don't upgrade with every
    release:

    The process of "tidying" the Postscript name space should have removed only
    non-standard and undocumented operators. Nevertheless, it is possible that
    any integrations or utilities that rely on those non-standard and
    undocumented operators may stop working, or may change behaviour.

    If you encounter such a case, please contact us (either the #ghostscript
    IRC channel, or the gs-devel mailing list would be best), and we'll work
    with you to either find an alternative solution or return the previous
    functionality, if there is genuinely no other option.

    One case we know this has occurred is GSView 5 (and earlier). GSView 5
    support for PDF files relied upon internal use only features which are no
    longer available. GSView 5 will still work as previously for Postscript
    files. For PDF files, users are encouraged to look at MuPDF.


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 pkgsrc/print/ghostscript-agpl/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/print/ghostscript-agpl/Makefile.common
cvs rdiff -u -r1.25 -r1.26 pkgsrc/print/ghostscript-agpl/distinfo

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.46 pkgsrc/print/ghostscript-agpl/Makefile:1.47
--- pkgsrc/print/ghostscript-agpl/Makefile:1.46 Sun Aug 11 13:22:39 2019
+++ pkgsrc/print/ghostscript-agpl/Makefile      Tue Dec 10 10:44:09 2019
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.46 2019/08/11 13:22:39 wiz Exp $
+# $NetBSD: Makefile,v 1.47 2019/12/10 10:44:09 leot Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
 PKGNAME=       ${DISTNAME:S/ghostscript/ghostscript-agpl/}
-PKGREVISION=   3
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
 GITHUB_PROJECT=        ghostpdl-downloads
@@ -109,6 +108,10 @@ 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
 .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.17 pkgsrc/print/ghostscript-agpl/Makefile.common:1.18
--- pkgsrc/print/ghostscript-agpl/Makefile.common:1.17  Wed Apr 17 08:28:44 2019
+++ pkgsrc/print/ghostscript-agpl/Makefile.common       Tue Dec 10 10:44:09 2019
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile.common,v 1.17 2019/04/17 08:28:44 adam Exp $
+# $NetBSD: Makefile.common,v 1.18 2019/12/10 10:44:09 leot Exp $
 # used by print/ghostscript-agpl/Makefile
 # used by fonts/ghostscript-cidfonts-ryumin/Makefile
 
-GS_VERSION=    9.27
+GS_VERSION=    9.50

Index: pkgsrc/print/ghostscript-agpl/distinfo
diff -u pkgsrc/print/ghostscript-agpl/distinfo:1.25 pkgsrc/print/ghostscript-agpl/distinfo:1.26
--- pkgsrc/print/ghostscript-agpl/distinfo:1.25 Wed Apr 17 08:28:44 2019
+++ pkgsrc/print/ghostscript-agpl/distinfo      Tue Dec 10 10:44:09 2019
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.25 2019/04/17 08:28:44 adam Exp $
+$NetBSD: distinfo,v 1.26 2019/12/10 10:44:09 leot Exp $
 
-SHA1 (ghostscript-9.27.tar.xz) = f926d2cfb418a7c5d92dce0a9843fa01ee62fe2c
-RMD160 (ghostscript-9.27.tar.xz) = f735c54b15af3b425fb8c60bf8fadd8361a5ec2f
-SHA512 (ghostscript-9.27.tar.xz) = 5e67ad45a80f01c6ef0eabb1c76dfa8fb6e7f0fde8d82fd5daaf12f370c288a672f8fa69c74d9e30255582267e9a906e4e8b13655f8d993fefdfc8dbdb5d5401
-Size (ghostscript-9.27.tar.xz) = 33182608 bytes
+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-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909
 SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516
 SHA1 (patch-base_mkromfs.c) = 96006928e0b5381e7101027372b6e6408f1c4a0b



Home | Main Index | Thread Index | Old Index