Skip to content

Commit

Permalink
ghostscript: update to 10.04.0
Browse files Browse the repository at this point in the history
  • Loading branch information
remkos committed Sep 21, 2024
1 parent 33b9977 commit 3453ec6
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 74 deletions.
2 changes: 1 addition & 1 deletion graphics/ImageMagick/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ legacysupport.newest_darwin_requires_legacy 10

name ImageMagick
version 6.9.13-16
revision 0
revision 1
checksums rmd160 a76f0d3808d23e96badfd95fbaf9d1ec5c647694 \
sha256 a2ca04c37ef56e669f442954d878bab7d096fadabdc75f6027f755bfdbf89a98 \
size 9613864
Expand Down
2 changes: 1 addition & 1 deletion graphics/ImageMagick7/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ legacysupport.newest_darwin_requires_legacy 10

name ImageMagick7
github.setup ImageMagick ImageMagick 7.1.1-38
revision 1
revision 2

checksums rmd160 9b461dc2111125fd05ca0949db5480794b87bef2 \
sha256 109c4ce940db01e6e45ede67800e58ad1beaac9b04f27c618ffc4a1ec317159d \
Expand Down
2 changes: 1 addition & 1 deletion graphics/dvisvgm-devel/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ github.setup mgieseki dvisvgm 3.3
name dvisvgm-devel
conflicts dvisvgm
set my_name dvisvgm
revision 1
revision 2

checksums rmd160 2d3ebc700dce7d769e90be616b30cd15751df795 \
sha256 52be6bc4bb50c9a5bb7264c516ad7b867a91c4ccaa136a36b8919bab5578e30c \
Expand Down
2 changes: 1 addition & 1 deletion graphics/dvisvgm/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ github.setup mgieseki dvisvgm 3.3
name dvisvgm
conflicts dvisvgm-devel
set my_name dvisvgm
revision 1
revision 2

checksums rmd160 2d3ebc700dce7d769e90be616b30cd15751df795 \
sha256 52be6bc4bb50c9a5bb7264c516ad7b867a91c4ccaa136a36b8919bab5578e30c \
Expand Down
2 changes: 1 addition & 1 deletion graphics/xfig/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0

name xfig
version 3.2.9
revision 1
revision 2
categories graphics x11
license Permissive
maintainers nomaintainer
Expand Down
13 changes: 5 additions & 8 deletions print/ghostscript/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ PortSystem 1.0
PortGroup muniversal 1.0

name ghostscript
version 10.03.1
version 10.04.0
revision 0

categories print
Expand Down Expand Up @@ -34,9 +34,9 @@ distfiles ${distname}.tar.gz:source \
${mappingresources_commit}.zip:misc

checksums ${distname}.tar.gz \
rmd160 56619c52c32237c97739d1830b0513cd6b17d2a8 \
sha256 8ea9dd8768b64576bc4ee2d79611450c9e1edeb686f7824f3bf94b92457b882a \
size 98222799 \
rmd160 ab1bac9af5538bf441f7ec309a63513af427a96d \
sha256 8b1594b067e00e386f818270a255eef6baba593197173725951d5f0c316dc205 \
size 98270469 \
ghostscript-fonts-other-6.0.tar.gz \
rmd160 ab60dbf71e7d91283a106c3df381cadfe173082f \
sha256 4fa051e341167008d37fe34c19d241060cd17b13909932cd7ca7fe759243c2de \
Expand Down Expand Up @@ -70,13 +70,9 @@ post-extract {
copy -force {*}[glob ${workpath}/mapping-resources-pdf-${mappingresources_commit}/pdf2other/*] ${worksrcpath}/Resource/CMap
}

patchfiles-append patch-base_unix-dll.mak.diff
patchfiles-append patch-base_unixinst.mak.diff
patchfiles-append pdf_sec.c.diff

post-patch {
reinplace "s|__PREFIX__|${prefix}|" \
${worksrcpath}/base/unix-dll.mak
reinplace "s|ZLIBDIR=src|ZLIBDIR=${prefix}/include|" \
${worksrcpath}/configure.ac

Expand Down Expand Up @@ -115,6 +111,7 @@ configure.checks.implicit_function_declaration.whitelist-append strchr
# tell ghostscript it's OK to use the system pkg-config even when cross-compiling
# see https://trac.macports.org/ticket/66627
configure.env-append \
DARWIN_LDFLAGS_SO_PREFIX="${prefix}/lib/" \
PKGCONFIG=${prefix}/bin/pkg-config

# https://trac.macports.org/ticket/56137
Expand Down
41 changes: 0 additions & 41 deletions print/ghostscript/files/patch-base_unix-dll.mak.diff

This file was deleted.

20 changes: 0 additions & 20 deletions print/ghostscript/files/pdf_sec.c.diff

This file was deleted.

0 comments on commit 3453ec6

Please sign in to comment.