Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2018 19:41:20 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488238 - in head/print: ghostscript9-agpl-base ghostscript9-agpl-x11
Message-ID:  <201812231941.wBNJfKZ9013642@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Sun Dec 23 19:41:19 2018
New Revision: 488238
URL: https://svnweb.freebsd.org/changeset/ports/488238

Log:
  - Update to 9.26.
  - Make openjpeg dependency optional and off by default because it's been
    vulnerable for a long time.
  - Disable IJS option because print/hpijs, the last port that used it, has
    been removed.
  
  PR:		234013
  Approved by:	doceng (bcr)

Modified:
  head/print/ghostscript9-agpl-base/Makefile
  head/print/ghostscript9-agpl-base/distinfo
  head/print/ghostscript9-agpl-base/pkg-plist
  head/print/ghostscript9-agpl-x11/Makefile

Modified: head/print/ghostscript9-agpl-base/Makefile
==============================================================================
--- head/print/ghostscript9-agpl-base/Makefile	Sun Dec 23 19:27:08 2018	(r488237)
+++ head/print/ghostscript9-agpl-base/Makefile	Sun Dec 23 19:41:19 2018	(r488238)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	ghostscript
-PORTVERSION=	9.25
-PORTREVISION=	1
+PORTVERSION=	9.26
 CATEGORIES=	print
 MASTER_SITES=	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//}/
 PKGNAMESUFFIX=	9-agpl-base
@@ -16,7 +15,6 @@ LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
 		libfreetype.so:print/freetype2 \
 		libidn.so:dns/libidn \
 		libjbig2dec.so:graphics/jbig2dec \
-		libopenjp2.so:graphics/openjpeg \
 		libpaper.so:print/libpaper \
 		libpng.so:graphics/png \
 		libtiff.so:graphics/tiff
@@ -42,7 +40,6 @@ CONFIGURE_ARGS=	--disable-compile-inits \
 		--enable-dynamic \
 		--enable-fontconfig \
 		--enable-freetype \
-		--enable-openjpeg \
 		--with-drivers=ALL \
 		--with-fontpath=${LOCALBASE}/share/fonts \
 		--with-jbig2dec \
@@ -55,8 +52,8 @@ ALL_TARGET=	so
 INSTALL_TARGET=	soinstall
 PLIST_SUB=	GS_VERSION="${PORTVERSION}"
 
-OPTIONS_DEFINE=	DOCS CUPS IJS
-OPTIONS_DEFAULT=CUPS IJS
+OPTIONS_DEFINE=	DOCS CUPS IJS JPEG2000
+OPTIONS_DEFAULT=CUPS
 OPTIONS_SUB=	yes
 
 CUPS_CONFIGURE_ENABLE=	cups
@@ -65,6 +62,9 @@ CUPS_LIB_DEPENDS=	libcupsimage.so:print/cups
 IJS_CONFIGURE_WITH=	ijs
 IJS_DESC=		Support libijs based Ghostscript devices
 IJS_LIB_DEPENDS=	libijs.so:print/libijs
+
+JPEG2000_CONFIGURE_ENABLE=	openjpeg
+JPEG2000_LIB_DEPENDS=	libopenjp2.so:graphics/openjpeg
 
 post-patch:
 	@${RM} -r ${WRKSRC}/cups/libs ${WRKSRC}/freetype ${WRKSRC}/ijs \

Modified: head/print/ghostscript9-agpl-base/distinfo
==============================================================================
--- head/print/ghostscript9-agpl-base/distinfo	Sun Dec 23 19:27:08 2018	(r488237)
+++ head/print/ghostscript9-agpl-base/distinfo	Sun Dec 23 19:41:19 2018	(r488238)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1537537103
-SHA256 (ghostscript-9.25.tar.xz) = a2971a23bf15bbd9ddcd173141b15504e51ddc1d5a0a0144b00a6a8b14a62fed
-SIZE (ghostscript-9.25.tar.xz) = 33027708
+TIMESTAMP = 1544792071
+SHA256 (ghostscript-9.26.tar.xz) = 90ed475f37584f646e9ef829932b2525d5c6fc2e0147e8d611bc50aa0e718598
+SIZE (ghostscript-9.26.tar.xz) = 33059724

