Commit graph

88 commits

Author SHA1 Message Date
wiz
6eae1297d5 *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
adam
da0a125726 revbump for boost-libs 2021-04-21 13:24:06 +00:00
adam
74ebe4b492 ghostscript-agpl: updated to 9.53.3
9.53.3:
A crash (or silent, erroneous exit) on 64 bit Windows and other LLP64 type environments.
What appears to be a compiler optimiser bug in 64 bit Windows builds with Visual Studio 2019
A crash related to management of ICC profile objects
A crash on SPARC hardware due to an alignment mismatch in the bitmap cache
A parameter type mismatch that would cause Ghostcript to error out during initialisation, which affected 64 big, big endian architectures.
An expected side effect of another change that prevented multithreaded rendering and background rendering from working correctly.
2020-10-21 08:28:06 +00:00
ryoon
1b3ccfc76e ghostscript-agpl: Update to 9.53.2
Changelog:
Version 9.53.2 (2020-09-25)

Highlights in this release include:

    The 9.53.2 release is primarily maintenance.

    Three issues arose with 9.53.0/1 that prompted the release of
    a .2 patch:

	A crash (or silent, erroneous exit) on 64 bit Windows and
	other LLP64 type environments.

	A parameter type mismatch that would cause Ghostcript to
	error out during initialisation, which affected 64 big,
	big endian architectures.

	An expected side effect of another change that prevented
	multithreaded rendering and background rendering from
	working correctly.

    Details of those can be found in the changelog.

    The most obvious change is the (re-)introduction of the patch
    level to the version number, this helps facilitate a revised
    policy on handling security related issues.

    To clarify: in the event we decide to release a patch revision,
    it will replace the release with the previous patch number.
    Release notes, highlights and warnings will remain the same,
    except for the addition of whatever fix(es) prompted the patch.

    Our efforts in code hygiene and maintainability continue.

    We have added the capability to build with the Tesseract OCR
    engine. In such a build, new devices are available
    (pdfocr8/pdfocr24/pdfocr32) which render the output file to an
    image, OCR that image, and output the image "wrapped" up as a
    PDF file, with the OCR generated text information included as
    "invisible" text (in PDF terms, text rendering mode 3).

    Due to some patches to the Tesseract sources that are required
    (integrated upstream, but awaiting release), time constraints,
    and the experimental nature of the feature, we only support
    including Tesseract from source, not linking to Tesseract shared
    libraries. Whether we add this capability will be largely
    dependant on community demand for the feature.

    See Enabling OCR for more details.

    We have added Python bindings for the gsapi interface, can be
    found in demos/python. These are experimental, and we welcome
    feedback from interested developers.

    For those integrating Ghostscript/GhostPDL via the gsapi
    interface, we have added new capabilities to that, specifically
    in terms of setting and interrogating device parameters. These,
    along with the existing interface calls, are documented in:
    Ghostscript Interpreter API

    IMPORTANT: In consultation with a representative of (OpenPrinting)
    it is our intention to deprecate and, in the not distant future,
    remove the OpenPrinting Vector/Raster Printer Drivers (that
    is, the opvp and oprp devices).

    If you rely on either of these devices, please get in touch
    with us, so we can discuss your use case, and revise our plans
    accordingly.

    IMPORTANT: We have forked LittleCMS2 into LittleCMS2mt (the
    "mt" indicating "multi-thread"). 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. If there is sufficient interest,
    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.
