Report bugs and request features in the Singularity Desktop tracker.
git clone https://github.com/singularityos-lab/singularity-leafs
cd singularity-leafs
meson setup build
ninja -C buildTo enable GObject Introspection:
meson setup build -Dintrospection=true
ninja -C build- Language: Vala or C/C++ only.
- Indentation: 4 spaces no tabs, no trailing whitespace.
- Keep files focused: one primary class per
.valafile, named after the class (e.g.LeafPane->leaf_pane.vala). Redundant suffixes in the filename (like_manager) should be avoided.
By contributing you agree your code will be released under GPL-3.0-only.
Commits follow Conventional Commits:
<type>: <subject>
<type> is one of feat, fix, chore, docs, build, ci, refactor, perf, style, test, revert. Keep <subject> short, lowercase and in English. An optional scope is allowed: <type>(<scope>): <subject>.
When a commit closes an issue, use <type>[closes #ID]: <issue title>, for example:
fix[closes #2]: Discord doesn't open on Singularity desktop
Do not add co-author or attribution trailers.
Code that exists only because of a specific device, architecture, firmware or environment must be marked on the line above it:
DEVICE-FIX(<scope>): <what breaks without this>
<scope>is one of:arm64,x86_64,uno-q,jetson,msm,nvidia,intel,amd,no-tpm,vm,u-boot,uefi. A new scope is added to this list in the same pull request that first uses it.- The text states what fails on that device without the code, not what the code does.
- Use the comment syntax of the file's language.
- This covers driver names, hardware probes, architecture constants, firmware quirks, boot-chain differences and anything gated on a specific environment.
- A pull request that adds or changes such code without the marker is not merged.
git grep -n "DEVICE-FIX("lists every marker in the repository.