Commit graph

42 commits

Author SHA1 Message Date
gdt
c6bb019c86 ghostscript-agpl: Adopt freetype2 hack from fontfonge
This package also needs the missing freetype2 header file on NetBSD 7,
and the same faked-up version seems to work fine.
2017-12-13 13:02:06 +00:00
khorben
dbcb57753c Bump PKGREVISION on packages depending on CUPS
This should be the last part of the renaming operation for print/cups to
print/cups-base.

Rationale: packages depending on CUPS but not relying on a functional
printing setup only need to depend on print/cups-base (equivalent to the
former print/cups). The new print/cups now depends on print/cups-base
and on print/cups-filters, thus directly providing a functional printing
setup. This bump reflects this change of dependency.

As discussed on tech-pkg@
2017-11-12 16:03:34 +00:00
khorben
08f3106d89 Update dependencies on print/cups to print/cups-base
This is with the notable exception of meta-pkgs/desktop-gnome, which I
believe implies a fully functional cups.

This is still missing revision bumps - I'll be right there (first time I
am doing this on so many packages at a time).

As discussed on tech-pkg@
2017-11-12 15:36:57 +00:00
adam
7698f6ab2b ghostscript-agpl: update to 9.22
Highlights in this release include:
* Ghostscript can now consume and produce (via the pdfwrite device) PDF 2.0 compliant files.
* The main focus of this release has been security and code cleanliness. Hence many AddressSanitizer, Valgrind and Coverity issues have been addressed.
* The usual round of bug fixes, compatibility changes, and incremental improvements.
2017-10-06 06:15:00 +00:00
wiz
8733ee0040 Follow some http -> https redirects. 2017-08-01 14:58:51 +00:00
wiz
1ccdede6ab Honor LDFLAGS in more places. Fixes RELRO build. 2017-07-12 08:55:36 +00:00
prlw1
e1c5feac2f Bump PKGREVISION for cups15 -> cups change. 2017-05-19 13:29:02 +00:00
prlw1
dffca398fb Switch all cups15 packages to use cups. 2017-05-19 13:18:17 +00:00
jperkin
0784f2b7e4 Ensure pkgsrc libraries can be found. 2017-04-20 09:20:55 +00:00
adam
230f5e83e6 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.
2017-03-31 07:26:23 +00:00
wiz
628a940a63 nd include Makefile.common again. 2016-10-27 11:32:16 +00:00
wiz
0f08c3a464 Restore Makefile.common, still used by fonts/ghostscript-cidfonts-ryumin 2016-10-27 11:06:01 +00:00
adam
c86216e797 Restore linking on Darwin. 2016-10-09 17:15:11 +00:00
wiz
433f9bc26b Updated ghostscript-agpl to 9.20.
Remove Makefile.common that is not used by anything, despite
a comment to the contrary.

Highlights in this release include:

    The usual round of bug fixes, compatibility changes, and
    incremental improvements.

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

    The planned device API tidy did not happen for this release,
    due to time pressures, but we still intend to undertake the
    following: We plan to somewhat tidy up the device API. We intend
    to remove deprecated device procs (methods/function pointers)
    and change the device API so every device proc takes a graphics
    state parameter (rather than the current scheme where only a
    very few procs take an imager state parameter). This should
    serve as notice to anyone maintaining a Ghostscript device
    outside the canonical source tree that you may (probably will)
    need to update your device(s) when these changes happen. Devices
    using only the non-deprecated procs should be trivial to update.
2016-09-30 12:37:31 +00:00
wiz
73716d23de Bump PKGREVISION for perl-5.24.0 for everything mentioning perl. 2016-07-09 06:38:30 +00:00
adam
3c9caa2fcf Changes 9.19:
* New custom PJL (near) equivalents for pdfmark and setdistillerparams.
* Metadata pdfmark is now implemented.
* An experimental, rudimentary raster trapping implementation implementation has been added to the Ghostscript graphics library.
* The halftone threshold array generation tools (part of toolbin/halftone) have been improved with thresh_remap which allows folding the transfer function (AKA toner response curve (TRC)) into the threshold array so that highlights are improved. Further, gen_stochastic has improved support for minimum dot size and shape.
* Plus the usual round of bug fixes, compatibility changes, and incremental improvements.
2016-04-07 08:52:05 +00:00
jperkin
d27a3c6681 Use OPSYSVARS. 2016-02-25 17:52:45 +00:00
markd
a39a51d33b Add gserrors.h to the installed files (upstream Bug 696301) 2015-12-10 11:58:58 +00:00
agc
03010d7bd0 Add SHA512 digests for distfiles for print category
Problems found locating distfiles:
	Package acroread7: missing distfile AdobeReader_enu-7.0.9-1.i386.tar.gz
	Package acroread8: missing distfile AdobeReader_enu-8.1.7-1.sparc.tar.gz
	Package cups-filters: missing distfile cups-filters-1.1.0.tar.xz
	Package dvidvi: missing distfile dvidvi-1.0.tar.gz
	Package lgrind: missing distfile lgrind.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:01:30 +00:00
