On Fri, 23 Feb 2024 at 14:27, Simon McVittie <[email protected]> wrote:
> On Wed, 21 Feb 2024 at 10:47:33 +0100, Johannes Schauer Marin Rodrigues wrote: > > I've just learned from Simon McVittie in #debian-devel that there is a way > > to > > cross-build packages using meson and gobject-introspection without this > > patch > > by configuring them with --cross-file. Here is an example from libportal: > > > > https://salsa.debian.org/debian/libportal/-/commit/4efec56ef735eac25836acca867fe59812c3dc6d Meson comes with a tool that converts native and cross environments into cross files. It is run with `meson env2mfile`. It even has a mode to generate Debian package building scripts. Updating that to handle this case would probably be the smartest thing to do. Currently Debian package building does not use that by default. We planned to make it use that, but it had some bugs and it had to be taken out for Debian release freeze.

