Commit graph

100 commits

Author SHA1 Message Date
Hiroki Sato
967baa629b - Fix iconv dependency [*]
- Add STAGEDIR support.
- Remove FT_BRIDGE option.
- Fix old syntax in LIB_DEPENDS.

Submitted by:	tijl [*]
PR:		ports/186705 [*]
2014-03-06 07:07:55 +00:00
Hiroki Sato
f363c842b1 Set ${MASTERDIR} to ${.CURDIR} and use it for .include "files/foo".
Changes in r323629 broke ghostscript*-nox11.

Pointed out by:	bapt
2013-07-25 09:25:16 +00:00
Hiroki Sato
f9fc86725d Fix hidden dependency due to USE_FOO=yes after including bsd.port.pre.mk. 2013-07-25 09:03:33 +00:00
Hiroki Sato
a31b2fc9e9 Fix installation of bin/ert. It should be installed when GS_epag is defined,
not GS_dmprt.

Spotted by:	Andrzej Tobola
2013-05-03 09:15:24 +00:00
Hiroki Sato
8d99ef281e - Use OPTIONS_MULTI and OPTIONS_GROUP.
- Add dependency on libpaper unconditionally to 8.x and 9.x.
- Fix CONFLICTS_INSTALL.
- Remove ABI version numbers from LIB_DEPENDS.
2013-05-02 21:14:26 +00:00
Baptiste Daroussin
56c5e147c5 Convert the last USE_ICONV to USES=iconv 2013-04-27 22:09:15 +00:00
Hiroki Sato
9b01d9a284 Fix typos which can prevent parallel build from working.
Reported by:	miwi
Feature safe:	yes
2013-04-17 19:33:00 +00:00
Hiroki Sato
12b5de378c Revert r303635 to fix an wrong OPTIONS handling and resolve svgalib dependency
in the case of !amd64 && !i386 in another way.

Pointed out by:	crees
Pointy hat to:	hrs
2012-09-04 19:05:49 +00:00
Doug Barton
44fa804810 s/X11BASE/LOCALBASE/, or equivalent.
The X11BASE variable is long gone, however these ports were not updated.
2012-06-24 21:53:38 +00:00
Hiroki Sato
8d4602aa3a - Add LICENSE.
- Make MAKE_JOBS_SAFE=yes.
- Replace OPTIONS with OPTIONSng.  Bump PORTREVISION because a package created
  with Makefile.drivers r1.8 had some inconsistent default values.
2012-06-12 17:50:48 +00:00
Dirk Meyer
2b74a89bc8 - update png to 1.5.10 2012-06-01 05:26:28 +00:00
Hiroki Sato
57f5bb7caf - Update MASTER_SITES.
- Add a patch to suppress a warning message.
- Style fixes.
2012-02-12 18:46:35 +00:00
Hiroki Sato
0d1e6500f0 Use gdkpixbuf2 instead of gdkpixbuf when WITH_GTK is defined.
Spotted by:	bf
PR:		ports/158995
2011-07-20 01:09:14 +00:00
Hiroki Sato
15c088992b Update CONFLICTS lines.
PR:	ports/158028
2011-06-20 18:57:14 +00:00
Hiroki Sato
d4512748c6 - Fix a problem when opening a PDF file.
- Fix a build issue when TARGET_ARCH is defined.

PR:	ports/156654
PR:	ports/156607
2011-05-23 20:43:10 +00:00
Dirk Meyer
33eab0c1ef - fix build with output device X11
PR:		152610
Approved by:	(maintainer timeout)
2010-12-15 18:49:17 +00:00
Hiroki Sato
2a0c0e7837 Disable the GTK frontend by default.
Discussed with:	ache
2010-08-21 15:26:11 +00:00
Hiroki Sato
cf15b47e2e Use graphics/jbig2dec for libjbig2dec instead of the bundled one.
Submitted by:	mi
2010-08-03 15:39:45 +00:00
Hiroki Sato
44bc3e2322 - Fix compile errors when vgalib and lvga256 drivers are enabled.
- Use external libraries instead of bundled old ones[1].
- Fix WITHOUT_FOO handling[2].

Submitted by:	mi[1], dinoex[2]
PR:	ports/126513
PR:	ports/148960
2010-08-02 06:15:08 +00:00
Hiroki Sato
815b2aad6c Disable the cups driver when either WITHOUT_CUPS=true or
WITHOUT_GS_cups=true.

