302.8. neochat-26.08.2
Matrix chat client — end-to-end encrypted rooms, spaces, threads and push notifications
26.08.2-1 · (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND GPL-2.0-or-later AND GPL-3.0-only AND GPL-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 · 19.9 SBU · 18.3 MiB, 27 files · 44_apps, 35 of 422 · ports/core/chat/neochat
Homepage: https://apps.kde.org/neochat/
NeoChat is KDE’s Matrix client: rooms and direct chats with end-to-end encryption, spaces, threads, replies and reactions, media and file sharing, and room search from KRunner. It is a Kirigami application over libquotient, which speaks the Matrix client-server API and does the encryption. Login pages a homeserver serves as a web page open in an embedded view from qt6-qtwebview, which upstream requires. Access tokens are kept in the Secret Service.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtmultimedia, qt6-qtsvg, qt6-qtspeech, qt6-qtwebview, qt6-qtlocation, qt6-qtpositioning, kirigami, ki18n, knotifications, kconfig, kcoreaddons, kitemmodels, kcolorscheme, kiconthemes, purpose, qqc2-desktop-style, kio, kwindowsystem, kcrash, kdbusaddons, syntax-highlighting, sonnet, prison, kquickcharts, kdoctools, kirigami-addons, libquotient, cmark, kquickimageeditor, qcoro, kunifiedpush, icu.
Required by (1): kde-gear-utilities.
Sources: neochat-26.08.2.tar.xz (1.4 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 neochat'
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 WITH_UNIFIEDPUSH=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D WITH_UNIFIEDPUSH=ON— Push notifications through kunifiedpush, which is then a requirement, and the D-Bus service file that lets a push message start NeoChat. On by default upstream; named so it stays on.-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON— The handbook, through kdoctools, which upstream looks for as optional.-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: neochat.
Directories: /usr/share/licenses/neochat.
Much of what the window needs is QML, loaded when a page opens rather than linked: org.kde.kquickimageeditor from kquickimageeditor for editing an image before sending it, org.kde.prison and its scanner from prison for QR login, org.kde.quickcharts from kquickcharts, QtLocation and QtPositioning for shared locations, and the desktop style from qqc2-desktop-style. The configure only reports most of them, so each is named in depends.
Push messages need a UnifiedPush distributor running in the session; without one NeoChat syncs only while it runs. The KRunner plugin is a D-Bus runner file under /usr/share/krunner/dbusplugins, answered by NeoChat itself while it runs.