Editor Development

Fedora

Allow about 70 GB of free space. The GTK build requires CUDA 12.9 even when the editor will run on an Intel GPU.

git submodule update --init --recursive
make deps-fedora
make build

make dev builds and launches GTK and logs to target/shrimply-dev.log. Use make dev-qt for Qt, which logs to target/qt/shrimply-dev.log.

Nix

The x86_64 Linux flake requires Nix 2.27 or newer to fetch the FFmpeg submodule. It uses the NixOS CUDA binary cache.

git submodule update --init --recursive
nix build --accept-flake-config
./result/bin/shrimply

The package includes CUDA kernels for compute capability 8.6. For a development shell, run nix develop --accept-flake-config.

Tool overrides

  • Slang downloads during the build. For a local copy, set SLANG_LIBRARY_DIR and SLANG_INCLUDE_DIR.
  • Vulkan OBJ shaders need spirv-opt and spirv-val. Set SPIRV_OPT and SPIRV_VAL for tools outside PATH.
  • make linux-ffmpeg builds the pinned FFmpeg from external/ffmpeg.

Checks

make check
make test

make check skips Python and documentation checks on macOS.

Docker packaging

Initialize the submodules before building the experimental editor package.

docker buildx build --target export --output type=local,dest=dist/stage .