Spotted by:	Scott Allendorf
2010-05-25 21:30:43 +00:00
Hiroki Sato
5374952b09 - Make the driver selection stricter and redefine DEVICE_DEVSn in the
ghostscript build framework to eliminate differences between
  selected drivers by OPTIONS and actually-compiled ones.

- Eliminate duplicated devices displayed in "gs -h".
2010-05-24 20:08:46 +00:00
Hiroki Sato
6fc45b898a Fix "-sDEVICE=ijs -sIjsServer=hpijs" issue.
PR:	ports/128787
2010-04-10 17:21:32 +00:00
Hiroki Sato
abdac063e7 * Update to 8.71.[1] Changes include:
- Support for tiff file output is now provided using the libtiff
   implementation rather than our more limited native code as in
   previous releases. There is also a new 'tiffsep1' output
   device which produces halftoned separations at 1
   bit-per-pixel, in contrast to the 'tiffsep' device which
   produces 8 bit-per-pixel plates.

 - The graphics library has been updated to provide more accurate
   scan conversion of vector art including fixes to dash
   behavior, transparent stroked paths, thick stroked paths,
   radial shadings, xps cap handling, "pie" joins, degenerate
   beziers, improved handling of dropouts in thin strokes and
   better thin axis-aligned strokes.

* Fix cairo support.  GS_cairo is added to the drivers list (this
  is disabled by default).  When WITH_CAIRO is defined, GS_cairo
  will be set by default.[2]

PR:	ports/144111[1]
PR:	ports/137634[2]
PR:	ports/145248[2]
2010-04-03 07:02:54 +00:00
Hiroki Sato
7942cfde78 Update to 8.70. Changes include:
- This release fixes a large number of issues with transparency,
  especially as it interacts with color space conversion, mask
  contexts and patterns. There have also been a number of
  significant fixes to font handling, especially when generating
  PDF. And there are numerous robustness, correctness and
  performance improvements.

- New generic Esc/Page devices, eplmono and eplcolor were added
  to the contrib directory. A new cdnj500 device was added to
  support the HP DesignJet 500.

- The licensing of the Free version of the core Ghostscript code
  has been changed to GPLv3 or later. Previously, the core code
  was GPLv2 only. Ghostscript can now be used with GPLv3
  applications, and can no longer be used with applications that
  are GPLv2-only.

- This release also includes security fixes addressing
  CVE-2009-0583 and CVE-2009-0792.

[Incompatible changes]

- The size of PostScript integers has been limited to 32
  bits. Previously they used the C long type resulting in 64 bits
  of precision on LP64 systems (like on x86_64). As of this
  release all platforms match the recommended implementation
  limits in the specification.
2009-12-19 18:16:40 +00:00
Hiroki Sato
0388174d9e Fix A3 paper handling in the LIPS (Canon LBP series) driver. 2009-10-27 06:32:08 +00:00
Hiroki Sato
d83170403e japanese/font-std, chinese/font-std, and dependency fixups due
to it have been added.  These are to install standard fonts used in the
Ports Collection.  Currently they contain:

 std.ja_JP/Mincho
 std.ja_JP/Gothic
 std.ja_JP/Ryumin-Light
 std.ja_JP/GothicBBB-Medium
 std.zh_CN/STHeiti-Regular
 std.zh_CN/STSong-Light
 std.zh_CN/MSung-Light
 std.zh_CN/MHei-Medium

under ${PREFIX}/share/fonts/.  They are just symlinks to
corresponding font files.  The symlink names are based on popular
PostScript font names.

