Commit graph

37 commits

Author SHA1 Message Date
wiz
abf1b5a76a Fix build with png-1.5. Patch from John Bowler in private mail. 2011-01-15 14:08:10 +00:00
tron
6d6217d782 Add Dr. Werner Fink's patch for the vulnerability reported in CVE-2010-2055. 2010-11-23 11:10:15 +00:00
bouyer
d87f440da0 Apply patch from official repository:
- 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++
2010-11-13 17:03:00 +00:00
tron
53290fe4f9 Add a fix for the security vulnerability reported in CVE-2010-1628
taken from the Ghostscript Bugzilla.
2010-06-30 12:44:55 +00:00
wiz
e8d8834f6a Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.
2010-06-13 22:43:46 +00:00
drochner
71982d008e Do some initialization of global stuff earlier, in particular before
"@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
2010-04-09 19:39:06 +00:00
drochner
ca9b9e320a add patch from upstream (rev. 10778) to fix problems with PDF display,
from Dennis den Brok per PR pkg/42946
2010-03-11 12:53:52 +00:00
tnn
3f61c0ecf5 void function cannot return value 2010-03-04 11:16:27 +00:00
drochner
32cd304bbd update to 8.71
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.
2010-02-23 20:31:26 +00:00
drochner
cddcc3a1b9 replace some sprintf by snprintf, fixes CVE-2009-4270 hopefully
bump PKGREVISION
2009-12-23 13:27:58 +00:00
wiz
dd66d576c5 Add upstream bug report URL and RCS ID. 2009-11-03 00:05:59 +00:00
sno
640258cbd2 Fixing build error on AIX as reported in PR pkg/42063 2009-09-15 05:35:17 +00:00
wiz
8d724acc33 Update to 8.70:
The license is now GPLv3 or later. A large number of issues with
transparency were fixed. Several significant fixes to font handling,
especially when generating PDF, were made. Numerous robustness,
correctness, and performance improvements were made. Security fixes
addressing CVE-2009-0583 and CVE-2009-0792 were made. New generic
Esc/Page devices, eplmono and eplcolor, were added, as well as the
cdnj500 device to support the HP DesignJet 500. The size of PostScript
integers was limited to 32 bits, as recommended in the specification.

