Rework dependencies so that build tools aren't in the base system
In !30 (merged) flatpak runtimes are currently generated, but things such as build tools end up in the platform. To fix this, we need to replace the current "base system" freedesktop-sdk.bst:base.bst
(which corresponds to org.freedesktop.BaseSdk) with either freedesktop-sdk.bst:base-platform.bst
(org.freedesktop.BasePlatform) or freedesktop-sdk.bst:bootstrap-import.bst
(a basic system with gcc and make, with correct split rules so build tools don't end up in the platform) and add dependencies as needed.
A few notes:
- This can be done only for elements in sdk/ (as in #16 (closed) and !30 (merged)), but probably better do it for everything for consistency.
- bootstrap-import is smaller and would be enough for many things in core-deps/, and would make recompilations less common.
- There is a plan in freedesktop-sdk to make stacks for things often used together (e.g. cmake + ninja).
See also:
Edited by Javier Jardón