-
-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
meson: add patch to produce properly versioned dylibs and gobject-introspection data #25667
Conversation
@ilovezfs Assuming you don't mind the |
I am thinking that perhaps meson should become keg-only now, as it becomes hard to use it with this patch for development purposes. Perhaps adding a caveat, asking people to install it with pip3, if necessary? Something like is done in the Cython formula. |
can you elaborate?
The analytics suggest we really can't do that given the number of install-on-request events. |
Assuming you are developing some software project with meson, you wouldn't be able to run the compiled executables anymore before installing them (actually the shared libraries in the project must be installed). Also, |
And what happens if we don't patch meson? |
Then we cannot build any of the GNOME projects containing shared libraries and GIR bindings that use meson 😄 |
Does it not work to do two stage installs, first building without the bindings, installing, and then building with the bindings, and installing? |
You would still need the patch. As I explain in mesonbuild/meson#2577, meson is putting the wrong path to the dylib into the typelib files. Also the patch adds versioning information to the dylibs, which is currently not done... |
How do you feel about using a separate |
sure, I could live with that. Is there a precedent for that? |
Not that I know of, though the ghc @ formulae that are "for our own purposes" aren't conceptually much different from that. |
Ok, will look into that. Thanks for the suggestion |
093dc6b
to
44493ab
Compare
keg_only formula, to be used by all formulas that use meson/ninja as build system.
@ilovezfs If you can live with the audit warnings, than this one is ready to merge... |
What's the status of the |
I removed all bits that assumed They were redundant anyway as we |
🍪 |
Obliged! Feel free to reopen #25428. There shouldn't be any rev bumps necessary now. |
Long story as to why can be read at: mesonbuild/meson#2577
Note: this patch will not be merged in anytime soon as it breaks meson's testsuite, and I am waiting for help to fix this...
When this one is merged in, I will start updating formulas that switched to meson, as well as add some new ones...