Skip to content

Commit

Permalink
libppd 2.0b4 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkamppeter committed Feb 21, 2023
1 parent 80cd3a5 commit de8c6f7
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 4 deletions.
38 changes: 37 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion INSTALL
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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...
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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);}'`"
Expand Down

0 comments on commit de8c6f7

Please sign in to comment.