2020-09-29 14:29:42 +00:00
wiz
9542e5a397 ghostscript-agpl: update to 9.53.1.
The 9.53.1 release is primarily maintenance.
2020-09-20 08:28:24 +00:00
leot
6dae206b22 ghostscript-agpl: Update to 9.53.0
pkgsrc changes (for fonts/ghostscript-cidfonts-ryumin):
 - Add SUBST_NOOP_OK.ttf_path, at least for the default `cidfmap-adobe' that's a
   noop

Changes:
9.53.0
======
Highlights in this release include:

 - The 9.53.0 release is primarily maintenance.
 - The most obvious change is the (re-)introduction of the patch level to the
   version number, this helps facilitate a revised policy on handling security
   related issues.
 - Our efforts in code hygiene and maintainability continue.
 - We have added the capability to build with the Tesseract OCR engine. In
   such a build, new devices are available (pdfocr8/pdfocr24/pdfocr32) which
   render the output file to an image, OCR that image, and output the image
   "wrapped" up as a PDF file, with the OCR generated text information
   included as "invisible" text (in PDF terms, text rendering mode 3).
   Due to some patches to the Tesseract sources that are required (integrated
   upstream, but awaiting release), time constraints, and the experimental
   nature of the feature, we only support including Tesseract from source, not
   linking to Tesseract shared libraries. Whether we add this capability will
   be largely dependant on community demand for the feature.
 - We have added Python bindings for the gsapi interface, can be found in
   demos/python. These are experimental, and we welcome feedback from
   interested developers.
 - For those integrating Ghostscript/GhostPDL via the gsapi interface, we have
   added new capabilities to that, specifically in terms of setting and
   interrogating device parameters. These, along with the existing interface
   calls, are documented in: Ghostscript Interpreter API
 - IMPORTANT: In consultation with a representative of (OpenPrinting) it is
   our intention to deprecate and, in the not distant future, remove the
   OpenPrinting Vector/Raster Printer Drivers (that is, the opvp and oprp
   devices).
   If you rely on either of these devices, please get in touch with us, so we
   can discuss your use case, and revise our plans accordingly.
 - IMPORTANT: We have forked LittleCMS2 into LittleCMS2mt (the "mt" indicating
   "multi-thread"). 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. If there is sufficient interest,
   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.
2020-09-13 14:16:30 +00:00
wiz
00da7815c0 *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
leot
0e49372c4e *: revbump after fontconfig bl3 changes (libuuid removal) 2020-08-17 20:17:15 +00:00
jmcneill
24932c6cfb Enable cups option by default and pull in libcups instead of cups-base.
Bump pkg revision.
2020-07-29 10:44:32 +00:00
gdt
d95add164c cups-base: Comment out noop SUBST
(The previous comment said it was being left for future use.
Deferring to maintainer on actual removal.)
2020-05-23 12:16:49 +00:00
adam
d62c903eea revbump after updating security/nettle 2020-05-22 10:55:42 +00:00
adam
3359d52a64 ghostscript-agpl: get all LDFLAGS for FreeType2 2020-03-25 07:46:19 +00:00
adam
e17c79a947 ghostscript-agpl: updated to 9.52
Version 9.52:

Highlights in this release include:

The 9.52 release replaces the 9.51 release after a problem was reported with 9.51 which warranted the quick turnaround. Thus, like 9.51, 9.52 is primarily a maintenance release, consolidating the changes we introduced in 9.50.

We have continued our work on code hygiene for this release, with a focus on the static analysis tool Coverity (from Synopsys, Inc) and we have now adopted a policy of maintaining zero Coverity issues in the Ghostscript/GhostPDL source base.

IMPORTANT: In consultation with a representative of (OpenPrinting) it is our intention to deprecate and, in the not distant future, remove the OpenPrinting Vector/Raster Printer Drivers (that is, the opvp and oprp devices).

If you rely on either of these devices, please get in touch with us, so we can discuss your use case, and revise our plans accordingly.

IMPORTANT: We have forked LittleCMS2 into LittleCMS2mt (the "mt" indicating "multi-thread"). 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. If there is sufficient interest, 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.
2020-03-24 16:34:45 +00:00
wiz
4e3b1b97c2 librsvg: update bl3.mk to remove libcroco in rust case
recursive bump for the dependency change
2020-03-10 22:08:37 +00:00
wiz
f669fda471 *: recursive bump for libffi 2020-03-08 16:47:24 +00:00
markd
955eef54a2 ghostscript-agpl: fix dvipdf 2020-01-16 11:25:41 +00:00
mef
2475be90ad (print/ghostscript-agpl) Delete garbage from DESTDIR 2020-01-06 07:23:26 +00:00
sevan
555caafa8c Patch CVE-2019-14869 2020-01-03 23:56:09 +00:00
leot
94a91ad8d1 ghostscript-agpl: Really use graphics/lcms2
The bundled lcms2mt was still accidentally picked up making packages
linked against graphics/lcms2 aborting (e.g. ImageMagick) when handling
format that used ghostscript-agpl.

PKGREVISION++
2019-12-13 11:25:01 +00:00
leot
73c6ffc637 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.
2019-12-10 10:44:09 +00:00
wiz
84e123ddd2 Bump PKGREVISIONs for perl 5.30.0 2019-08-11 13:17:48 +00:00
wiz
1ac2210b6f *: recursive bump for gdk-pixbuf2-2.38.1 2019-07-21 22:23:57 +00:00
wiz
c30c5fbc0b *: recursive bump for nettle 3.5.1 2019-07-20 22:45:58 +00:00
taca
0daff2e7d8 print/ghostscript-agpl: fix PLIST
Fix PLIST when disable-compile-inits PKG_OPTIONS is enabled.
2019-05-06 14:53:44 +00:00
gavan
99de5a6dd9 ghostscript-agpl: cosmetic change 2019-04-26 15:28:17 +00:00
gavan
cd98092ea3 ghostscript-agpl: Require freetype2>=2.10.0
The latest version of ghostscript-agpl calls functions that were
introduced in freetype2 version 2.10.0, and the build fails when
building against an earlier version.
2019-04-26 15:19:18 +00:00
adam
9d05cb5a64 ghostscript-agpl: updated to 9.27
Version 9.27:
Highlights in this release include:

We have extensively cleaned up the Postscript name space: removing access to internal and/or undocumented Postscript operators, procedures and data. This has benefits for security and maintainability.

We have added a new "product": "gpdl". This is a rethink/redesign of the old "language_switch" product (pspcl6), and includes all the interpreters we develop based on the Ghostscript graphics library: Postscript, PDF, PCL6, PXL and XPS. This is experimental, and should be considered of beta testing quality, and thus is not built by default: it can be built by using the "experimental" target.

gpdl uses a heuristic to judge the file type being passed to it. In general, it supports most of the widely used command line options for each interpreter, but compatibility is not complete (the practicalities of swapping interpreters means it is unlikely that full parity of command line options will be possible).

Fontmap can now reference invidual fonts in a TrueType Collection for font subsitution. Previously, a Fontmap entry could only reference a TrueType collection and use the default (first) font. Now, the Fontmap syntax allows for specifying a specific index in a TTC. See the comments at the top of (the default) Fontmap.GS for details.

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.
2019-04-17 08:28:44 +00:00
gdt
7603ae9cd6 print/ghostscript-agpl: Add upstream bug URL about labeling
Upstream calls this "GPL Ghostscript" which is at best confusing.

(Thanks to rhialto@ for filing the upstream bug report.)
2019-03-24 00:36:27 +00:00
gdt
75fb5e1b59 Recursive bump for ghostscript default change 2019-03-18 16:17:46 +00:00
gdt
4db53c8752 print/ghostscript-agpl: Reduce diffs to -gpl
Reorder lines in a way that should have no functional effect, but
which makes Makefile closer to ../print/ghostscript-gpl/Makefile.
2019-03-17 18:27:01 +00:00
gdt
dbd2cf49fc print/ghostscript-agpl: Copy utf8 option from ../ghostscript-gpl (default off)
Copy the utf8 option from ghostscript-gpl, which is just bl3ing on
libiconv.  Leave it off for now (unlike -gpl).

Perhaps it should be default on, and perhaps it should be always
enabled and not even an option.
2019-03-17 18:02:26 +00:00
gdt
7fcd2a145d print/ghostscript-agpl: Remove commented-out cups from bl3
There was a vestigial conditional-on-cups-option commented-out
inclusion of the cups bl3.  But, programs that link against libgs do
not need the cups includes/libs, and cups is not a dependency of those
programs.
2019-03-17 17:34:02 +00:00
leot
a40cb8a806 ghostscript-agpl: Switch to use pkgsrc openjpeg instead of bundled one
Remove bundled openjpeg in WRKSRC, add a dependency to openjpeg and pass
`--enable-openjpeg' in order to always link to pkgsrc one instead of the
ghostscript bundled one.

