Commit graph

107 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
wiz
af3596f984 png shlib name changed for png>=1.5.0, so bump PKGREVISIONs. 2011-01-13 13:36:05 +00:00
dsainty
1f40f3a084 Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done
2010-12-23 11:44:24 +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
tron
0fa4dad62b Don't rename unwanted source directories, just remove them. This saves
disk space while building this package.
2010-04-09 22:04:22 +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
tnn
a68ac76caf Remove list of platforms needing -fPIC. Enable it always when using GCC.
Fixes DragonFly PR pkg/42644.
2010-01-20 08:50:16 +00:00
wiz
91871f449e Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +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
gdt
074d12caf8 Add:
# Plus adobe verbatim for Resources/CMap.
  LICENSE=	gnu-gpl-v3
2009-11-02 00:00:31 +00:00
gdt
deadf93138 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
640258cbd2 Fixing build error on AIX as reported in PR pkg/42063 2009-09-15 05:35:17 +00:00
drochner
c6848db903 make this build with jpeg-7 and the cups option again 2009-09-07 10:07:38 +00:00
wiz
b47689ab8e Is make-jobs-safe for me, so allow it again. 2009-09-02 15:59:06 +00:00
wiz
462eb16b3e Reorder some lines. 2009-09-02 15:57:08 +00:00
wiz
aac07fc2ae Add debug option. 2009-09-02 15:56:03 +00:00
wiz
bd6e6a15a0 Remove some obsolete/commented out stuff. 2009-09-02 15:55:08 +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
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
joerg
972f76cd21 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 21:16:21 +00:00
joerg
dde8c871c5 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