pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/cups-filters cups-filters: Update to 1.25.11
details: https://anonhg.NetBSD.org/pkgsrc/rev/daaefd277bbe
branches: trunk
changeset: 342505:daaefd277bbe
user: leot <leot%pkgsrc.org@localhost>
date: Sun Oct 20 12:17:18 2019 +0000
description:
cups-filters: Update to 1.25.11
pkgsrc changes:
- Remove patch-filter_pdf.cxx (was a backport from upstream) and patch-Makefile.in
(now `-r' option of `ln' is checked in configure phase)
Changes:
1.25.11
-------
- cups-browsed: Really accept entries without printer name
reported on a job status request (Issue #163).
- cups-browsed: Strip IPP atrribute values reported by the
printer on a get-printer-attributes request from white
space (Pull request #166).
1.25.10
-------
- libcupsfilters: Added NULL checks when handling page size
names as some of the page sizes in CUPS' PWG media list have
a NULL PPD name (Ubuntu bug #1847488).
1.25.9
------
- cups-browsed: Fix leaks in get_printer_attributes() function.
- cups-browsed: Avoid infinite recursion on IPP 1.1 fallback.
1.25.8
------
- cups-browsed: On a job status request accept also entries
without the printer name being reported (Issue #163).
- cups-browsed: Fall back to IPP 1.1 if a
get-printer-attributes IPP request with IPP 2.x fails (Issue
#124, Issue #163).
- gstoraster: Use ".setfilladjust2" instead of the
undocumented ".setfilladjust" PostScript command for
Center-of-Pixel method to fill paths (Issue #164).
1.25.7
------
- implicitclass, libcupsfilters: Fixes to solve an assertion
error and printing to an Apple Raster printer (Issue #162,
Ubuntu bug #1845286, Ubuntu bug #1845548).
- cups-browsed: Do not try to resolve the network interface
name on Avahi messages which are not interface-related (like
"All for now"or "Cache exhausted", Issue #163).
- Build system: The helper script ln-srf to build on systems
with old ln was not included in the release tarballs (Issue
#161).
- pdftoraster: Fixed some bugs in output bitmap generation (
writePageImage() function): Segfault on output of
up-side-down pages (back side when printing duplex on some
printers), margin offsets not taken into account on
monochrome jobs, CUPS_CSPACE_W color space not recognized as
monochrome (Ubuntu bug #1845286).
1.25.6
------
- implicitclass: Make sure the destination printer gets always
set and do not pass on the cups-browsed-dest-printer when
sending the job to the final destination (Issue #152, Pull
request #159).
- Build system: Support old ln versions without the -r option
(Pull request #154, #157).
- texttotext: Link with libiconv if needed (Pull request
#155, #158).
- foomatic-rip: Fix argument representation for raw queue
debug mesaage (Pull request #153).
1.25.5
------
- bannertopdf: Added missing "#include <cstring>" to pdf.cxx
so that bannertopdf correctly builds with QPDF 9.0.0 (Issue
#134, Issue #151, Gentoo bug #693498).
- rastertopdf: Let the getIPPColorProfileName() function not
return a pointer to a local variable (clang warning, Issue
#150).
- cups-browsed: If a locally generated queue (usually with
"implicitclass://..." URI) left over from a previous
(crashed) session is picked up on startup, do not set the
URI as the remote printer's URI and do not cause a fatal
error on a failed get-printer-attributes IPP request (Issue
#148, Debian bug #939316).
- pdftopdf: Do not preserve encryption, since the output
already goes into the printer (Issue #146, Pull request
#147).
1.25.4
------
- imagetoraster: Do not call imagetops and pstoraster for
classifications and page labels as these filters are not
included any more with cups-filters. Classifications and
page labels are currently not supported for direct image
printing, only for PDF or PostScript input (which goes
through pdftopdf).
- imagetoraster, imagetopdf: Fixed auto-rotation of images to
fit output page best (Issue #145).
- pdftoraster: If the PPD contains several equally-sized page
size entries which match the size of the input page and one
is the size selected by the user via the "PageSize" or
"media" option (or the default selection in the PPD) then
prefer this one instead of simply the first matching one.
- pdftoraster: If the input page size cannot be matched with
one of the PPD's page sizes it is considered a custom size,
fill the page size name field of the CUPS Raster header with
"Custom.XXXxYYY" then.
- pdftoraster: Match the input page size with a page size in
the PPD only if the differences of the dimensions are less
than 1%, also match the input page size against the
imageable area of the PPD's page sizes if no match with the
full page size is found (Issue #138).
1.25.3
------
- Sample PPDs: In HP-Color_LaserJet_CM3530_MFP-PDF.ppd renamed
"custom" choice of the option "stapleoption" to "customsize"
as from CUPS 2.2.12 on "custom" is not accepted any more as a
choice name in a PPD file.
- cups-browsed: Fixed check whether the remote printer understands
PWG Raster (Issue #141).
1.25.2
------
- foomatic-rip: Fixed segmentation fault when running
foomatic-rip by hand and the PRINTER environment variable is
not set (Pull request #139).
- cups-browsed: Added note to cups-browsed.conf and man page
about IP-based URIs depending on the network interface used.
- cups-browsed: For each DNS-SD-discovered printer register
each DNS-SD discovery instance with network interface,
family, and IPP type. When DNS-SD messages of instances
disappearing show up, only unregister this instance and
remove the printer only if no instance is left. This
prevents a local queue of a still available printer being
removed when Wi-Fi (= one interface) is turned off (Issue
#136).
- cups-browsed: If a remote printer is served from the local
machine, prefer the "localhost"/loopback interface URI.
- cups-browsed: If a remote printer is discovered more than
once, use the new instance only if it has no downgrades and
at least one upgrade compared to the old one. Features
currently compared are IPP/IPPS, loopback interface or not,
and discovery via CUPS legacy/LDAP/DNS-SD.
- cups-browsed: If an Avahi-discovered entry comes through the
"lo" interface, always use the host name "localhost". Use
IP addresses instead of host names only if explicitly
requested.
- cups-browsed: Consider remote printer entries also as from
the same printer if one has the local machine's network name
and the other "localhost" as host name (Issue #136).
1.25.1
------
- imagetopdf: Fixed crash when no PPD file was supplied (Pull
request #133).
- pdftoraster: Fixed offset issues leading to segmentation
faults (Issue #131, Pull request #132).
- pdftoraster: Added anti-aliasing for better raster image
quality (Pull request #129).
- pdftoraster: Added graceful handling of zero-page input
(Issue #117, Pull request #127).
1.25.0
------
- pdftoijs, pdftoopvp: Removed these deprecated filters
completely as there is no demand for them any more. They
also used unstable, undocumented APIs of Poppler.
- pdftoraster: Changed from using unstable, undocumented APIs
of Poppler to stable, documented ones, to improve
maintainability of this filter, and with it of the
cups-filters package. Thanks to Tanmay Anand for
contributing this as his Google Summer of Code 2019 project.
- libcupsfilters: Added support for color spaces CMY and RGBW
when using filters without PPD file (mainly for development
and debugging, option "print-color-mode" with values
"cmy-XX" and "rgbw-XX" with XX being the number of bits per
color).
1.24.0
------
- cups-browsed: Integration of Deepak Patankar's Google Summer
of Code 2018 project with the main goal of clustering
different printers and automatically selecting the
destination printers by job content and option/attribute
settings. All changes of this release are done by Deepak as
parts of his project.
- cups-browsed, implicitclass: Support for mixed clusters of
remote CUPS queues and IPP network printers. For this PPD
files of remote CUPS queues are generated by cups-browsed
based on IPP queries, as for native IPP printers, the number
of jobs for load balancing is polled in a way that it works
also with native IPP printers, the implicitclass backend
sends jobs directky to the printer instead of re-queueing
them via CUPS.
- cups-browsed: Merge IPP attributes of several printers to
combined attributes for the cluster to generate the
cluster's PPD file, including PPD constraints for option
combinations not fulfillable by any of the member printers,
and finding reasonable, non-conflicting default settings,
- cups-browsed: Selection algorithm for the destination
printer for a job sent to the cluster. Based on the job
settings requested such as page size, media type, print
quality, ... the best most suitable printer in the cluster
for the job will be selected.
- cups-browsed, implicitclass: Filter jobs to clusters already
locally. Due to the fact that a cluster's member printers
are not exclusively non-raw CUPS queues with the complete
filtering framework on the remote server, but also native
IPP printers, we need to support generic driverless printers
as destination. So we cannot pass on the input data
unfiltered but need to filter locally. We let the cluster's
PPD file emulate a PDF printer, letting the local CUPS queue
of the cluster run pdftopdf and any pre-filters to turn the
input into PDF and we let the implicitclass backend turn PDF
into a format understood by the destination printer,
supporting the 4 formats of driverless IPP printing: PDF,
PWG Raster, Apple Raster, PCLm.
diffstat:
print/cups-filters/Makefile | 5 ++---
print/cups-filters/PLIST | 6 +++---
print/cups-filters/distinfo | 12 +++++-------
print/cups-filters/patches/patch-Makefile.in | 19 -------------------
print/cups-filters/patches/patch-filter_pdf.cxx | 15 ---------------
5 files changed, 10 insertions(+), 47 deletions(-)
diffs (118 lines):
diff -r 4cc12a31332c -r daaefd277bbe print/cups-filters/Makefile
--- a/print/cups-filters/Makefile Sun Oct 20 11:11:53 2019 +0000
+++ b/print/cups-filters/Makefile Sun Oct 20 12:17:18 2019 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.125 2019/10/19 12:46:06 nia Exp $
+# $NetBSD: Makefile,v 1.126 2019/10/20 12:17:18 leot Exp $
-DISTNAME= cups-filters-1.23.0
-PKGREVISION= 5
+DISTNAME= cups-filters-1.25.11
CATEGORIES= print
MASTER_SITES= http://openprinting.org/download/cups-filters/
EXTRACT_SUFX= .tar.xz
diff -r 4cc12a31332c -r daaefd277bbe print/cups-filters/PLIST
--- a/print/cups-filters/PLIST Sun Oct 20 11:11:53 2019 +0000
+++ b/print/cups-filters/PLIST Sun Oct 20 12:17:18 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2018/12/05 18:49:39 leot Exp $
+@comment $NetBSD: PLIST,v 1.22 2019/10/20 12:17:18 leot Exp $
bin/driverless
bin/foomatic-rip
bin/ttfread
@@ -6,6 +6,7 @@
include/cupsfilters/colormanager.h
include/cupsfilters/driver.h
include/cupsfilters/image.h
+include/cupsfilters/pdftoippprinter.h
include/cupsfilters/ppdgenerator.h
include/cupsfilters/raster.h
include/fontembed/bitset.h
@@ -34,7 +35,6 @@
libexec/cups/filter/imagetopdf
libexec/cups/filter/imagetops
libexec/cups/filter/imagetoraster
-libexec/cups/filter/pdftoijs
libexec/cups/filter/pdftopdf
libexec/cups/filter/pdftops
libexec/cups/filter/pdftoraster
@@ -82,6 +82,7 @@
share/cups/mime/cupsfilters.types
share/cups/ppdc/escp.h
share/cups/ppdc/pcl.h
+share/doc/cups-filters/ABOUT-NLS
share/doc/cups-filters/AUTHORS
share/doc/cups-filters/COPYING
share/doc/cups-filters/INSTALL
@@ -91,7 +92,6 @@
share/ppd/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd
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/Ricoh-PDF_Printer-PDF.ppd
share/ppd/cupsfilters/pxlcolor.ppd
share/ppd/cupsfilters/pxlmono.ppd
diff -r 4cc12a31332c -r daaefd277bbe print/cups-filters/distinfo
--- a/print/cups-filters/distinfo Sun Oct 20 11:11:53 2019 +0000
+++ b/print/cups-filters/distinfo Sun Oct 20 12:17:18 2019 +0000
@@ -1,13 +1,11 @@
-$NetBSD: distinfo,v 1.64 2019/09/20 11:11:52 prlw1 Exp $
+$NetBSD: distinfo,v 1.65 2019/10/20 12:17:18 leot Exp $
-SHA1 (cups-filters-1.23.0.tar.xz) = bc138548f82a78f3946cfea67ab775e265a97ca9
-RMD160 (cups-filters-1.23.0.tar.xz) = 46650c7cd3e99d122a729717269b111c71d3bc7f
-SHA512 (cups-filters-1.23.0.tar.xz) = 466dc14155750f8868f29fe416c061813b661892aba7bf91446e1145da5c7eb23abf9935a19d2309bfcb521c44eab9d4404db7965c95b9578e10cccd26bbba8f
-Size (cups-filters-1.23.0.tar.xz) = 1477900 bytes
-SHA1 (patch-Makefile.in) = 2d5b05c9dca8ef7cc51931d77dddb1b2c4d422d8
+SHA1 (cups-filters-1.25.11.tar.xz) = d81dc9dfaaebbb551123fb6f821279df3fd3912f
+RMD160 (cups-filters-1.25.11.tar.xz) = 6690b8af3047a9245252fe0659f12c1cf3c2244f
+SHA512 (cups-filters-1.25.11.tar.xz) = 67e7c624952b5e2db33a698ac1287a3448a4787fa28000cefc5a982c2fa18a4f56e11e3ba65da8a6e565a53a193c6eb31ba1867ad36ca8dc7e61250f11232681
+Size (cups-filters-1.25.11.tar.xz) = 1482792 bytes
SHA1 (patch-configure) = b55dc7dc22008351c396374aceb88d2be293d179
SHA1 (patch-filter_gstoraster.c) = 4eef8d91d8ca26a5a874e29885b836e9670d9e5d
SHA1 (patch-filter_mupdftoraster.c) = 81a06cbb3be9a7fd3e797a2effa5ef0aecfc2621
-SHA1 (patch-filter_pdf.cxx) = f387f166e8f8772e65f525d9ae301168125b9949
SHA1 (patch-fontembed_test__pdf.c) = 5ffb13a59ed4d860a3ae4355e364059973715290
SHA1 (patch-fontembed_test__ps.c) = 70f9ab9c8f74ab96abe04cda926a7116386d5f2e
diff -r 4cc12a31332c -r daaefd277bbe print/cups-filters/patches/patch-Makefile.in
--- a/print/cups-filters/patches/patch-Makefile.in Sun Oct 20 11:11:53 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-Makefile.in,v 1.6 2017/10/23 13:07:56 leot Exp $
-
-`-r' option of ln(1) is not widely supported, avoid it.
-
---- Makefile.in.orig 2017-10-05 15:02:30.000000000 +0000
-+++ Makefile.in
-@@ -5379,9 +5379,9 @@ install-exec-hook:
- $(INSTALL) -d -m 755 $(DESTDIR)$(bindir)
- $(INSTALL) -d -m 755 $(DESTDIR)$(pkgfilterdir)
- $(INSTALL) -d -m 755 $(DESTDIR)$(pkgbackenddir)
--@ENABLE_FOOMATIC_TRUE@ $(LN_S) -r -f $(DESTDIR)$(pkgfilterdir)/foomatic-rip $(DESTDIR)$(bindir)
--@ENABLE_DRIVERLESS_TRUE@ $(LN_S) -r -f $(DESTDIR)$(pkgppdgendir)/driverless $(DESTDIR)$(bindir)
--@ENABLE_DRIVERLESS_TRUE@ $(LN_S) -r -f $(DESTDIR)$(pkgppdgendir)/driverless $(DESTDIR)$(pkgbackenddir)
-+@ENABLE_FOOMATIC_TRUE@ $(LN_S) -f $(DESTDIR)$(pkgfilterdir)/foomatic-rip $(DESTDIR)$(bindir)
-+@ENABLE_DRIVERLESS_TRUE@ $(LN_S) -f $(DESTDIR)$(pkgppdgendir)/driverless $(DESTDIR)$(bindir)
-+@ENABLE_DRIVERLESS_TRUE@ $(LN_S) -f $(DESTDIR)$(pkgppdgendir)/driverless $(DESTDIR)$(pkgbackenddir)
- @ENABLE_BRAILLE_TRUE@ $(LN_S) -f imagetobrf $(DESTDIR)$(pkgfilterdir)/imagetoubrl
- @ENABLE_BRAILLE_TRUE@ $(LN_S) -f vectortopdf $(DESTDIR)$(pkgfilterdir)/svgtopdf
- @ENABLE_BRAILLE_TRUE@ $(LN_S) -f vectortopdf $(DESTDIR)$(pkgfilterdir)/xfigtopdf
diff -r 4cc12a31332c -r daaefd277bbe print/cups-filters/patches/patch-filter_pdf.cxx
--- a/print/cups-filters/patches/patch-filter_pdf.cxx Sun Oct 20 11:11:53 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-filter_pdf.cxx,v 1.3 2019/09/20 11:11:52 prlw1 Exp $
-
-Fix build with qpdf 9.0
-https://github.com/OpenPrinting/cups-filters/commit/1878ecd2ef533c3dbe6e6bc29018ce4bf8246e83
-
---- filter/pdf.cxx.orig 2019-05-16 13:02:29.000000000 +0000
-+++ filter/pdf.cxx
-@@ -20,6 +20,7 @@
- #include "pdf.h"
- #include <vector>
- #include <string>
-+#include <cstring>
- #include <qpdf/QPDF.hh>
- #include <qpdf/QPDFObjectHandle.hh>
- #include <qpdf/QPDFWriter.hh>
Home |
Main Index |
Thread Index |
Old Index