Bump PKGREVISION.
2019-03-17 16:38:49 +00:00
gdt
50c6e6e0d3 print/ghostscript-agpl: pkglint cleanups
- Add \todo about a4 not being valid for PAPERSIZE
  - Add PAPERSIZE to BUILD_DEFS
  - Add \todo about jpeg2000 bl3 that is commented out without explanation
  - GC undefined and unused PLIST.cidfmap

No real change intended, other than BUILD_DEFS.  Ride recent
PKGREVISION++.
2019-03-17 16:03:56 +00:00
gdt
3520fb0dd7 print/ghostscript-agpl: Add default-off cups option
This is basically a port of the cups option code from
../ghostscript-gpl.  Since the last GPL3 gs release, some programs
have migrated to the cups-filters package.  Thus, they are no longer
installed by cups, and the option is much simpler.

I verified that the cups driver appears in "gs -h", but have not
tested it.

While the option defaults to off, I bumped PKGREVISION anyway.
2019-03-17 15:54:16 +00:00
markd
4cf38915d2 ghostscript-agpl: fix PLIST for disable-compile-inits option 2019-01-15 10:49:01 +00:00
leot
643d25ceea ghostscript-agpl: Update print/ghostscript-agpl to 9.26
Changes:
Version 9.26 (2018-11-20)

