-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
GIR warnings #366
Comments
Preferably |
I'm currently not able to generate my project's gir file because of this.
This file most likely doesn't exist and is just an issue related to nested namespaces, correct? Anything I can do about it? |
Just to add a note: Would be really great if we could improve GIR quality for Granite. That would make language bindings a lot easier (I'm working on bindings for Objective-C). Biggest hindrance currently: Generating bindings for libgee. Gee GIR quality is so low, I fail to generate anything that compiles. As far as search found there are only two dependencies to Gee: granite/lib/Services/AsyncMutex.vala Line 16 in 72120f9
granite/lib/Services/ContractorProxy.vala Line 154 in 72120f9
These are private and thus not part of the API. Maybe they could be replaced by some data types from GLib/libgio that have decent GIR quality? I found: |
@Letterus libgee's gir quality is good though..? Almost 20k lines long and has both |
@lenemter Thank you for your reply. Would be great if this was correct, but sadly it's not. Use https://gitlab.gnome.org/GNOME/gobject-introspection/-/blob/main/misc/validate-gir.py?ref_type=heads for a quick first check. Gtk 4
-> No output, no issues. Gee 0.8
Granite 7Looks much better though:
-> No issues found. WorkaroundThis lead me to the solution to leave out Gee as dependency during generation (meaning to only refer to the plain C implementation without any further wrappers/bindings) and only generate bindings for Granite-7. This worked quite well. I could compile the wrappers very quickly. I was only missing the type macros for some types, namely missing or spelled differently were:
I think both issues refer to the problem mentioned above and the workaround mentioned by @ricotz @ #366 (comment) |
Describe the bug
Building the latest released granite I see these warnings in the build output
Platform Information
NixOS 20.30 (development).
Please check what applies:
-->
The text was updated successfully, but these errors were encountered: