Commit graph

118 commits

Author SHA1 Message Date
wiz
1041bfcdd3 Fix REPLACE_PERL: remove non-existent file, add other existing ones. 2012-10-08 11:06:33 +00:00
mef
77c0c02cef To-be-deleted file existed, sorry, cvs delete them 2012-10-08 05:40:11 +00:00
wiz
cfd557dc10 Add Makefile.common. 2012-10-07 22:25:39 +00:00
mef
f10e57ba67 (1) Bump version 8.71 to 9.05 (importing from wip/ghostscript).
For the Changes: See
    share/ghostscript/9.05/doc/History9.htm
  Or
    work/ghostscript-9.05/doc/History9.htm
  Upstream releases and their date are:
        Version 9.05 (2012-02-08)
        Version 9.04 (2011-08-05)
        Version 9.02 (2011-03-30)
        Version 9.01 (2011-02-07)
        Version 9.00 (2010-09-14)

(2) Resolve pkg PR/44400.
options.mk:
  - Have new option disable-compile-inits
Makefile
  - rename cidfmap to cidfmap-dist (post-extract:)

(3) Have new file Makefile.common to share with
    fonts/ghostscript-cidfonts
    fonts/ghostscript-cidfonts-ryumin
  to set ${GS_VERSION}, and then ${GS_RESOURCEDIR}.

(4) options.mk
 - Add new options,
   disable-compile-inits
 - Add following line for non X11 installation
   CONFIGURE_ARGS+=       --disable-freetype
 - Name change
   pstorater.convs -> gstoraster.convs

(5) PLIST
  So many changes, but just a note:
  -share/ghostscript/${PKGVERSION}/doc/README
   share/ghostscript/${PKGVERSION}/doc/Readme.htm

(6)
patches directory:
Removed, for upstream included.
------
patch-aa   9.00	base/gsnogc.c
patch-ab   9.05	base/unixinst.mak
patch-ac   9.00	ase/gdevpx.c
patch-ad   9.04	lib/pv.sh
patch-ae   9.00	psi/zfile.c
patch-ag   9.00	cups/cups.mak

patch-ak   9.04	->  a part left in patch-base_gdevpng.c
patch-am   9.00	lib/pdf2dsc.ps

patch-ba   9.00	psi/idosave.h
patch-bb   9.00	psi/isave.c	(CVS-2010-1628)
patch-bc   9.00	psi/ialloc.c	(CVS-2010-1628)

patch-bd   9.00 (1) bug #691029 and #691108
           9.00 (2) arrayoption() macro
	   9.00 (3) silence compiler warning

Modified, or unchanged
------
patch-af  (Add comments from former commit log, and adjust)
patch-ah  (Add comments from former commit log, and adjust)
patch-ai  (Add comments from former commit log, and adjust)
patch-aj  (unchanged)
patch-al  (unchanged)
patch-an  (Add comments from former commit log, and adjust)

Added
--------
patch-base_gdevpng.c	(a part of previous patch-ak)
patch-base_gserrors_h	(silence compile warning)
patch-configure.ac	(For just a record, see patch-ah (configure))
patch-freetype_include_freetype_internal_t1types_h (To avoid redifintion of T1_EncodingType_ )
patch-openjpeg_libopenjpeg_opj_malloc_h (To avoid undefined ref. to memalign)

OK'ed by wiz@, thanks a lot.
2012-10-07 14:19:18 +00:00
wiz
8b5d49eb78 Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.
2012-10-03 21:53:53 +00:00
drochner
7d948ea172 add patch from RedHat to fix integer overflow which can lead to
crashes or possible code injection (CVE-2012-4405)
bump PKGREV
2012-09-12 11:27:04 +00:00
dholland
7e751949e4 Set BUILDLINK_ABI_DEPENDS correctly (with +=, not ?=)
It turns out there were a lot of these.
2012-05-07 01:53:12 +00:00
wiz
5a1e8b0499 Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.
2012-02-06 12:40:37 +00:00
sbd
e93e5d65e3 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:11:52 +00:00
sbd
04daa2f1b8 Recursive bump for graphics/freetype2 buildlink addition. 2011-11-01 06:00:33 +00:00
joerg
a5f265b892 Clang build needs -fPIC too. 2011-07-21 17:06:18 +00:00
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