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

334.4. foomatic-db-20260926

Foomatic printer database — printer and driver XML plus manufacturer PPDs for CUPS

20260926-1 · GPL-2.0-or-later AND MIT · 1.3 SBU · 91.3 MiB, 13349 files · 44_apps, 346 of 422 · ports/core/printing/foomatic-db

Homepage: https://github.com/OpenPrinting/foomatic-db

Depends on: foomatic-db-engine, cups, cups-filters, ghostscript, gzip.

Required by: no port names it.

Sources: foomatic-db-20260926.tar.xz (7.6 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install foomatic-db'

build.sh:

./configure --prefix=/usr --disable-gzip-ppds --disable-ppds-to-cups
make
make DESTDIR=$PKG install
find "$PKG/usr/share/foomatic/db/source/PPD" -name '*.ppd' -exec gzip -n9 {} +

install -d "$PKG/usr/share/cups/model"
ln -s /usr/share/foomatic/db/source/PPD "$PKG/usr/share/cups/model/foomatic-db-ppds"

Directories: /usr/share/foomatic/db, /usr/share/foomatic/xmlschema, /usr/share/licenses/foomatic-db.