adam
b75a8258d3 Checksum update 2015-10-11 08:44:01 +00:00
adam
c106ad4369 Changes 9.18:
A substantial revision of the build system and GhostPDL directory structure, meaning the GhostPCL and GhostXPS "products" are now built by the Ghostscript build system "proper" rather than having their own builds which called the Ghostscript build system for certain parts of the builds.

Ghostscript-only users should not be affected by this change.

For users of the PCL and XPS interpreters (collectively downloaded as "GhostPDL") there is a new, "flatter" directory structure and only one configure and one make invocation to build all the products. There are also some executable default name changes to bring the PCL and XPS binaries in line with the Ghostscript ones. All executables now end up in the "bin" directory (or build specific variant thereof, e.g. "debugbin"). The PCL executable, by default, is now "gpcl6" on Unix like systems and "gpcl6win??.exe" (where "??" is either "32" or "64"). The XPS executable remains "gxps" on Unix-like systems, but similarly becomes "gxpswin??.exe" on Windows.

Those using scripts or other automated processes will need to take steps to cope with these changes.

A new method of internally inserting devices into the device chain has been developed, named "device subclassing". This allows suitably written devices to be more easily and consistently as "filter" devices.

The first fruit of this is a new implementation of the "-dFirstPage"/"-dLastPage" feature which functions a device filter in the Ghostscript graphics library, meaning it works consistently with all input languages.

The "ghostpdl.inf" file, provided to simplify installing a Postscript printer configure to produce output to suit Ghostscript's "pdfwrite" device is now available as a digitally signed version: "ghostpdl.cat".
Plus the usual round of bug fixes, compatibility changes, and incremental improvements.
2015-10-10 11:55:18 +00:00
wiz
27ee0b1afd Use memmove instead of memcpy in one place.
It seems the arguments sometimes overlap, and _FORTIFY_SOURCE=2 causes it
to dump core in this case.

Bump PKGREVISION.
2015-08-12 22:27:22 +00:00
wiz
63a5209c3c This package has no cups option, remove (optional) cups15 bl3.mk inclusion. 2015-08-12 22:27:10 +00:00
wiz
0982effce2 Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.
2015-06-12 10:48:20 +00:00
adam
35412f4e79 Changes 9.16:
* "LockColorants" command line option for tiffsep and psdcmyk devices. Specifying -dLockColorants will restrict those devices to only the colorants list on the command line (thus: -c "<< /SeparationColorNames [ /Cyan /Magenta /Yellow /Black /Violet /Orange] /SeparationOrder [ /Cyan /Magenta /Yellow /Black /Violet /Orange]>> setpagedevice"), rather than allowing the devices to add new colorants as encountered in the input. This is, obviously, preferable for real printers, where only a certain of inks will be available.

* Improved high level devices handling of Forms. Whilst High level devices (eg pdfwrite) already checked Forms to see if they are duplicates, and if so use the initial definition. However, this does not improve performance, since the Form PaintProc still needs to be executed for each instance of the Form, and the matching algorithm could, in very odd circumstances, be defeated. The new implementation benefits both causes, meaning the second and subsequent invocation of the form need not re-run the PaintProc, and removes the heurisic aspect of the reuse detection.

* New URW+ fonts in which the families NimbusMono, NimbusRoman and NimbusSans have been augmented with production quality Greek and Cyrillic glyphs. These correspond to our substitutes for the PDF base 14 fonts.

