330.20. step-26.08.2
KDE physics simulator — mechanics, springs, gases and charged particles
26.08.2-1 · GPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND BSD-2-Clause AND BSD-3-Clause AND GFDL-1.2-or-later AND CC0-1.0 · 2.5 SBU · 2.6 MiB, 100 files · 44_apps, 105 of 422 · ports/core/education/step
Homepage: https://apps.kde.org/step/
Step is KDE Education’s interactive physics simulator: the learner places bodies, springs, motors, gases and charged particles on a canvas, starts the clock and watches the simulation, with graphs and meters of any quantity. Its engine, StepCore, solves the motion with eigen and, optionally, the GSL integrators; units in the property editor convert through libqalculate.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, kcrash, kconfig, ki18n, kiconthemes, kio, knewstuff, kplotting, ktextwidgets, kxmlgui, kdoctools, eigen, gsl, libqalculate, shared-mime-info.
Required by (1): kde-gear-education.
Sources: step-26.08.2.tar.xz (998.8 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install step'
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 CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_GSL=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_Qalculate=ON \
-D CMAKE_DISABLE_FIND_PACKAGE_Python3=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON— Stop the configure if kdoctools is missing. Upstream looks for it as an optional package, and without it leaves the handbook out.-D CMAKE_REQUIRE_FIND_PACKAGE_GSL=ON— Stop the configure if gsl is missing. Upstream marks it optional and setsSTEPCORE_WITH_GSLfrom the result of the find, so without it the GSL-powered solvers silently disappear from the solver list.-D CMAKE_REQUIRE_FIND_PACKAGE_Qalculate=ON— Stop the configure if libqalculate is missing, for the same reason:STEP_WITH_QALCULATEfollows the find, and without it property values cannot be typed with units.-D CMAKE_DISABLE_FIND_PACKAGE_Python3=ON— Do not look for Python. Upstream uses it only to write a translated copy of every example, tutorial and object description for each language inpo/, compiled from that language’s catalogue bystep/data/extractxml. Those copies are translations in all but their file type, so the language rule would not remove them, and this tree ships English only (see Size and language policy). Without Python the English examples, tutorials and object descriptions are still installed.-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: step.
Directories: /usr/share/doc/HTML/en/step, /usr/share/licenses/step, /usr/share/step.
Step finds Eigen through Eigen3Config.cmake. The tree’s eigen is the 5.0 series, which still installs its CMake package under that name.
Upstream installs its own MIME package, org.kde.step.xml, which defines application/x-step for the entry’s MimeType=; kpkg rebuilds the MIME database on install, and shared-mime-info is in depends because the configure requires it. The Download New Experiments action is knewstuff’s, which hides itself on KDOS, where KNewStuff is switched off ([KDE Action Restrictions][$i] ghns=false in /usr/share/kdos/xdg/kdeglobals); the examples the package installs are the ones Step offers.
KAboutData gives the window the app_id org.kde.step, the name of upstream’s entry.