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.
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.
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.
- Fixed memory reallocation on bitmap size change. Reallocation is not only
needed when dimendions and margins change, but also when the color depth
changes. Fixes bugs #691029 and #691108.
- Fixed arrayoption() macro in cups_put_params() function. Array values did
not get actually set in cups.header data structure. Bug only showed via
a compiler warning.
- Silenced compiler warning by presetting c0..c3 in cups_map_cmyk() to zero.
makes my epson USB printer work again with 2010Q3 cups+ghostscript
PKGREVISION++
"@file" args get processed, fixes PR pkg/42984 from T. M. Pederson.
I'm not 100% sure that this has no side effects (the initialization
order in gs is messy and undocumented) but I haven't found any within
some weeks of testing.
bump PKGREVISION
This is the second release in the stable 8.7x series. It features
improved handling of fonts, nesting and color fixes with
transparency objects, reduced memory footprint for the halftone cache,
as well as improvements to the pxl output devices,
and the usual number of bug and robustness fixes.
which seems to actually exist is recorded. (When I updated jpeg from
6.2 to 7, the shlib major changed, ghostscript was not rebuilt, and it
failed to run.)
Proposed on tech-pkg on 22 October, with no objections received.