Revision: 75870 http://trac.macports.org/changeset/75870 Author: takanori@macports.org Date: 2011-02-11 08:04:21 -0800 (Fri, 11 Feb 2011) Log Message: ----------- ghostscript: version 9.01 Modified Paths: -------------- trunk/dports/print/ghostscript/Portfile trunk/dports/print/ghostscript/files/patch-base_unix-dll.mak.diff trunk/dports/print/ghostscript-fonts-hiragino/Portfile Modified: trunk/dports/print/ghostscript/Portfile =================================================================== --- trunk/dports/print/ghostscript/Portfile 2011-02-11 14:09:43 UTC (rev 75869) +++ trunk/dports/print/ghostscript/Portfile 2011-02-11 16:04:21 UTC (rev 75870) @@ -4,8 +4,7 @@ PortGroup muniversal 1.0 name ghostscript -version 9.00 -revision 5 +version 9.01 categories print maintainers takanori openmaintainer description GPL Ghostscript, An interpreter for PostScript and PDF @@ -25,7 +24,7 @@ patchfiles patch-base_unix-dll.mak.diff \ patch-base_stdpre.h.diff \ patch-base_unixinst.mak.diff -checksums ${distname}.tar.gz rmd160 771d5d517ee5962c9449148f258c784549af3fb4 \ +checksums ${distname}.tar.gz rmd160 0cbdf085d589cfae2cc35cc9ebba5190d1408a76 \ ghostscript-fonts-other-6.0.tar.gz rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f \ mappingresources4pdf_2unicode-20091208.tar.Z rmd160 bc1b86e6a5f0e022f88070195eb3e01e167114a7 \ mappingresources4pdf_other-20091208.tar.Z rmd160 1e2ea9af6be8b60c9a54963e542fa06ceb2daccd @@ -73,6 +72,9 @@ configure.cppflags-delete "-I${prefix}/include" configure.cppflags-append "-isystem${prefix}/include" +# gs9.xx: The default optimization flag (-O2) causes pdfwrite's strange 'passed invalid object' problem. +configure.optflags -Os + configure.args --disable-compile-inits \ --disable-cups \ --disable-gtk \ Modified: trunk/dports/print/ghostscript/files/patch-base_unix-dll.mak.diff =================================================================== --- trunk/dports/print/ghostscript/files/patch-base_unix-dll.mak.diff 2011-02-11 14:09:43 UTC (rev 75869) +++ trunk/dports/print/ghostscript/files/patch-base_unix-dll.mak.diff 2011-02-11 16:04:21 UTC (rev 75870) @@ -1,6 +1,6 @@ ---- base/unix-dll.mak.orig 2010-07-23 17:22:43.000000000 +0900 -+++ base/unix-dll.mak 2010-09-01 18:44:52.000000000 +0900 -@@ -45,19 +45,19 @@ +--- base/unix-dll.mak.orig 2011-01-18 19:22:12.000000000 +0900 ++++ base/unix-dll.mak 2011-02-12 00:16:09.000000000 +0900 +@@ -45,25 +45,25 @@ GS_SONAME_BASE=lib$(GS) # GNU/Linux @@ -8,13 +8,19 @@ -GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT) -GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR) -GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR) --LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR) +#GS_SOEXT=so +#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT) +#GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR) +#GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR) -+#LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR) + #LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR) + # NOTE: the value of LD_SET_DT_SONAME for, for example, Solaris ld, must contain the + # trailing space to separation it from the value of the option. For GNU ld and + # similar linkers it must containt the trailing "=" +-LDFLAGS_SO=-shared -Wl,$(LD_SET_DT_SONAME)$(LDFLAGS_SO_PREFIX)$(GS_SONAME_MAJOR) ++#LDFLAGS_SO=-shared -Wl,$(LD_SET_DT_SONAME)$(LDFLAGS_SO_PREFIX)$(GS_SONAME_MAJOR) + + # MacOS X -#GS_SOEXT=dylib -#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT) @@ -30,17 +36,3 @@ #LDFLAGS_SO=-dynamiclib -install_name $(FRAMEWORK_NAME) GS_SO=$(BINDIR)/$(GS_SONAME) -@@ -79,11 +79,11 @@ - # Build the small Ghostscript loaders, with Gtk+ and without - $(GSSOC_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER) - $(GLCC) -g -o $(GSSOC_XE) $(PSSRC)dxmainc.c \ -- $(LDFLAGS) -L$(BINDIR) -l$(GS) -+ -L$(BINDIR) -l$(GS) - - $(GSSOX_XE): $(GS_SO) $(PSSRC)$(SOC_LOADER) - $(GLCC) -g $(SOC_CFLAGS) -o $(GSSOX_XE) $(PSSRC)$(SOC_LOADER) \ -- $(LDFLAGS) -L$(BINDIR) -l$(GS) $(SOC_LIBS) -+ -L$(BINDIR) -l$(GS) $(SOC_LIBS) - - # ------------------------- Recursive make targets ------------------------- # - Modified: trunk/dports/print/ghostscript-fonts-hiragino/Portfile =================================================================== --- trunk/dports/print/ghostscript-fonts-hiragino/Portfile 2011-02-11 14:09:43 UTC (rev 75869) +++ trunk/dports/print/ghostscript-fonts-hiragino/Portfile 2011-02-11 16:04:21 UTC (rev 75870) @@ -3,8 +3,7 @@ PortSystem 1.0 name ghostscript-fonts-hiragino -version 9.00 -revision 1 +version 9.01 categories print japanese chinese maintainers takanori openmaintainer description Hiragino font for ghostscript ${version}