]> git.ipfire.org Git - thirdparty/cups-filters.git/log
thirdparty/cups-filters.git
4 weeks agoci: add APT retries to fix transient mirror sync failures master
Rohit Kumar [Mon, 9 Mar 2026 13:37:25 +0000 (19:07 +0530)] 
ci: add APT retries to fix transient mirror sync failures

4 weeks agoUpdates correct test srtifacts and archs
Rohit Kumar [Sun, 8 Mar 2026 10:58:26 +0000 (16:28 +0530)] 
Updates correct test srtifacts and archs

4 weeks agoci: overhaul multi-arch workflow to build full dependency stack
Rohit Kumar [Sun, 8 Mar 2026 10:28:19 +0000 (15:58 +0530)] 
ci: overhaul multi-arch workflow to build full dependency stack

4 weeks agoTried to solve conflicts
Rohit Kumar [Mon, 9 Mar 2026 16:47:23 +0000 (22:17 +0530)] 
Tried to solve conflicts

4 weeks agoAdded Multi Arch Build Workflow using QEMU
Rohit Kumar [Sat, 7 Mar 2026 03:59:37 +0000 (09:29 +0530)] 
Added Multi Arch Build Workflow using QEMU

4 weeks agoadded required dependencies
Rohit Kumar [Sun, 8 Mar 2026 11:07:03 +0000 (16:37 +0530)] 
added required dependencies

4 weeks agoadded autopoint and getext
Rohit Kumar [Sun, 8 Mar 2026 11:01:19 +0000 (16:31 +0530)] 
added autopoint and getext

4 weeks agoUpdates correct test srtifacts and archs
Rohit Kumar [Sun, 8 Mar 2026 10:58:26 +0000 (16:28 +0530)] 
Updates correct test srtifacts and archs

4 weeks agoci: overhaul multi-arch workflow to build full dependency stack
Rohit Kumar [Sun, 8 Mar 2026 10:28:19 +0000 (15:58 +0530)] 
ci: overhaul multi-arch workflow to build full dependency stack

4 weeks agobuild(ci): fix hardware emulation and artifact capture
Rohit Kumar [Sun, 8 Mar 2026 10:20:15 +0000 (15:50 +0530)] 
build(ci): fix hardware emulation and artifact capture

4 weeks agoAdded simplified Multi Arch Build Workflow using QEMU
Rohit Kumar [Sat, 7 Mar 2026 04:07:20 +0000 (09:37 +0530)] 
Added simplified Multi Arch Build Workflow using QEMU

4 weeks agoAdded Multi Arch Build Workflow using QEMU
Rohit Kumar [Sat, 7 Mar 2026 03:59:37 +0000 (09:29 +0530)] 
Added Multi Arch Build Workflow using QEMU

4 weeks agodocs: add instructions for CodeQL Advanced Security configuration
Rohit Kumar [Fri, 6 Mar 2026 14:48:33 +0000 (20:18 +0530)] 
docs: add instructions for CodeQL Advanced Security configuration

4 weeks agoci: add workflow_dispatch for manual execution
Rohit Kumar [Fri, 6 Mar 2026 13:27:34 +0000 (18:57 +0530)] 
ci: add workflow_dispatch for manual execution

5 weeks agoRemove blank line in README.md
Rohit Kumar [Thu, 5 Mar 2026 17:43:12 +0000 (23:13 +0530)] 
Remove blank line in README.md

Remove unnecessary blank line before the INTRODUCTION section

5 weeks agoAdd suppression for unknown macros in cppcheck
Rohit Kumar [Wed, 4 Mar 2026 03:29:34 +0000 (08:59 +0530)] 
Add suppression for unknown macros in cppcheck

5 weeks agoAdd cppcheck workflow for code analysis
Rohit Kumar [Wed, 4 Mar 2026 03:13:03 +0000 (08:43 +0530)] 
Add cppcheck workflow for code analysis

5 weeks agoupdate the static analysis to run build after CodeQl run:
Rohit Kumar [Sun, 22 Feb 2026 06:02:56 +0000 (11:32 +0530)] 
update the static analysis to run build after CodeQl run:

5 weeks agoAdded initial Static Analysis
Rohit Kumar [Sun, 22 Feb 2026 05:53:14 +0000 (11:23 +0530)] 
Added initial Static Analysis

5 weeks agothird build.yml added mudpf-tools
Rohit Kumar [Thu, 5 Feb 2026 14:32:36 +0000 (20:02 +0530)] 
third build.yml added mudpf-tools

