Changeset 89880


Ignore:
Timestamp:
Feb 14, 2012, 2:11:33 AM (8 years ago)
Author:
takanori@…
Message:

Ghostscript 9.05

Location:
trunk/dports/print
Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/ghostscript-fonts-hiragino/Portfile

    r85948 r89880  
    44
    55name            ghostscript-fonts-hiragino
    6 version         9.04
     6version         9.05
    77categories      print japanese chinese
    88maintainers     takanori openmaintainer
  • trunk/dports/print/ghostscript/Portfile

    r89810 r89880  
    55
    66name            ghostscript
    7 version         9.04
    8 revision        1
     7version         9.05
    98categories      print
    109license         GPL-3+
     
    1716platforms       darwin
    1817homepage        http://www.cs.wisc.edu/~ghost/
    19 master_sites    sourceforge:${name}:source \
     18master_sites    http://downloads.ghostscript.com/public/:source \
    2019                sourceforge:gs-fonts:fonts \
    2120                sourceforge:mapping-for-pdf.adobe:misc
     
    2726patchfiles      patch-base_unix-dll.mak.diff \
    2827                patch-base_stdpre.h.diff \
    29                 patch-base_unixinst.mak.diff \
    30                 patch-base_gsgdata.c.diff \
    31                 patch-base_gsgdata.h.diff
     28                patch-base_unixinst.mak.diff
     29#               patch-base_gsgcache.c.diff \
     30#               patch-base_gsgdata.c.diff \
     31#               patch-base_gsgdata.h.diff
    3232#               patch-configure.ac.diff
    3333
    3434checksums           ${distname}.tar.gz \
    35                     md5     9c2fb4af1eb609d09dba5bb0fa76173a \
    36                     sha1    75370060d0a272e66be20152a058e4135976f2e5 \
    37                     rmd160  30a49c1cc12e3b449117762b3edbb121d5d2766c \
     35                    md5     f7c6f0431ca8d44ee132a55d583212c1 \
     36                    sha1    af93787ba966360abbe085b213ec563b5db5a8cc \
     37                    rmd160  8635300e684513f4b8d1f708869efeae27393514 \
    3838                    ghostscript-fonts-other-6.0.tar.gz \
    3939                    md5     1a643ae62ef166562e4d422b1a601272 \
     
    5151depends_lib     port:expat \
    5252                port:fontconfig \
     53                port:freetype \
     54                port:jbig2dec \
    5355                port:jpeg \
     56                port:lcms2 \
    5457                port:libiconv \
    5558                port:libidn \
     
    6164                port:xorg-libXt \
    6265                port:zlib
     66#               port:ijs
    6367
    6468depends_build   port:pkgconfig
    6569
    6670post-extract {
    67     foreach d {zlib libpng jpeg} {
     71    foreach d {freetype jbig2dec jpeg lcms2 libpng tiff zlib} {
    6872        move "${worksrcpath}/${d}" "${worksrcpath}/${d}_local"
    6973    }
     
    8892autoreconf.args -fv
    8993
    90 # Make included JasPer uses its own headers rather than the system ones
     94# Make included OpenJPEG uses its own headers rather than the system ones
    9195configure.cppflags-delete       "-I${prefix}/include"
    9296configure.cppflags-append       "-isystem${prefix}/include"
    93 
    94 # gs9.xx: The default optimization flag (-O2) causes pdfwrite's strange 'passed invalid object' problem.
    95 #configure.optflags  -O0
    96 
    97 # gs compiled by clang/llvm-gcc-4.2 sometimes produces 'Segmentation fault: 11'
    98 #if {${configure.compiler} == "llvm-gcc-4.2"} {
    99 #    if {[vercmp $xcodeversion 4.1] >= 0} {
    100 #        configure.compiler clang
    101 #    } else {
    102 #        configure.compiler gcc-4.2
    103 #    }
    104 #}
    10597
    10698configure.args  --disable-compile-inits \
    10799                --disable-cups \
    108100                --disable-gtk \
     101                --without-luratech \
    109102                --with-system-libtiff
    110 #               --disable-freetype
    111103
    112104build.target        so
     
    135127}
    136128
    137 variant cups description {Enable cups support} {
     129variant cups description {Enable CUPS driver} {
    138130    configure.args-delete --disable-cups
    139131    configure.args-append --enable-cups
    140 
    141     # Informing user enable cups will install files outside of the common directory structure
    142     destroot.violate_mtree yes
    143132}
    144133
  • trunk/dports/print/ghostscript/files/patch-base_gsgdata.c.diff

    r82385 r89880  
    11--- base/gsgdata.c.orig 2011-08-05 20:12:20.000000000 +0900
    22+++ base/gsgdata.c      2011-08-13 08:40:58.000000000 +0900
    3 @@ -51,7 +51,7 @@
     3@@ -51,7 +51,8 @@
    44 gs_glyph_data_free(gs_glyph_data_t *pgd, client_name_t cname)
    55 {
    66     if (pgd != 0) {
    77-        if (pgd->procs != 0)
     8+        // Workaround to avoid signal 11. This change will cause memory leaks as its side effect.
    89+        if (pgd->procs == &gs_glyph_cache_elem_procs || pgd->procs == &no_free_procs || pgd->procs == &free_by_font_procs)
    910             pgd->procs->free(pgd, cname);
  • trunk/dports/print/ghostscript/files/patch-base_gsgdata.h.diff

    r82385 r89880  
    11--- base/gsgdata.h.orig 2011-08-05 20:12:20.000000000 +0900
    22+++ base/gsgdata.h      2011-08-13 08:40:25.000000000 +0900
    3 @@ -127,4 +127,9 @@
     3@@ -127,4 +127,8 @@
    44 /* from_null(pgd) is a shortcut for from_string(pgd, NULL, 0, NULL). */
    55 void gs_glyph_data_from_null(gs_glyph_data_t *pgd);
    66 
    7 +// prototypes
    8 +static const gs_glyph_data_procs_t gs_glyph_cache_elem_procs;
     7+extern const gs_glyph_data_procs_t gs_glyph_cache_elem_procs;
    98+static const gs_glyph_data_procs_t no_free_procs;
    109+static const gs_glyph_data_procs_t free_by_font_procs;
  • trunk/dports/print/ghostscript/files/patch-base_unix-dll.mak.diff

    r75870 r89880  
    1 --- base/unix-dll.mak.orig      2011-01-18 19:22:12.000000000 +0900
    2 +++ base/unix-dll.mak   2011-02-12 00:16:09.000000000 +0900
    3 @@ -45,25 +45,25 @@
    4  GS_SONAME_BASE=lib$(GS)
    5  
    6  # GNU/Linux
    7 -GS_SOEXT=so
    8 -GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
    9 -GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
    10 -GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
    11 +#GS_SOEXT=so
    12 +#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
    13 +#GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
    14 +#GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
    15  #LDFLAGS_SO=-shared -Wl,-soname=$(GS_SONAME_MAJOR)
    16  
    17  # NOTE: the value of LD_SET_DT_SONAME for, for example, Solaris ld, must contain the
    18  # trailing space to separation it from the value of the option. For GNU ld and
    19  # similar linkers it must containt the trailing "="
    20 -LDFLAGS_SO=-shared -Wl,$(LD_SET_DT_SONAME)$(LDFLAGS_SO_PREFIX)$(GS_SONAME_MAJOR)
    21 +#LDFLAGS_SO=-shared -Wl,$(LD_SET_DT_SONAME)$(LDFLAGS_SO_PREFIX)$(GS_SONAME_MAJOR)
     1--- base/unix-dll.mak.orig      2012-02-08 17:48:48.000000000 +0900
     2+++ base/unix-dll.mak   2012-02-14 05:24:54.000000000 +0900
     3@@ -58,12 +58,12 @@
    224 
    235 
     
    3214+GS_SONAME_MAJOR_MINOR=$(GS_SONAME_BASE).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR).$(GS_SOEXT)
    3315 #LDFLAGS_SO=-dynamiclib -flat_namespace
    34 -#LDFLAGS_SO=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR)
    35 +LDFLAGS_SO=-dynamiclib -install_name __PREFIX__/lib/$(GS_SONAME_MAJOR_MINOR)
     16-LDFLAGS_SO_MAC=-dynamiclib -install_name $(GS_SONAME_MAJOR_MINOR)
     17+LDFLAGS_SO_MAC=-dynamiclib -install_name __PREFIX__/lib/$(GS_SONAME_MAJOR_MINOR)
    3618 #LDFLAGS_SO=-dynamiclib -install_name $(FRAMEWORK_NAME)
    3719 
  • trunk/dports/print/ghostscript/files/patch-base_unixinst.mak.diff

    r71113 r89880  
    1 --- base/unixinst.mak.orig      2010-08-01 00:04:24.000000000 +0900
    2 +++ base/unixinst.mak   2010-09-02 02:18:32.000000000 +0900
    3 @@ -127,13 +127,13 @@
     1--- base/unixinst.mak.orig      2012-02-08 17:48:48.000000000 +0900
     2+++ base/unixinst.mak   2012-02-14 07:57:08.000000000 +0900
     3@@ -127,17 +127,17 @@
    44           C-style.htm Changes.htm Commprod.htm Copying.htm \
    55           Current.htm Deprecated.htm \
     
    88+          Fonts.htm GS9_Color_Management.pdf Helpers.htm Hershey.htm \
    99           History1.htm History2.htm History3.htm History4.htm \
    10 -          History5.htm History6.htm History7.htm History8.htm \
    11 -          Details.htm Details8.htm \
    12 +          History5.htm History6.htm History7.htm History8.htm History9.htm \
    13 +          Details.htm Details8.htm Details9.htm \
     10           History5.htm History6.htm History7.htm History8.htm \
     11           History9.htm \
     12           Details.htm Details8.htm Details9.htm \
    1413           Htmstyle.htm Humor.htm Issues.htm Install.htm Language.htm \
    1514           Lib.htm Maintain.htm Make.htm New-user.htm \
     
    1817           Psfiles.htm Public.htm Readme.htm Release.htm \
    1918           Source.htm Testing.htm Unix-lpr.htm \
    20            Use.htm Xfonts.htm
     19-          Use.htm Xfonts.htm
     20+          Use.htm WhatIsGS.htm Xfonts.htm thirdparty.htm
     21 install-doc: $(PSDOCDIR)/News.htm
     22        -mkdir -p $(DESTDIR)$(docdir)
     23        $(SH) -c 'for f in $(DOC_PAGES) ;\
  • trunk/dports/print/ghostscript/files/patch-configure.ac.diff

    r82385 r89880  
    1 --- configure.ac.orig   2011-08-05 20:12:20.000000000 +0900
    2 +++ configure.ac        2011-08-13 01:02:40.000000000 +0900
    3 @@ -131,7 +131,7 @@
    4         ;;
    5         Darwin*)
     1--- configure.ac.orig   2012-02-08 17:48:48.000000000 +0900
     2+++ configure.ac        2012-02-14 06:11:33.000000000 +0900
     3@@ -139,7 +139,7 @@
     4         ;;
     5         Darwin*)
    66         if test $ac_cv_prog_gcc = yes; then
    7 -           CC_OPT_FLAGS_TO_TRY="-O2"
    8 +           CC_OPT_FLAGS_TO_TRY="-g -O0"
     7-            CC_OPT_FLAGS_TO_TRY="-O2"
     8+            CC_OPT_FLAGS_TO_TRY="-g -O0"
    99             CC_DBG_FLAGS_TO_TRY="-g -O0"
    10         fi
    11         ;;
     10         fi
     11         SET_DT_SONAME=""
Note: See TracChangeset for help on using the changeset viewer.