summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2001-01-16 22:57:24 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2001-01-16 22:57:24 +0000
commit7aa654686b5fc9824c3d8987eff00a699b1903e0 (patch)
tree7a335b44835f6ab1dfa1510833fb3ed09576c171 /print/ghostscript-gpl/files
parentUpgrade to 4.0.4pl1. (diff)
update to ghostscript v 6.50
- removed port revision, because of new version - added PCL3 driver (hpdj successor) from Martin Lottermoser *both* driver, HPDJ and PCL3, are now compiled in reason: PCL3 is still flagged as BETA and author didn't get much response Although Martin says, its definitively not ALPHA, its safer to have the old drivers around, if things fail for some reason. Martin confirmed, that its possible to have both in one gs binary !!! - disable configure script temporarily, since dialog needs a driver update but I don't want to hold back that port any longer. - enabled as many gs driver as possible - reorganized MASTER_SITES - added mirrors - add a note, that russion mirror isn't up to date, so don't add it - optimized downloading from 6 different sources by special ordering - reorganized Makefile completely - put only ${GS_SOURCES} into EXTRACT_ONLY variable unpacking other 3rd party src's is handled in post-extract target - directory creating, patching, unpacking and install actions are now handeled within the proper make target. This makes port maintenance much easier, i.e.: if you enter make extract, then only extraction of things happen, but makefiles are still not patched. Before this cleanup, things were not so structured and not easy to maintain. Maybe we get a configure script later, to choose between different 3rd party driver options, then this "sorting" and documenting will support the migration process... - silence port by hiding actions with "@" - insert many informational echoes. This makes port maintenance and troubleshooting easier - put more unique comments in front of the different 3rd party modules - document things better - use as many environment variables as necessary, so that "numerical" changes only have to happen on some places and not withing make targets - use gs version number also in docu directory - properly install runtime, info and doc files from 3rd party drivers - put not needed stuff into "NOPORTDOCS" section - keep old font names to avoid fetching unnecessary things - updated patches as necessary - added new patch from Nartin Lottermoser - removed 2 patches that have been incorporated into gs 6.50 - added needed manual pages - updated pkg-plist - finally tested port and package building as well as port removal new port passes all disciplines ;-)
Notes
Notes: svn path=/head/; revision=37261
Diffstat (limited to 'print/ghostscript-gpl/files')
-rw-r--r--print/ghostscript-gpl/files/patch-aa34
-rw-r--r--print/ghostscript-gpl/files/patch-ab11
-rw-r--r--print/ghostscript-gpl/files/patch-ac1
-rw-r--r--print/ghostscript-gpl/files/patch-ad15
-rw-r--r--print/ghostscript-gpl/files/patch-lib,gs_init.ps31
5 files changed, 48 insertions, 44 deletions
diff --git a/print/ghostscript-gpl/files/patch-aa b/print/ghostscript-gpl/files/patch-aa
index 9330d7f9c504..18f6f663cabf 100644
--- a/print/ghostscript-gpl/files/patch-aa
+++ b/print/ghostscript-gpl/files/patch-aa
@@ -1,5 +1,5 @@
---- src/unix-gcc.mak Fri Mar 17 23:13:40 2000
-+++ src/unix-gcc.mak Wed Jul 19 10:23:42 2000
+--- src/unix-gcc.mak.orig Mon Sep 25 17:06:28 2000
++++ src/unix-gcc.mak Tue Jan 9 17:30:58 2001
@@ -26,14 +26,15 @@
# source, generated intermediate file, and object directories
# for the graphics library (GL) and the PostScript/PDF interpreter (PS).
@@ -48,13 +48,13 @@
JVERSION=6
# Choose whether to use a shared version of the IJG JPEG library (-ljpeg).
-@@ -146,14 +147,14 @@
+@@ -148,14 +148,14 @@
# You may need to change this if the libpng version changes.
# See libpng.mak for more information.
-PSRCDIR=libpng
+PSRCDIR=${LOCALBASE}/include
- PVERSION=10005
+ PVERSION=10008
# Choose whether to use a shared version of the PNG library, and if so,
# what its name is.
@@ -65,7 +65,7 @@
LIBPNG_NAME=png
# Define the directory where the zlib sources are stored.
-@@ -165,7 +165,7 @@
+@@ -167,7 +167,7 @@
# what its name is (usually libz, but sometimes libgz).
# See gs.mak and Make.htm for more information.
@@ -74,7 +74,7 @@
#ZLIB_NAME=gz
ZLIB_NAME=z
-@@ -180,7 +180,7 @@
+@@ -182,7 +182,7 @@
# Define the name of the C compiler.
@@ -83,7 +83,7 @@
# Define the name of the linker for the final link step.
# Normally this is the same as the C compiler.
-@@ -213,7 +213,7 @@
+@@ -215,7 +215,7 @@
# gcc to accept ANSI-style function prototypes and function definitions.
XCFLAGS=
@@ -92,7 +92,7 @@
# Define platform flags for ld.
# SunOS 4.n may need -Bstatic.
-@@ -222,7 +222,7 @@
+@@ -224,7 +224,7 @@
# -R /usr/local/xxx/lib:/usr/local/lib
# giving the full path names of the shared library directories.
# XLDFLAGS can be set from the command line.
@@ -101,7 +101,7 @@
LDFLAGS=$(XLDFLAGS) -fno-common
-@@ -242,7 +242,7 @@
+@@ -244,7 +244,7 @@
# All reasonable platforms require -lm, but Rhapsody and perhaps one or
# two others fold libm into libc and don't require any additional library.
@@ -110,7 +110,7 @@
# Define the include switch(es) for the X11 header files.
# This can be null if handled in some other way (e.g., the files are
-@@ -252,7 +252,7 @@
+@@ -254,7 +254,7 @@
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
@@ -119,7 +119,7 @@
# Define the directory/ies and library names for the X11 library files.
# XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH
-@@ -264,12 +264,12 @@
+@@ -266,12 +266,12 @@
# Solaris and other SVR4 systems with dynamic linking probably want
#XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib
# X11R6 (on any platform) may need
@@ -135,7 +135,7 @@
# Define whether this platform has floating point hardware:
# FPU_TYPE=2 means floating point is faster than fixed point.
-@@ -327,7 +327,7 @@
+@@ -329,7 +329,7 @@
# Choose the device(s) to include. See devs.mak for details,
# devs.mak and contrib.mak for the list of available devices.
@@ -144,9 +144,9 @@
#DEVICE_DEVS1=
#DEVICE_DEVS2=
-@@ -345,27 +345,27 @@
- #DEVICE_DEVS14=
- #DEVICE_DEVS15=
+@@ -352,27 +352,27 @@
+ #DEVICE_DEVS19=
+ #DEVICE_DEVS20=
-DEVICE_DEVS1=$(DD)bmpmono.dev $(DD)bmpgray.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16.dev $(DD)bmp256.dev $(DD)bmp16m.dev $(DD)bmp32b.dev
-DEVICE_DEVS2=$(DD)bmpamono.dev $(DD)bmpasep1.dev $(DD)bmpasep8.dev $(DD)bmpa16.dev $(DD)bmpa256.dev $(DD)bmpa16m.dev $(DD)bmpa32b.dev
@@ -193,7 +193,7 @@
# ---------------------------- End of options --------------------------- #
-@@ -379,13 +379,13 @@
+@@ -386,13 +386,13 @@
# detect whether we're running a version of gcc with the const optimization
# bug.
@@ -210,7 +210,7 @@
CC_LEAF=$(CC_) -fomit-frame-pointer
# gcc can't use -fomit-frame-pointer with -pg.
CC_LEAF_PG=$(CC_)
-@@ -412,5 +412,5 @@
+@@ -419,5 +419,5 @@
include $(GLSRCDIR)/unixinst.mak
# This has to come last so it won't be taken as the default target.
diff --git a/print/ghostscript-gpl/files/patch-ab b/print/ghostscript-gpl/files/patch-ab
deleted file mode 100644
index bb2d26d40db7..000000000000
--- a/print/ghostscript-gpl/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/contrib.mak.orig Sat Mar 25 21:15:07 2000
-+++ src/contrib.mak Sat Mar 25 21:15:58 2000
-@@ -343,7 +343,7 @@
- $(SETPDEV) $(DD)coslw2p $(coslw_)
-
- $(DD)coslwxl.dev : $(coslw_) $(DD)page.dev
-- $(SETPDEV) ($DD)coslwxl $(coslw_)
-+ $(SETPDEV) $(DD)coslwxl $(coslw_)
-
- $(GLOBJ)gdevcslw.$(OBJ) : $(GLSRC)gdevcslw.c $(PDEVH)
- $(GLCC) $(GLO_)gdevcslw.$(OBJ) $(C_) $(GLSRC)gdevcslw.c
diff --git a/print/ghostscript-gpl/files/patch-ac b/print/ghostscript-gpl/files/patch-ac
index 319922485be0..148e0e556d33 100644
--- a/print/ghostscript-gpl/files/patch-ac
+++ b/print/ghostscript-gpl/files/patch-ac
@@ -84,4 +84,3 @@ ghostscript code anymore.
- }
- define_int(f, "ARCH_CACHE2_SIZE", bsize >> 1);
- }
-
diff --git a/print/ghostscript-gpl/files/patch-ad b/print/ghostscript-gpl/files/patch-ad
deleted file mode 100644
index 943abecaa755..000000000000
--- a/print/ghostscript-gpl/files/patch-ad
+++ /dev/null
@@ -1,15 +0,0 @@
-This patch replaces the use of the dangerous mktemp/fopen combo
-with the safe mkstemp/fdopen.
-
- -mi
-
---- src/gp_unifs.c Thu Mar 9 03:40:41 2000
-+++ src/gp_unifs.c Wed Jul 19 09:56:42 2000
-@@ -71,4 +71,5 @@
- strcat(fname, "XXXXXX");
-- mktemp(fname);
-- return fopen(fname, mode);
-+ len = mkstemp(fname); /* reuse the no longer needed variable */
-+ if (len == -1) return NULL;
-+ return fdopen(len, mode);
- }
diff --git a/print/ghostscript-gpl/files/patch-lib,gs_init.ps b/print/ghostscript-gpl/files/patch-lib,gs_init.ps
new file mode 100644
index 000000000000..a2f5d54ee5b7
--- /dev/null
+++ b/print/ghostscript-gpl/files/patch-lib,gs_init.ps
@@ -0,0 +1,31 @@
+ File: @(#)$Id: README,v 2.6 2000/11/09 18:33:58 Martin Beta $
+ Contents: README file for the pcl3 distribution
+ Author: Martin Lottermoser, Greifswaldstrasse 28, 38124 Braunschweig,
+ Germany. E-mail: Martin.Lottermoser@t-online.de.
+[...]
+ 8. There is also a bug in ghostscript's default configuration for the
+ undercolour removal and black generation functions. It shows up when
+ printing PostScript documents using the RGB colour space ("setrgbcolor" or
+ "sethsbcolor") on a device where the CMYK space is the native colour space;
+ this is the case for pcl3 if you specify "-sColourModel=CMYK". The bug
+ results in black being printed as a mixture of cyan, magenta, and yellow.
+ On my printer, this is a slightly greenish grey with fuzzy edges. My
+ subjective impression is that correcting this bug leads to sharper-looking
+ images.
+[...]
+
+I generated a patch as suggested from Martin Lottermoser
+
+ -andreas
+
+--- lib/gs_init.ps.orig Mon Jan 8 20:47:39 2001
++++ lib/gs_init.ps Mon Jan 8 20:49:02 2001
+@@ -1229,7 +1229,7 @@
+ % Set the default screen and BG/UCR.
+ /.setdefaultbgucr {
+ systemdict /setblackgeneration known {
+- { pop 0 } dup setblackgeneration setundercolorremoval
++ {} dup setblackgeneration setundercolorremoval
+ } if
+ } bind def
+ /.useloresscreen { % - .useloresscreen <bool>