5 weeks agoSecond build.yml with autopoint correction
Rohit Kumar [Thu, 5 Feb 2026 14:28:35 +0000 (19:58 +0530)] 
Second build.yml with autopoint correction

5 weeks agoAdded initial build.yml
Rohit Kumar [Thu, 5 Feb 2026 14:20:28 +0000 (19:50 +0530)] 
Added initial build.yml

5 weeks agoTrigger CI check
Rohit Kumar [Mon, 2 Feb 2026 13:47:45 +0000 (19:17 +0530)] 
Trigger CI check

5 weeks agoFix packing of 15-bit RGB difference in rastertopclx.c
Rohit Kumar [Wed, 4 Mar 2026 03:52:05 +0000 (09:22 +0530)] 
Fix packing of 15-bit RGB difference in rastertopclx.c

5 weeks agoCast RGB values to unsigned before packing
Rohit Kumar [Wed, 4 Mar 2026 03:49:40 +0000 (09:19 +0530)] 
Cast RGB values to unsigned before packing

5 weeks agoEnhance memory handling in read_jcl_lines
Rohit Kumar [Wed, 4 Mar 2026 03:47:37 +0000 (09:17 +0530)] 
Enhance memory handling in read_jcl_lines

Improve memory management in read_jcl_lines function by using a temporary pointer for realloc and ensuring previously allocated lines are freed on failure.

5 weeks agoImprove memory handling in read_line function
Rohit Kumar [Wed, 4 Mar 2026 03:46:47 +0000 (09:16 +0530)] 
Improve memory handling in read_line function

Refactor memory allocation in read_line function to use a temporary variable for realloc.

5 weeks agoFix memory allocation for optionsets in optionset function
Rohit Kumar [Wed, 4 Mar 2026 03:45:55 +0000 (09:15 +0530)] 
Fix memory allocation for optionsets in optionset function

5 weeks agoFix null check for popen return value
Rohit Kumar [Wed, 4 Mar 2026 03:39:36 +0000 (09:09 +0530)] 
Fix null check for popen return value

5 weeks agoUpdate util.c
Rohit Kumar [Wed, 4 Mar 2026 03:37:59 +0000 (09:07 +0530)] 
Update util.c

5 weeks agoAdd warning log for non-zero exit status of ghostscript
Rohit Kumar [Wed, 4 Mar 2026 03:31:13 +0000 (09:01 +0530)] 
Add warning log for non-zero exit status of ghostscript

Log a warning if ghostscript process exits with a non-zero status.

4 months agoMerge commit from fork
zdohnal [Thu, 20 Nov 2025 15:00:02 +0000 (16:00 +0100)] 
Merge commit from fork

rastertopclx.c: Fix infinite loop caused by crafted file

4 months agorastertopclx.c: Fix infinite loop caused by crafted file
Zdenek Dohnal [Wed, 12 Nov 2025 14:47:24 +0000 (15:47 +0100)] 
rastertopclx.c: Fix infinite loop caused by crafted file

Infinite loop happened because of crafted input raster file, which led
into heap buffer overflow of `CompressBuf` array.

Based on comments there should be always some `count` when compressing
the data, and processing of crafted file ended with offset and count
being 0.

Fixes CVE-2025-64524

4 months agofoomatic-hash: Fix return value for --ppd-paths without libppd
Zdenek Dohnal [Mon, 10 Nov 2025 11:46:52 +0000 (12:46 +0100)] 
foomatic-hash: Fix return value for --ppd-paths without libppd

We should return non-zero value if we don't build with libppd.

