diff -Nru cups-filters-1.28.14/configure cups-filters-1.28.15/configure --- cups-filters-1.28.14/configure 2022-04-04 10:54:43.000000000 +0000 +++ cups-filters-1.28.15/configure 2022-04-11 19:57:01.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for cups-filters 1.28.14. +# Generated by GNU Autoconf 2.71 for cups-filters 1.28.15. # # # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, @@ -618,8 +618,8 @@ # Identity of this package. PACKAGE_NAME='cups-filters' PACKAGE_TARNAME='cups-filters' -PACKAGE_VERSION='1.28.14' -PACKAGE_STRING='cups-filters 1.28.14' +PACKAGE_VERSION='1.28.15' +PACKAGE_STRING='cups-filters 1.28.15' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1544,7 +1544,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures cups-filters 1.28.14 to adapt to many kinds of systems. +\`configure' configures cups-filters 1.28.15 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1615,7 +1615,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of cups-filters 1.28.14:";; + short | recursive ) echo "Configuration of cups-filters 1.28.15:";; esac cat <<\_ACEOF @@ -1856,7 +1856,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -cups-filters configure 1.28.14 +cups-filters configure 1.28.15 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2431,7 +2431,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by cups-filters $as_me 1.28.14, which was +It was created by cups-filters $as_me 1.28.15, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -4089,7 +4089,7 @@ # Define the identity of the package. PACKAGE='cups-filters' - VERSION='1.28.14' + VERSION='1.28.15' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -25430,7 +25430,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by cups-filters $as_me 1.28.14, which was +This file was extended by cups-filters $as_me 1.28.15, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -25498,7 +25498,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -cups-filters config.status 1.28.14 +cups-filters config.status 1.28.15 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -Nru cups-filters-1.28.14/configure.ac cups-filters-1.28.15/configure.ac --- cups-filters-1.28.14/configure.ac 2022-04-04 10:54:33.000000000 +0000 +++ cups-filters-1.28.15/configure.ac 2022-04-11 19:56:40.000000000 +0000 @@ -7,7 +7,7 @@ # ==================== m4_define([cups_filters_version_major],[1]) m4_define([cups_filters_version_minor],[28]) -m4_define([cups_filters_version_micro],[14]) +m4_define([cups_filters_version_micro],[15]) m4_define([cups_filters_version],[cups_filters_version_major.cups_filters_version_minor.cups_filters_version_micro]) # ============= diff -Nru cups-filters-1.28.14/debian/changelog cups-filters-1.28.15/debian/changelog --- cups-filters-1.28.14/debian/changelog 2022-04-06 17:30:28.000000000 +0000 +++ cups-filters-1.28.15/debian/changelog 2022-04-11 20:19:21.000000000 +0000 @@ -1,3 +1,12 @@ +cups-filters (1.28.15-0ubuntu1) jammy; urgency=medium + + * New upstream bug fix release. + - In pdftops identify old LaserJets more precisely for working around + PostScript interpreter bugs, older printers need Poppler, newer models + need Ghostscript (LP: #1967816). + + -- Till Kamppeter Mon, 11 Apr 2022 22:19:21 +0200 + cups-filters (1.28.14-1) unstable; urgency=medium * Update to new upstream version 1.28.14. diff -Nru cups-filters-1.28.14/filter/pdftops.c cups-filters-1.28.15/filter/pdftops.c --- cups-filters-1.28.14/filter/pdftops.c 2022-04-04 10:54:33.000000000 +0000 +++ cups-filters-1.28.15/filter/pdftops.c 2022-04-11 19:56:40.000000000 +0000 @@ -520,8 +520,12 @@ if (isspace(*ptr)) continue; if (isdigit(*ptr)) { - fprintf(stderr, "DEBUG: Switching to Poppler's pdftops instead of Ghostscript for old HP LaserJet (\"LaserJet \", no letters before ) printers to work around bugs in the printer's PS interpreters\n"); - renderer = PDFTOPS; + while (*ptr && isalnum(*ptr)) ptr ++; + if (!*ptr) /* End of string, no further word */ + { + fprintf(stderr, "DEBUG: Switching to Poppler's pdftops instead of Ghostscript for old HP LaserJet (\"LaserJet \", no letters before , no additional words after ) printers to work around bugs in the printer's PS interpreters\n"); + renderer = PDFTOPS; + } } break; } diff -Nru cups-filters-1.28.14/INSTALL cups-filters-1.28.15/INSTALL --- cups-filters-1.28.14/INSTALL 2022-04-04 10:54:33.000000000 +0000 +++ cups-filters-1.28.15/INSTALL 2022-04-11 19:56:40.000000000 +0000 @@ -1,4 +1,4 @@ -INSTALL - OpenPrinting CUPS Filters v1.28.14 - 2022-04-04 +INSTALL - OpenPrinting CUPS Filters v1.28.15 - 2022-04-11 --------------------------------------------------------- This file describes how to compile and install OpenPrinting CUPS diff -Nru cups-filters-1.28.14/NEWS cups-filters-1.28.15/NEWS --- cups-filters-1.28.14/NEWS 2022-04-04 10:54:33.000000000 +0000 +++ cups-filters-1.28.15/NEWS 2022-04-11 19:56:40.000000000 +0000 @@ -1,6 +1,13 @@ -NEWS - OpenPrinting CUPS Filters v1.28.14 - 2022-04-04 +NEWS - OpenPrinting CUPS Filters v1.28.15 - 2022-04-11 ------------------------------------------------------ +CHANGES IN V1.28.15 + + - pdftops: In pdftops identify old LaserJets more precisely + for working around PostScript interpreter bugs, older + printers need Poppler, newer models need Ghostscript + (Ubuntu bug #1967816). + CHANGES IN V1.28.14 - pdftopdf: Correct the output when suppressing auto-rotation diff -Nru cups-filters-1.28.14/README cups-filters-1.28.15/README --- cups-filters-1.28.14/README 2022-04-04 10:54:33.000000000 +0000 +++ cups-filters-1.28.15/README 2022-04-11 19:56:40.000000000 +0000 @@ -1,4 +1,4 @@ -README - OpenPrinting CUPS Filters v1.28.14 - 2022-04-04 +README - OpenPrinting CUPS Filters v1.28.15 - 2022-04-11 -------------------------------------------------------- Looking for compile instructions? Read the file "INSTALL.txt"