Wed Aug 26 08:36:48 2015 UTC ()
Update to 1.0.73. Now needs gdbus-codegen and gmake to build.

CHANGES IN V1.0.73

	- cups-browsed: Added missing
          utils/org.cups.cupsd.Notifier.xml file.

CHANGES IN V1.0.72

	- cups-browsed, implicitclass: Added load balancing
          functionality. If there are several remote CUPS printers
          with the same name, they for locally a cluster represented
          by a print queue with this name. This printer prints through
          a special backend (implicitclass) which makes cups-browsed
          find the best destination remote queue (fewest jobs,
          enabled) for this job.
	- cups-browsed: Added protection against accidental deletion of
	  print queues generated by cups-browsed. These queues now get
	  automatically re-created.
	- cups-browsed: Added LDAP support. Appropriately configured via
	  cups-browsed.conf remote printers made available via LDAP will be
	  looked up and local queues pointing to them created. Thanks to
	  Raphael Geissert (atomo64 at gmail dot com) for contributing this
	  patch (Debian bug #795185).
	- cups-browsed: Introduced new handling for the default
	  printer using cache files. So we do not need to keep an auto-generated
	  queue because it is set as default printer. If the auto-generated
	  queue disappears, the old local printer is set as default again and
	  when it re-appears it returns to be the default printer.
	- cups-browsed: Added infrastructure for subscribing to CUPS
	  notifications for things like improved default printer handling,
	  load balancing, ...
	- foomatic-rip: Prevent crash when supplying "media" option with empty
	  value ("media=", Ubuntu bug #1479871).
	- pdftoopvp: Adaptations to API changes on Poppler 0.34.0, note that
	  this patch disables color management in this filter. Thanks to
	  Vincent le Garrec and Andreas K. Huettel for the patch (Bug #1301,
	  Gentoo bug #554782).
	- libcupsfilters, bannertopdf, foomatic-rip, gstoraster, pdftoijs,
	  sys5ippprinter, pdftoopvp, pdftops, pdftoraster, rastertoescpx,
	  urftopdf, texttopdf: Miscellaneous fixes for build compatibility with
	  different platforms, like config.h as very first include and so on.
	  Thanks to Richard Palo for the patch (Bug #1264).
	- texttopdf: Request the generic 'monospace' font alias from fontconfig
	  instead of the hard-coded FreeMono. Thanks to Fabian Greffrath
	  (fabian at debian dot org) for the patch (Debian bug #788048).


(wiz)
diff -r1.25 -r1.26 pkgsrc/print/cups-filters/Makefile
diff -r1.7 -r1.8 pkgsrc/print/cups-filters/PLIST
diff -r1.20 -r1.21 pkgsrc/print/cups-filters/distinfo
diff -r0 -r1.1 pkgsrc/print/cups-filters/patches/patch-backend_implicitclass.c
diff -r1.1 -r0 pkgsrc/print/cups-filters/patches/patch-filter_pdftoopvp_OPVPOutputDev.cxx
diff -r1.1 -r0 pkgsrc/print/cups-filters/patches/patch-filter_pdftoopvp_oprs_OPRS.cxx

cvs diff -r1.25 -r1.26 pkgsrc/print/cups-filters/Makefile (expand / switch to unified diff)

--- pkgsrc/print/cups-filters/Makefile 2015/07/15 15:09:38 1.25
+++ pkgsrc/print/cups-filters/Makefile 2015/08/26 08:36:48 1.26
@@ -1,38 +1,39 @@ @@ -1,38 +1,39 @@
1# $NetBSD: Makefile,v 1.25 2015/07/15 15:09:38 wiz Exp $ 1# $NetBSD: Makefile,v 1.26 2015/08/26 08:36:48 wiz Exp $
2 2
3DISTNAME= cups-filters-1.0.71 3DISTNAME= cups-filters-1.0.73
4PKGREVISION= 1 
5CATEGORIES= print 4CATEGORIES= print
6MASTER_SITES= http://openprinting.org/download/cups-filters/ 5MASTER_SITES= http://openprinting.org/download/cups-filters/
7EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters 9HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters
11COMMENT= Backends, filters, and other software for cups 10COMMENT= Backends, filters, and other software for cups
12LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND mit 11LICENSE= gnu-gpl-v2 AND gnu-gpl-v3 AND gnu-lgpl-v2 AND mit
13 12
14GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
15USE_LIBTOOL= yes 14USE_LIBTOOL= yes
16USE_TOOLS+= bash:run pkg-config 15USE_TOOLS+= bash:run gmake pkg-config
17USE_TOOLS+= autoconf 16USE_TOOLS+= autoconf
18USE_LANGUAGES= c c++ 17USE_LANGUAGES= c c++
19 18
20CONFLICTS+= cups<1.6 19BUILD_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen
21DEPENDS+= poppler-utils-[0-9]*:../../print/poppler-utils 20DEPENDS+= poppler-utils-[0-9]*:../../print/poppler-utils
22 21
23PKGCONFIG_OVERRIDE+= libcupsfilters.pc.in 22PKGCONFIG_OVERRIDE+= libcupsfilters.pc.in
24PKGCONFIG_OVERRIDE+= libfontembed.pc.in 23PKGCONFIG_OVERRIDE+= libfontembed.pc.in
25 24
 25CONFLICTS+= cups<1.6
 26
26REPLACE_BASH+= filter/textonly 27REPLACE_BASH+= filter/textonly
27 28
28CONFIGURE_ARGS+= --with-rcdir=${PREFIX}/share/examples/rc.d 29CONFIGURE_ARGS+= --with-rcdir=${PREFIX}/share/examples/rc.d
29CONFIGURE_ARGS+= --with-rclevels="" 30CONFIGURE_ARGS+= --with-rclevels=""
30CONFIGURE_ARGS+= --with-shell=${TOOLS_PATH.bash} 31CONFIGURE_ARGS+= --with-shell=${TOOLS_PATH.bash}
31 32
32INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/cups-filters 33INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples/cups-filters
33 34
34CONF_FILES= ${PREFIX}/share/examples/cups-filters/fonts/conf.d/99pdftoopvp.conf ${PKG_SYSCONFDIR}/fonts/conf.d/99pdftoopvp.conf 35CONF_FILES= ${PREFIX}/share/examples/cups-filters/fonts/conf.d/99pdftoopvp.conf ${PKG_SYSCONFDIR}/fonts/conf.d/99pdftoopvp.conf
35CONF_FILES= ${PREFIX}/share/examples/cups-filters/cups-browsed.conf ${PKG_SYSCONFDIR}/cups/cups-browsed.conf 36CONF_FILES= ${PREFIX}/share/examples/cups-filters/cups-browsed.conf ${PKG_SYSCONFDIR}/cups/cups-browsed.conf
36 37
37pre-configure: 38pre-configure:
38 cd ${WRKSRC} && autoconf 39 cd ${WRKSRC} && autoconf

cvs diff -r1.7 -r1.8 pkgsrc/print/cups-filters/PLIST (expand / switch to unified diff)

--- pkgsrc/print/cups-filters/PLIST 2015/06/14 16:08:04 1.7
+++ pkgsrc/print/cups-filters/PLIST 2015/08/26 08:36:48 1.8
@@ -1,30 +1,31 @@ @@ -1,30 +1,31 @@
1@comment $NetBSD: PLIST,v 1.7 2015/06/14 16:08:04 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.8 2015/08/26 08:36:48 wiz Exp $
2bin/foomatic-rip 2bin/foomatic-rip
3bin/ttfread 3bin/ttfread
4include/cupsfilters/colord.h 4include/cupsfilters/colord.h
5include/cupsfilters/colormanager.h 5include/cupsfilters/colormanager.h
6include/cupsfilters/driver.h 6include/cupsfilters/driver.h
7include/cupsfilters/image.h 7include/cupsfilters/image.h
8include/cupsfilters/raster.h 8include/cupsfilters/raster.h
9include/fontembed/bitset.h 9include/fontembed/bitset.h
10include/fontembed/embed.h 10include/fontembed/embed.h
11include/fontembed/fontfile.h 11include/fontembed/fontfile.h
12include/fontembed/iofn.h 12include/fontembed/iofn.h
13include/fontembed/sfnt.h 13include/fontembed/sfnt.h
14lib/libcupsfilters.la 14lib/libcupsfilters.la
15lib/libfontembed.la 15lib/libfontembed.la
16lib/pkgconfig/libcupsfilters.pc 16lib/pkgconfig/libcupsfilters.pc
17lib/pkgconfig/libfontembed.pc 17lib/pkgconfig/libfontembed.pc
 18libexec/cups/backend/implicitclass
18libexec/cups/backend/parallel 19libexec/cups/backend/parallel
19libexec/cups/backend/serial 20libexec/cups/backend/serial
20libexec/cups/filter/bannertopdf 21libexec/cups/filter/bannertopdf
21libexec/cups/filter/commandtoescpx 22libexec/cups/filter/commandtoescpx
22libexec/cups/filter/commandtopclx 23libexec/cups/filter/commandtopclx
23libexec/cups/filter/foomatic-rip 24libexec/cups/filter/foomatic-rip
24libexec/cups/filter/gstopxl 25libexec/cups/filter/gstopxl
25libexec/cups/filter/gstoraster 26libexec/cups/filter/gstoraster
26libexec/cups/filter/imagetopdf 27libexec/cups/filter/imagetopdf
27libexec/cups/filter/imagetops 28libexec/cups/filter/imagetops
28libexec/cups/filter/imagetoraster 29libexec/cups/filter/imagetoraster
29libexec/cups/filter/pdftoijs 30libexec/cups/filter/pdftoijs
30libexec/cups/filter/pdftoopvp 31libexec/cups/filter/pdftoopvp

cvs diff -r1.20 -r1.21 pkgsrc/print/cups-filters/distinfo (expand / switch to unified diff)

--- pkgsrc/print/cups-filters/distinfo 2015/07/15 12:49:37 1.20
+++ pkgsrc/print/cups-filters/distinfo 2015/08/26 08:36:48 1.21
@@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
1$NetBSD: distinfo,v 1.20 2015/07/15 12:49:37 wiz Exp $ 1$NetBSD: distinfo,v 1.21 2015/08/26 08:36:48 wiz Exp $
2 2
3SHA1 (cups-filters-1.0.71.tar.xz) = c08258c086d4a6edf5869fc29676280ad0c22b27 3SHA1 (cups-filters-1.0.73.tar.xz) = 55296ba6104b11520a0490a17455c2f90dc0ad6f
4RMD160 (cups-filters-1.0.71.tar.xz) = c5da92ce803f156b60e8b08bf1251fa1d06c315b 4RMD160 (cups-filters-1.0.73.tar.xz) = e36bae34f2fe663944d44f04c863685ae21cf88f
5Size (cups-filters-1.0.71.tar.xz) = 1339116 bytes 5Size (cups-filters-1.0.73.tar.xz) = 1351652 bytes
6SHA1 (patch-filter_pdftoopvp_OPVPOutputDev.cxx) = a1f9214bcbc77438cd74310e9483bfb644bbf1da 6SHA1 (patch-backend_implicitclass.c) = 20f108e1361a7d691110e9e85ec9c750ad7674b2
7SHA1 (patch-filter_pdftoopvp_oprs_OPRS.cxx) = 1e5e641f209748105201fac382dd9802615d946e 

File Added: pkgsrc/print/cups-filters/patches/Attic/patch-backend_implicitclass.c
$NetBSD: patch-backend_implicitclass.c,v 1.1 2015/08/26 08:36:48 wiz Exp $

For open() and O_RDONLY.
https://bugs.linuxfoundation.org/show_bug.cgi?id=1310

--- backend/implicitclass.c.orig	2015-08-18 23:28:24.000000000 +0000
+++ backend/implicitclass.c
@@ -21,6 +21,7 @@
 #include "backend-private.h"
 #include <cups/array.h>
 #include <ctype.h>
+#include <fcntl.h>
 
 /*
  * Local globals...

File Deleted: pkgsrc/print/cups-filters/patches/Attic/patch-filter_pdftoopvp_OPVPOutputDev.cxx

File Deleted: pkgsrc/print/cups-filters/patches/Attic/patch-filter_pdftoopvp_oprs_OPRS.cxx