335.8. kmplot-26.08.2
KDE function plotter — Cartesian, parametric, polar, implicit and differential plots
26.08.2-1 · GPL-2.0-or-later AND GFDL-1.2-or-later AND CC0-1.0 · 8.9 SBU · 2.0 MiB, 31 files · 44_apps, 291 of 422 · ports/core/math/kmplot
Homepage: https://apps.kde.org/kmplot/
KmPlot is KDE Education’s function plotter: Cartesian, parametric, polar, implicit and differential-equation plots, with derivatives and integrals drawn alongside, sliders for parameters, and tools that find a function’s roots, extrema and the area under it. It installs a KPart as well, kmplotpart, through which other KDE programs embed a plot.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, kcompletion, kconfig, kcrash, kdbusaddons, kguiaddons, ki18n, kjobwidgets, kio, kparts, kwidgetsaddons, ktextwidgets, kdoctools, kdeedu-data.
Required by (1): kde-gear-education.
Sources: kmplot-26.08.2.tar.xz (2.9 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 kmplot'
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 \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-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: kmplot.
Directories: /usr/share/doc/HTML/en/kmplot, /usr/share/licenses/kmplot.
The toolbar’s own icons (newfunction, editplots, newparametric and the rest) are not in this package: kdeedu-data installs them in hicolor, so that port is in depends for run time. The handbook is built under upstream’s BUILD_DOC option, on by default, which makes kdoctools a requirement.
The entry claims application/x-kmplot, which kcoreaddons defines in its kde6.xml MIME package. KAboutData gives the window the app_id org.kde.kmplot, the name of upstream’s entry.