355.1. print-manager-6.8.2
Plasma printing — the Printers page of System Settings, the print queue, the tray applet and new-printer notices
6.8.2-1 · GPL-2.0-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND (GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND BSD-3-Clause AND BSD-2-Clause AND CC0-1.0 · 2.2 SBU · 2.4 MiB, 22 files · 50_desktop, 51 of 92 · ports/core/printing/print-manager
Homepage: https://invent.kde.org/plasma/print-manager
Why it is in KDOS. The comment above it in script/phases/50_desktop/packages.txt:
The Printers page of System Settings, the print queue and the tray applet.
print-manager is Plasma’s printing front end over cups: the Printers page of System Settings, which adds, configures and removes printers and sets the server’s options; the print queue window (plasma-print-queue); the printer options dialog (configure-printer); the tray applet that shows active jobs; and a module of the KDE daemon that announces a newly plugged-in printer and offers to set it up. Each part reaches CUPS through the port’s own libkcups.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, ki18n, kcmutils, kirigami, kio, knotifications, kwidgetsaddons, kwindowsystem, kitemmodels, kdeclarative, libplasma, kirigami-addons, cups, kded, system-config-printer.
Required by (1): kde-plasma.
Sources: print-manager-6.8.2.tar.xz (408.8 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/50_desktop/phase.env && kpkg install print-manager'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D BUILD_TESTING=OFF \
-D KF_SKIP_PO_PROCESSING=ON \
-D SCP_INSTALL=OFF \
-D CMAKE_DISABLE_FIND_PACKAGE_PackageKitQt6=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D SCP_INSTALL=OFF— Do not offer to install system-config-printer. Upstream’s option adds an “Install It” button that asks PackageKit for the package; KDOS installs it with this port instead (see Notes), and PackageKit is not a port.-D CMAKE_DISABLE_FIND_PACKAGE_PackageKitQt6=ON— No PackageKit, which the installer above would use. Refusing the search means a stray copy in the build root cannot be picked up.-D KF_SKIP_PO_PROCESSING=ON— Skips building the interface translations, which the package-wide English-only rule would remove anyway (see Size and language policy).
Programs: configure-printer, plasma-print-queue.
Libraries: libkcups.so.
Directories: /usr/lib/qt6/qml/org/kde/plasma/printmanager, /usr/share/licenses/print-manager.
system-config-printer is in depends for run time. Its scp-dbus-service answers org.fedoraproject.Config.Printing on the session bus, and print-manager calls it to group the device URIs one physical printer reports (GroupPhysicalDevices), to recommend a driver for a new printer (GetBestDrivers) and to list the programs a driver lacks (MissingExecutables). The Printers page checks whether the name is activatable and shows a warning header when it is not.
The configure looks for CUPS’s smb backend under /usr/lib/cups/backend and reports it missing: samba installs smbspool, but nothing in the tree links it into CUPS as the smb backend, so a printer shared from a Windows or Samba machine cannot be added. The check only prints a message; the build is the same either way.
kded is in depends for run time, for the new-printer module that kded6 loads at login. The module claims com.redhat.NewPrinterNotification on the system bus and waits for system-config-printer’s udev helper to call it when a USB printer appears. system-config-printer is built without its udev rules, so that call never comes and a plugged-in printer is added from the Printers page instead.