Bug#1060838: meson: should use the host gobject-introspection-1.0.pc for looking up g-ir-scanner

2024-03-03 Thread Jussi Pakkanen
On Mon, 26 Feb 2024 at 17:58, Simon McVittie wrote: > I did consider that, but if I'm understanding what you propose > correctly, that would involve going through these steps for every > possible cross-tool: > > * inventing a new environment variable similar to CC and PKG_CONFIG, for > example

Bug#1060838: meson: should use the host gobject-introspection-1.0.pc for looking up g-ir-scanner

2024-02-26 Thread Simon McVittie
On Sun, 25 Feb 2024 at 03:21:23 +0200, Jussi Pakkanen wrote: > 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

Bug#1060838: meson: should use the host gobject-introspection-1.0.pc for looking up g-ir-scanner

2024-02-24 Thread Jussi Pakkanen
On Fri, 23 Feb 2024 at 14:27, Simon McVittie 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

Bug#1060838: meson: should use the host gobject-introspection-1.0.pc for looking up g-ir-scanner

2024-02-23 Thread Simon McVittie
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

Bug#1060838: meson: should use the host gobject-introspection-1.0.pc for looking up g-ir-scanner

2024-02-21 Thread Johannes Schauer Marin Rodrigues
Hi, Quoting Helmut Grohne (2024-01-15 13:04:27) > Simon worked a lot on making gobject-introspection workable with cross > compilation and this work has hit unstable now. While this seems to work > fine with autotools, it tends to fail with meson. I've just learned from Simon McVittie in

Bug#1060838: meson: should use the host gobject-introspection-1.0.pc for looking up g-ir-scanner

2024-01-15 Thread Simon McVittie
On Mon, 15 Jan 2024 at 14:32:44 +0100, Helmut Grohne wrote: > On Mon, Jan 15, 2024 at 12:38:54PM +, Simon McVittie wrote: > > in general the > > host g-ir-scanner will not even be executable during a cross-build > > I question this. g-ir-scanner is written in Python and it is fairly >

Bug#1060838: meson: should use the host gobject-introspection-1.0.pc for looking up g-ir-scanner

2024-01-15 Thread Helmut Grohne
On Mon, Jan 15, 2024 at 12:38:54PM +, Simon McVittie wrote: > On Mon, 15 Jan 2024 at 13:04:27 +0100, Helmut Grohne wrote: > > Among other things, Simon introduced new programs > > /usr/bin/-g-ir-scanner. When cross building, these should be > > used and they'll automatically employ qemu-user

Bug#1060838: meson: should use the host gobject-introspection-1.0.pc for looking up g-ir-scanner

2024-01-15 Thread Simon McVittie
On Mon, 15 Jan 2024 at 13:04:27 +0100, Helmut Grohne wrote: > Among other things, Simon introduced new programs > /usr/bin/-g-ir-scanner. When cross building, these should be > used and they'll automatically employ qemu-user when needed. He also > updated gobject-introspection-1.0.pc to have

Bug#1060838: meson: should use the host gobject-introspection-1.0.pc for looking up g-ir-scanner

2024-01-15 Thread Helmut Grohne
Package: meson Version: 1.3.1-1 Severity: important Tags: patch upstream X-Debbugs-Cc: debian-cr...@lists.debian.org, s...@debian.org User: debian-cr...@lists.debian.org Usertags: ftcbfs Control: affects -1 + src:harfbuzz Hi, Simon worked a lot on making gobject-introspection workable with cross