Skip to content

Commit de8c6f7

Browse files
committed
libppd 2.0b4 Release
1 parent 80cd3a5 commit de8c6f7

4 files changed

Lines changed: 40 additions & 4 deletions

File tree

CHANGES.md

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,40 @@
1-
# CHANGES - libppd v2.0b3 - 2023-01-31
1+
# CHANGES - libppd v2.0b4 - 2023-02-22
2+
3+
## CHANGES IN V2.0b4 (22nd February 2023)
4+
5+
- Transfer CUPS' `cupstestppd` utility to `ppdTest()` library function
6+
The valuable tool got forgotten in the first place, now it is available
7+
as `ppdTest()` library function and `testppdfile` command line utility.
8+
The command line utility only gets installed with `./configure`
9+
called with `--enable-testppdfile` argument.
10+
11+
- In auto-generated PPDs do not set RGB default on mono printers
12+
When a PPD for a driverless printer is generated by the
13+
`ppdCreatePPDFromIPP()` function and the get-printer-attributes IPP
14+
response gives "print-color-mode-default=auto" the PPD's default
15+
setting for "ColorModel" is always "RGB", even on monochrome
16+
printers, which makes printing fail on most devices.
17+
Now we ignore the "print-color-mode-default" if set to "auto".
18+
19+
See https://github.com/OpenPrinting/cups/issues/614
20+
21+
- ppdLoadAttributes(): Added NULL check for missing PPD PageSize default
22+
Some PPDs, even "everywhere" PPDs generated by CUPS for a driverless
23+
IPP printer do not have a valid default value for the default page
24+
size, like "Unknown". Added a NULL check to avoid a crash by such
25+
PPD files.
26+
27+
- Coverity check done by Zdenek Dohnal for the inclusion of libppd
28+
in Fedora and Red Hat. Zdenek has fixed all the issues: Missing free(),
29+
potential string overflows, ... Thanks a lot!
30+
31+
- `testppd`: String got freed too early
32+
In this test program run by `make check` a string was used after
33+
already gotten freed. Discovered via a compiler warning, but program
34+
could have actually crashed.
35+
36+
- `configure.ac`: Change deprecated AC_PROG_LIBTOOL for LT_INIT (#8)
37+
238

339
## CHANGES IN V2.0b3 (31st January 2023)
440

INSTALL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
INSTALL - OpenPrinting libppd v2.0b3 - 2023-01-31
1+
INSTALL - OpenPrinting libppd v2.0b4 - 2023-02-22
22
-------------------------------------------------
33

44
This file describes how to compile and install OpenPrinting libppd

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OpenPrinting libppd v2.0b3 - 2023-01-31
1+
# OpenPrinting libppd v2.0b4 - 2023-02-22
22

33
Looking for compile instructions? Read the file "INSTALL"
44
instead...

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ AC_PREREQ([2.65])
55
# ====================
66
# Version informations
77
# ====================
8-
AC_INIT([libppd], [2.0b3], [https://github.com/OpenPrinting/libppd/issues], [libppd], [https://github.com/OpenPrinting/libppd/])
8+
AC_INIT([libppd], [2.0b4], [https://github.com/OpenPrinting/libppd/issues], [libppd], [https://github.com/OpenPrinting/libppd/])
99
libppd_version="AC_PACKAGE_VERSION"
1010
libppd_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{print $1}'`"
1111
libppd_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{printf("%d\n",$2);}'`"

0 commit comments

Comments
 (0)