Skip to content

Commit

Permalink
cpdb-backend-cups 2.0b7 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkamppeter committed Feb 20, 2025
1 parent dc56f23 commit b880322
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
32 changes: 31 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,34 @@
# CHANGES - Common Print Dialog Backends - CUPS Backend - v2.0b6 - 2024-06-18
# CHANGES - Common Print Dialog Backends - CUPS Backend - v2.0b7 - 2025-02-20

## CHANGES IN V2.0b7 (20th February 2025)

- Add support for CUPS printer instances
Don't just always use the `cups_dest_t`'s `name` for the printer
name, but also take it's `instance` member into account and if
present, append that for the name used for the CPDB printer name,
separated by a slash character (Pull request #34).

- Always query current CUPS default printer
When asked for the default printer, always query and return the
current CUPS default printer instead of whatever was the default
last time this was done, to take into account that the CUPS default
printer can change while the backend is running (Pull request #33).

- Pass correct parameters to `cupsStartDestDocument()`
Now job title and job attributes (options) are correctly passed on
(Pull request #36).

- Use NULL Instead of "NA" if there's no default printer
NULL makes clear that there's no default printer, while "NA" could
even be the name of an actual printer, so use the former instead of
the latter if no default printer could be determined (Pull request
#35).

- Use `g_strdup` instead of `cpdbGetStringCopy`
GLib's `g_strdup` already provides the same functionality as
`cpdbGetStringCopy` from cpdb-libs, so use the former instead of
relying on a custom CPDB implementation (Pull request #32).


## CHANGES IN V2.0b6 (18th June 2024)

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([cpdb-backend-cups], [2.0b6], [https://github.com/OpenPrinting/cpdb-backend-cups/issues/], [cpdb-backend-cups], [https://github.com/OpenPrinting/cpdb-backend-cups])
AC_INIT([cpdb-backend-cups], [2.0b7], [https://github.com/OpenPrinting/cpdb-backend-cups/issues/], [cpdb-backend-cups], [https://github.com/OpenPrinting/cpdb-backend-cups])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_SRCDIR([src/print_backend_cups.c])
AM_INIT_AUTOMAKE([-Wall dist-xz dist-bzip2 foreign])
Expand Down

0 comments on commit b880322

Please sign in to comment.