FreeBSD Bugzilla – Attachment 221170 Details for
Bug 252335
print/cups-filters: add possibility to use ImageMagick 7 if BRAILLE build option is on
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Add possibility to use ImageMagick 7 if BRAILLE build option is on
cups-filters.diff (text/plain), 2.30 KB, created by
Vladimir Druzenko
on 2021-01-01 18:25:35 UTC
(
hide
)
Description:
Add possibility to use ImageMagick 7 if BRAILLE build option is on
Filename:
MIME Type:
Creator:
Vladimir Druzenko
Created:
2021-01-01 18:25:35 UTC
Size:
2.30 KB
patch
obsolete
>diff -ur print/cups-filters.orig/Makefile print/cups-filters/Makefile >--- print/cups-filters.orig/Makefile >+++ print/cups-filters/Makefile >@@ -47,24 +47,39 @@ > --with-test-font-path=${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf > INSTALL_TARGET= install-strip > >-OPTIONS_DEFINE= BRAILLE COLORD DOCS >+OPTIONS_DEFINE= COLORD DOCS > OPTIONS_GROUP= FILTERS CUPS_BROWSED > OPTIONS_GROUP_FILTERS= GHOSTSCRIPT IMAGES MUPDF POPPLER > OPTIONS_GROUP_CUPS_BROWSED= AVAHI LDAP >+OPTIONS_RADIO= BRAILLE >+OPTIONS_RADIO_BRAILLE= BRAILLE_IM6 BRAILLE_IM7 > OPTIONS_SINGLE= PDFTOPS > OPTIONS_SINGLE_PDFTOPS= PSGHOSTSCRIPT PSHYBRID PSMUPDF PSPOPPLER > OPTIONS_DEFAULT= COLORD GHOSTSCRIPT IMAGES AVAHI LDAP PSHYBRID > OPTIONS_SUB= yes > >-BRAILLE_CONFIGURE_ENABLE= braille >-BRAILLE_DESC= Braille embosser support > BRAILLE_BUILD_DEPENDS= bash:shells/bash >+BRAILLE_CONFIGURE_ON= --enable-braille >+BRAILLE_DESC= Braille embosser support > BRAILLE_LIB_DEPENDS= liblouis.so:devel/liblouis \ > # liblouisutdml.so:devel/liblouisutdml >-BRAILLE_RUN_DEPENDS= convert:graphics/ImageMagick6 \ >- pdftotext:graphics/poppler-utils \ >+BRAILLE_RUN_DEPENDS= pdftotext:graphics/poppler-utils \ > bash:shells/bash > >+BRAILLE_IM6_BUILD_DEPENDS= ${BRAILLE_BUILD_DEPENDS} >+BRAILLE_IM6_CONFIGURE_ON= ${BRAILLE_CONFIGURE_ON} >+BRAILLE_IM6_DESC= Using ImageMagick 6.x >+BRAILLE_IM6_LIB_DEPENDS= ${BRAILLE_LIB_DEPENDS} >+BRAILLE_IM6_RUN_DEPENDS= convert:graphics/ImageMagick6 \ >+ ${BRAILLE_RUN_DEPENDS} >+ >+BRAILLE_IM7_BUILD_DEPENDS= ${BRAILLE_BUILD_DEPENDS} >+BRAILLE_IM7_CONFIGURE_ON= ${BRAILLE_CONFIGURE_ON} >+BRAILLE_IM7_DESC= Using ImageMagick 7.x >+BRAILLE_IM7_LIB_DEPENDS= ${BRAILLE_LIB_DEPENDS} >+BRAILLE_IM7_RUN_DEPENDS= convert:graphics/ImageMagick7 \ >+ ${BRAILLE_RUN_DEPENDS} >+ > COLORD_CONFIGURE_ENABLE= dbus > COLORD_DESC= Get ICC color profiles from colord (via D-Bus) > COLORD_LIB_DEPENDS= libdbus-1.so:devel/dbus >@@ -132,6 +147,15 @@ > PSPOPPLER_RUN_DEPENDS= pdftops:graphics/poppler-utils > PSPOPPLER_CONFIGURE_ON= --with-pdftops=pdftops > PSPOPPLER_DESC= Poppler pdftops(1) >+ >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MBRAILLE_IM6} || ${PORT_OPTIONS:MBRAILLE_IM7} >+PLIST_SUB+= BRAILLE="" >+.else >+CONFIGURE_ARGS+= --disable-braille >+PLIST_SUB+= BRAILLE="@comment " >+.endif > > post-patch: > @${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
vvd
:
maintainer-approval?
Actions:
View
|
Diff
Attachments on
bug 252335
: 221170 |
221767