You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Places them in \share\glib-2.0\schema, then uses the aready available glib-compile-schema executable in the glibs /bin directory to compile the above files into gschemas.compiled, which should be placed in glib-2.0/schemas
I tried this solution which was suggested here on windows and it does work, though I modified the already installed artifact folder, which is not a feasible fix. This should happen during the GLib_jll build step, which requires modification of the binary builder script, it should only be a few lines.
Would it be possible to modify the glib and libadwaita jlls to address this? If not, where would I submit a pull request for this? I think you guys are doing the gnome jlls so I'm unsure of where to ask except here.
The text was updated successfully, but these errors were encountered:
I have been updating the jll's but would be thrilled to have help getting them working better. Issues about jll's are usually filed at https://github.com/JuliaPackaging/Yggdrasil and that's where you would submit a PR to modify the Glib_jll build.
I plan to update the Glib_jll version for my own reasons and just looked at this request in detail. It's not typical to copy over files from other libraries during a build, and I would like to humbly suggest a different solution.
On Linux this does have side effects: see JuliaGraphics/Gtk.jl#647. But perhaps you could adopt this approach on Windows and Mac? If I understand things correctly, the reason you don't see those errors on Linux is because the schemas are already installed in a standard directory like /usr/share/glib-2.0/schemas (which assumes that Linux users have GTK4 installed through their distribution).
Calling
adw_init
using thelibadwaita_jll
causes the following error message:This is only the case for Windows and MacOS.
I investigated this and the reason is a missing schema file in the Glib_jll on those platforms.
The solution would be to add a build step to the
Glib_jll
build_tarballs.jl
that downloads the following files:Places them in
\share\glib-2.0\schema
, then uses the aready availableglib-compile-schema
executable in the glibs/bin
directory to compile the above files intogschemas.compiled
, which should be placed inglib-2.0/schemas
I tried this solution which was suggested here on windows and it does work, though I modified the already installed artifact folder, which is not a feasible fix. This should happen during the
GLib_jll
build step, which requires modification of the binary builder script, it should only be a few lines.Would it be possible to modify the glib and libadwaita jlls to address this? If not, where would I submit a pull request for this? I think you guys are doing the gnome jlls so I'm unsure of where to ask except here.
The text was updated successfully, but these errors were encountered: