Skip to content

Commit 4a2eee3

Browse files
committed
libcupsfilters 2.1b1 Release
1 parent 221698c commit 4a2eee3

File tree

4 files changed

+89
-4
lines changed

4 files changed

+89
-4
lines changed

CHANGES.md

+86-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,89 @@
1-
# CHANGES - OpenPrinting libcupsfilters v2.0.0 - 2023-09-22
1+
# CHANGES - OpenPrinting libcupsfilters v2.1b1 - 2024-08-14
2+
3+
## CHANGES IN V2.1b1 (14th August 2024)
4+
5+
- Added support for libcups3 (libcups of CUPS 3.x)
6+
With these changes libcupsfilters can be built either with libcups2
7+
(libcups of CUPS 2.x) or libcups3 (libcups of CUPS 3.x).
8+
9+
- Fix obsolete constant name so that build with libcups of CUPS 2.5.x works
10+
Replaced `HTTP_URI_OK` by `HTTP_URI_STATUS_OK` (Issue #36)
11+
12+
- Always use sRGB/sGray if driver is PWG/URF and RGB/Gray is requested
13+
PWG Raster and Apple Raster (URF) are for driverless printing abd
14+
require the sRGB and sGRay standard color profiles (Pull request
15+
#51).
16+
17+
- `raster_base_header()`: Several fixes on color space selection
18+
Internal (static) function to create a CUPS or PWG Raster header
19+
from scratch, without using data of a PPD file, only IPP attributes
20+
and command line options. Fixes are done to make sure a monochrome
21+
color space is used for monochrome printers, the actual color space
22+
seletions (if supported) is used for PWG Raster, not always sRGB
23+
8-bit, and DeviceN can be selected also without specifying the depth
24+
(Issue #38).
25+
26+
- Fix content data stream concatenation mangling output in `cfFilterPDFToPDF()`
27+
In `cfFilterPDFToPDF()` add newline after each content stream in
28+
`::provideStreamData`. When concatenating the data streams for the
29+
page's contents, add a new line at the end of each data stream to
30+
avoid cases where the concatenation might result in a corruption
31+
(Pull request #56).
32+
33+
- `cfCatalogLoad()`: Fix incorrect `strncpy()` limit calculation
34+
Preserve the new allocated size in a variable and use it instead of
35+
`sizeof()` (Pull request #49).
36+
37+
- Remove redundant data type definition in `libcups2-private.h`
38+
(Pull request #44)
39+
40+
- `pdf-cm.cxx`: Fix possible integer overflow
41+
(Issue #42, Pull request #43)
42+
43+
- `cfImageCMYKToCMY()`: Fixed copy-and-paste error
44+
(Issue #41)
45+
46+
- Fix compilation with clang and libc++
47+
Define `_GLIBCXX_THROW` to empty for C++ 11 and newer.
48+
(Issue #35, Pull request #47)
49+
50+
- Fix warnings reported by clang 17
51+
(Pull request #48)
52+
53+
- Added test programm for the filter functions to the build tests
54+
In the GSoC 2023 Pratyush Ranjan created a program for CI/build/unit
55+
testing which runs filter tasks defined in a table, by input files,
56+
input and output file formats, and options settings and checks
57+
whether they got correctly executed. This allows easily adding test
58+
cases from bug reports to avoid regressions (similar to
59+
Ghostscript's CI tests). This program is now incorporated and added
60+
to the tests run by `make check`, so that it gets commonly used as
61+
CI test, especially also when distros package libcupsfilters (Pull
62+
request #58).
63+
64+
- pkgconfig: Add '-I${includedir}' to Cflags
65+
This way, includes prefixed with the "cupsfilters/" directory path
66+
also work. Especially libppd build also without problem when
67+
libcupsfilters is installed in a non-default path (Pull request #57).
68+
69+
- `.gitignore`: Ignore temporary files created by the build tests
70+
71+
- Convert `INSTALL` to `INSTALL.md`
72+
(Pull request #45)
73+
74+
- `INSTALL.md`: Updated dependencies
75+
We also need: gettext, libcups2-dev, libqpdf-dev (Pull request #59)
76+
77+
- `Install.md`: Tell that we have `make check` for build testing
78+
(Pull request #59)
79+
80+
- Added GitHub workflow for Canonical Open Documentation Academy
81+
OpenPrinting is participating in Canonical's [Open Documentation
82+
Academy](https://github.com/canonical/open-documentation-academy/),
83+
as an organization in need of documentation. The workflow is still
84+
experimental and servs for auto-forwarding documentation-related
85+
issues.
86+
287

388
## CHANGES IN V2.0.0 (22th September 2023)
489

INSTALL.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
# Libcupsfilters v2.0.0 Installation Guide
2+
# libcupsfilters v2.1b1 Installation Guide
33

44

55
## Overview

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# OpenPrinting libcupsfilters v2.0.0 - 2023-09-22
1+
# OpenPrinting libcupsfilters v2.1b1 - 2024-08-14
22

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

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ AC_PREREQ([2.65])
55
# ====================
66
# Version informations
77
# ====================
8-
AC_INIT([libcupsfilters], [2.0.0], [https://github.com/OpenPrinting/libcupsfilters/issues], [libcupsfilters], [https://github.com/OpenPrinting/libcupsfilters/])
8+
AC_INIT([libcupsfilters], [2.1b1], [https://github.com/OpenPrinting/libcupsfilters/issues], [libcupsfilters], [https://github.com/OpenPrinting/libcupsfilters/])
99
libcupsfilters_version="AC_PACKAGE_VERSION"
1010
libcupsfilters_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{print $1}'`"
1111
libcupsfilters_version_major="`echo AC_PACKAGE_VERSION | awk -F. '{printf("%d\n",$2);}'`"

0 commit comments

Comments
 (0)