258.6. plasma-activities-stats-6.8.2
Library that queries the activity manager's record of recently and often used files and applications
6.8.2-1 · (LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL) AND GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND LGPL-2.0-or-later · 0.8 SBU · 573.0 KiB, 33 files · 43_toolkits, 136 of 344 · ports/core/kde/plasma-activities-stats
Homepage: https://invent.kde.org/plasma/plasma-activities-stats
Plasma Activities Stats reads the record the activity manager keeps of what was used, when and in which activity, and turns it into Qt models: the recent and frequent files and applications that Kickoff, the task manager’s jump lists, KRunner and Dolphin’s recentlyused:/ folder show. It reads kactivitymanagerd’s SQLite database directly, opened read-only through Qt’s SQLite driver, and asks the daemon over D-Bus to forget an entry.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, plasma-activities.
Required by (4): kio-extras, plasma-desktop, plasma-workspace, sweeper.
Sources: plasma-activities-stats-6.8.2.tar.xz (81.6 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install plasma-activities-stats'
build.sh:
cmake -S . -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D KDE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \
-D BUILD_TESTING=OFF \
-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
-D KF_SKIP_PO_PROCESSING=ON \
-D BUILD_QCH=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Passed as by every KDE port, so a later release that adds translations stays English-only with no change to the recipe (see Size and language policy). This release carries none, and CMake reports the variable as unused.-D BUILD_QCH=OFF— No API documentation in Qt Help format; no port builds QCH.
Libraries: libPlasmaActivitiesStats.so.
Directories: /usr/include/PlasmaActivitiesStats, /usr/lib/cmake/PlasmaActivitiesStats, /usr/share/licenses/plasma-activities-stats.
The database is written by kactivitymanagerd, a session port that this 43_toolkits library cannot name in depends; the kde-plasma meta port installs it. With no database every model is empty. The SQLite driver is the one built into qt6-qtbase.