Modified: head/print/ghostscript9-agpl-base/pkg-plist
==============================================================================
--- head/print/ghostscript9-agpl-base/pkg-plist	Sun Dec 23 19:27:08 2018	(r488237)
+++ head/print/ghostscript9-agpl-base/pkg-plist	Sun Dec 23 19:41:19 2018	(r488238)
@@ -80,7 +80,6 @@ share/color/icc/ghostscript/sgray.icc
 share/color/icc/ghostscript/srgb.icc
 %%PORTDOCS%%%%DOCSDIR%%/API.htm
 %%PORTDOCS%%%%DOCSDIR%%/C-style.htm
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/Commprod.htm
 %%PORTDOCS%%%%DOCSDIR%%/DLL.htm
 %%PORTDOCS%%%%DOCSDIR%%/Deprecated.htm
@@ -89,7 +88,6 @@ share/color/icc/ghostscript/srgb.icc
 %%PORTDOCS%%%%DOCSDIR%%/Drivers.htm
 %%PORTDOCS%%%%DOCSDIR%%/Fonts.htm
 %%PORTDOCS%%%%DOCSDIR%%/GS9_Color_Management.pdf
-%%PORTDOCS%%%%DOCSDIR%%/GS9_Color_Management.tex
 %%PORTDOCS%%%%DOCSDIR%%/History9.htm
 %%PORTDOCS%%%%DOCSDIR%%/Install.htm
 %%PORTDOCS%%%%DOCSDIR%%/Language.htm
@@ -108,11 +106,17 @@ share/color/icc/ghostscript/srgb.icc
 %%PORTDOCS%%%%DOCSDIR%%/VectorDevices.htm
 %%PORTDOCS%%%%DOCSDIR%%/WhatIsGS.htm
 %%PORTDOCS%%%%DOCSDIR%%/gdevds32.c
-%%PORTDOCS%%%%DOCSDIR%%/gs-vms.hlp
-%%PORTDOCS%%%%DOCSDIR%%/gsdoc.el
+%%PORTDOCS%%%%DOCSDIR%%/gs-style.css
+%%PORTDOCS%%%%DOCSDIR%%/images/Artifex_logo.png
+%%PORTDOCS%%%%DOCSDIR%%/images/favicon.png
+%%PORTDOCS%%%%DOCSDIR%%/images/ghostscript_logo.png
+%%PORTDOCS%%%%DOCSDIR%%/images/hamburger-light.png
+%%PORTDOCS%%%%DOCSDIR%%/images/x-light.png
 %%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/index.js
 %%PORTDOCS%%%%DOCSDIR%%/pscet_status.txt
 %%PORTDOCS%%%%DOCSDIR%%/sample_downscale_device.htm
+%%PORTDOCS%%%%DOCSDIR%%/style.css
 %%PORTDOCS%%%%DOCSDIR%%/subclass.htm
 %%PORTDOCS%%%%DOCSDIR%%/thirdparty.htm
 %%DATADIR%%/Resource/CIDFSubst/DroidSansFallback.ttf

Modified: head/print/ghostscript9-agpl-x11/Makefile
==============================================================================
--- head/print/ghostscript9-agpl-x11/Makefile	Sun Dec 23 19:27:08 2018	(r488237)
+++ head/print/ghostscript9-agpl-x11/Makefile	Sun Dec 23 19:41:19 2018	(r488238)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	ghostscript
-PORTVERSION=	9.25
+PORTVERSION=	9.26
 CATEGORIES=	print
 MASTER_SITES=	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${PORTVERSION:S/.//}/
 PKGNAMESUFFIX=	9-agpl-x11
@@ -29,11 +29,11 @@ CONFIGURE_ARGS=	--disable-compile-inits \
 		--disable-cups \
 		--disable-dbus \
 		--disable-gtk \
+		--disable-openjpeg \
 		--enable-contrib \
 		--enable-dynamic \
 		--enable-fontconfig \
 		--enable-freetype \
-		--enable-openjpeg \
 		--with-drivers=ALL \
 		--with-fontpath=${LOCALBASE}/share/fonts \
 		--with-jbig2dec \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812231941.wBNJfKZ9013642>