On Thu, Sep 19, 2024 at 7:45 AM Simon Richter <s...@debian.org> wrote: > when bootstrapping gtk 4, libsysprof-4-dev is one of the indirect build > dependencies of gtk-4, but itself depends on libgtk-4-dev. > > It would be nice if there was a way to bootstrap, e.g. splitting off the > UI classes into a separate libsysprof-4-ui-dev and a build profile > without these packages, which would allow building these packages in > multiple stages.
I believe this is already done. Please check debian/control for both sysprof and gtk4. For sysprof, GTK4 is only a build dependency on a specific list of architectures. Additionally, there is a pkg.sysprof.nogui build profile to disable that even for those architectures. For GTK4, there is a specific list of architectures for sysprof. Notably, GTK4 and other libraries with a sysprof build dependency only need libsysprof-capture-4-dev which does not need GTK4 and is built on many more architectures. Thank you, Jeremy Bícha