Applications should refer the font files via XLFD or fontconfig
first.  If they need a direct reference to the font file, please use
files in std.*/*.  This is because direct reference to a specific
font name in an application configuration file makes the maintenance
difficult when the font file name is changed, for example.
2009-05-31 09:19:10 +00:00
Hiroki Sato
6fefb478d6 Fix multiple integer overflows and lack of boundary check found
and marked as CVE-2009-583 and CVE-2009-584:

CVE-2009-583:

  Multiple integer overflows in icc.c in the International Color
  Consortium (ICC) Format library (aka icclib), as used in
  Ghostscript 8.64 and earlier and Argyll Color Management
  System (CMS) 1.0.3 and earlier, allow context-dependent
  attackers to cause a denial of service (heap-based buffer
  overflow and application crash) or possibly execute arbitrary
  code by using a device file for a translation request that
  operates on a crafted image file and targets a certain "native
  color space," related to an ICC profile in a (1) PostScript
  or (2) PDF file with embedded images.

CVE-2009-584:

  icc.c in the International Color Consortium (ICC) Format
  library (aka icclib), as used in Ghostscript 8.64 and earlier
  and Argyll Color Management System (CMS) 1.0.3 and earlier,
  allows context-dependent attackers to cause a denial of
  service (application crash) or possibly execute arbitrary code
  by using a device file for processing a crafted image file
  associated with large integer values for certain sizes, related
  to an ICC profile in a (1) PostScript or (2) PDF file with
  embedded images.

Security:	CVE-2009-583
Security:	CVE-2009-584
Approved by:	portmgr (pav)
2009-04-20 08:08:50 +00:00
Hiroki Sato
b5a670a4ad Update to 8.64. Changes include:
- 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.

- Improved handling of CJK text, especially in vertical writing modes.

- Improved memory footprint processing some files at high resolution.

- The 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-03-28 20:05:52 +00:00
Hiroki Sato
1e51e1aaf7 Update to 8.63. Changes include (quoted from doc/News.htm):
|Approximately 238 bugs have been fixed since version 8.62. Of particular note
|are robustness and performance improvements with large files, invalid PDF, and
|font handling.
|
|The major new feature of this release is multithreaded rendering. This can be
|requested by passing -dNumRenderingThreads=n on the command line. The input
|document is first parsed, and then each page is split into n bands which are
|rendered concurrently. This can provide a significant reduction in processing
|time on multi-core systems.
|
|Images are now always interpolated in their source colorspace. This improves
|correctness for XPS documents and avoids bypassing the custom color management
|callbacks for interpolated images. Interpolation and color management are both
|expensive operations, so this affects performance with large images. The effect
|can be positive or negative depending on the file and the target resolution. If
|performance is a problem, we suggest running with -dNOINTERPOLATION.
|
|Support for OpenPrinting Vector devices has been upgraded to version 1.0.
|
|There are two new devices in this release, both experimental. Behdad Esfahbod
|has contributed a cairo output device which uses the cairo graphics library to
|generate PDF, SVG, EPS, or PNG files, based on the requested filename
|extension. The svgwrite device directly outputs Scalable Vector Graphics, the
|W3C XML vector graphics format. Both support only vector art at this point;
|text and images will not be represented efficiently.
|
|Incompatible changes
|
|The maximum number of color components has been reduced to 8 (from 252) as a
|performance improvement. Eight is the largest number commonly used and the
|largest number for which we support continuous tone images. Users with special
|needs can restore the previous behavior by setting the
|GS_CLIENT_COLOR_MAX_COMPONENTS preprocessor symbol to the required number of
|components at compile time.
|
|The -Z: debugging option now uses 'realtime' instead of 'usertime' when
|reporting timing information on unix-like systems. This has always been the
|case on windows-like systems.
|
|Obsolete makefiles for the DesqView environment have been removed.
2008-11-02 15:42:29 +00:00
Hiroki Sato
18d2230e8a Remove a workaround for PostScript files generated by old
acroread.  GS reports an error when it reads some broken (but
should be processed) PS files.

Reported by:	Chuck Robey
2008-07-11 15:34:47 +00:00
Hiroki Sato
ed69b7307f - Fix build problem on !i386 platforms[1].
- Use --with-{ijs,jasper} instead of running each configure script.
- Make descriptions of OPTIONS shorter than 70 chars wide.
- Add "display" (GS_display) device[2].

Reported by:	pointyhat[1],
Requested by:	Sascha Blank (blank dot sascha at googlemail dot com)[2]
2008-05-08 18:54:23 +00:00
Hiroki Sato
da30dbe3f8 - Update to 8.62.
- Use OPTION for driver selection.
- Revert bogus Japanese font support patch.  This version already
  supports Japanese TTF/OTF.
- Add more Asian fonts in cidfmap.
- Clean up Makfile.
2008-05-05 13:16:26 +00:00
Martin Wilke
3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00
Martin Wilke
7a3b7d5a62 - Fix previos commit. 2008-03-07 15:37:19 +00:00
Martin Wilke
290769cef2 - Fix build on AMD64 when WITH_FT_BRIDGE=yes is enabled
PR:		121462
Submitted by:	Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
2008-03-07 14:02:20 +00:00
Rong-En Fan
71c1212ed1 - Fix security issue
PR:		ports/121283
Security:	CVE-2008-0411
Submitted by:	bf <bf2006a at yahoo.com>
2008-03-02 12:43:31 +00:00
Rong-En Fan
a68e623d31 - Add full support for Japanese fonts and ijs driver
- Fix FT_BRIDGE issue
- Use OPTIONS (not for driver selection)

PR:		ports/119566
Submitted by:	Koji Yokota <yokota at res.otaru-uc.ac.jp>
2008-03-01 11:07:52 +00:00
Rong-En Fan
dff249b3e2 - Update to 8.61
PR:		ports/118608
Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>
2008-02-29 05:55:11 +00:00
Rong-En Fan
45252003a9 - Disable GS_DEVS_SHARED to fix svga drivers build
PR:		ports/115593
Reported by:	Barbara <barbara.xxx1975 at libero.it>
Patched by:	KATO Tsuguru <tkato432 at yahoo.com>
2007-08-17 16:33:09 +00:00
Rong-En Fan
e5540f4b4b - Add missing patch in 8.60 update
PR:		ports/115395
Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>
2007-08-16 15:21:14 +00:00
Rong-En Fan
d23166a69c - Update to 8.60. The contributed drivers made by gs-esp are now merged in,
but still missing improved CJKV font handling functions.

PR:		ports/115395
Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>
2007-08-16 15:20:30 +00:00
Hiroki Sato
4b8c103d72 Fix build when lvga256 or vgalib is enabled.
Spotted by:	itetcu
2007-06-03 16:39:47 +00:00
Hiroki Sato
63ef77c898 Update to 8.57.
Submitted by:	KATO Tsuguru
PR:		ports/113009
2007-06-03 05:02:53 +00:00
Hiroki Sato
f5904870de Use japanese/ipa-ttfonts as the default Japanese TrueType
font if any (i.e. no dependency added).  Bump PORTREVISION.
2007-04-24 12:52:52 +00:00
Michael Nottebrock
1688d058de Add hl1250 driver, which adds support for the Brother HL-1250 and
compatible printers (for a comprehensive list see
http://www.linuxprinting.org/show_printer.cgi?recnum=Brother-HL-1250).
2007-03-28 16:22:09 +00:00
Rong-En Fan
20352fa298 - Update to 8.56
- Switch to GTK 2.x
- SWitch to ship-in jasper which contains some fixes for gs

PR:		ports/110818
Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>
2007-03-27 19:59:21 +00:00
Rong-En Fan
cd334c76ca - Fix build on gcc 4. These two changes are stole from print/ghostscript-afpl.
Original patches are submitted by Ron MacNeil in ports/94461.
2007-01-22 23:58:13 +00:00
Simon Barner
807d62154b - Fix build on 4-stable when PCL3 driver is enabled [1]
- Update MASTER_SITES for MD2K driver
- Add DMPRT driver
- Add patches necessary for building cups-pstoraster
- Add KRGB support patch for IJS driver

Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
Tested by:	Jose M Rodriguez <josemi@freebsd.jazztel.es>
Pointy hat to:	barner [1]
Reported by:	kris via pointyhat [1]
2005-06-10 17:10:07 +00:00
Simon Barner
2cd425840e - Add the PCL3 driver.
- The Ghostscript 8.15 compatibilty patch (patch-pcl3_eprn_eprnrend.c)
  is by Till Kamppeter (till.kamppeter at gmx.net) and has originally
  been posted on [3]

Submitted by:	"Pedro F. Giffuni" <giffunip@asme.org> [1],
		Jose M Rodriguez <josemi@freebsd.jazztel.es> [2]
PR:		ports/77185 [1], ports/76731 (partly) [2]
Obtained from:	http://www.linuxprinting.org/download/printing/ghostscript-8.x/patches/ghostscript-8.15-pcl3-driver-api8.patch [3]
2005-06-06 15:00:37 +00:00
Kirill Ponomarev
cfdce2f20d Announce the release of GPL Ghostscript. This release is based on
the AFPL Ghostscript 8.00 release of 14 months ago. The most
significant new feature since 7.0x is support for DeviceN
colorspaces, up to 8 colorants total at 8 bits per component. Also,
pdfwrite has seen considerable improvement in font handling, and
many other bug fixes.

PR:		ports/72326
Submitted by:	Ports Fury
2004-10-16 07:28:34 +00:00