Update to cups-filters-1.0.28.

-> adds a cups-browsed daemon that allows browsing for dns-sd/bonjour/avahi
shared printers and creating queues automatically.
This commit is contained in:
ajacoutot 2012-12-30 17:46:54 +00:00
parent 03af1658ff
commit d25771c359
4 changed files with 29 additions and 10 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.5 2012/12/12 17:35:02 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.6 2012/12/30 17:46:54 ajacoutot Exp $
# XXX remove @exec-update when we branch 5.4-current
COMMENT= OpenPrinting CUPS filters
DISTNAME= cups-filters-1.0.25
DISTNAME= cups-filters-1.0.28
CATEGORIES= print
SHARED_LIBS += cupsfilters 0.0 # 1.0
@ -20,9 +20,10 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += asn1 c crypto cups cupsimage expat fontconfig freetype
WANTLIB += gssapi ijs jpeg krb5 lcms2 m openjpeg png poppler pthread
WANTLIB += ssl stdc++ tiff z pcre qpdf
WANTLIB += asn1 avahi-client avahi-common c crypto cups cupsimage
WANTLIB += dbus-1 expat fontconfig freetype gssapi iconv ijs intl
WANTLIB += jpeg krb5 lcms2 m openjpeg pcre png poppler pthread
WANTLIB += qpdf ssl stdc++ tiff z
MASTER_SITES= http://www.openprinting.org/download/cups-filters/
@ -34,10 +35,11 @@ MODGCC4_VERSION=4.6
BUILD_DEPENDS= print/ghostscript/gnu
LIB_DEPENDS= print/cups,-libs \
LIB_DEPENDS= net/avahi \
print/cups,-libs \
print/ijs \
print/poppler \
print/qpdf>=3.0.2
print/qpdf
# make it easier for users: bring in foomatic-filters, ghostscript
# (with gstoraster) and allow the regeneration of PPD files from
@ -66,4 +68,7 @@ CONFIGURE_ARGS += --with-pdftops=pdftops
BUILD_DEPENDS += print/poppler,-utils
RUN_DEPENDS += print/poppler,-utils # print/ghostscript/gnu
post-install:
rm -rf ${WRKINST}/rc?.d
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (cups-filters-1.0.25.tar.gz) = qmjGxIgyFp7byjuiVpcEGeetTJJzA1o9ugmL0tgC894=
SIZE (cups-filters-1.0.25.tar.gz) = 1270632
SHA256 (cups-filters-1.0.28.tar.gz) = pM8mvVtLqCkFbngjewGikjbDN52c7QnUsqWjgIsLbLM=
SIZE (cups-filters-1.0.28.tar.gz) = 1284567

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2012/12/12 17:35:03 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.4 2012/12/30 17:46:54 ajacoutot Exp $
@conflict cups-<1.6.0
@exec-update [ -h ${SYSCONFDIR}/fonts/conf.d/99-pdftoopvp.conf ] && rm -f ${SYSCONFDIR}/fonts/conf.d/99-pdftoopvp.conf || true
%%SHARED%%
@ -38,6 +38,7 @@ libexec/cups/filter/textonly
@bin libexec/cups/filter/texttopdf
libexec/cups/filter/texttops
@bin libexec/cups/filter/urftopdf
@bin sbin/cups-browsed
share/cups/banners/
share/cups/banners/classified
share/cups/banners/confidential
@ -73,3 +74,4 @@ share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd
share/ppd/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd
share/ppd/cupsfilters/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd
share/ppd/cupsfilters/textonly.ppd
@rcscript ${RCDIR}/cups_browsed

View File

@ -0,0 +1,12 @@
#!/bin/sh
#
# $OpenBSD: cups_browsed.rc,v 1.1 2012/12/30 17:46:54 ajacoutot Exp $
daemon="${TRUEPREFIX}/sbin/cups-browsed"
. /etc/rc.d/rc.subr
rc_bg=YES
rc_reload=NO
rc_cmd $1