Commit graph

259 commits

Author SHA1 Message Date
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
Hiroki Sato
6336b7bc48 Fix build on !i386 && !amd64.
PR:	ports/171253
2012-09-04 05:21:38 +00:00
Eitan Adler
08bf7f3141 Remove _UNSAFE line as this port was fixed already
Requested by:	hrs
2012-09-04 00:32:32 +00:00
Eitan Adler
4c4128ef15 Mark ports unsafe per wiki page of broken ports.
Approved by:	doceng (gabor, maintainer) [print/ghostscript8]
Redports:	ignore
2012-09-02 23:04:06 +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
Baptiste Daroussin
c263127442 New options framework for the ports
for maintainers:
it introduces 3 different types of options: simple, multi and single:
- simple options are the same as the current options (i.e. on or off.)
- multi options are options where at least one must be set (1-N).
- single options are options where one and only one must be set (exclusive
  options).

for users:
- OPTIONS_SET: globally enable some options
- OPTIONS_UNSET: globally disable some options
- ${UNIQUENAME}_SET: enable per-port choice of options
- ${UNIQUENAME}_UNSET: disable per-port choice of options

For compatibility the old OPTIONS framework is now working on top of the new one
The options previously set with old OPTIONS are imported and converted
transparently.

A new knob NO_DIALOG if defined in the the config-conditional target is ignored
(prevent the dialog(1) ui to show up.

Thanks to all people involved:
beat@, crees@, Bryan Drewery, linimon@, novel@ and others, for testing, comments, patches
2012-05-29 09:54:27 +00:00
Hiroki Sato
5d9f49026f Fix a URL in MASTER_SITES.
PR:	ports/165080
2012-02-13 03:57:12 +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
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +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
Martin Wilke
edbfcf1c23 - Kick MD5 Support 2011-07-03 06:14:57 +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
Ade Lovett
4a8684e352 Sync to new bsd.autotools.mk 2010-12-04 07:34:27 +00:00
Ade Lovett
6abd00a86b Punt autoconf267->autoconf268 2010-10-16 11:52:47 +00:00
Ade Lovett
8262a7b51d Autotools update. Read ports/UPDATING 20100915 for details.
Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
2010-09-15 18:35:24 +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
Pav Lucistnik
fe337e0489 - Introduce a new USE_XZ knob that handles lzma/xz compressed distfiles
- Convert a bunch of ports to use it

PR:		ports/146329
Submitted by:	mm
With hat:	portmgr
2010-06-04 08:09:20 +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
Dirk Meyer
de78af3ac5 - update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
2010-03-28 06:47:48 +00:00
Dirk Meyer
ca9c60461c - update to jpeg-8 2010-02-05 11:46:55 +00:00
Hiroki Sato
440f4f1772 Fix build when WITH_FT_BRIDGE=1.
Reported by:	Naveen Nathan
PR:		ports/141798
2009-12-20 16:59:04 +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
Dmitry Marakasov
3eb168f46b - Switch SourceForge ports to the new File Release System: categories starting with P,R,S 2009-08-22 00:35:32 +00:00
Dirk Meyer
3bbc108312 - update to jpeg7
Tested by:	pav on pointyhat
2009-07-18 11:11:29 +00:00
Hiroki Sato
3d9f7303af Fix LIB_DEPENDS line again.
Pointy hat to:	hrs
2009-06-02 08:54:43 +00:00
Hiroki Sato
f89e578a68 Fix LIB_DEPENDS line. 2009-06-02 08:47:29 +00:00
Giorgos Keramidas
2fdb7bb606 Allow building ghostscript8 without CUPS support. The default is
to link with CUPS, but it should now be possible to `make config'
and disable any link options that refer to CUPS libraries.

Approved by:	doceng (hrs)
Noticed by:	Stefan Thurner thurners at nicsys.de
		Guido Falsi mad at madpilot.net [1],
		Helge Oldach ports-ghostscript8-may09 at oldach.net [1]

[1] An almost identical patch was submitted to doceng.
2009-06-02 07:06:34 +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
Pietro Cerutti
eedf4d3f67 - Re-enable cups support
- Add dependency on print/cups-image
- Bump PORTREVISION

Suggested by:	dinoex
2009-05-18 09:55:35 +00:00
Pietro Cerutti
7391bca721 - Fix build by disabling CUPS support (cyclic dependency)
PR:		134533
Reported by:	dan <dseven@rocketmail.com>
2009-05-15 09:48:12 +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
Pav Lucistnik
8e2a45d5cb - Mark MAKE_JOBS_UNSAFE 2009-03-30 12:31:01 +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
1b1b9f626b Add a hyphen to ${TAR}'s option. It is useful when ${TAR} is
overridden by the user.

Submitted by:	adamw
PR:		ports/127165
2008-10-05 03:14:05 +00:00
Hiroki Sato
c6489c802f Fix an issue that print/ghostscript8 does not set
PKGNAMESUFFIX (-nox11) correctly when WITHOUT_X11=yes and one of
the X11 drivers are specified at a time.

PR:	ports/123859
2008-10-05 02:43:29 +00:00
Pav Lucistnik
fa38ed02cc - Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV 2008-07-25 12:24:09 +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
ce5b8b0d3f - Fix typos in OPTIONS.
- Add CONFLICTS based on WITH_X11/WITHOUT_X11.
- Fix installation directory of document files.
2008-06-20 18:12:06 +00:00
Hiroki Sato
18116cd3ec Add accidentally-removed PORTREVISION in the previous commit. 2008-06-01 10:52:29 +00:00