Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

270.1. libcupsfilters-2.2.1

The filter functions behind every CUPS print filter, as a library

2.2.1-1 · Apache-2.0 WITH LLVM-exception · 0.9 SBU · 1.6 MiB, 53 files · 43_toolkits, 252 of 344 · ports/core/printing/libcupsfilters

Homepage: https://github.com/OpenPrinting/libcupsfilters

Why it is in KDOS. The comment above the 4 ports from libcupsfilters to cups-browsed in script/phases/43_toolkits/packages.d/printing.txt:

Without filters cups accepts a job, spools it, runs the paper through and prints nothing on it. The queue existing is not the same as the page coming out right.

Depends on: cups, pdfio, poppler, ghostscript, fontconfig, lcms2, libexif, libjpeg-turbo, libpng, libtiff, libjxl, dbus, pkgconf, libintl.

Required by (3): cups-browsed, cups-filters, libppd.

Sources: libcupsfilters-2.2.1.tar.xz (4.7 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install libcupsfilters'

build.sh:

./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib \
	--localstatedir=/var --disable-static \
	--enable-imagefilters --enable-exif --enable-texttopdf \
	--enable-ghostscript --enable-dbus --disable-mutool \
	--with-jpeg --with-png --with-tiff --with-jpegxl --with-fontconfig \
	--with-cups-rundir=/run/cups \
	--with-test-font-path=/usr/share/fonts/TTF/DejaVuSans.ttf
make
make DESTDIR=$PKG install

Libraries: libcupsfilters.so.

Directories: /usr/include/cupsfilters, /usr/share/cups/charsets, /usr/share/doc/libcupsfilters, /usr/share/licenses/libcupsfilters.