Page MenuHomeFreeBSD

D10325.diff
No OneTemporary

D10325.diff

Index: head/print/cups-filters/Makefile
===================================================================
--- head/print/cups-filters/Makefile
+++ head/print/cups-filters/Makefile
@@ -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 @@
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_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_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:
Index: head/print/cups-filters/pkg-plist
===================================================================
--- head/print/cups-filters/pkg-plist
+++ head/print/cups-filters/pkg-plist
@@ -45,7 +45,7 @@
%%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 @@
%%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

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 21, 12:07 AM (6 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31873344
Default Alt Text
D10325.diff (2 KB)

Event Timeline