Change SUGGESTED_OPTIONS to ghostscript-agpl, because ghostscript-gpl
is not maintained and has known vulnerabilities, and so that
ghostscript by default results in the version maintained by upstream.
As proposed on pkgsrc-users@, without objection. Note that this
commit does not change anything related to licensing.
ok pmc
The GPL version is very outdated and has lots of unfixed security issues,
and AGPL is now in the default-allowed set of licenses.
Bump version to match current AGPL release.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.
There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
As of this release (9.07), Ghostscript and GhostPDL are distributed under the GNU Affero General Public License (AGPL).
Ghostscript now has the option to be built as thread safe. Note that not all devices are thread safe. See the GS_THREADSAFE option in: GS_THREADSAFE
The pdfwrite devices now supports linearized (or optimized for fast web view) output directly ("-dFastWebView")
The Font API (FAPI) has been moved from the Postscript interpreter (psi) into the graphics library (base), and extended to support the other languages (PCL/PXL/XPS). All interpreters now use Freetype by default to render all viable font types.
Ghostscript has been extended to support Postscript string and array objects with >64k entries.
Ghostscript has been extended to support file sizes >4Gb - in particular reading and writing PDF files. As a side effect of this, Ghostscript also now supports 64 bit Postscript integer objects.
All CMYK devices can now support simulated overprint of spot colors using the "-dSimulateOverprint" command line option.
Support for use of DeviceN ICC color profiles as the output profile with the tiffsep and psdcmyk devices.
Support for customized named color handling with DeviceN colors
Support for black point compensation
Support for K preservation in CMYK to CMYK conversions
Support for DeviceLink profiles for graphic, image and text objects
Support for custom color replacement
Increased control in specifying color conversions as a function of object type
Full details of the color management features can be found in: GS9_Color_Management.pdf
Provide BigTIFF output option: the tiff devices can write BigTIFF files using the "-dUseBigTIFF" option. This requires libtiff version >=4.0.0 (the option is ignored for versions <4.0.0)
LittleCMS updated to 2.4
Plus the usual round of bug fixes, compatibility changes, and incremental improvements.
pkg/47045
pkg/47047
pkg/47049
Following change pulled up from wip/ghostscript (9.06)
(3) patch-freetype_include_freetype_internal_t1types_h
Delete due to (1) patch will take care.
pkg/47045
pkg/47047
pkg/47049
Following change pulled up from wip/ghostscript (9.06)
(1) patch-ah (configure)
Add CPPFLAG to refer ghostscript-included freetype
(regardless of X11_TYPE=native or modular).
(2) patch-af (base/unix-dll.mk)
Adjust to build on Mac OS X.
(3) patch-freetype_include_freetype_internal_t1types_h
Delete due to (1) patch will take care.
For the Changes: See
share/ghostscript/9.05/doc/History9.htm
Or
work/ghostscript-9.05/doc/History9.htm
Upstream releases and their date are:
Version 9.05 (2012-02-08)
Version 9.04 (2011-08-05)
Version 9.02 (2011-03-30)
Version 9.01 (2011-02-07)
Version 9.00 (2010-09-14)
(2) Resolve pkg PR/44400.
options.mk:
- Have new option disable-compile-inits
Makefile
- rename cidfmap to cidfmap-dist (post-extract:)
(3) Have new file Makefile.common to share with
fonts/ghostscript-cidfonts
fonts/ghostscript-cidfonts-ryumin
to set ${GS_VERSION}, and then ${GS_RESOURCEDIR}.
(4) options.mk
- Add new options,
disable-compile-inits
- Add following line for non X11 installation
CONFIGURE_ARGS+= --disable-freetype
- Name change
pstorater.convs -> gstoraster.convs
(5) PLIST
So many changes, but just a note:
-share/ghostscript/${PKGVERSION}/doc/README
share/ghostscript/${PKGVERSION}/doc/Readme.htm
(6)
patches directory:
Removed, for upstream included.
------
patch-aa 9.00 base/gsnogc.c
patch-ab 9.05 base/unixinst.mak
patch-ac 9.00 ase/gdevpx.c
patch-ad 9.04 lib/pv.sh
patch-ae 9.00 psi/zfile.c
patch-ag 9.00 cups/cups.mak
patch-ak 9.04 -> a part left in patch-base_gdevpng.c
patch-am 9.00 lib/pdf2dsc.ps
patch-ba 9.00 psi/idosave.h
patch-bb 9.00 psi/isave.c (CVS-2010-1628)
patch-bc 9.00 psi/ialloc.c (CVS-2010-1628)
patch-bd 9.00 (1) bug #691029 and #691108
9.00 (2) arrayoption() macro
9.00 (3) silence compiler warning
Modified, or unchanged
------
patch-af (Add comments from former commit log, and adjust)
patch-ah (Add comments from former commit log, and adjust)
patch-ai (Add comments from former commit log, and adjust)
patch-aj (unchanged)
patch-al (unchanged)
patch-an (Add comments from former commit log, and adjust)
Added
--------
patch-base_gdevpng.c (a part of previous patch-ak)
patch-base_gserrors_h (silence compile warning)
patch-configure.ac (For just a record, see patch-ah (configure))
patch-freetype_include_freetype_internal_t1types_h (To avoid redifintion of T1_EncodingType_ )
patch-openjpeg_libopenjpeg_opj_malloc_h (To avoid undefined ref. to memalign)
OK'ed by wiz@, thanks a lot.