Skip to content

Conversation

@sp1ritCS
Copy link
Contributor

@sp1ritCS sp1ritCS commented Aug 19, 2025

This is an alternative to #14929, that retains the ability for gir generation during cross compilation.

I did validate, that this manages to properly build subprojects/gstreamer/gst/Gst-1.0.gir, where as a checkout of 97c4e9d did fail with ModuleNotFoundError: No module named 'giscanner._giscanner'; it might be a good idea for @amyspark to check that it works too.

If this were merged instead of #14929, we'd still need the fix from #14865 in order to prevent unexecutable ExternalExecutables from being created due to mismatching architectures.

See #14908

The gobject-introspection subproject just registers g-ir-scanner as a
python script, with meson unaware of the native module the script
depends upon that has to be built first. This patch works around this
issue by adding an the gobject-introspection-1.0 dependency (which
indirectly depends on the native module) if g-ir-scanner was overriden
by the g-i subproject.
@sp1ritCS sp1ritCS requested a review from jpakkane as a code owner August 19, 2025 10:34
@bonzini bonzini added this to the 1.10 milestone Aug 19, 2025
@jpakkane
Copy link
Member

Can this be merged in 1.10 (and possibly to 1.9.1) after #14929 has gone to master?

@jpakkane
Copy link
Member

With the release so close I'd like to get it done with minimal changes.

@sp1ritCS
Copy link
Contributor Author

Can this be merged in 1.10 (and possibly to 1.9.1)

I'd require me to fix up gtk and pango, since they currently do a meson.version().version_compare('>= 1.9.0'). But besides that nothing would block a delayed introduction.

@jpakkane
Copy link
Member

Okay, let's do that then. Sorry about the extra work, but that's just how things go sometimes.

@jpakkane jpakkane merged commit 62dd804 into mesonbuild:master Aug 19, 2025
29 of 32 checks passed
@jpakkane
Copy link
Member

Argh, I merged this by accident. Sorry.

@jpakkane
Copy link
Member

The GH web ui does not seem to handle the case when a merged PR is backed out. You'll need to open a new one for this. My bad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants