[89880] trunk/dports/print
takanori at macports.org
takanori at macports.org
Mon Feb 13 18:11:35 PST 2012
Revision: 89880
http://trac.macports.org/changeset/89880
Author: takanori at macports.org
Date: 2012-02-13 18:11:33 -0800 (Mon, 13 Feb 2012)
Log Message:
-----------
Ghostscript 9.05
Modified Paths:
--------------
trunk/dports/print/ghostscript/Portfile
trunk/dports/print/ghostscript/files/patch-base_gsgdata.c.diff
trunk/dports/print/ghostscript/files/patch-base_gsgdata.h.diff
trunk/dports/print/ghostscript/files/patch-base_unix-dll.mak.diff
trunk/dports/print/ghostscript/files/patch-base_unixinst.mak.diff
trunk/dports/print/ghostscript/files/patch-configure.ac.diff
trunk/dports/print/ghostscript-fonts-hiragino/Portfile
Added Paths:
-----------
trunk/dports/print/ghostscript/files/patch-base_gsgcache.c.diff
Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile 2012-02-14 00:35:57 UTC (rev 89879)
+++ trunk/dports/print/ghostscript/Portfile 2012-02-14 02:11:33 UTC (rev 89880)
@@ -4,8 +4,7 @@
PortGroup muniversal 1.0
name ghostscript
-version 9.04
-revision 1
+version 9.05
categories print
license GPL-3+
maintainers takanori openmaintainer
@@ -16,7 +15,7 @@
supports many different printers and some displays.
platforms darwin
homepage http://www.cs.wisc.edu/~ghost/
-master_sites sourceforge:${name}:source \
+master_sites http://downloads.ghostscript.com/public/:source \
sourceforge:gs-fonts:fonts \
sourceforge:mapping-for-pdf.adobe:misc
set mrversion 20091116
@@ -26,15 +25,16 @@
mappingresources4pdf_other_${mrversion}.tar.Z:misc
patchfiles patch-base_unix-dll.mak.diff \
patch-base_stdpre.h.diff \
- patch-base_unixinst.mak.diff \
- patch-base_gsgdata.c.diff \
- patch-base_gsgdata.h.diff
+ patch-base_unixinst.mak.diff
+# patch-base_gsgcache.c.diff \
+# patch-base_gsgdata.c.diff \
+# patch-base_gsgdata.h.diff
# patch-configure.ac.diff
checksums ${distname}.tar.gz \
- md5 9c2fb4af1eb609d09dba5bb0fa76173a \
- sha1 75370060d0a272e66be20152a058e4135976f2e5 \
- rmd160 30a49c1cc12e3b449117762b3edbb121d5d2766c \
+ md5 f7c6f0431ca8d44ee132a55d583212c1 \
+ sha1 af93787ba966360abbe085b213ec563b5db5a8cc \
+ rmd160 8635300e684513f4b8d1f708869efeae27393514 \
ghostscript-fonts-other-6.0.tar.gz \
md5 1a643ae62ef166562e4d422b1a601272 \
sha1 da62dfcb9c10d96743c7e30c1eebe7166489798c \
@@ -50,7 +50,10 @@
depends_lib port:expat \
port:fontconfig \
+ port:freetype \
+ port:jbig2dec \
port:jpeg \
+ port:lcms2 \
port:libiconv \
port:libidn \
port:libpaper \
@@ -60,11 +63,12 @@
port:xorg-libXext \
port:xorg-libXt \
port:zlib
+# port:ijs
depends_build port:pkgconfig
post-extract {
- foreach d {zlib libpng jpeg} {
+ foreach d {freetype jbig2dec jpeg lcms2 libpng tiff zlib} {
move "${worksrcpath}/${d}" "${worksrcpath}/${d}_local"
}
@@ -87,27 +91,15 @@
use_autoreconf yes
autoreconf.args -fv
-# Make included JasPer uses its own headers rather than the system ones
+# Make included OpenJPEG uses its own headers rather than the system ones
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 -O0
-
-# gs compiled by clang/llvm-gcc-4.2 sometimes produces 'Segmentation fault: 11'
-#if {${configure.compiler} == "llvm-gcc-4.2"} {
-# if {[vercmp $xcodeversion 4.1] >= 0} {
-# configure.compiler clang
-# } else {
-# configure.compiler gcc-4.2
-# }
-#}
-
configure.args --disable-compile-inits \
--disable-cups \
--disable-gtk \
+ --without-luratech \
--with-system-libtiff
-# --disable-freetype
build.target so
use_parallel_build yes
@@ -134,12 +126,9 @@
configure.args-append --without-x
}
-variant cups description {Enable cups support} {
+variant cups description {Enable CUPS driver} {
configure.args-delete --disable-cups
configure.args-append --enable-cups
-
- # Informing user enable cups will install files outside of the common directory structure
- destroot.violate_mtree yes
}
livecheck.type regex
Added: trunk/dports/print/ghostscript/files/patch-base_gsgcache.c.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-base_gsgcache.c.diff (rev 0)
+++ trunk/dports/print/ghostscript/files/patch-base_gsgcache.c.diff 2012-02-14 02:11:33 UTC (rev 89880)
@@ -0,0 +1,11 @@
+--- base/gsgcache.c.orig 2011-08-05 20:12:20.000000000 +0900
++++ base/gsgcache.c 2011-10-31 13:41:24.000000000 +0900
+@@ -162,7 +162,7 @@
+ return_error(gs_error_unregistered); /* Unsupported; should not happen. */
+ }
+
+-static const gs_glyph_data_procs_t gs_glyph_cache_elem_procs = {
++ const gs_glyph_data_procs_t gs_glyph_cache_elem_procs = {
+ gs_glyph_cache_elem__free_data, gs_glyph_cache_elem__substring
+ };
+
Modified: trunk/dports/print/ghostscript/files/patch-base_gsgdata.c.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-base_gsgdata.c.diff 2012-02-14 00:35:57 UTC (rev 89879)
+++ trunk/dports/print/ghostscript/files/patch-base_gsgdata.c.diff 2012-02-14 02:11:33 UTC (rev 89880)
@@ -1,10 +1,11 @@
--- base/gsgdata.c.orig 2011-08-05 20:12:20.000000000 +0900
+++ base/gsgdata.c 2011-08-13 08:40:58.000000000 +0900
-@@ -51,7 +51,7 @@
+@@ -51,7 +51,8 @@
gs_glyph_data_free(gs_glyph_data_t *pgd, client_name_t cname)
{
if (pgd != 0) {
- if (pgd->procs != 0)
++ // Workaround to avoid signal 11. This change will cause memory leaks as its side effect.
+ if (pgd->procs == &gs_glyph_cache_elem_procs || pgd->procs == &no_free_procs || pgd->procs == &free_by_font_procs)
pgd->procs->free(pgd, cname);
gs_glyph_data_from_null(pgd);
Modified: trunk/dports/print/ghostscript/files/patch-base_gsgdata.h.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-base_gsgdata.h.diff 2012-02-14 00:35:57 UTC (rev 89879)
+++ trunk/dports/print/ghostscript/files/patch-base_gsgdata.h.diff 2012-02-14 02:11:33 UTC (rev 89880)
@@ -1,11 +1,10 @@
--- base/gsgdata.h.orig 2011-08-05 20:12:20.000000000 +0900
+++ base/gsgdata.h 2011-08-13 08:40:25.000000000 +0900
-@@ -127,4 +127,9 @@
+@@ -127,4 +127,8 @@
/* from_null(pgd) is a shortcut for from_string(pgd, NULL, 0, NULL). */
void gs_glyph_data_from_null(gs_glyph_data_t *pgd);
-+// prototypes
-+static const gs_glyph_data_procs_t gs_glyph_cache_elem_procs;
++extern const gs_glyph_data_procs_t gs_glyph_cache_elem_procs;
+static const gs_glyph_data_procs_t no_free_procs;
+static const gs_glyph_data_procs_t free_by_font_procs;
+
Modified: trunk/dports/print/ghostscript/files/patch-base_unix-dll.mak.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-base_unix-dll.mak.diff 2012-02-14 00:35:57 UTC (rev 89879)
+++ trunk/dports/print/ghostscript/files/patch-base_unix-dll.mak.diff 2012-02-14 02:11:33 UTC (rev 89880)
@@ -1,26 +1,8 @@
---- 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)
+--- base/unix-dll.mak.orig 2012-02-08 17:48:48.000000000 +0900
++++ base/unix-dll.mak 2012-02-14 05:24:54.000000000 +0900
+@@ -58,12 +58,12 @@
- # GNU/Linux
--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)
-+#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)
- # 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)
@@ -31,8 +13,8 @@
+GS_SONAME_MAJOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_SOEXT)
+GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)
#LDFLAGS_SO=-dynamiclib -flat_namespace
--#LDFLAGS_SO=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR)
-+LDFLAGS_SO=-dynamiclib -install_name __PREFIX__/lib/$(GS_SONAME_MAJOR_MINOR)
+-LDFLAGS_SO_MAC=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR)
++LDFLAGS_SO_MAC=-dynamiclib -install_name __PREFIX__/lib/$(GS_SONAME_MAJOR_MINOR)
#LDFLAGS_SO=-dynamiclib -install_name $(FRAMEWORK_NAME)
GS_SO=$(BINDIR)/$(GS_SONAME)
Modified: trunk/dports/print/ghostscript/files/patch-base_unixinst.mak.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-base_unixinst.mak.diff 2012-02-14 00:35:57 UTC (rev 89879)
+++ trunk/dports/print/ghostscript/files/patch-base_unixinst.mak.diff 2012-02-14 02:11:33 UTC (rev 89880)
@@ -1,20 +1,23 @@
---- base/unixinst.mak.orig 2010-08-01 00:04:24.000000000 +0900
-+++ base/unixinst.mak 2010-09-02 02:18:32.000000000 +0900
-@@ -127,13 +127,13 @@
+--- base/unixinst.mak.orig 2012-02-08 17:48:48.000000000 +0900
++++ base/unixinst.mak 2012-02-14 07:57:08.000000000 +0900
+@@ -127,17 +127,17 @@
C-style.htm Changes.htm Commprod.htm Copying.htm \
Current.htm Deprecated.htm \
DLL.htm Deprecated.htm Develop.htm Devices.htm Drivers.htm \
- Fonts.htm Helpers.htm Hershey.htm \
+ Fonts.htm GS9_Color_Management.pdf Helpers.htm Hershey.htm \
History1.htm History2.htm History3.htm History4.htm \
-- History5.htm History6.htm History7.htm History8.htm \
-- Details.htm Details8.htm \
-+ History5.htm History6.htm History7.htm History8.htm History9.htm \
-+ Details.htm Details8.htm Details9.htm \
+ History5.htm History6.htm History7.htm History8.htm \
+ History9.htm \
+ Details.htm Details8.htm Details9.htm \
Htmstyle.htm Humor.htm Issues.htm Install.htm Language.htm \
Lib.htm Maintain.htm Make.htm New-user.htm \
- News.htm Projects.htm Ps-style.htm Ps2epsi.htm Ps2pdf.htm \
+ News.htm Projects.htm Ps-style.htm Ps2epsi.htm Ps2pdf.htm Ps2ps2.htm \
Psfiles.htm Public.htm Readme.htm Release.htm \
Source.htm Testing.htm Unix-lpr.htm \
- Use.htm Xfonts.htm
+- Use.htm Xfonts.htm
++ Use.htm WhatIsGS.htm Xfonts.htm thirdparty.htm
+ install-doc: $(PSDOCDIR)/News.htm
+ -mkdir -p $(DESTDIR)$(docdir)
+ $(SH) -c 'for f in $(DOC_PAGES) ;\
Modified: trunk/dports/print/ghostscript/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/print/ghostscript/files/patch-configure.ac.diff 2012-02-14 00:35:57 UTC (rev 89879)
+++ trunk/dports/print/ghostscript/files/patch-configure.ac.diff 2012-02-14 02:11:33 UTC (rev 89880)
@@ -1,11 +1,11 @@
---- configure.ac.orig 2011-08-05 20:12:20.000000000 +0900
-+++ configure.ac 2011-08-13 01:02:40.000000000 +0900
-@@ -131,7 +131,7 @@
- ;;
- Darwin*)
+--- configure.ac.orig 2012-02-08 17:48:48.000000000 +0900
++++ configure.ac 2012-02-14 06:11:33.000000000 +0900
+@@ -139,7 +139,7 @@
+ ;;
+ Darwin*)
if test $ac_cv_prog_gcc = yes; then
-- CC_OPT_FLAGS_TO_TRY="-O2"
-+ CC_OPT_FLAGS_TO_TRY="-g -O0"
+- CC_OPT_FLAGS_TO_TRY="-O2"
++ CC_OPT_FLAGS_TO_TRY="-g -O0"
CC_DBG_FLAGS_TO_TRY="-g -O0"
- fi
- ;;
+ fi
+ SET_DT_SONAME=""
Modified: trunk/dports/print/ghostscript-fonts-hiragino/Portfile
===================================================================
--- trunk/dports/print/ghostscript-fonts-hiragino/Portfile 2012-02-14 00:35:57 UTC (rev 89879)
+++ trunk/dports/print/ghostscript-fonts-hiragino/Portfile 2012-02-14 02:11:33 UTC (rev 89880)
@@ -3,7 +3,7 @@
PortSystem 1.0
name ghostscript-fonts-hiragino
-version 9.04
+version 9.05
categories print japanese chinese
maintainers takanori openmaintainer
description Hiragino font for ghostscript ${version}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120213/08c305d3/attachment-0001.html>
More information about the macports-changes
mailing list