283.10. umbrello-26.08.2
UML modeller — class, sequence, state and entity diagrams, code import and code generation
26.08.2-1 · GPL-2.0-or-later AND LGPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND LGPL-2.0-only AND GPL-3.0-only AND GPL-3.0-or-later AND MIT AND BSD-3-Clause AND GFDL-1.2-or-later AND CC0-1.0 · 11.7 SBU · 9.9 MiB, 120 files · 44_apps, 53 of 422 · ports/core/devtools/umbrello
Homepage: https://apps.kde.org/umbrello/
Umbrello is a UML modeller: class, sequence, collaboration, use case, state, activity, component, deployment and entity-relationship diagrams in an XMI document. It imports classes from C++, Java, Python, IDL, Pascal, Ada and other sources, generates code from a model in about twenty languages, and lays diagrams out automatically through Graphviz.
Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, karchive, kcompletion, kconfig, kcoreaddons, kcrash, kdoctools, ki18n, kiconthemes, kio, ktexteditor, kwidgetsaddons, kwindowsystem, kxmlgui, libxml2, libxslt, graphviz.
Required by (1): kde-gear-devtools.
Sources: umbrello-26.08.2.tar.xz (5.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 umbrello'
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 BUILD_WITH_QT6=ON \
-D BUILD_PHP_IMPORT=OFF \
-D BUILD_APIDOC=OFF \
-D BUILD_QCH=OFF \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
-D BUILD_WITH_QT6=ON— Build against Qt 6 and KDE Frameworks 6. Umbrello carries its own copy ofQtVersionOption.cmake, whose default, when no Qt has been found yet, is Qt 5.-D BUILD_PHP_IMPORT=OFF— No PHP code import. The importer needs a KDevelop platform of the 5.x series, which is Qt 5 and KDE Frameworks 5, and the bundledlib/kdev5-phpit falls back to asks for Qt 5 and stops the configure. Off, the result does not depend on whether kdevelop or kdevelop-pg-qt happen to be installed.-D BUILD_APIDOC=OFF— With-D BUILD_QCH=OFF: no Doxygen API reference and no Qt Help file. Both default on and run whenever doxygen is found, and the package would then carry an HTML tree of Umbrello’s internals that no user reads.-D KF_SKIP_PO_PROCESSING=ON— Builds none of the interface translations inpo/, which kpkg’s English-only rule would remove from the package anyway (see Size and language policy).-Wno-dev— Silences CMake’s warnings meant for the project’s own developers.
Programs: po2xmi6, umbrello6, xmi2pot6.
Directories: /usr/share/doc/HTML/en/umbrello, /usr/share/licenses/umbrello, /usr/share/umbrello6.
BUILD_DOC stays at its default, on, which makes kdoctools a requirement and builds the handbook; kdoctools_install(po) builds it in every translated language too, and kpkg’s language rule removes /usr/share/doc/HTML/<lang>/. libxslt and libxml2 are requirements: the XMI export to DocBook and XHTML runs XSLT.
Automatic layout runs dot from graphviz, in depends for run time. The po2xmi and xmi2pot tools that translate a model’s text are installed with the program.
The window’s Wayland app_id is org.kde.umbrello, the desktop file name KAboutData builds from the apps.kde.org home page and the component name. It is the desktop entry’s file name too, and upstream’s entry sets no StartupWMClass, so the task manager pairs the window with its entry without a patch.