316.11. keditbookmarks-26.08.2
Bookmark editor — the bookmarks every KDE application's Bookmarks menu shares
26.08.2-1 · (GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-only AND LGPL-2.0-only · 5.2 SBU · 981.7 KiB, 21 files · 44_apps, 269 of 422 · ports/core/kde/keditbookmarks
Homepage: https://invent.kde.org/utilities/keditbookmarks
KEditBookmarks edits a KBookmarks file: folders, separators, sorting, import from Mozilla, Netscape, Opera, Internet Explorer and Galeon files and export to HTML. With no argument it opens the shared ~/.local/share/konqueror/bookmarks.xml; Konsole, Kate and the others start it on their own file from their “Edit Bookmarks…” menu entry, which does nothing without this port. The port also installs kbookmarkmerger, which merges a directory of bookmark fragments into a file.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, kcodecs, kconfigwidgets, kcoreaddons, ki18n, kio, kbookmarks, kparts, kwidgetsaddons, kwindowsystem, kiconthemes, kcrash, kdoctools, libX11.
Required by (1): kde-gear-utilities.
Sources: keditbookmarks-26.08.2.tar.xz (256.4 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 keditbookmarks'
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_KF6DocTools=ON \
-D CMAKE_REQUIRE_FIND_PACKAGE_X11=ON \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DocTools=ON— The handbook, through kdoctools, which upstream looks for as optional; required, a missing one stops the configure instead of leaving the handbook out.-D CMAKE_REQUIRE_FIND_PACKAGE_X11=ON— Make libX11 a requirement. Upstream uses X11 only to raise an already running copy withKX11Extras::activateWindow, which does nothing under Wayland, but kwindowsystem is built with its X11 half and its CMake package looks X11 up itself, so the search cannot be turned off: refused, it takes KWindowSystem with it and the configure stops. Required, the X11 code is always compiled in.-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: kbookmarkmerger, keditbookmarks.
Libraries: libkbookmarkmodel_private.so.
Directories: /usr/share/doc/HTML/en/keditbookmarks, /usr/share/licenses/keditbookmarks.
The desktop entry is NoDisplay=true upstream, since the editor is opened from an application’s Bookmarks menu.