302.9. tokodon-26.08.2
Mastodon and fediverse client — timelines, posting with media and polls, notifications and push
26.08.2-1 · GPL-3.0-or-later AND GPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND GPL-2.0-or-later AND AGPL-3.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-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 MIT AND CC-BY-SA-4.0 AND CC0-1.0 · 7.0 SBU · 12.1 MiB, 25 files · 44_apps, 36 of 422 · ports/core/chat/tokodon
Homepage: https://apps.kde.org/tokodon/
Tokodon is KDE’s client for Mastodon and the other ActivityPub servers of the fediverse: home, local and federated timelines, posting with media, polls and content warnings, notifications, direct messages, and several accounts at once. It is a Kirigami application; account tokens go to the Secret Service through qtkeychain, and the streaming timelines arrive over WebSockets from qt6-qtwebsockets.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtsvg, qt6-qtwebsockets, qt6-qtmultimedia, qt6-qtwebview, kirigami, ki18n, knotifications, kconfig, kcoreaddons, kcolorscheme, kirigami-addons, qtkeychain, kunifiedpush, openssl, qqc2-desktop-style, kio, purpose, qcoro, kdbusaddons, kwindowsystem, kitemmodels, kdeclarative, prison, sonnet.
Required by (1): kde-gear-utilities.
Sources: tokodon-26.08.2.tar.xz (890.5 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 tokodon'
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_KUnifiedPush=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6WebView=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_REQUIRE_FIND_PACKAGE_KUnifiedPush=ON— Push notifications through kunifiedpush, with openssl for the keys a push subscription needs. Upstream looks for it quietly as optional and builds without push otherwise; required, a missing one stops the configure.-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6WebView=ON— Logging in inside the application, through qt6-qtwebview, instead of only in the web browser. Optional upstream.-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: tokodon.
Directories: /usr/share/licenses/tokodon.
The configure checks the QML modules the pages import, org.kde.kitemmodels, org.kde.notification, org.kde.kquickcontrolsaddons (from kdeclarative), org.kde.prison and org.kde.sonnet, and stops when one is missing. Qt Quick’s Breeze style, which upstream prefers on Android and Sailfish, is not looked for on a desktop build, which draws with qqc2-desktop-style. Push messages need a UnifiedPush distributor running in the session.