257.16. kbookmarks-6.31.0
KDE Frameworks: bookmark storage and menus
6.31.0-1 · LGPL-2.0-or-later AND LGPL-2.0-only · 0.6 SBU · 466.7 KiB, 39 files · 43_toolkits, 51 of 344 · ports/core/kf6/kbookmarks
Homepage: https://invent.kde.org/frameworks/kbookmarks
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.
KBookmarks reads and writes bookmarks in the XBEL format and builds the bookmark menus and the “Add Bookmark” actions of KDE programs from them. kio keeps the Places panel of the file dialogs and of dolphin in ~/.local/share/user-places.xbel through it, and konsole and kate use its menus.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kconfig, kcoreaddons, kwidgetsaddons.
Required by (16): dolphin, kate, kcharselect, kdenlive, keditbookmarks, khelpcenter, kio, kmail, konqueror, konsole, konversation, krdc, okular, pim-sieve-editor, plasma-workspace, sweeper.
Sources: kbookmarks-6.31.0.tar.xz (1.0 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install kbookmarks'
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 KF_SKIP_PO_PROCESSING=ON \
-D BUILD_TESTING=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D KF_SKIP_PO_PROCESSING=ON— Build none of the Qt translation catalogues underpoqm/, whichecm_install_po_files_as_qm()would compile into.qmfiles. 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: libKF6Bookmarks.so, libKF6BookmarksWidgets.so.
Directories: /usr/include/KF6/KBookmarks, /usr/include/KF6/KBookmarksWidgets, /usr/lib/cmake/KF6Bookmarks, /usr/share/licenses/kbookmarks.