Building Sonic-DE
Sonic-DE is built with sonicde-builder, a Python and CMake superbuild that fetches every active Sonic-DE repository and builds them in dependency order.
Requirements
- Python 3 with PyYAML (
pip install pyyaml). - A working Qt 6 from your operating system. The builder deliberately doesn't fetch or build Qt.
- CMake 3.28 or newer.
- The system packages listed by
./install-deps(see Dependencies).
Fetch the sources
Clone sonicde-builder, then fetch every active repository:
./fetch-all
To fetch a single repository, without its dependencies:
./fetch sonic-browser-integration
Both commands accept --dry-run to show what they would do. Existing checkouts keep their
branch, index and working tree.
Build
./build-all
Packages are built for the system prefix (/usr by default; change it with --prefix PATH)
and installed privately into state/install-stage, where later packages find them. Nothing is
installed on the live system during the build.
Useful options:
| Option | Meaning |
|---|---|
--parallel N, -j N |
Maximum concurrent compiler jobs inside one package |
--verbose, -v |
Verbose build output |
--clean-first |
Clean before building |
--install |
Install to the system after the full build succeeds |
Install
./build-all --install deploys only after every package has built. Only the deployment step
asks for elevated rights; configuring and compiling run as your user.
To install the last successful build without rebuilding:
./install