From de8c6f713b96c2be4b43b2307822c56d870471fc Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Wed, 22 Feb 2023 00:14:10 +0100 Subject: [PATCH] libppd 2.0b4 Release --- CHANGES.md | 38 +++++++++++++++++++++++++++++++++++++- INSTALL | 2 +- README.md | 2 +- configure.ac | 2 +- 4 files changed, 40 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 65d8cf8e..a24eb00e 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,40 @@ -# CHANGES - libppd v2.0b3 - 2023-01-31 +# CHANGES - libppd v2.0b4 - 2023-02-22 + +## CHANGES IN V2.0b4 (22nd February 2023) + +- Transfer CUPS' `cupstestppd` utility to `ppdTest()` library function + The valuable tool got forgotten in the first place, now it is available + as `ppdTest()` library function and `testppdfile` command line utility. + The command line utility only gets installed with `./configure` + called with `--enable-testppdfile` argument. + +- In auto-generated PPDs do not set RGB default on mono printers + When a PPD for a driverless printer is generated by the + `ppdCreatePPDFromIPP()` function and the get-printer-attributes IPP + response gives "print-color-mode-default=auto" the PPD's default + setting for "ColorModel" is always "RGB", even on monochrome + printers, which makes printing fail on most devices. + Now we ignore the "print-color-mode-default" if set to "auto". + + See https://github.com/OpenPrinting/cups/issues/614 + +- ppdLoadAttributes(): Added NULL check for missing PPD PageSize default + Some PPDs, even "everywhere" PPDs generated by CUPS for a driverless + IPP printer do not have a valid default value for the default page + size, like "Unknown". Added a NULL check to avoid a crash by such + PPD files. + +- Coverity check done by Zdenek Dohnal for the inclusion of libppd + in Fedora and Red Hat. Zdenek has fixed all the issues: Missing free(), + potential string overflows, ... Thanks a lot! + +- `testppd`: String got freed too early + In this test program run by `make check` a string was used after + already gotten freed. Discovered via a compiler warning, but program + could have actually crashed. + +- `configure.ac`: Change deprecated AC_PROG_LIBTOOL for LT_INIT (#8) + ## CHANGES IN V2.0b3 (31st January 2023) diff --git a/INSTALL b/INSTALL index 26abb54f..eab77db3 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -INSTALL - OpenPrinting libppd v2.0b3 - 2023-01-31 +INSTALL - OpenPrinting libppd v2.0b4 - 2023-02-22 ------------------------------------------------- This file describes how to compile and install OpenPrinting libppd diff --git a/README.md b/README.md index 969f78da..b5d9380d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OpenPrinting libppd v2.0b3 - 2023-01-31 +# OpenPrinting libppd v2.0b4 - 2023-02-22 Looking for compile instructions? Read the file "INSTALL" instead... diff --git a/configure.ac b/configure.ac index e37e5386..e0ee58ea 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ AC_PREREQ([2.65]) # ==================== # Version informations # ==================== -AC_INIT([libppd], [2.0b3], [https://github.com/OpenPrinting/libppd/issues], [libppd], [https://github.com/OpenPrinting/libppd/]) +AC_INIT([libppd], [2.0b4], [https://github.com/OpenPrinting/libppd/issues], [libppd], [https://github.com/OpenPrinting/libppd/]) libppd_version="AC_PACKAGE_VERSION" libppd_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{print $1}'`" libppd_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{printf("%d\n",$2);}'`"