257.66. kpeople-6.31.0
KDE Frameworks: a unified address book of contacts
6.31.0-1 · LGPL-2.1-or-later · 1.1 SBU · 989.0 KiB, 60 files · 43_toolkits, 197 of 344 · ports/core/kf6/kpeople
Homepage: https://invent.kde.org/frameworks/kpeople
Why it is in KDOS. The comment above the 61 ports from karchive to kfilemetadata in script/phases/43_toolkits/packages.d/kf6.txt:
The libraries KDE applications are built on, without Plasma.
KPeople merges the contacts that several sources know about one person into a single entry: an address book, a chat account and a phone’s contact list each contribute, through data source plugins, and the merged person is offered as an item model, a details widget and a QML module, org.kde.people. It keeps the merges in an SQLite database through Qt Sql. kdeconnect contributes the phone’s contacts, and plasma-phonebook and calindori are built on it.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, kcontacts, kcoreaddons, ki18n, kitemviews, kwidgetsaddons.
Required by (3): calindori, kdeconnect, plasma-phonebook.
Sources: kpeople-6.31.0.tar.xz (66.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 kpeople'
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 ENABLE_EXAMPLES=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D ENABLE_EXAMPLES=OFF— Build none of the example programs. Upstream’s default is on, and the examples would be built for nothing, since none is installed.-D KF_SKIP_PO_PROCESSING=ON— Build none of the gettext catalogues underpo/, whichki18n_install()would compile into.mofiles. The strings in the source are English, and the package-wide English-only rule (see Size and language policy) would remove every catalogue in another language.
Libraries: libKF6People.so, libKF6PeopleBackend.so, libKF6PeopleWidgets.so.
Directories: /usr/include/KF6/KPeople, /usr/lib/cmake/KF6People, /usr/lib/qt6/plugins/kpeople/datasource, /usr/lib/qt6/qml/org/kde/people, /usr/share/licenses/kpeople.
The package installs one data source of its own, kpeople/datasource/KPeopleVCard.so: every vCard file under ~/.local/share/kpeoplevcard/ is a contact, and a new one is saved under own/ there. The plugin watches the directory, so a vCard dropped in appears in a running application. It is the source the standalone kpeoplevcard project provides, so a port of that project would conflict with this one on that path.
The configure requires Qt Qml and Qt Quick for the QML module, from qt6-qtdeclarative, and Qt Sql, which qt6-qtbase carries with its SQLite driver.