From 5d77cb51feec869c96ff4a525138163c7b72153b Mon Sep 17 00:00:00 2001 From: Till Kamppeter Date: Wed, 21 Jun 2023 00:21:17 +0200 Subject: [PATCH] cups-browsed 2.0rc2 Release --- CHANGES.md | 33 ++++++++++++++++++++++++++++++++- INSTALL | 2 +- README.md | 2 +- configure.ac | 2 +- 4 files changed, 35 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index f97f5e6d..ef3015ba 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,4 +1,35 @@ -# CHANGES - OpenPrinting cups-browsed v2.0rc1 - 2023-04-12 +# CHANGES - OpenPrinting cups-browsed v2.0rc2 - 2023-06-20 + +## CHANGES IN V2.0rc2 (20th June 2023) + +- Fixed cups-browsed getting stuck in busy loop + When the function create_queue() fails to create a local print queue + and the failure is not intermittent, it sets a global variable to + stop the main thread's loop for updating local queues. With the + variable not reset no queue updates happened ever again and + cups-browsed fell into a busy loop taking up to 100% CPU. We have + solved this by doing away with the variable and simply mark these + printers as disappeared (Ubuntu bug + [#2018504](https://bugs.launchpad.net/bugs/2018504). + +- Do not record `*-default` IPP attributes of local CUPS queues + Many of the `*-default` IPP attributes represent properties already + covered by the PPD option defaults which we also record. In + addition, there is also `print-quality-default` where IPP reports + `draft`, `normal`, and `high` settings while CUPS only accepts `3`, + `4`, and `5`, and on everything else it sets + `print-quality-default=0` which is invalid and jobs do not get + printed. So we stop saving and loading these attributes. + +- Build system: Removed unnecessary lines in Makefile.am + Removed the `TESTdir` and `TEST_SCRIPTS` entries in Makefile.am. + They are not needed and let `make install` try to install + `run-tests.sh` in the source directory, where it already is, causing + an error. + +- `run-tests.sh`: Use pkgconfig instead of deprecated cups-config + (Pull request #9). + ## CHANGES IN V2.0rc1 (12th April 2023) diff --git a/INSTALL b/INSTALL index d6cc9fbb..664edec4 100644 --- a/INSTALL +++ b/INSTALL @@ -1,4 +1,4 @@ -INSTALL - OpenPrinting cups-browsed v2.0rc1 - 2023-04-12 +INSTALL - OpenPrinting cups-browsed v2.0rc2 - 2023-06-20 -------------------------------------------------------- This file describes how to compile and install OpenPrinting diff --git a/README.md b/README.md index 60c33b2b..797c4d58 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OpenPrinting cups-browsed v2.0rc1 - 2023-04-12 +# OpenPrinting cups-browsed v2.0rc2 - 2023-06-20 Looking for compile instructions? Read the file "INSTALL" instead... diff --git a/configure.ac b/configure.ac index 6c3b0da3..dafadc84 100644 --- a/configure.ac +++ b/configure.ac @@ -5,7 +5,7 @@ AC_PREREQ([2.65]) # ==================== # Version informations # ==================== -AC_INIT([cups-browsed], [2.0rc1], [https://github.com/OpenPrinting/cups-browsed/issues], [cups-browsed], [https://github.com/OpenPrinting/cups-browsed/]) +AC_INIT([cups-browsed], [2.0rc2], [https://github.com/OpenPrinting/cups-browsed/issues], [cups-browsed], [https://github.com/OpenPrinting/cups-browsed/]) cups_browsed_version="AC_PACKAGE_VERSION" cups_browsed_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{print $1}'`" cups_browsed_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{printf("%d\n",$2);}'`"