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

154.1. libpaper-2.3.0

Library and paper(1) tool for the system's default paper size and the known paper sizes

2.3.0-1 · MIT AND GPL-3.0-or-later · 0.4 SBU · 161.0 KiB, 12 files · 41_system, 45 of 1047 · ports/core/printing/libpaper

Homepage: https://github.com/rrthomas/libpaper

Depends on: nothing a recipe names.

Required by (4): cups, ghostscript, texlive, tuxpaint.

Sources: libpaper-2.3.0.tar.gz (1.3 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install libpaper'

build.sh:

./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --disable-static
make
make DESTDIR=$PKG install

Programs: paper.

Libraries: libpaper.so.

Directories: /usr/share/doc/libpaper, /usr/share/licenses/libpaper.