-
Notifications
You must be signed in to change notification settings - Fork 17
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
Enviroment variable to disable system-deps #10
Comments
@sdroege : how do you think we should handle this? |
I don't know, from somewhere all the library names have to come from. That's the main problem here. The official gtk way of doing that are the PKG-config files, and it seems like a bug to me that gvsbuild does not include them. If you used the meson build system included in gtk you could build with msvc and get those. Maybe @nirbheek has a suggestion? |
I thought gvsbuild shipped pkgconfig files? @nacho if it doesn't, shouldn't it ship pkgconfig files? |
We definitely ship pkgconfig files... |
Then it should just work. Have you tried tweaking your |
Does gvsbuild ship with pkg-config? Is it built with |
If I recall correct gvsbuild ships pkgconf, which should deal properly with --define-prefix. Maybe double check that all the pc files are in place and if some is missing let me know and I will add them |
Ah, this is prehaps more complicated than I though 😅. If I add
It doesn't look like ${Env:GTKSOURCEVIEW_3.0_NO_PKG_CONFIG} = 1;
${Env:SYSTEM_DEPS_GTKSOURCEVIEW_3.0_LIB} = "gtksourceview-3.0";
cargo build |
Do you need gtksourceview? If yes, note that we have not updated gsv for years. You might need to first update it in gvsbuild. |
Latest gtksourceview is 4.6.1 which supports meson, so it shouldn't be too hard to update it. |
The gtk-rs bindings are for sourceview 3, although I see there is a crate for sourview 4. I have to admit, this is a bit out of my league. My build command is a bit more sensible now, so feel free to close this. |
Closing then, I don't think it makes much sense to disable |
I am using gvsbuild to compile a gtk application on windows (I have other dependencys that won't compile under MSYS). Before the gtk-rs release a few weeks ago I could compile with:
Now that gtk-rs uses system-deps I have to disable each dependency individually, which results in:
Would it be possible to add somthing like
SYSTEM_DEPS_DISABLE
?The text was updated successfully, but these errors were encountered: