Commit graph

65 commits

Author SHA1 Message Date
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
joerg
71f9cb9f9e Don't use fdopen64 on AIX. 2007-08-03 20:02:30 +00:00
tnn
a31e3138a6 correct whitespace 2007-07-18 02:48:35 +00:00
tnn
b47b3bd043 Fix broken build on HPUX 2007-07-18 02:47:02 +00:00
joerg
edb98b4b86 Fix path to Perl in a script. Ride on update. 2007-07-17 20:58:09 +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
markd
f63ce7c23e Re-add support for the PAPERSIZE variable, lost when the various
ghostscript packages were merged.  Bump PKGREVISION.
2007-07-01 20:56:27 +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
wiz
e5b04d25c0 Very belatedly bump PKGREVISION for all jasper dependencies because
of the shlib name change (!) during the update to 1.900.0.

Noted by Robert Elz in PR 35431.
2007-01-17 23:47:18 +00:00
tv
9176eecb0b Define uint64_t to u_int64_t on Interix.
There actually is an autoconf test in ghostscript for a 64-bit int, used
for GX_COLOR_INDEX_TYPE, but the fallback for that is "ulong", not
necessarily 64 bits.  So to make gdevpdfe.c happy for now, force the issue.
2007-01-09 21:03:02 +00:00
joerg
771ebd90b2 Depend on the ghostscript fonts by default. Bump revision. 2006-12-28 12:50:55 +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
rillig
00b0974ddf Fixed PKGMANDIR. 2006-10-25 00:30:39 +00:00
obache
e896edb7fe Rename variable MAKEFILE to MAKE_FILE. 2006-09-09 02:41:53 +00:00
rillig
ced9b2fd21 Fixed pkglint warnings. 2006-06-14 10:30:34 +00:00
schwarz
72c8879d9d ghostscript also needs C++ to build 2006-04-23 14:39:33 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
dmcmahill
0c9c6b0b2e remove duplicated entry 2006-04-14 12:21:49 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +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
adrianp
2decd63246 Update for http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0967 2005-11-27 17:04:18 +00:00
jlam
95fd1f6ec9 Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated.  These
changes affect about 1000 files.

The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk.  bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files.  Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred.  This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.

The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages.  Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc.  This modification is a nod toward LOCALBASE=/usr.  The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.

The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc.  The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.

The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files.  Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories.  These files are used as input
to imake since imake can't use stdin for that purpose.

The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead.  This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed.  Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries.  Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
2005-06-01 18:02:37 +00:00
dillo
571372cc5c Bump PKGREVISION due to changed dependency pattern (allowing newer versions
of ghostscript-fonts).
2005-05-30 14:57:28 +00:00
jmmv
6d9ccf016f Specify the category when including other files and when depending on other
packages.  From PR pkg/21864 by ccatrian at eml.cc.
2003-09-18 16:25:08 +00:00
itohy
2f547a18ef MAKEFRAGS+= ... after Makefile.common to add devs.x11 correctly. 2003-02-23 00:57:52 +00:00