Commit graph

90 commits

Author SHA1 Message Date
gdt
be877c096f Add:
# Plus adobe verbatim for Resources/CMap.
  LICENSE=	gnu-gpl-v3
2009-11-02 00:00:31 +00:00
gdt
153190cf48 When the cups option is enabled, bl3 in jpeg, so that a dependency
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.
2009-11-01 23:57:29 +00:00
sno
5882db74be Fixing build error on AIX as reported in PR pkg/42063 2009-09-15 05:35:17 +00:00
drochner
8f7cd2c6ee make this build with jpeg-7 and the cups option again 2009-09-07 10:07:38 +00:00
wiz
d05361c766 Is make-jobs-safe for me, so allow it again. 2009-09-02 15:59:06 +00:00
wiz
1f0beb88ff Reorder some lines. 2009-09-02 15:57:08 +00:00
wiz
719d4a96eb Add debug option. 2009-09-02 15:56:03 +00:00
wiz
2837880274 Remove some obsolete/commented out stuff. 2009-09-02 15:55:08 +00:00
wiz
fd18fdb327 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
sno
949cd3bc1f bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
joerg
57ad7373fb Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 21:16:21 +00:00
joerg
9a51425e6b Remove @dirrm entries from PLISTs 2009-06-14 18:11:52 +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
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
drochner
716cd36931 add a comment that the DOS-linefeed issue is fixed upstream,
as suggested by Joern Clausen
2009-02-18 17:52:58 +00:00
drochner
7f9f050365 clean out DOS linebreaks in one file, to fix a build problem with
Sun Studio Compiler reported by Joern Clausen per PR pkg/40666
2009-02-17 16:15:29 +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
7e5ef50c23 fix Darwin build, from Ian McWilliam on pkgsrc-users 2009-02-16 12:23:14 +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
wiz
59d0b7b23d Also add -fPIC to CFLAGS for Solaris. PR 39775. 2008-12-11 09:18:20 +00:00
rillig
59b821870f Added -fPIC for Linux, since it was reported to be necessary on x86_64
platforms via pkgsrc-users.
2008-12-01 07:49:22 +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
tron
2034ad1acf Compile with "-fPIC" under NetBSD to fix amd64 build problems. 2008-09-05 15:50:03 +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
tnn
2778c83e8b unlimit the data segment (gsromfs1.c needs > 128MB on gcc/alpha) 2008-05-25 10:26:41 +00:00
tnn
b6c9ff8b98 Fix build on IRIX by ensuring -lfontconfig links with -liconv. 2008-05-17 20:57:29 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
wiz
ad955497c2 Try removing share/ghostscript directory during uninstall.
Bump PKGREVISION.
2008-03-10 12:34:10 +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
gdt
ff7f7b0ccc Conditionally add cups files to PLIST. From Matthias Drochner.
Partially addresses PR pkg/37888.
2008-01-29 16:04:13 +00:00
gdt
8969f3bf06 Update the way the cups makefile is modified to place the prototype
psraster.convs in share/examples/cups (to avoid writing PKG_SYSCONFDIR
outside of CONF_FILES).
2008-01-24 15:17:30 +00:00
drochner
6371e2593f -make fontconfig an option, on per default (as is x11)
-add pkg-config to TOOLS (used to locate fontconfig)
2008-01-10 15:23:27 +00:00
tron
b333496292 Add dependence on "fontconfig" package. "ghostscript" actively checks
whether "fontconfig" is installed and fails to build afterwards (at least
under NetBSD-i386 4.0). Bump package revision because of this change.
2008-01-10 09:09:02 +00:00
tron
8d7eeea0ec Remove stale patch file. 2008-01-10 09:00:43 +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
rillig
105dd4b97c Some packages need lex and yacc. Patch by Aleksey Cheusov via
pkgsrc-users.
2007-11-17 12:04:11 +00:00
rillig
fdb84e2d3c Added MAKE_JOBS_SAFE as suggested in PR 37250. 2007-11-03 22:39:40 +00:00
gdt
1499a33e79 Fix >80 column line, and stray word. Pointed out by dsainty@ 2007-10-23 12:22:48 +00:00
gdt
1be6c7cfd7 Point out that ghostscript-esp is old and that ghostscript has cups
support if built with the cups option.
2007-10-22 16:31:16 +00:00
dsainty
197c0e2a3c Quell a pkglint -Wall warning, use CONF_FILES+= instead of = 2007-10-22 12:35:32 +00:00
dsainty
c03c2e7f20 Pull over the "cups" option, based largely on the implementation of the "cups"
option in ghostscript-esp, although there it was on by default.

Here it is off by default, which is more in keeping with how the "cups" option
is generally used - it is usually off by default, and a CUPS user would
usually add "cups" to the global options.
2007-10-22 12:15:03 +00:00
dsainty
a4438232ab This version of Ghostscript has some form of support for CUPS, but it
doesn't currently pull in CUPS itself.  Generally that means the
package builds without CUPS support.  However, if you are
using Pkgsrc on a system with CUPS installed via some other means (E.g.
Linux with another packaging system, or even a second Pkgsrc root probably)
then things can go wrong.

I solve this case here by explicitly disabling CUPS support.  For
normal cases this should mean "No change", but in exotic cases it fixes
the build and install.

Of course, there may be value in using the CUPS support, but it isn't clear
whether the right way to do that is to add a "cups" package option or to
have a second ghostscript-cups package that CUPS depends on - it kind of
looks like the latter is closer to correct at first glance.
2007-10-11 11:45:06 +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
7402929fe1 *blink* check-files didn't run for some reason, so update the PLIST
and bump revision.
2007-08-08 20:09:05 +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