5 months agoUpdate README.md to clarify Poppler grayscale warning message (#662)
ValdikSS [Wed, 29 Oct 2025 18:54:45 +0000 (21:54 +0300)] 
Update README.md to clarify Poppler grayscale warning message (#662)

5 months agofoomatic-rip: Handle NULL in value in config_set_option()
Zdenek Dohnal [Thu, 9 Oct 2025 17:13:17 +0000 (19:13 +0200)] 
foomatic-rip: Handle NULL in value in config_set_option()

5 months agofoomatic-rip: Allocate modern_shell dynamically (#659)
zdohnal [Thu, 9 Oct 2025 16:40:51 +0000 (18:40 +0200)] 
foomatic-rip: Allocate modern_shell dynamically (#659)

8 months agoAdd MIME Type Definitions for JPEG‑XL Support (#651)
Titiksha Bansal [Thu, 31 Jul 2025 18:33:53 +0000 (00:03 +0530)] 
Add MIME Type Definitions for JPEG‑XL Support (#651)

Added and updated the code for jpegxl support:
* Updated cupsfilters-individual.convs.in
* Updated cupsfilters-universal.convs
* Updated cupsfilters.types
* Updated configure.ac

8 months agofoomatic-rip: `rip_die()` did not relay error to cupsd (#649)
zdohnal [Wed, 30 Jul 2025 11:55:30 +0000 (13:55 +0200)] 
foomatic-rip: `rip_die()` did not relay error to cupsd (#649)

The function which is used to report error was using incorrect format
for cupsd to process it as error, causing hiding its error messages.

8 months agoIntroduce foomatic-hash and reject unauthorized values in foomatic-rip (#648)
zdohnal [Tue, 22 Jul 2025 13:12:19 +0000 (15:12 +0200)] 
Introduce foomatic-hash and reject unauthorized values in foomatic-rip (#648)

The change provides a way for users to have control over what values are
allowed for the foomatic-rip-related PPD keywords FoomaticRIPCommandLine,
FoomaticRIPCommandLinePDF, and FoomaticRIPOptionSetting. Since the
values can be later used when constructing a shell command, the filter
foomatic-rip was a target of several exploits (caused by issues at
different places in CUPS or in different projects of the printing stack) to
do arbitrary code execution when the filter is used.

By default the filter is run by user lp, so the issue is mitigated, but
this PR gives admin complete control over what can be run in
foomatic-rip and reject anything injected into system via different
ways.

First, the new tool - foomatic-hash - can be called on a PPD file or
directory with drivers/PPDs, with scan output and file with hexadecimal
representation of hashed values. Once the scan output is reviewed by
admin, admin can decide to put the resulting hashes into
/etc/foomatic/hashes.d and allow them for the filter.

12 months agoAdd a configure option for texttopdf filter (#630)
Nathan Muggli [Wed, 19 Mar 2025 07:52:45 +0000 (01:52 -0600)] 
Add a configure option for texttopdf filter (#630)

Add --enable-texttopdf/--disable-texttopdf configure options.  If this
is enabled, build the texttopdf filter. If not enabled, don't build that
filter.

If texttopdf is not enabled, don't add the texttopdf option in
cupsfilters-individual.convs

13 months agoFix build failure with GCC 15 and -std=c23 (#618)
zdohnal [Tue, 11 Feb 2025 08:40:59 +0000 (09:40 +0100)] 
Fix build failure with GCC 15 and -std=c23 (#618)

The newest standard has more strict data type checks, function pointers
in function prototypes have to declare data types of its arguments.

15 months ago.gitignore: Ignore the foomatic-rip executable but not foomatic-rip/ directory
Till Kamppeter [Mon, 23 Dec 2024 00:06:09 +0000 (01:06 +0100)] 
.gitignore: Ignore the foomatic-rip executable but not foomatic-rip/ directory

Fix of Issue #610

19 months agocups-filters 2.0.1 Release 2.0.1
Till Kamppeter [Wed, 14 Aug 2024 22:40:35 +0000 (00:40 +0200)] 
cups-filters 2.0.1 Release

20 months agoserial backend: unbreak build on BSD (#548)
Antoine Jacoutot [Fri, 2 Aug 2024 20:29:28 +0000 (22:29 +0200)] 
serial backend: unbreak build on BSD (#548)

The comments aren't properly protected leading to the following error:
backend/serial.c:822:16: error: expected ';' after expression
                                         * devices

21 months agopclmtoraster: Properly set CFLAGS (#588)
Michael Weghorn [Fri, 5 Jul 2024 11:29:39 +0000 (13:29 +0200)] 
pclmtoraster: Properly set CFLAGS (#588)

As this is a C program, set
`pclmtoraster_CFLAGS`, not `pclmtoraster_CXXFLAGS`.

This fixes building pclmtoraster when libcupsfilter
headers are installed in a non-standard directory.

Previously, when configuring and installing libcupsfilters
with e.g. `--prefix=$HOME/temp/cpdb` and then configuring
cups-filters with `PKG_CONFIG_PATH=$HOME/temp/cpdb/lib/pkgconfig/`,
`make pclmtoraster` would fail like this:

      CC       filter/pclmtoraster.o
    filter/pclmtoraster.c:14:10: fatal error: cupsfilters/filter.h: No such file or directory
       14 | #include <cupsfilters/filter.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.

For this to actually work, recent libcupsfilters
commit [1] is also needed:

    commit 449ac6350d00c385ae226513ef6d85ee81ae161a
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Thu Jul 4 14:44:26 2024 +0200

        pkgconfig: Add '-I${includedir}' to Cflags (#57)

[1] https://github.com/OpenPrinting/libcupsfilters/commit/449ac6350d00c385ae226513ef6d85ee81ae161a

2 years agoconfigure: Fix broken bashism resulting in logic failure (#567)
Eli Schwartz [Fri, 8 Mar 2024 12:02:33 +0000 (07:02 -0500)] 
configure: Fix broken bashism resulting in logic failure (#567)

After carefully using configure checks designed to work on pre-unix wars
bourne shells -- that is, the `test "$var" = ""` construct once upon a
time wasn't specified to treat "" as a distinct argument, and various
buggy implementations mishandled various forms where the first argument
started with a dash, so the "x" padding provided a guaranteed comparison
-- the configure.ac check then fails to run on any shells at all other
than GNU bash.

Bash provides the standard `test XXX = YYY` or `[ XXX = YYY ]`
utilities. It also provides the ability to spell the equals sign as a
double equals. This does nothing whatsoever -- it adds no new
functionality to bash, it forbids nothing, it is *literally* an exact
alias.

It should never be used under any circumstances. All developers must
immediately forget that it exists. Using it is non-portable and does not
work in /bin/sh scripts such as configure scripts, and it results in
dangerous muscle memory when used in bash scripts because it makes
people unthinkingly use the double equals even in /bin/sh scripts. To
add insult to injury, it makes scripts take up more disk space (by a
whole byte! and sometimes even a few bytes...)

Delete this accidental bashism, and restore the ability to get correct
./configure behavior on systems where /bin/sh is something other than a
symlink to GNU bash.

2 years agoconfigure.ac: Remove final traces of avahi (#558)
Eli Schwartz [Fri, 8 Mar 2024 11:50:13 +0000 (06:50 -0500)] 
configure.ac: Remove final traces of avahi (#558)

This was originally searched for cups-browsed, and during the great
split these lookups accidentally got left in and moved around in the
file.

The original code began with this autoconf comment:
```
dnl Avahi for cups-browsed
```

After shifting down, it became:
```
dnl Avahi
```

After removing avahi from configure.ac, there are no remaining mentions
of avahi anywhere other than CHANGES*.md

2 years agocups-filters 2.0.0 Release 2.0.0
Till Kamppeter [Fri, 22 Sep 2023 16:12:11 +0000 (18:12 +0200)] 
cups-filters 2.0.0 Release

2 years agoEnable application/vnd.cups-postscript in conversion tables (#534)
zdohnal [Thu, 21 Sep 2023 17:52:00 +0000 (19:52 +0200)] 
Enable application/vnd.cups-postscript in conversion tables (#534)

Unfortunately there are filters which produce this MIME type (such as
hpps from hplip), and if someone uses such driver on client and server
has IPP Everywhere/driverless driver, job fails.

The patch (together with change in libcupsfilters, which will come later)
fixes the issue.

2 years agocups-filters 2.0rc2 Release 2.0rc2
Till Kamppeter [Tue, 20 Jun 2023 20:05:40 +0000 (22:05 +0200)] 
cups-filters 2.0rc2 Release

2 years agoMerge pull request from GHSA-gpxc-v2m8-fr3x
Till Kamppeter [Wed, 17 May 2023 09:12:37 +0000 (11:12 +0200)] 
Merge pull request from GHSA-gpxc-v2m8-fr3x

* beh backend: Use execv() instead of system() - CVE-2023-24805

With execv() command line arguments are passed as separate strings and
not the full command line in a single string. This prevents arbitrary
command execution by escaping the quoting of the arguments in a job
with forged job title.

* beh backend: Extra checks against odd/forged input - CVE-2023-24805

- Do not allow '/' in the scheme of the URI (= backend executable
  name), to assure that only backends inside /usr/lib/cups/backend/
  are used.

- Pre-define scheme buffer to empty string, to be defined for case of
  uri being NULL.

- URI must have ':', to split off scheme, otherwise error.

- Check return value of snprintf() to create call path for backend, to
  error out on truncation of a too long scheme or on complete failure
  due to a completely odd scheme.

* beh backend: Further improvements - CVE-2023-24805

- Use strncat() instead of strncpy() for getting scheme from URI, the latter
  does not require setting terminating zero byte in case of truncation.

- Also exclude "." or ".." as scheme, as directories are not valid CUPS
  backends.

- Do not use fprintf() in sigterm_handler(), to not interfere with a
  fprintf() which could be running in the main process when
  sigterm_handler() is triggered.

- Use "static volatile int" for global variable job_canceled.

2 years agoparallel backend: Added missing #include lines 2.0rc1
Till Kamppeter [Tue, 11 Apr 2023 23:25:35 +0000 (01:25 +0200)] 
parallel backend: Added missing #include lines

2 years agocups-filters 2.0rc1 Release
Till Kamppeter [Tue, 11 Apr 2023 23:09:51 +0000 (01:09 +0200)] 
cups-filters 2.0rc1 Release

3 years agoDrop C++ references and obsolete C standards (#513)
Adam Majer [Mon, 10 Apr 2023 14:22:46 +0000 (16:22 +0200)] 
Drop C++ references and obsolete C standards (#513)

With no C++ compiler needed, there is no need to set the
CXXFLAGS or log it during configure. Furthermore, forcing
outdated C11 standard is not a good idea considering compilers
have moved on. We should not limit our feature set, including
compiler warnings, to old standards.

3 years agofoomatic-rip: Fix a SIGPIPE error when calling gs (#517)
Steve Langasek [Fri, 17 Mar 2023 20:02:43 +0000 (13:02 -0700)] 
foomatic-rip: Fix a SIGPIPE error when calling gs (#517)

https://autopkgtest.ubuntu.com/packages/f/foo2zjs/lunar/ppc64el shows
foo2zjs's testsuite failing with cups-filters 2.0beta3 on ppc64el because
the gs command here to check page count is failing with a SIGPIPE when
trying to write back to the parent.  To fix this, we close gs's input fd as
soon as we know we're done writing to it.  Since gs may not have started
processing its input until this happens, also give the final poll() a longer
timeout (5s instead of 1s); without this we see race conditions because
foomatic-rip gives up before gs has had a chance to finish processing.

3 years agoMerge pull request #510 from zdohnal/coverity_fixes
Till Kamppeter [Thu, 16 Feb 2023 16:42:29 +0000 (17:42 +0100)] 
Merge pull request #510 from zdohnal/coverity_fixes

Coverity fixes for 2.0b3

3 years agoRe: Fix issue 6. 510/head
Zdenek Dohnal [Thu, 16 Feb 2023 14:48:32 +0000 (15:48 +0100)] 
Re: Fix issue 6.

Use default branch instead of specific one

3 years agoFix coverity issue 7.
Zdenek Dohnal [Wed, 15 Feb 2023 18:03:37 +0000 (19:03 +0100)] 
Fix coverity issue 7.

Alloc the array only in case we need it to prevent overwriting pointer

3 years agoFix coverity issue 6.
Zdenek Dohnal [Wed, 15 Feb 2023 17:58:08 +0000 (18:58 +0100)] 
Fix coverity issue 6.

Ensure that PrinterPlanes is not zero

3 years agoFix coverity issue 5.
Zdenek Dohnal [Wed, 15 Feb 2023 17:51:32 +0000 (18:51 +0100)] 
Fix coverity issue 5.

Free the struct at the end of function

3 years agoFix coverity issue 4.
Zdenek Dohnal [Wed, 15 Feb 2023 17:48:07 +0000 (18:48 +0100)] 
Fix coverity issue 4.

Move the allocation and big arrays into scope where it is needed

3 years agoFix coverity issue 3.
Zdenek Dohnal [Wed, 15 Feb 2023 17:40:55 +0000 (18:40 +0100)] 
Fix coverity issue 3.

Ensure we have NULL terminator

3 years agoFix coverity issue 2.
Zdenek Dohnal [Wed, 15 Feb 2023 17:39:17 +0000 (18:39 +0100)] 
Fix coverity issue 2.

Delete identical branch

3 years agoFix coverity issue 1.
Zdenek Dohnal [Wed, 15 Feb 2023 17:37:37 +0000 (18:37 +0100)] 
Fix coverity issue 1.

Close file descriptor in case of error

3 years agoconfigure.ac: Change deprecated AC_PROG_LIBTOOL for LT_INIT (#508)
zdohnal [Tue, 14 Feb 2023 18:15:03 +0000 (19:15 +0100)] 
configure.ac: Change deprecated AC_PROG_LIBTOOL for LT_INIT (#508)

3 years agoconfigure.ac: C++ not needed (#504)
zdohnal [Thu, 2 Feb 2023 22:58:36 +0000 (23:58 +0100)] 
configure.ac: C++ not needed (#504)

3 years agocups-filters 2.0b3 Release 2.0b3
Till Kamppeter [Tue, 31 Jan 2023 23:58:04 +0000 (20:58 -0300)] 
cups-filters 2.0b3 Release

3 years agoUpdated CHANGES.md
Till Kamppeter [Tue, 31 Jan 2023 21:37:12 +0000 (18:37 -0300)] 
Updated CHANGES.md

3 years agoAdd templates for issue reports.
Till Kamppeter [Mon, 30 Jan 2023 02:13:45 +0000 (23:13 -0300)] 
Add templates for issue reports.

3 years agoCOPYING: Fixed typo
Till Kamppeter [Thu, 26 Jan 2023 03:45:35 +0000 (00:45 -0300)] 
COPYING: Fixed typo

3 years agoCOPYING, NOTICE: Simplification for autotools-generated files
Till Kamppeter [Wed, 18 Jan 2023 20:48:10 +0000 (17:48 -0300)] 
COPYING, NOTICE: Simplification for autotools-generated files

autotools-generated files can be included under the license of the
upstream code, and FSF copyright added to upstream copyright
list. Simplified debian/copyright appropriately.

3 years agotexttopdf: Do not include fontconfig.h in the CUPS filter wrapper
Till Kamppeter [Tue, 17 Jan 2023 18:19:11 +0000 (15:19 -0300)] 
texttopdf: Do not include fontconfig.h in the CUPS filter wrapper

3 years agoBuild system: Do not explicitly check for libpoppler-cpp
Till Kamppeter [Tue, 17 Jan 2023 16:53:23 +0000 (13:53 -0300)] 
Build system: Do not explicitly check for libpoppler-cpp

The cups-filters does not contain any code using libpoppler-cpp,
therefore we let ./configure not check for it. This makes building
distribution packages easier.

3 years agoMakefile.am: Include LICENSE in distribution tarball
Till Kamppeter [Tue, 10 Jan 2023 01:46:16 +0000 (22:46 -0300)] 
Makefile.am: Include LICENSE in distribution tarball

3 years agocups-filters 2.0b2 Release 2.0b2
Till Kamppeter [Sun, 8 Jan 2023 22:51:57 +0000 (19:51 -0300)] 
cups-filters 2.0b2 Release

3 years agoUpdated CHANGES.md
Till Kamppeter [Sun, 8 Jan 2023 03:23:49 +0000 (00:23 -0300)] 
Updated CHANGES.md

3 years agoCleaned up .gitignore
Till Kamppeter [Sat, 7 Jan 2023 01:33:31 +0000 (22:33 -0300)] 
Cleaned up .gitignore

Still contained all the cups-filters entries from before the splitting
of the repositories.

3 years agoCorrected installation path for *.h files of *.drv files
Till Kamppeter [Fri, 6 Jan 2023 20:54:34 +0000 (17:54 -0300)] 
Corrected installation path for *.h files of *.drv files

The ppdc (and underlying functions) of libppd searches for include
files in /usr/share/ppdc and not in /usr/share/cups/ppdc any more.

3 years agoREADME.md: Removed Printer Application links
Till Kamppeter [Fri, 6 Jan 2023 19:13:29 +0000 (16:13 -0300)] 
README.md: Removed Printer Application links

The package cups-filters only contains classic CUPS filters and
backends, not relevant for Printer Applications, as they would use the
underlying filter functions of libcupsfilters.

3 years agoFixes in DEVELOPING.md
Till Kamppeter [Fri, 6 Jan 2023 19:08:32 +0000 (16:08 -0300)] 
Fixes in DEVELOPING.md

- Removed "Interfaces" and "Headers" sections in DEVELOPING.md, as
  cups-filters does not provide a library.

- No "cups" prefix for names in cups-filters C files

3 years agoconfigure.ac: Remove unnecessary "AVAHI_GLIB_..." definitions.
Till Kamppeter [Fri, 23 Dec 2022 18:20:23 +0000 (15:20 -0300)] 
configure.ac: Remove unnecessary "AVAHI_GLIB_..." definitions.

3 years agoMakefile.am: Include NOTICE in distribution tarball
Till Kamppeter [Fri, 23 Dec 2022 18:19:21 +0000 (15:19 -0300)] 
Makefile.am: Include NOTICE in distribution tarball

3 years agoconfigure.ac: Added "foreign" to to AM_INIT_AUTOMAKE() call.
Till Kamppeter [Fri, 25 Nov 2022 14:58:04 +0000 (15:58 +0100)] 
configure.ac: Added "foreign" to to AM_INIT_AUTOMAKE() call.

Makes automake not require a file named README.

3 years agoCHANGES.md: Improved formatting, general fixes of content.
Till Kamppeter [Fri, 18 Nov 2022 12:12:04 +0000 (13:12 +0100)] 
CHANGES.md: Improved formatting, general fixes of content.

3 years agoREADME.md: Remove Braille embossing part.
Till Kamppeter [Fri, 18 Nov 2022 00:12:03 +0000 (01:12 +0100)] 
README.md: Remove Braille embossing part.

3 years agocups-filters 2.0b1 Release 2.0b1
Till Kamppeter [Fri, 18 Nov 2022 00:08:39 +0000 (01:08 +0100)] 
cups-filters 2.0b1 Release

3 years ago.gitignore: Updated to changed filter executable names
Till Kamppeter [Fri, 18 Nov 2022 00:07:13 +0000 (01:07 +0100)] 
.gitignore: Updated to changed filter executable names

    rastertopdf  -> pwgtopdf
    rastertopclm -> pwgtopclm

3 years agoRemoved everything which got split out
Till Kamppeter [Thu, 17 Nov 2022 12:58:03 +0000 (13:58 +0100)] 
Removed everything which got split out

In the New Architecture for printing we switch to an all-IPP workflow
with PPD files being abolished and classic CUPS printer drivers
replaced by Printer Applications (software emulation of driverless IPP
printers).

To conserve the functionality of the CUPS filters which got developed
over the last 20+ years into a PPD-less, IPP-driven world without
having to maintain and include the legacy PPD support in OS
distributions and other system environments, the original cups-filters
package got split into 5 separate packages: libcupsfilters, libppd,
cups-filters, braille-printer-app, and cups-browsed, with
libcupsfilters and braille-printer-app not containing PPD file support
code any more and cups-browsed being planned to drop explicit use of
PPD files.

This commit drops everything from the cups-filters repository which
got split out into the other 4, new repositories.

What remains are the CUPS filter executables, from which most are
wrappers around filter functions implemented in the libcupsfilters and
libppd libraries, backends, the "driverless" utility for setting up
driverless printers with classic printer setup tools, and auxiliary
files (PPD files, *.drv files, MIME rules, ...).

This package is needed for using CUPS 2.x with filters from
libcupsfilters (2.x) and libppd.

It is not needed/does not make sense to be used with CUPS 3.x or the
CUPS Snap (or any other containerized CUPS implementation). If you
need printer drivers for such CUPS versions, use Printer Applications.

3 years agoDEVELOPING.md, CONTRIBUTING.md: Include them in tarball and installation
Till Kamppeter [Mon, 14 Nov 2022 23:20:37 +0000 (00:20 +0100)] 
DEVELOPING.md, CONTRIBUTING.md: Include them in tarball and installation

Added the new files to Makefile.am so that "make dist" amd "make
install" include them.

3 years agoAdded DEVELOPING.md and CONTRIBUTING.md
Till Kamppeter [Mon, 14 Nov 2022 22:33:16 +0000 (23:33 +0100)] 
Added DEVELOPING.md and CONTRIBUTING.md

These files are mainly overtaken from CUPS. They provide information
for contributors: Coding style, contact, where to report bugs/post
feature requests, ...

3 years agoCHANGES.md, README.md, INSTALL: Updated source package documentation
Till Kamppeter [Mon, 14 Nov 2022 21:00:03 +0000 (22:00 +0100)] 
CHANGES.md, README.md, INSTALL: Updated source package documentation

- Renamed NEWS to CHANGES.md
- Moved changes on 1.x to CHANGES-1.x.md
- As changes for 2.0b1 listed all changes compared to the last 1.x release
  (1.28.16), in preparation for the separation already divided up by the
  components.
- Converted README to README.md, some updates of the text.

3 years agoAUTHORS, COPYING, LICENSE, NOTICE: Switchover to Apache 2.0
Till Kamppeter [Fri, 11 Nov 2022 23:57:41 +0000 (00:57 +0100)] 
AUTHORS, COPYING, LICENSE, NOTICE: Switchover to Apache 2.0

Reflect the switchover to the Apache 2.0 license with CUPS extension
(same license as CUPS) in the appropriate files.

Also updated lists of copyright holders and authors.

3 years agoData files: Changed license info to Apache 2.0
Till Kamppeter [Fri, 11 Nov 2022 19:19:57 +0000 (20:19 +0100)] 
Data files: Changed license info to Apache 2.0

Changed the license info in the file headers to the license used by
CUPS, on PostScript files, *.drv PPD generator files, M4 files, MIME
rules, and PPD files.

3 years agolibcupsfilters: Updated all licence headers to Apache 2.0
Till Kamppeter [Sun, 23 Oct 2022 23:23:24 +0000 (01:23 +0200)] 
libcupsfilters: Updated all licence headers to Apache 2.0

Now the license headers contains infor what the file contains,
copyright info and the license info.

The license is now the same as in CUPS:

    Licensed under Apache License v2.0.  See the file "LICENSE" for more
    information.

Added the header where it was missing. Also used a unique format for all
headers.

3 years agocups-browsed, driverless: Code clean-up for code of the utilities
Till Kamppeter [Sun, 23 Oct 2022 19:21:41 +0000 (21:21 +0200)] 
cups-browsed, driverless: Code clean-up for code of the utilities

Cleaned up the code in the utils/ drirectory following the coding
style rules in the DEVELOPING.md file of the CUPS source code.

This improves the readability of the code a lot, especially as missing
spaces got inserted in comma-separated lists ("xxx,yyy,zzz" -> "xxx,
yyy, zzz") and around operators ("x=a*(b+c)%4" -> "x = a * (b + c) %
4"), what got nearly completely missed out by several contributors.

Comments are re-formatted to use "// ..." instead of "/* ... */", like
in PAPPL, so C and C++ files get the same comment style.

Also we get rid of the mix of many different coding styles which came
together from the many code contributions received during more than a
decade, even before the start of the cups-filters project.

In addition, all the file's header comments reflect the new license,
Apache 2.0, the same license as used for CUPS.

Note that we did not clean up driverless.c, as here we still accept a
major code contribution from the GSoC.

3 years agoCUPS backends: Code clean-up for code in backend/
Till Kamppeter [Sat, 22 Oct 2022 14:32:45 +0000 (16:32 +0200)] 
CUPS backends: Code clean-up for code in backend/

Cleaned up the code of the legacy CUPS backends following the coding
style rules in the DEVELOPING.md file of the CUPS source code.

Comments are re-formatted to use "// ..." instead of "/* ... */", like
in PAPPL, so C and C++ files get the same comment style.

Also we get rid of the mix of many different coding styles which came
together from the many code contributions received during more than a
decade, even before the start of the cups-filters project.

In addition, all the file's header comments reflect the new license
now, Apache 2.0, the same license as used for CUPS.

3 years agoCUPS filters: Code clean-up for code in filter/
Till Kamppeter [Fri, 21 Oct 2022 21:56:00 +0000 (23:56 +0200)] 
CUPS filters: Code clean-up for code in filter/

Cleaned up the code of the legacy CUPS filters/filter function
wrappers following the coding style rules in the DEVELOPING.md file of
the CUPS source code.

Comments are re-formatted to use "// ..." instead of "/* ... */", like
in PAPPL, so C and C++ files get the same comment style.

Also we get rid of the mix of many different coding styles which came
together from the many code contributions received during more than a
decade, even before the start of the cups-filters project.

In addition, all the file's header comments reflect the new license
now, Apache 2.0, the same license as used for CUPS.

3 years agofoomatic-rip: Updated the license info of all source files
Till Kamppeter [Wed, 19 Oct 2022 22:06:58 +0000 (00:06 +0200)] 
foomatic-rip: Updated the license info of all source files

cups-filters will be put under the same license as CUPS. Updated the
source files of foomatic-rip appropriately.

3 years agolibppd: Code clean-up for code of foomatic-rip
Till Kamppeter [Wed, 19 Oct 2022 21:38:59 +0000 (23:38 +0200)] 
libppd: Code clean-up for code of foomatic-rip

Cleaned up the code following the coding style rules in the
DEVELOPING.md file of the CUPS source code.

Comments are re-formatted to use "// ..." instead of "/* ... */", like
in PAPPL, so C and C++ files get the same comment style.

The indent width is set to 2 spaces instead of 4, to match the other
files.

This way we get rid of the mix of many different coding styles which
came together from the many code contributions received during more
than a decade, even before the start of the cups-filters project.