aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript9/files
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2012-10-13 18:07:14 +0000
committerHiroki Sato <hrs@FreeBSD.org>2012-10-13 18:07:14 +0000
commit6193fde9d872db1874e76d763c8d95f6426ccfc8 (patch)
tree3b296763fbb0632093e0b4a2fb357f1864fa1887 /print/ghostscript9/files
parent72c887c31c539f0622899f612f69726ac68319de (diff)
downloadports-6193fde9d872db1874e76d763c8d95f6426ccfc8.tar.gz
ports-6193fde9d872db1874e76d763c8d95f6426ccfc8.zip
Update to 9.06. Changes include:
- PDF/A-2 - pdfwrite now supports the creation of PDF/A-2 files. Simply specifying "-dPDFA" continues to have the old behaviour of creating PDF/A-1b files. For PDF/A-2 the command line should include "-dPDFA=2". - pdfwrite "Server mode" - pdfwrite can now be run in "server mode" which allows the device to be closed without closing the interpreter. This means it is no longer necessary to terminate GS before starting a new PDF conversion. Feature safe: yes
Notes
Notes: svn path=/head/; revision=305844
Diffstat (limited to 'print/ghostscript9/files')
-rw-r--r--print/ghostscript9/files/patch-base-gs.mak14
-rw-r--r--print/ghostscript9/files/patch-base-unix-gcc.mak33
2 files changed, 25 insertions, 22 deletions
diff --git a/print/ghostscript9/files/patch-base-gs.mak b/print/ghostscript9/files/patch-base-gs.mak
index ecb6f57e0dd7..509878690a06 100644
--- a/print/ghostscript9/files/patch-base-gs.mak
+++ b/print/ghostscript9/files/patch-base-gs.mak
@@ -1,11 +1,11 @@
---- base/gs.mak.orig 2010-05-23 15:46:23.000000000 +0900
-+++ base/gs.mak 2010-05-23 15:57:37.000000000 +0900
-@@ -415,7 +415,7 @@
+--- base/gs.mak.orig 2012-08-08 17:01:36.000000000 +0900
++++ base/gs.mak 2012-10-14 02:29:03.000000000 +0900
+@@ -437,7 +437,7 @@
ld_tr=$(GLGENDIR)$(D)ld.tr
$(ld_tr) : \
$(GS_MAK) $(TOP_MAKEFILES) $(GLSRCDIR)$(D)version.mak $(GENCONF_XE) $(ECHOGS_XE) $(devs_tr) $(DEVS_ALL) $(GLGENDIR)$(D)libcore.dev
-- $(EXP)$(GENCONF_XE) $(devs_tr) -h $(gconfig_h) $(CONFILES) $(CONFLDTR) $(ld_tr)
-+ $(EXP)$(GENCONF_XE) $(devs_tr) -h /dev/stdout $(CONFILES) $(CONFLDTR) $(ld_tr) | awk 'BEGIN{j=0; p=1;} /jpeg_device/ {if(j++ > 0) p=0;} // {if(p==1) { print; } else { p=1 } }' > $(gconfig_h)
- $(EXP)$(ECHOGS_XE) -a $(gconfig_h) $(GCONFIG_EXTRAS)
+- $(EXP)$(GENCONF_XE) $(devs_tr) -h $(gconfxx_h) $(CONFILES) $(CONFLDTR) $(ld_tr)
++ $(EXP)$(GENCONF_XE) $(devs_tr) -h /dev/stdout $(gconfxx_h) $(CONFILES) $(CONFLDTR) $(ld_tr) | awk 'BEGIN{j=0; p=1;} /jpeg_device/ {if(j++ > 0) p=0;} // { if(p==1) { print; } else { p=1 } }' > $(gconfxx_h)
+ $(EXP)$(ECHOGS_XE) -a $(gconfxx_h) $(GCONFIG_EXTRAS)
- $(gconfig_h) : $(ld_tr)
+ $(gconfxx_h) : $(ld_tr)
diff --git a/print/ghostscript9/files/patch-base-unix-gcc.mak b/print/ghostscript9/files/patch-base-unix-gcc.mak
index 8a1a86d50b31..8aea189c6f90 100644
--- a/print/ghostscript9/files/patch-base-unix-gcc.mak
+++ b/print/ghostscript9/files/patch-base-unix-gcc.mak
@@ -1,6 +1,6 @@
---- base/unix-gcc.mak.orig 2011-08-05 20:12:20.000000000 +0900
-+++ base/unix-gcc.mak 2011-12-06 15:26:48.000000000 +0900
-@@ -21,16 +21,17 @@
+--- base/unix-gcc.mak.orig 2012-08-08 17:01:36.000000000 +0900
++++ base/unix-gcc.mak 2012-10-14 02:32:51.000000000 +0900
+@@ -22,16 +22,17 @@
# source, generated intermediate file, and object directories
# for the graphics library (GL) and the PostScript/PDF interpreter (PS).
@@ -27,7 +27,7 @@
# Do not edit the next group of lines.
-@@ -49,11 +50,10 @@
+@@ -50,11 +51,10 @@
# the directories also define the default search path for the
# initialization files (gs_*.ps) and the fonts.
@@ -42,7 +42,7 @@
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
scriptdir = $(bindir)
-@@ -103,7 +103,7 @@
+@@ -104,7 +104,7 @@
# This uses the more secure temporary file creation call
# Enable this if it is available on your platform.
@@ -51,7 +51,7 @@
# Define the name of the executable file.
-@@ -137,7 +137,7 @@
+@@ -139,7 +139,7 @@
# some older JPEG streams that violate the standard. If the JPEG
# library built from local sources, the patch will be applied.
@@ -60,7 +60,7 @@
JPEG_NAME=jpeg
# Define the directory where the PNG library sources are stored,
-@@ -151,13 +151,13 @@
+@@ -153,13 +153,13 @@
# what its name is.
# See gs.mak and Make.htm for more information.
@@ -76,7 +76,7 @@
TIFFSRCDIR=tiff
TIFFPLATFORM=unix
TIFFCONFIG_SUFFIX=.unix
-@@ -172,15 +172,23 @@
+@@ -174,15 +174,23 @@
# what its name is (usually libz, but sometimes libgz).
# See gs.mak and Make.htm for more information.
@@ -102,7 +102,7 @@
# Define the directory where the icclib source are stored.
# See icclib.mak for more information
ICCSRCDIR=icclib
-@@ -226,7 +234,7 @@
+@@ -223,7 +231,7 @@
# Define the name of the C compiler.
@@ -111,7 +111,7 @@
# Define the name of the linker for the final link step.
# Normally this is the same as the C compiler.
-@@ -243,7 +251,7 @@
+@@ -240,7 +248,7 @@
# Define the added flags for standard, debugging, profiling
# and shared object builds.
@@ -120,7 +120,7 @@
CFLAGS_DEBUG=-g -O0
CFLAGS_PROFILE=-pg -O2
CFLAGS_SO=-fPIC
-@@ -259,7 +267,8 @@
+@@ -256,7 +264,8 @@
# We don't include -ansi, because this gets in the way of the platform-
# specific stuff that <math.h> typically needs; nevertheless, we expect
# gcc to accept ANSI-style function prototypes and function definitions.
@@ -130,7 +130,7 @@
CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS)
-@@ -270,7 +279,7 @@
+@@ -267,7 +276,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.
@@ -139,7 +139,7 @@
LDFLAGS=$(XLDFLAGS)
-@@ -281,7 +290,7 @@
+@@ -278,7 +287,7 @@
# Solaris may need -lnsl -lsocket -lposix4.
# (Libraries required by individual drivers are handled automatically.)
@@ -148,7 +148,7 @@
# Define the standard libraries to search at the end of linking.
# Most platforms require -lpthread for the POSIX threads library;
-@@ -303,7 +312,7 @@
+@@ -300,7 +309,7 @@
# Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
# not in $(XINCLUDE).
@@ -157,7 +157,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
-@@ -318,26 +327,26 @@
+@@ -315,29 +324,29 @@
#XLIBS=Xt SM ICE Xext X11
#XLIBDIRS=-L/usr/local/X/lib
@@ -175,6 +175,9 @@
-#SYNC=posync
+SYNC=posync
+ # define the file name extension for a shared lib
+ DYNANIC_LIB_EXT=so
+
# Default is No sync primitives since some platforms don't have it (HP-UX)
-SYNC=nosync
+#SYNC=nosync