summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2019-12-09 20:26:00 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2019-12-09 20:26:00 +0000
commit5892f681ff5641a3f66c2d9d653b67eb5a16c074 (patch)
treedcd316e3957729f474b5619fa68060edfa492f00
parentdevel/gocheese: create port (diff)
Update print/ghostscript9-agpl-* to 9.50.
PR: 240844 Approved by: portmgr (antoine) Exp-run by: antoine
Notes
Notes: svn path=/head/; revision=519631
-rw-r--r--devel/doxygen/Makefile2
-rw-r--r--devel/doxygen/files/patch-src_formula.cpp15
-rw-r--r--print/ghostscript9-agpl-base/Makefile13
-rw-r--r--print/ghostscript9-agpl-base/distinfo6
-rw-r--r--print/ghostscript9-agpl-x11/Makefile12
5 files changed, 31 insertions, 17 deletions
diff --git a/devel/doxygen/Makefile b/devel/doxygen/Makefile
index eb4ad5100fde..7e074dab0eef 100644
--- a/devel/doxygen/Makefile
+++ b/devel/doxygen/Makefile
@@ -3,7 +3,7 @@
PORTNAME= doxygen
PORTVERSION= 1.8.15
-PORTREVISION= 2
+PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= devel
MASTER_SITES= http://doxygen.nl/files/
diff --git a/devel/doxygen/files/patch-src_formula.cpp b/devel/doxygen/files/patch-src_formula.cpp
new file mode 100644
index 000000000000..0020c2036d42
--- /dev/null
+++ b/devel/doxygen/files/patch-src_formula.cpp
@@ -0,0 +1,15 @@
+Upstream git commit 03daff4 resolving a problem with Ghostscript 9.50.
+
+--- src/formula.cpp
++++ src/formula.cpp
+@@ -193,8 +193,8 @@ void FormulaList::generateBitmaps(const char *path)
+ // used.
+
+ char gsArgs[4096];
+- sprintf(gsArgs,"-q -g%dx%d -r%dx%dx -sDEVICE=ppmraw "
+- "-sOutputFile=%s.pnm -dNOPAUSE -dBATCH -- %s.ps",
++ sprintf(gsArgs,"-q -g%dx%d -r%dx%d -sDEVICE=ppmraw "
++ "-sOutputFile=%s.pnm -dNOPAUSE -dBATCH -dNOSAFER %s.ps",
+ gx,gy,(int)(scaleFactor*72),(int)(scaleFactor*72),
+ formBase.data(),formBase.data()
+ );
diff --git a/print/ghostscript9-agpl-base/Makefile b/print/ghostscript9-agpl-base/Makefile
index a5e906e0b7d8..c8b41b578687 100644
--- a/print/ghostscript9-agpl-base/Makefile
+++ b/print/ghostscript9-agpl-base/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= ghostscript
-PORTVERSION= 9.27
-PORTREVISION= 3
+PORTVERSION= 9.50
CATEGORIES= print
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//}/
PKGNAMESUFFIX= 9-agpl-base
@@ -12,7 +11,7 @@ COMMENT= PostScript and PDF interpreter
LICENSE= AGPLv3
-BUILD_DEPENDS= jbig2dec>=0.16:graphics/jbig2dec
+BUILD_DEPENDS= jbig2dec>=0.17:graphics/jbig2dec
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2 \
libidn.so:dns/libidn \
@@ -22,15 +21,15 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libtiff.so:graphics/tiff
RUN_DEPENDS= poppler-data>=0.4.9:graphics/poppler-data
+USES= cpe gmake iconv jpeg localbase pkgconfig tar:xz
+USE_CSTD= gnu99
+USE_LDCONFIG= yes
+
CONFLICTS_INSTALL= \
ghostscript[789]-[0-9]* \
ghostscript[789]-nox11-[0-9]* \
ghostscript9-agpl-[0-9]* \
ghostscript9-agpl-nox11-[0-9]*
-
-USES= cpe gmake iconv jpeg localbase pkgconfig tar:xz
-USE_CSTD= gnu99
-USE_LDCONFIG= yes
CPE_VENDOR= artifex
DATADIR= ${PREFIX}/share/${PORTNAME}/${PORTVERSION}
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}/${PORTVERSION}
diff --git a/print/ghostscript9-agpl-base/distinfo b/print/ghostscript9-agpl-base/distinfo
index 9d4ec5b30541..f4474c1b7145 100644
--- a/print/ghostscript9-agpl-base/distinfo
+++ b/print/ghostscript9-agpl-base/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1555687281
-SHA256 (ghostscript-9.27.tar.xz) = fc0f1fbacd3610c67a9f080487a0e021f14390c38a4b4df9723e2bdf2b90b619
-SIZE (ghostscript-9.27.tar.xz) = 33182608
+TIMESTAMP = 1575045403
+SHA256 (ghostscript-9.50.tar.xz) = db9bb0817b6f22974e6d5ad751975f346420c2c86a0afcfe6b4e09c47803e7d4
+SIZE (ghostscript-9.50.tar.xz) = 34613344
diff --git a/print/ghostscript9-agpl-x11/Makefile b/print/ghostscript9-agpl-x11/Makefile
index db5891e53e3e..a5375528eb9e 100644
--- a/print/ghostscript9-agpl-x11/Makefile
+++ b/print/ghostscript9-agpl-x11/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= ghostscript
-PORTVERSION= 9.27
+PORTVERSION= 9.50
CATEGORIES= print
MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//}/
PKGNAMESUFFIX= 9-agpl-x11
@@ -14,18 +14,18 @@ LICENSE= AGPLv3
BUILD_DEPENDS= ghostscript9-agpl-base>=${PORTVERSION}:print/ghostscript9-agpl-base
RUN_DEPENDS= ghostscript9-agpl-base>=${PORTVERSION}:print/ghostscript9-agpl-base
+USES= cpe gmake iconv localbase pkgconfig tar:xz xorg
+USE_CSTD= gnu99
+USE_LDCONFIG= yes
+USE_XORG= ice sm x11 xext xt
+
CONFLICTS_INSTALL= \
ghostscript[789]-[0-9]* \
ghostscript[789]-nox11-[0-9]* \
ghostscript9-agpl-[0-9]* \
ghostscript9-agpl-nox11-[0-9]*
-
DISTINFO_FILE= ${.CURDIR:H}/ghostscript9-agpl-base/distinfo
PATCHDIR= ${.CURDIR:H}/ghostscript9-agpl-base/files
-USES= cpe gmake iconv localbase pkgconfig tar:xz xorg
-USE_CSTD= gnu99
-USE_LDCONFIG= yes
-USE_XORG= ice sm x11 xext xt
CPE_VENDOR= artifex
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-compile-inits \