Highlights in this release include:

  - Security issues have been the primary focus of this release,
    including solving several (well publicised) real and potential
    exploits.
    PLEASE NOTE: We strongly urge users to upgrade to this latest
                 release to avoid these issues.
  - 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).
  - Thanks to Man Yue Mo of Semmle Security Research Team, Jens
    Mu:ller of Ruhr-Universita:t Bochum and Tavis Ormandy of Google's
    Project Zero for their help to identify specific security
    issues.
  - 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.
2018-11-22 01:12:43 +00:00
jperkin
c07fe445d5 ghostscript-agpl: Fix build on older SunOS. 2018-10-01 09:21:32 +00:00
adam
56955138bb ghostscript-agpl: updated to 9.25
Version 9.25:

Highlights in this release include:

This release fixes problems with argument handling, some unintended results of the security fixes to the SAFER file access restrictions (specifically accessing ICC profile files), and some additional security issues over the recent 9.24 release.

Note: The ps2epsi utility does not, and cannot call Ghostscript with the -dSAFER command line option. It should never be called with input from untrusted sources.

Security issues have been the primary focus of this release, including solving several (well publicised) real and potential exploits.

PLEASE NOTE: We strongly urge users to upgrade to this latest release to avoid these issues.

As well as Ghostscript itself, jbig2dec has had a significant amount of work improving its robustness in the face of out specification files.

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.
2018-09-21 12:06:46 +00:00
adam
f74afb76a9 ghostscript-agpl: updated to 9.24
Version 9.24:

Highlights in this release include:

Security issues have been the primary focus of this release, including solving several (well publicised) real and potential exploits.

PLEASE NOTE: We strongly urge users to upgrade to this latest release to avoid these issues.

As well as Ghostscript itself, jbig2dec has had a significant amount of work improving its robustness in the face of out specification files.

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.
2018-09-05 13:19:40 +00:00
wiz
93b46879c7 Recursive bump for perl5-5.28.0 2018-08-22 09:43:40 +00:00
jperkin
bbe450a809 ghostscript-agpl: Fix SunOS build with older compilers. 2018-04-04 13:04:18 +00:00
adam
6c407d95e6 ghostscript-agpl: updated to 9.23
Version 9.23:
Ghostscript now has a family of 'pdfimage' devices (pdfimage8, pdfimage24 and pdfimage32) which produce rendered output wrapped up as an image in a PDF. Additionally, there is a 'pclm' device which produces PCLm format output.

There is now a ColorAccuracy parameter allowing the user to decide between speed or accuracy in ICC color transforms.

JPEG Passthrough: devices which support it can now receive the 'raw' JPEG stream from the interpreter. The main use of this is the pdfwrite/ps2write family of devices that can now take JPEG streams from the input file(s) and write them unchanged to the output (thus avoiding additional quantization effects).

PDF transparency performance improvements

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).

We have continued the focus on code hygiene in this release cleaning up security issues, ignored return values, and compiler warnings.

The usual round of bug fixes, compatibility changes, and incremental improvements.
2018-03-21 17:41:01 +00:00
wiz
c57215a7b2 Recursive bumps for fontconfig and libzip dependency changes. 2018-03-12 11:15:24 +00:00
jperkin
0ef52c72eb ghostscript-agpl: Use correct linker flags on SunOS. 2018-01-25 10:38:57 +00:00
jperkin
e215bc6d05 ghostscript-agpl: Add _XOPEN_SOURCE workaround. 2018-01-25 10:31:24 +00:00
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