head 1.4; access; symbols pkgsrc-2017Q1:1.3.0.20 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.18 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.16 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.14 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.12 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.10 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.8 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.6 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.4 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.2 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.2.0.4 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.2 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.1.0.10 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.8 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.6 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.4 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.2 pkgsrc-2013Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2017.03.31.07.26.23; author adam; state dead; branches; next 1.3; commitid 6GxPo7C4ma4xNFLz; 1.3 date 2014.10.01.09.04.32; author adam; state Exp; branches; next 1.2; commitid FUqCaM5PEMqMEtSx; 1.2 date 2014.04.04.08.48.43; author adam; state Exp; branches; next 1.1; commitid U3FN4jy2Lm1Zllvx; 1.1 date 2013.03.16.22.25.21; author dholland; state Exp; branches; next ; desc @@ 1.4 log @Version 9.21 (2017-03-16) This is the fifteenth full release in the stable 9.x series. Highlights in this release include: * pdfwrite now preserves annotations from input PDFs (where possible). * The GhostXPS interpreter now provides the pdfwrite device with the data it requires to emit a ToUnicode CMap: thus allowing fully searchable PDFs to be created from XPS input (in the vast majority of cases). * Ghostscript now allows the default color space for PDF transparency blends. * The Ghostscript/GhostPDL configure script now has much better/fuller support for cross compiling. * The tiffscaled and tiffscaled4 devices can now use ETS (Even Tone Screening) * The toolbin/pdf_info.ps utility can now emit the PDF XML metadata. * Ghostscript has a new scan converter available (currently optional, but will become the default in a near future release). It can be enabled by using the command line option: '-dSCANCONVERTERTYPE=2'. This new implementation provides vastly improved performance with large and complex paths. * The usual round of bug fixes, compatibility changes, and incremental improvements. @ text @$NetBSD: patch-openjpeg_libopenjpeg_opj_malloc_h,v 1.3 2014/10/01 09:04:32 adam Exp $ Work around undefined 'memalign' issue. --- openjpeg/src/lib/openjp2/opj_malloc.h.orig 2014-03-26 12:53:47.000000000 +0000 +++ openjpeg/src/lib/openjp2/opj_malloc.h @@@@ -101,7 +101,7 @@@@ Allocate memory aligned to a 16 byte bou #elif defined(__FreeBSD__) #define HAVE_POSIX_MEMALIGN /* Linux x86_64 and OSX always align allocations to 16 bytes */ - #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(_AIX) + #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(_AIX) && !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__OpenBSD__) #define HAVE_MEMALIGN #include #endif @ 1.3 log @Changes 9.15: Ghostscript now supports the PDF security handler revision 6. The pdfwrite and ps2write (and related) devices can now be forced to "flatten" glyphs into "basic" marking operations (rather than writing fonts to the output), by giving the -dNoOutputFonts command line option (defaults to "false") PostScript programs can now use get_params or get_param to determine if a page contains color markings by reading the pageneutralcolor state from the device (so whether the page is "color" or "mono"). Note that this is only accurate when in clist mode, so -dMaxBitmap=0 and -dGrayDetection=true should both be used. The pdfwrite device now supports Link annotations with GoTo and GoToR actions The pdfwrite device now supports BMC/BDC/EMC pdfmarks Regarding the new color management for the pdfwrite device introduced in the previous release, the proscription on using the new color management when producing PDF/A-1 compliant files is now lifted. To reiterate, also, with the new color management implementation, using the UseCIEColor option is strongly discouraged. For further information on the new pdfwrite color management, see: Color Conversion and Management Plus the usual round of bug fixes, compatibility changes, and incremental improvement @ text @d1 1 a1 1 $NetBSD: patch-openjpeg_libopenjpeg_opj_malloc_h,v 1.2 2014/04/04 08:48:43 adam Exp $ @ 1.2 log @Changes 9.14: pdfwrite now uses the same color management engine as Ghostscript rendering devices (by default LCMS2). This provides much better control over color conversion and color management generally, but will result in some small color differences when compared to the old system. It is no longer necessary to specify UseCIEColor (and we very much encourage you not to do this) or the ProcessColorModel if you want to convert a PDF file to a specific color space, simply set the ColorConversionStrategy appropriately. We do not expect any major problems to arise with this new code, but for the duration of this release a new switch -dPDFUseOldCMS is available which will restore the old color management. See: Color Conversion and Management Please note that due to constraints of the PDF/A-1 specification, the new color management does not yet apply when producing PDF/A files. A new device 'eps2write' has been added which allows for the creation of EPS files using the ps2write device instead of the old (deprecated and removed) pswrite device. This produces considerably better quality EPS files than the old epswrite device which is now also deprecated and will be removed in a future release. ps2write now has a feature to allow customisation of the output for specific devices. Please see PSDocOptions and PSPageOptions described in ps2ps2.htm Additional Distiller Params Ghostscript now reduces memory usage when processing PDF files that use transparency and output is to display devices such as Windows display or x11 (i.e. devices that are strictly full framebuffer devices), and to high level vector devices that cannot reproduce the PDF transparency model, such as the ps2write device or pdfwrite when 'flattening' to PDF 1.3 or earlier (-dCompatibilityLevel=1.3). This uses banding (clist) files to render the transparent areas in bands to reduce memory use, and unlike the existing page level banding, this is hidden from the target device. Ghostscript can now collect information for pages in temp files (in Ghostscript's clist format), then render and output pages for the job in arbitrary order, including normal, reverse, odd, even, or any order or subset of the pages. This is controlled with the --saved-page=___ option. (Note that this only applies to rendering devices, and not high level devices such as pdfwrite and ps2write.) See: Deferred Page Rendering The Ghostscript device architecture has been extended so that, when rendering bands into multiple threads, it is now possible to perform post-processing in multiple threads, such as downscale, post-render halftoning, or compression. Previously, post processing was only possible in the single main thread. This can improve performance significantly. Ghostscript has a new "pwgraster" output device for PWG Raster output The CUPS device now has improved support for PPD-less printing Plus the usual round of bug fixes, compatibility changes, and incremental improvements. @ text @d1 1 a1 1 $NetBSD$ d5 3 a7 3 --- openjpeg/libopenjpeg/opj_malloc.h.orig 2014-03-26 12:53:47.000000000 +0000 +++ openjpeg/libopenjpeg/opj_malloc.h @@@@ -88,7 +88,7 @@@@ Allocate memory aligned to a 16 byte bou @ 1.1 log @Add ghostscript-agpl package, the same as the current print/ghostscript. @ text @d1 1 a1 1 $NetBSD: patch-openjpeg_libopenjpeg_opj_malloc_h,v 1.3 2013/03/08 20:45:25 adam Exp $ d3 1 a3 5 To avoid following problem: | gcc .. (omitted).. g -o ./sobin/gsc ./psi/dxmainc.c \ | -L./sobin -Wl,-R/usr/pkg/lib -lgs | ./sobin/libgs.so: undefined reference to `memalign' | gmake[2]: *** [sobin/gsc] Error 1 d5 1 a5 1 --- openjpeg/libopenjpeg/opj_malloc.h.orig 2013-02-14 07:58:13.000000000 +0000 d7 3 a9 3 @@@@ -84,7 +84,7 @@@@ Allocate memory aligned to a 16 byte bou #if defined(__sun) #define HAVE_MEMALIGN d11 2 a12 2 - #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(_AIX) && !defined(__FreeBSD__) + #elif !defined(__amd64__) && !defined(__APPLE__) && !defined(_AIX) && !defined(__FreeBSD__) && !defined(__NetBSD__) && !defined(__DragonFly__) && !defined(__OpenBSD__) @