cups-filters: Update to version 1.28.14

Message ID 20220406130358.4869-1-adolf.belka@ipfire.org
State Accepted
Commit e77b22b5133084d011301d5f7126a4700939cd18
Headers
Series cups-filters: Update to version 1.28.14 |

Commit Message

Adolf Belka April 6, 2022, 1:03 p.m. UTC
  - Update from 1.28.10 to 1.28.14
- Update of rootfile not required
- Changelog
    CHANGES IN V1.28.14
	- pdftopdf: Correct the output when suppressing auto-rotation
	  (option "nopdfAutoRotate"). Depending on the situation pages
	  got cropped in the wrong orientation or de-centered.
	- pdftopdf: Correct the output when the
	  "orientation-requested" or the "landscape" option is
	  supplied. Output could be de-centered (Issue #456),
	  portrait-oriented pages be wrongly cropped and division of
	  the output page into cells for N-up done in the wrong
	  orientation.
	- rastertopdf: In PCLm output mode the filter failed to
	  generate PCLm if the printer has no
	  "pclm-source-resolution-default" IPP attribute.
    CHANGES IN V1.28.13
	- pdftopdf: Fix N-up printing when paper is taken
	  long-edge-first by the printer.
	- pdftopdf: Fix cropping ("print-scaling=none" and
	  "print-scaling=fill") when paper is taken long-edge-first by
	  the printer (Issue #454).
	- pdftops: Use Poppler for all Apple LaserWriter models (Issue
	  #452).
    CHANGES IN V1.28.12
	- imagetoraster, imagetopdf: Fixed comparison of the image
	  size with the page size for print-scaling=auto. The image
	  size in pixels was compared with the page size in PostScript
	  points (1/72 inch).
	- imagetoraster, imagetopdf: Fixed the "print-scaling=none"
  	  (crop-to-fit) mode, also use crop-to-fit always when
  	  requested, do not fall back to fit-to-page when the image
  	  size differs significantly from the page size (Issue #362).
	- libcupsfilters: Changed the default PPI resolution for
	  images as input files from 128 to 200 (Pull request #446).
	- implicitclass: Do not check availability of "gs" and
	  "pdftops" executables, instead, check by the presence of
	  "gstoraster" and "pdftoraster" filters whether we have
	  configured cups-filters for Ghostscript and/or Poppler use.
	- libcupsfilters: In the PPD generator for the driverless
	  utility and cups-browsed add "*cupsFilter2: ..." lines for
	  all supported driverless data formats (PDF, Apple/PWG
	  Raster, PCLm), and add lines for legacy data formats (PCL,
	  PostScript) only if no driverless formats available.
	- libcupsfilters: Always use encryption for ipps. RFC7472
	  requires that 'ipps' must be used over HTTPS, but the
	  driverless utility does not enforce encryption (Pull request
	  #433).
	- serial: Add a 10-msec sleep and at the end add a tcdrain().
	  For some unknown reason, every printing file need sleep a
	  little time to make sure the serial printer receive data is
	  right (Pull request #431).
	- libcupsfilters: Fix resolver functions for DNS-SD-based
	  URIs, to make resolve_uri() also work when DEVICE_URI env
	  variable is set and to make ippfind_based_uri_converter()
	  not re-direct stdin.
	- pdftopdf: Set default for print-scaling to avoid "should
	  never happem" log messages and undefined behavior.
	- pdftopdf: Fix orientation-requested = 0. Consider
	  this as "automatic selection and not as error.
	- pdftopdf: Fixed all combinations of print-scaling and
	  number-up for printers with asymmetric margins (top !=
	  bottom or left != right) and for input files containing
	  pages with different sizes and/or orientations. Fixes
	  backported from 2.x branch.
	- pdftopdf: Add 2% tolerance for input size larger than output
	  page when "print-scaling=auto" or "print-scaling=auto-fit"
	  is used and too large input pages should be scaled, fitting
	  documents not. This prevents a random-looking behavior if
	  input and output page size seem to be equal, but in reality
	  there are slight differences between size dimensions.
    CHANGES IN V1.28.11
	- libcupsfilters: Let PPD generator take default ColorModel
	  from printer (CUPS issue #277).
	- Braille: In vectortopdf check inkscape version to call
	  inkscape with the correct command line (Issue #315, Pull
	  request #443).
	- Build system: Make missing DejaVuSans.ttf non-fatal in
	  ./configure as the font is only needed for test programs,
	  not for actual use of cups-filters (Issue #411).
	- libcupsfilters: In imagetoraster() fixed crash with SGray
          (Issue #435).
	- cups-browsed: Naming of local queues is matched to CUPS'
	  current naming of temporary queues (no leading or trailing
	  underscores), to avoid duplicates in print dialogs which
	  support CUPS' temporary queues.
	- libcupsfilters: Make cupsRasterParseIPPOptions() work correctly
	  with PPDs (Issue #436).
	- libcupsfilters: Let colord_get_profile_for_device_id() not
	  return empty file name, to avoid error messages in CUPS
	  error_log.
	- foomatic-rip: Debug message was wrongly sent to stdout and
	  not to log (Issue #422).

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 lfs/cups-filters | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Peter Müller April 6, 2022, 5:07 p.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from 1.28.10 to 1.28.14
> - Update of rootfile not required
> - Changelog
>     CHANGES IN V1.28.14
> 	- pdftopdf: Correct the output when suppressing auto-rotation
> 	  (option "nopdfAutoRotate"). Depending on the situation pages
> 	  got cropped in the wrong orientation or de-centered.
> 	- pdftopdf: Correct the output when the
> 	  "orientation-requested" or the "landscape" option is
> 	  supplied. Output could be de-centered (Issue #456),
> 	  portrait-oriented pages be wrongly cropped and division of
> 	  the output page into cells for N-up done in the wrong
> 	  orientation.
> 	- rastertopdf: In PCLm output mode the filter failed to
> 	  generate PCLm if the printer has no
> 	  "pclm-source-resolution-default" IPP attribute.
>     CHANGES IN V1.28.13
> 	- pdftopdf: Fix N-up printing when paper is taken
> 	  long-edge-first by the printer.
> 	- pdftopdf: Fix cropping ("print-scaling=none" and
> 	  "print-scaling=fill") when paper is taken long-edge-first by
> 	  the printer (Issue #454).
> 	- pdftops: Use Poppler for all Apple LaserWriter models (Issue
> 	  #452).
>     CHANGES IN V1.28.12
> 	- imagetoraster, imagetopdf: Fixed comparison of the image
> 	  size with the page size for print-scaling=auto. The image
> 	  size in pixels was compared with the page size in PostScript
> 	  points (1/72 inch).
> 	- imagetoraster, imagetopdf: Fixed the "print-scaling=none"
>   	  (crop-to-fit) mode, also use crop-to-fit always when
>   	  requested, do not fall back to fit-to-page when the image
>   	  size differs significantly from the page size (Issue #362).
> 	- libcupsfilters: Changed the default PPI resolution for
> 	  images as input files from 128 to 200 (Pull request #446).
> 	- implicitclass: Do not check availability of "gs" and
> 	  "pdftops" executables, instead, check by the presence of
> 	  "gstoraster" and "pdftoraster" filters whether we have
> 	  configured cups-filters for Ghostscript and/or Poppler use.
> 	- libcupsfilters: In the PPD generator for the driverless
> 	  utility and cups-browsed add "*cupsFilter2: ..." lines for
> 	  all supported driverless data formats (PDF, Apple/PWG
> 	  Raster, PCLm), and add lines for legacy data formats (PCL,
> 	  PostScript) only if no driverless formats available.
> 	- libcupsfilters: Always use encryption for ipps. RFC7472
> 	  requires that 'ipps' must be used over HTTPS, but the
> 	  driverless utility does not enforce encryption (Pull request
> 	  #433).
> 	- serial: Add a 10-msec sleep and at the end add a tcdrain().
> 	  For some unknown reason, every printing file need sleep a
> 	  little time to make sure the serial printer receive data is
> 	  right (Pull request #431).
> 	- libcupsfilters: Fix resolver functions for DNS-SD-based
> 	  URIs, to make resolve_uri() also work when DEVICE_URI env
> 	  variable is set and to make ippfind_based_uri_converter()
> 	  not re-direct stdin.
> 	- pdftopdf: Set default for print-scaling to avoid "should
> 	  never happem" log messages and undefined behavior.
> 	- pdftopdf: Fix orientation-requested = 0. Consider
> 	  this as "automatic selection and not as error.
> 	- pdftopdf: Fixed all combinations of print-scaling and
> 	  number-up for printers with asymmetric margins (top !=
> 	  bottom or left != right) and for input files containing
> 	  pages with different sizes and/or orientations. Fixes
> 	  backported from 2.x branch.
> 	- pdftopdf: Add 2% tolerance for input size larger than output
> 	  page when "print-scaling=auto" or "print-scaling=auto-fit"
> 	  is used and too large input pages should be scaled, fitting
> 	  documents not. This prevents a random-looking behavior if
> 	  input and output page size seem to be equal, but in reality
> 	  there are slight differences between size dimensions.
>     CHANGES IN V1.28.11
> 	- libcupsfilters: Let PPD generator take default ColorModel
> 	  from printer (CUPS issue #277).
> 	- Braille: In vectortopdf check inkscape version to call
> 	  inkscape with the correct command line (Issue #315, Pull
> 	  request #443).
> 	- Build system: Make missing DejaVuSans.ttf non-fatal in
> 	  ./configure as the font is only needed for test programs,
> 	  not for actual use of cups-filters (Issue #411).
> 	- libcupsfilters: In imagetoraster() fixed crash with SGray
>           (Issue #435).
> 	- cups-browsed: Naming of local queues is matched to CUPS'
> 	  current naming of temporary queues (no leading or trailing
> 	  underscores), to avoid duplicates in print dialogs which
> 	  support CUPS' temporary queues.
> 	- libcupsfilters: Make cupsRasterParseIPPOptions() work correctly
> 	  with PPDs (Issue #436).
> 	- libcupsfilters: Let colord_get_profile_for_device_id() not
> 	  return empty file name, to avoid error messages in CUPS
> 	  error_log.
> 	- foomatic-rip: Debug message was wrongly sent to stdout and
> 	  not to log (Issue #422).
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  lfs/cups-filters | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/lfs/cups-filters b/lfs/cups-filters
> index 04187cd85..1b17fd252 100644
> --- a/lfs/cups-filters
> +++ b/lfs/cups-filters
> @@ -26,7 +26,7 @@ include Config
>  
>  SUMMARY    = OpenPrinting CUPS filters, backends, and cups-browsed
>  
> -VER        = 1.28.10
> +VER        = 1.28.14
>  
>  THISAPP    = cups-filters-$(VER)
>  DL_FILE    = $(THISAPP).tar.xz
> @@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
>  PROG       = cups-filters
> -PAK_VER    = 7
> +PAK_VER    = 8
>  
>  DEPS       = cups ghostscript
>  
> @@ -50,7 +50,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_BLAKE2 = b745ad9d35e375411d43acc8936a7be3197deda26d64c3fcdf792abf751452a83ab4e77b25336509a4d15a7db3dd142c94f3fd108f514d4956ac62f00310b263
> +$(DL_FILE)_BLAKE2 = 653f68a39ed16d3a8298e5784aebebead224a0ee08071add702bb02fc987f3c4d454793531db262d9a44618f4fe29a7ce0144cfb8fe77634e9b7c222de21fe62
>  
>  install : $(TARGET)
>
  

Patch

diff --git a/lfs/cups-filters b/lfs/cups-filters
index 04187cd85..1b17fd252 100644
--- a/lfs/cups-filters
+++ b/lfs/cups-filters
@@ -26,7 +26,7 @@  include Config
 
 SUMMARY    = OpenPrinting CUPS filters, backends, and cups-browsed
 
-VER        = 1.28.10
+VER        = 1.28.14
 
 THISAPP    = cups-filters-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -34,7 +34,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = cups-filters
-PAK_VER    = 7
+PAK_VER    = 8
 
 DEPS       = cups ghostscript
 
@@ -50,7 +50,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = b745ad9d35e375411d43acc8936a7be3197deda26d64c3fcdf792abf751452a83ab4e77b25336509a4d15a7db3dd142c94f3fd108f514d4956ac62f00310b263
+$(DL_FILE)_BLAKE2 = 653f68a39ed16d3a8298e5784aebebead224a0ee08071add702bb02fc987f3c4d454793531db262d9a44618f4fe29a7ce0144cfb8fe77634e9b7c222de21fe62
 
 install : $(TARGET)