1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
Commit Graph

236 Commits

Author SHA1 Message Date
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
Hiroki Sato
bcd30cacc8 Remove unnecessary PKGNAMESUFFIX. 2008-06-01 10:45:53 +00:00
Hiroki Sato
91217bfa1b The following repocopies have been done for print/ghostscript-*
reorganization:

	print/ghostscript-gnu -> print/ghostscript7
	print/ghostscript-gnu-nox11 -> print/ghostscript7-nox11
	print/ghostscript-gnu-commfont -> print/ghostscript7-commfont
	print/ghostscript-gpl -> print/ghostscript8
	print/ghostscript-gpl-nox11 -> print/ghostscript8-nox11
	japanese/ghostscript-gnu-jpnfont -> print/ghostscript7-jpnfont
	korean/ghostscript-gnu-korfont -> print/ghostscript7-korfont

and clean up Makefile of each port for the changes, and assign the
maintainers to doceng@.

Not hooked up to the build yet because it needs more fixes in
dependent ports and bsd.port.mk.

PR:	ports/124157
2008-06-01 08:51:52 +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
Timur I. Bakeyev
591e7166d9 Fix few typos in the knobs(non-fatal).
Approved by:	shaun (mentor, implicit)
2008-05-08 02:56:21 +00:00
Ion-Mihai Tetcu
54a99f3272 - fix typo 2008-05-06 13:52:36 +00:00
Hiroki Sato
be28863f25 Remove SHLIB knob.
Requested by:	mezz
2008-05-05 16:06:33 +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
Edwin Groothuis
1fd359b040 Incorrect CONFLICTS in multiple ports.
There are incorrect CONFLICTS in multiple ports. E.g.:
	contain two CONFLICTS= lines, the second line overrides the first one.

PR:		ports/122851
Submitted by:	Anatoly Borodin <anatoly.borodin@gmail.com>
2008-04-17 23:19:49 +00:00
Rong-En Fan
ac98f826e9 - Bump PORTREVISION for CONFLICTS changed
Noticed by:	flz
2008-04-16 15:23:14 +00:00
Rong-En Fan
ffceb28d46 - lang/gambc, print/ghostscript-gpl, print/ghostscript-gnu all install
bin/gsc, so make they conflict to each others

PR:		ports/122792
Reported by:	Anatoly Borodin <anatoly.borodin at gmail.com>
Approved by:	Rob Zinkov <rzinkov@eden.rutgers.edu> (maintainer of lang/gambc)
2008-04-16 01:31:12 +00:00
Joe Marcus Clarke
6f32add9a7 The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 for
FreeBSD.  The official GNOME 2.22 release notes can be found at
http://library.gnome.org/misc/release-notes/2.22/ .  On the FreeBSD front,
this release features an updated hal port with support for video4linux
devices, DRM (Direct Rendering), and better support of removable media.  Work
is also underway to tie webkit more closely into GNOME.  As part of the
GNOME 2.22 upgrade, GStreamer received a rather large upgrade as well.
Be sure to consult UPDATING on the proper steps to upgrade all of your
GNOME ports.

This release would not have been possible without the contributions and
testing efforts of the following people:

Pawel Worach
kan
edwin
Peter Ulrich Kruppa
J. W. Ballantine
Yasuda Keisuke
Andriy Gapon
2008-03-24 03:52:36 +00:00
Rong-En Fan
a9dff0bde8 - When running make config under ghostscript-gpl-nox11, X11 is selected by
default. Try to make X11 default off when WITHOUT_X11 is defined.
2008-03-15 13:32:20 +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
386cd0f74d - As we use .SILENT, no need to use @
Pointed out by:	KATO Tsuguru <tkato432 at yahoo.com>
2008-03-04 10:49:34 +00:00
Rong-En Fan
0a5ddb4688 - Reduce dependencies by using ijs distribution from linuxprinting.org. This
fixes `make release' with NOPORTS.

Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>
2008-03-04 01:35:19 +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
bb2a641b04 - Fix USE_GNOME 2008-03-02 05:51:23 +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
Thierry Thomas
eeafa3c831 Adding a post-installation message , telling the user that he needs a
dvips to run dvipdf.

PR:		ports/117878
Submitted by:	Steve Wills <steve (at) mouf.net>
2008-01-01 16:45:31 +00:00
Rong-En Fan
9716a77fea Remove print/ghostscript-afpl as it has been replaced by print/ghostscript-gpl
since version 8.57. The leading ghostscript is the -gpl one.

Approved by:	portmgr (pav)
2007-09-24 08:43:49 +00:00