From owner-svn-ports-all@freebsd.org Mon Apr 10 14:41:34 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 420F8D3763D; Mon, 10 Apr 2017 14:41:34 +0000 (UTC) (envelope-from rezny@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 004A7CEE; Mon, 10 Apr 2017 14:41:33 +0000 (UTC) (envelope-from rezny@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3AEfX9u079945; Mon, 10 Apr 2017 14:41:33 GMT (envelope-from rezny@FreeBSD.org) Received: (from rezny@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3AEfWBF079943; Mon, 10 Apr 2017 14:41:32 GMT (envelope-from rezny@FreeBSD.org) Message-Id: <201704101441.v3AEfWBF079943@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rezny set sender to rezny@FreeBSD.org using -f From: Matthew Rezny Date: Mon, 10 Apr 2017 14:41:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438171 - head/print/cups-filters X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2017 14:41:34 -0000 Author: rezny Date: Mon Apr 10 14:41:32 2017 New Revision: 438171 URL: https://svnweb.freebsd.org/changeset/ports/438171 Log: Add a MUPDF option under PDFTOPS_RENDERER. When activated, mupdf will be used instead of Ghostscript/Poppler. When inactive, mupdf is not a dependency. PR: 217848 Submitted by: raivo.hool@gmail.com Reviewed by: mat Approved by: swills (mentor), cyberbotx@cyberbotx.com (maintainer) Differential Revision: https://reviews.freebsd.org/D10325 Modified: head/print/cups-filters/Makefile head/print/cups-filters/pkg-plist Modified: head/print/cups-filters/Makefile ============================================================================== --- head/print/cups-filters/Makefile Mon Apr 10 14:23:22 2017 (r438170) +++ head/print/cups-filters/Makefile Mon Apr 10 14:41:32 2017 (r438171) @@ -2,7 +2,7 @@ PORTNAME= cups-filters PORTVERSION= 1.13.4 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= print MASTER_SITES= http://www.openprinting.org/download/cups-filters/ @@ -17,8 +17,7 @@ LIB_DEPENDS= liblcms2.so:graphics/lcms2 libcupsimage.so:print/cups \ libfreetype.so:print/freetype2 \ libfontconfig.so:x11-fonts/fontconfig \ - libpoppler.so:graphics/poppler \ - libmupdf.so:graphics/mupdf + libpoppler.so:graphics/poppler CONFLICTS= cups-pstoraster-[0-9]* foomatic-filters-[0-9]* @@ -45,7 +44,7 @@ OPTIONS_DEFINE= BRAILLE COLORD DOCS IJ OPTIONS_GROUP= CUPS_BROWSED OPTIONS_GROUP_CUPS_BROWSED= AVAHI LDAP OPTIONS_SINGLE= PDFTOPS_RENDERER -OPTIONS_SINGLE_PDFTOPS_RENDERER=GS HYBRID PDFTOPS +OPTIONS_SINGLE_PDFTOPS_RENDERER=GS HYBRID PDFTOPS MUPDF OPTIONS_DEFAULT= AVAHI COLORD HYBRID IJS IMAGEFILTERS OPTIONS_SUB= yes @@ -102,6 +101,12 @@ PDFTOPS_RUN_DEPENDS= pdftops:graphics/p PDFTOPS_CONFIGURE_ON= --with-pdftops=pdftops --with-pdftops-path=${LOCALBASE}/bin/pdftops PDFTOPS_DESC= Poppler pdftops(1) +MUPDF_BUILD_DEPENDS= mutool:graphics/mupdf +MUPDF_RUN_DEPENDS= mutool:graphics/mupdf +MUPDF_CONFIGURE_ON= --with-pdftops=mupdf +MUPDF_CONFIGURE_ENABLE= mutool +MUPDF_DESC= MuPDF renderer + PDFTOPS_RENDERER_DESC= Default PDF-to-PostScript renderer post-patch: Modified: head/print/cups-filters/pkg-plist ============================================================================== --- head/print/cups-filters/pkg-plist Mon Apr 10 14:23:22 2017 (r438170) +++ head/print/cups-filters/pkg-plist Mon Apr 10 14:41:32 2017 (r438171) @@ -45,7 +45,7 @@ libexec/cups/filter/gstoraster %%BRAILLE%%libexec/cups/filter/imagetoubrl %%BRAILLE%%libexec/cups/filter/imageubrltoindexv3 %%BRAILLE%%libexec/cups/filter/imageubrltoindexv4 -libexec/cups/filter/mupdftoraster +%%MUPDF%%libexec/cups/filter/mupdftoraster %%IJS%%libexec/cups/filter/pdftoijs libexec/cups/filter/pdftoopvp libexec/cups/filter/pdftopdf @@ -101,7 +101,7 @@ share/cups/drv/cupsfilters.drv %%BRAILLE%%share/cups/mime/braille.convs %%BRAILLE%%share/cups/mime/braille.types share/cups/mime/cupsfilters-ghostscript.convs -share/cups/mime/cupsfilters-mupdf.convs +%%MUPDF%%share/cups/mime/cupsfilters-mupdf.convs share/cups/mime/cupsfilters-poppler.convs share/cups/mime/cupsfilters.convs share/cups/mime/cupsfilters.types