* Plus the usual round of bug fixes, compatibility changes, and incremental improvements.
2015-04-06 11:24:55 +00:00
adam
b14ba352bc 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
2014-10-01 09:04:32 +00:00
wiz
a9dc16a509 Bump PKGREVISION for cups -> cups15 change. 2014-06-18 09:28:16 +00:00
wiz
a5caa2b4a1 Switch all cups packages to use cups15. 2014-06-18 09:26:09 +00:00
wiz
7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00
adam
7f61fcb1fa 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.
2014-04-04 08:48:43 +00:00
tron
c64e9eb269 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:18:26 +00:00
gdt
9d3ccaaa53 Drop nonfunctional cups option, following upstream.
Upstream removed cups support and created a new "cups-filter" package
instead.  Since then, building ghostscript-agpl with the cups option
has failed.  This commit removes the cups option, and should result in
zero changes to packages built without the cups option, and hence does
not PKGREVISION++.

There is still some cups configure code, which is forced off (as it
was without the option).  It's not clear if this configure code should
also be removed (by upstream), or if it's a separate bit of cups
functionality.  Addressing this issue and adding a cups-filter package
is left for future work, after the branch.
2013-12-27 16:42:46 +00:00
mef
8fc5a9197d Adjust PLIST only when following option is active.
PKG_OPTIONS.ghostscript+=disable-compile-inits
No PKGREVISON++ (not packaged or binaries'd be the same before patch and after).
Discussed at thread starting
  http://mail-index.netbsd.org/pkgsrc-users/2013/12/23/msg019089.html
2013-12-25 02:26:48 +00:00
adam
1886ec16df Changes 9.10:
* Background printing (BGPrint) is a new feature allowing an accumulated page clist to be rendered by one or more rendering threads whilst the interpreter (in the "main" thread) continues to accumulate the subsequent page's clist. For certain classes of file this can result in a useful performance increase.
* GrayDetection allows suitably written devices to detect "color" input in near neutral tones (i.e. near monochrome) and to convert "on-the-fly" to pure grayscale, whilst retaining the ability to print full color on demand. This is primarily aimed at workflows where saving ink (especially color inks) is required.
* LittleCMS2 and libpng have both been updated to the latest versions.
* Support has been added to build the Ghostscript DLL for WinRT for x86, x64 and ARM (Requires MS Visual Studio 2012 Pro).
* Processing of Windows command line arguments into UTF8 (as presaged a few releases ago) has been enhanced and enabled by default.
* The URW Postscript font set has been updated to the latest version, fixing many compatibility problems with the Adobe fonts.
* Plus the usual round of bug fixes, compatibility changes, and incremental improvements.
2013-09-03 06:39:12 +00:00
adam
c01ba419d9 Changes 9.09:
* Background printing (BGPrint) is a new feature allowing an accumulated page clist to be rendered by one or more rendering threads whilst the interpreter (in the "main" thread) continues to accumulate the subsequent page's clist. For certain classes of file this can result in a useful performance increase.
* GrayDetection allows suitably written devices to detect "color" input in near neutral tones (i.e. near monochrome) and to convert "on-the-fly" to pure grayscale, whilst retaining the ability to print full color on demand. This is primarily aimed at workflows where saving ink (especially color inks) is required.
* LittleCMS2 and libpng have both been updated to the latest versions.
* Support has been added to build the Ghostscript DLL for WinRT for x86, x64 and ARM (Requires MS Visual Studio 2012 Pro).
* Processing of Windows command line arguments into UTF8 (as presaged a few releases ago) has been enhanced and enabled by default.
* The URW Postscript font set has been updated to the latest version, fixing many compatibility problems with the Adobe fonts.
* Plus the usual round of bug fixes, compatibility changes, and incremental improvements.
2013-08-22 21:07:08 +00:00
tron
a36fb86593 Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:
Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.
2013-06-04 22:15:37 +00:00
wiz
53745b22ea Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
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
2013-06-03 10:05:17 +00:00
wiz
d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00
dsainty
f70ee56bbb The PKG_BUILD_OPTIONS suffix must match the pkgbase. Make it so. 2013-03-24 21:10:50 +00:00
wiz
09aa3388ad Fix typo in CONFIGURE_ARGS, from Richard Palo. 2013-03-17 10:13:09 +00:00
dholland
31281792d1 Update ghostscript DESCR files, suggested by gdt. 2013-03-17 03:50:49 +00:00
dholland
055e569fcf Add ghostscript-agpl package, the same as the current print/ghostscript. 2013-03-16 22:25:21 +00:00