Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

306.13. glaxnimate-0.6.0

Glaxnimate: vector animation and motion design, Lottie, SVG and video export, for Qt 6

Version 0.6.0, release 1
Shelf graphics — Graphics applications: painting, vector, photo development and management, image viewers, screenshot and image optimisers
Phase 44_apps (Applications), 233 of 422 in build order
Licence GPL-3.0-or-later
Homepage https://glaxnimate.org/
Build time 15.0 SBU
Installed size 13.3 MiB in 243 files
Recipe ports/core/graphics/glaxnimate/kpkgbuild

About

Glaxnimate is KDE’s vector animation editor, for motion graphics and animated icons. It opens and saves Lottie, animated SVG and its own format, and exports GIF and video through ffmpeg. It is built against Qt 6 and KDE Frameworks 6, with Python scripting.

Sources

Dependencies

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtsvg, qt6-qttools, ki18n, kcoreaddons, kwidgetsaddons, kxmlgui, karchive, kcompletion, kiconthemes, kconfig, kcrash, breeze-icons, potrace, ffmpeg, libarchive, zlib, python3, librsvg, hicolor-icon-theme.

Required by: no port names it.

Installation

From the repository root, inside the build container, this is the line kdosbuild runs for the port:

script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install glaxnimate'

What kpkg does

kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/graphics/glaxnimate.

1. Verify every declared source. Each file a sha256 = line names, found in the port directory or in /var/cache/kpkg/sources, must hash to its line; a mismatch stops the build before anything is unpacked.

cd /ports/core/graphics/glaxnimate
echo '4fe5e4d48124d499aab318c932884e3e98da2fd279399c3ba3c6a4d1e07de94a  glaxnimate-0.6.0.tar.xz' | sha256sum -c -

2. Unpack. The work directory is emptied and the first source is unpacked into $SRC with its top directory stripped; any later tarball lands unstripped beside it in $SRC_ROOT, and a file that is not a tarball is copied into $SRC.

SRC_ROOT=/var/cache/kpkg/work/glaxnimate
SRC=$SRC_ROOT/glaxnimate-0.6.0
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf glaxnimate-0.6.0.tar.xz -C "$SRC" --strip-components=1

Every config.guess and config.sub older than automake’s is then replaced with automake’s, so a configure script recognises the musl target.

3. Build. build.sh is sourced in a subshell under set -e, from $SRC, with name, version, release and the five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:

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 BUILD_WITH_QT6=ON \
	-D GLAXNIMATE_SYSTEM_POTRACE=ON \
	-D MOBILE_UI=OFF \
	-D VERSION_SUFFIX= \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6BreezeIcons=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

for s in 48 64 128 256 512; do
	install -d "$PKG/usr/share/icons/hicolor/${s}x${s}/apps"
	rsvg-convert -w $s -h $s -o "$PKG/usr/share/icons/hicolor/${s}x${s}/apps/org.kde.glaxnimate.png" \
		data/logo/logo.svg
done

cat > "$PKG/usr/share/applications/org.kde.glaxnimate.desktop" <<'EOF'
[Desktop Entry]
Type=Application
Name=Glaxnimate
GenericName=Vector Animation
Comment=Create vector animations and export them as Lottie, SVG, GIF or video
Exec=glaxnimate %F
Icon=org.kde.glaxnimate
Terminal=false
StartupWMClass=org.kde.glaxnimate
Categories=Qt;KDE;Graphics;VectorGraphics;
Keywords=animation;vector;lottie;motion;svg;glaxnimate;
EOF
chmod 644 "$PKG/usr/share/applications/org.kde.glaxnimate.desktop"

The switches, and why each is set:

The common switches of each build system are explained in the Flag glossary.

4. Package. kpkg removes libtool archives, the info directory index, mimeinfo.cache and every fonts.dir from $PKG, copies the source’s licence files into /usr/share/licenses/glaxnimate, prunes what the image does not ship, lints the tree and rolls it reproducibly:

tar --sort=name --format=gnu --numeric-owner --owner=0 --group=0 \
    --mtime=@$SOURCE_DATE_EPOCH \
    --use-compress-program='xz -9 -T0 --block-size=32MiB --no-adjust' \
    -cf glaxnimate-0.6.0-1.tar.xz -C "$PKG" .

5. Adopt. kpkgadd installs the package’s files over the root, refusing a path another package owns, records the file list in /var/lib/kpkg/db/glaxnimate, and runs the triggers its paths call for.

Contents

Installed programs: glaxnimate.

Installed directories: /usr/share/glaxnimate, /usr/share/licenses/glaxnimate.

Notes

The project forces its own internal libraries static, so BUILD_SHARED_LIBS is not passed. Python scripting builds against python3 and the pybind11 copy bundled under external/QtAppSetup; nothing is fetched at build time.

Upstream installs its SVG logo under hicolor/512x512/apps with a .png name. The loop after the install rasterises the logo with rsvg-convert into real PNGs at five sizes, one of which replaces that file (see Desktop entries belong to the port). The desktop entry is written over upstream’s with StartupWMClass=org.kde.glaxnimate, the Wayland app id KAboutData sets.

The Google Fonts, LottieFiles and emoji download dialogs reach the network when they are opened, and report the failure on a machine with no network; no build switch removes them.