Sun Sep 18 22:00:17 2016 UTC ()
Updated cups-filters to 1.11.3.

CHANGES IN V1.11.3

	- cups-browsed: If a queue is not only discovered via Bonjour
	  but also via legacy CUPS or LDAP, prefer the Bonjour record
	  as it provides more information and there is also a defined
	  cancellation broadcast.
	- cups-browsed: Let PPD options saved in the last session also
	  get applied to generated PPDs for IPP network printers.
	- cups-browsed: Make sure that saved PPD options do not get
	  lost if for some reason the PPD file cannot be loaded in a
	  new cups-browsed session (or the loaded PPD file is
	  different).  This is done by holding a copy of the settings
	  in the remote printer data structure.
	- cups-browsed: When saving option settings, remove
	  backslashes added when the settings are read out via IPP
	  request. Otherwise the backslashes would double with each
	  session of cups-browsed.
	- implicitclass: Do not let the job get immediately retried on
	  failure to send it out to the remote CUPS printer. By
	  repeating to send the job to an unavailable server so
	  quickly, cups-browsed gets bombed with requests and hangs on
	  shutdown.
	- cups-browsed: Shortened timeouts of HTTP connections and IPP
	  requests to 3 seconds amd of IPP requests to remote CUPS
	  servers to 2 seconds. For local IPP requests always use the
	  connection once created via http_connect_local(). Also call
	  g_main_context_wakeup(NULL) after each
	  g_main_loop_quit(gmainloop) call. These measures should
	  reduce long hangs of cups-browsed on shutdown when a CUPS
	  server got unavailable.
	- cups-browsed: Do not mark remote printers discovered via
	  legacy CUPS broadcasts as disappeared right from the
	  beginning to implement the browse timeout. Instead manage
	  their expiring by introducing a flag which marks them as
	  CUPS legacy printers. Printers with disappeared status are
	  considered invalid in some situations, especially when
	  clusterin equally-named remote printers (Bug #1374).
	- cups-browsed: When we have remote CUPS printers, we use the
	  implicitclass backend and a local copy of the remote PPD
	  file already if we have only a single remote printer with
	  this queue name. This simplifies the management of remote
	  CUPS printers and also we do not hassle with using a remote
	  PPD file. Now one can change PPD option defaults with
	  printer setup tools or the lpadmin command and they get
	  preserved in the next cups-browsed sessions.
	- if we are using the implicitclass backend CUPS does not make
	  the server's PPD file available on the client any more. To
	  fix this, we download the PPD file when creating an
	  implictclass:... queue and apply it to the queue. This way
	  the options of the printer(s) are always available for
	  enumeration, especially in print dialogs (Bug #1372). We
	  modify the local copy setting any options saved from the
	  previous session and inhibiting local execution of filters
	  (as the driver for the remote printer is not necessarily
	  available locally).
	- cups-browsed: Added flag to inhibit auto-backup of option
	  settings by the on_printer_modified() notification handler
	  during print queue setup and removal.
	- cups-browsed: Let the printer_record() function always
	  return the master record for the printer name and not an
	  arbitrary duplicate.
	- cups-browsed: Fixes in the functionality for saving option
	  settings: Make sure to not save the same option twice with
	  different values, do not save the "printer-is-shared" option
	  (errors out when re-applying option in the next session).
	- cups-browsed: Treat discovered printers correctly also if
	  they use a non-standard port, even if several CUPS daemons
	  are running on the same server but on different ports. This
	  also improves the support of a sandboxed printing stack.
	- cups-browsed: Close http connections opened for polling
	  properties of IPP network printers, to fix a possible memory
	  leak.
	- cups-browsed: Cleaned up HTTP access to local and remote
	  CUPS servers and IPP printers, to assure that the local CUPS
	  daemon is always accessed the same (user-defined) way
	  (domain socket/localhost:port). This especially prevents
	  cups-browwsed hanging on shutdown (Debian bug #832637).
	- cups-browsed: Fixed clustering equally-named queues of
	  different remote servers, to assure to have one master
	  referencing to all duplicates and not a daisy chain of
	  duplicate references.


(wiz)
diff -r1.52 -r1.53 pkgsrc/print/cups-filters/Makefile
diff -r1.37 -r1.38 pkgsrc/print/cups-filters/distinfo

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

--- pkgsrc/print/cups-filters/Makefile 2016/09/01 16:01:14 1.52
+++ pkgsrc/print/cups-filters/Makefile 2016/09/18 22:00:17 1.53
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.52 2016/09/01 16:01:14 wiz Exp $ 1# $NetBSD: Makefile,v 1.53 2016/09/18 22:00:17 wiz Exp $
2 2
3DISTNAME= cups-filters-1.11.2 3DISTNAME= cups-filters-1.11.3
4CATEGORIES= print 4CATEGORIES= print
5MASTER_SITES= http://openprinting.org/download/cups-filters/ 5MASTER_SITES= http://openprinting.org/download/cups-filters/
6EXTRACT_SUFX= .tar.xz 6EXTRACT_SUFX= .tar.xz
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters 9HOMEPAGE= http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters
10COMMENT= Backends, filters, and other software for cups 10COMMENT= Backends, filters, and other software for cups
11LICENSE= 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
12 12
13GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
14USE_LIBTOOL= yes 14USE_LIBTOOL= yes
15USE_TOOLS+= bash:run pkg-config gmake 15USE_TOOLS+= bash:run pkg-config gmake
16USE_LANGUAGES= c c++ 16USE_LANGUAGES= c c++

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

--- pkgsrc/print/cups-filters/distinfo 2016/09/01 16:01:14 1.37
+++ pkgsrc/print/cups-filters/distinfo 2016/09/18 22:00:17 1.38
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.37 2016/09/01 16:01:14 wiz Exp $ 1$NetBSD: distinfo,v 1.38 2016/09/18 22:00:17 wiz Exp $
2 2
3SHA1 (cups-filters-1.11.2.tar.xz) = aade229c9110d37dd21107486b43ce0495d55e9d 3SHA1 (cups-filters-1.11.3.tar.xz) = bf64a98d7e185092a7d6abf6d084687358fdb514
4RMD160 (cups-filters-1.11.2.tar.xz) = 334af258e37c0ac1a8529431ca0d8eee0d970d12 4RMD160 (cups-filters-1.11.3.tar.xz) = 48b9054d139cbf038dfde013ab3732abcbe5c3d2
5SHA512 (cups-filters-1.11.2.tar.xz) = 7a396a0921ed54f2c6705b00faea9e5f098b0632beb526bf131af134307bbf6f01a952b88c4983fbda4b5367ed84e9cb0e69a78d5f31bef1fc1198bae70e43c5 5SHA512 (cups-filters-1.11.3.tar.xz) = 95b7c55ae459036afa2df1493d5f28e889929e59a702563c2761db0bde2fb807bd62e380683dc0ee0ee366fe416e1872b17566d01a26124256471a241c397957
6Size (cups-filters-1.11.2.tar.xz) = 1404832 bytes 6Size (cups-filters-1.11.3.tar.xz) = 1408372 bytes