XXX: does not fix build with cups option and jpeg7.
2009-08-31 20:12:20 +00:00
drochner
91dc3e6793 add a patch (from Redhat bugzilla #491853) to fix more integer
overflows in the icc code (CVE-2009-0792),
bump PKGREVISION
2009-04-17 15:05:31 +00:00
tron
cb13421cf9 Add patch for the security vulnerability reported in CVE-2009-0196
taken from Redhat's Bugzilla.
2009-04-14 19:32:54 +00:00
drochner
f987548bae add a patch from gentoo to fix range checks in icc profile handling
which could lead to DOS or possibly code injection (CVE-2009-0583,
CVE-2009-0584), bump PKGREVISION
2009-03-25 10:42:13 +00:00
drochner
172c89eacb replace BSD/Linux specific "qd" printf format specifier by "lld",
should fix build problem on Solaris reported by Joern Clausen
per PR pkg/40664
2009-02-16 16:31:30 +00:00
drochner
befd52f31e fix a build problem with native xorg reported by Matthias Scheler,
being here, quell a printf format compiler warning
2009-02-13 15:31:35 +00:00
drochner
bc1a4f1675 update to 8.64
Approximately 100 bugs have been fixed since the 8.63 release.
Of particular note in this release are improvements to overprint and
spot color support in documents with transparency, improvements to PDF
and PS output, proper handling of PDF-specific text rendering modes and
support for reading AES-encrypted PDF documents.
Also improved is handling of CJK text, especially in vertical writing
modes, memory footprint processing some files at high resolution and
support for using the system's default paper size on unix.
The interpreter's handling of color spaces has been moved from
PostScript code to C.
A number of the included printer drivers and cups wrappers have been
updated to support a PDF-based workflow. Also fixed are several
long-standing bugs in the pcl drivers with respect to duplex, resolution
and paper tray selection.
2009-02-12 19:51:08 +00:00
chuck
db3f41ba13 ghostscript has hand-rolled shared lib handling in src/unix-dll.mak
that does not do the right thing on Darwin (where shared libs are
created with different linking flags and use dylib rather than so
as an extension).

you need to manually reconfigure unix-dll.mak to make it work, so
do it in hacks.mk.

XXX: this still leaves the issue of libgs.so (et al.) being hardwired
in PLIST, instead of using libgs.dylib (et al.).   i'm not sure of
the best way to fix that.   at least it compiles now....
2008-11-13 17:36:54 +00:00
markd
377be88032 Build libgs as a shared library as increasingly other packages expect it
to be there and want to link with it. Bump PKGREVISION.
2008-09-03 21:31:12 +00:00
drochner
0d2a0cc1ce update to 8.63
changes:
-bugfixes
-multithreaded rendering
-Images are now always interpolated in their source colorspace
-Support for OpenPrinting Vector devices has been upgraded to version 1.0
-two new devices: cairo, svgwrite
-maximum number of color components has been reduced to 8 (from 252)
-The -Z: debugging option now uses 'realtime' instead of 'usertime'
2008-08-07 18:21:40 +00:00
drochner
6ab2baf204 fix a botched pointer comparision which fails if the pointer difference
overflows the signed integer range, this fixes font problems in PDF
creation for me,
bump PKGREVISION
2008-03-05 19:12:16 +00:00
drochner
a063d525e4 update to 8.62, fixes a buffer overflow (CVE-2008-0411)
(it appearently doesn't fix the font embedding problems in PDF
generation reported recently)
2008-03-05 11:01:12 +00:00
drochner
0c9d1cec28 update to 8.61
changes: a number of bug fixes and improvements
Note: The default device in the gcc build is now the 'x11alpha' device
which provides antialiasing for display. To recover the old
default behaviour add '-sDEVICE=x11' to the command line.
2008-01-09 19:01:07 +00:00
tnn
8e6b4f1ed3 Don't attempt to use fdopen64 at all. It's not a standardised API and none
of the platforms we care about seem to have it. Fixes PR pkg/36757.
2007-08-09 18:52:38 +00:00
joerg
b9eee2dcca Update to ghostscript-8.60:
The major milestone of this release is a merge from the ESP Ghostscript
fork, used to support the CUPS printing system. This means that free
operating systems can now ship a single copy of upstream Ghostscript with
their releases. Thanks to Till Kamppeter and Mike Sweet for making this
possible.

This release also includes numerous important bug fixes over the previous
stable versions, as well as improvements to performance, memory footprint,
shading and image handling. We recommend this upgrade to all free users.

While here, add DESTDIR support.
2007-08-08 17:32:06 +00:00
joerg
71f9cb9f9e Don't use fdopen64 on AIX. 2007-08-03 20:02:30 +00:00
tnn
b47b3bd043 Fix broken build on HPUX 2007-07-18 02:47:02 +00:00
drochner
33fb4292af update to 8.57
In addition to the usual bug fixes, there are specific performance and
quality improvements in the areas of patterns, shading and image
filtering. Also new in this release is an implementation of the Well
Tempered Screening algorithm in an output device, using Graeme
Gill's IMDI library for efficient color mapping.

pkgsrc change: use the bundled jasper as the pkgsrc one is incompatible
2007-07-17 18:53:54 +00:00
dmcmahill
341ee4a16a avoid segfaults on 64-bit systems for some inputs files and pdf output 2007-06-29 19:24:45 +00:00
joerg
83a9a8fac2 Update to gpl ghostscript-8.54 aka print/ghostscript-afpl relaunched
under GPL with options.mk. This was discussed on tech-pkg@.
2006-12-27 18:18:22 +00:00
dmcmahill
0c9c6b0b2e remove duplicated entry 2006-04-14 12:21:49 +00:00
wiz
3f16007cad Add x11 option to the various ghostscript packages, and get rid
of the separate ghostscript*x11* packages.
2005-12-09 20:30:16 +00:00
jlam
d73df3aaee Use a common distinfo file between ghostscript and ghostscript-nox11. 2001-05-02 21:47:04 +00:00
agc
1c989c3883 Move to sha1 digests, where appropriate and possible, and add distfile
sizes.
2001-04-20 12:41:48 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00