-
Notifications
You must be signed in to change notification settings - Fork 2
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
FTBFS with WebKitGTK 2.40.0 #6
Comments
I think these bindings were autogenerated using gobject-introspection. I just took the webkitgtk bindings and bumped the version numbers to build with the (then new) gtk+3. I can't be of much help here. :) |
More info here: #5 |
Argh, the idiot at fedora just changed the generated c code without changing the generated c# code also to match. 😞 |
See my comment at https://bugzilla.redhat.com/show_bug.cgi?id=2252635#c3 regarding the broken patch and how to fix it correctly, in comment 4. |
… to webkit2gtk4.0 2.42.2 From webkit2gtk4.0 2.42.2's /usr/share/gir-1.0/WebKit2-4.0.gir : <class name="WebViewBase" c:symbol-prefix="web_view_base" c:type="WebKitWebViewBase" parent="Gtk.Container" glib:type-name="WebKitWebViewBase" glib:get-type="webkit_web_view_base_get_type" glib:type-struct="WebViewBaseClass"> <source-position filename="redhat-linux-build/webkit2gtk-4.0/WebKitGTK/DerivedSources/webkit/WebKitWebViewBase.h" line="56"/> <implements name="Atk.ImplementorIface"/> <implements name="Gtk.Buildable"/> <field name="parent"> <type name="Gtk.Container" c:type="GtkContainer"/> </field> <field name="priv"> <type name="WebViewBasePrivate" c:type="WebKitWebViewBasePrivate*"/> </field> </class> The difference against new regeneration with bindinator from current webkit2gtk4.0 2.42.2's is quite large: 6508 webkit2-sharp-api.raw.new 4062 webkit2-sharp-api.raw Most of the difference seems unimportant and just additions, but these seems to be important and breaking changes. Fixes hbons#6
I regenerated the api.raw file from using current webkit gir's and found that section to differ. See #7 |
The interesting thing is that the glue lib is now empty and there is no need to ship it. |
(Full log: https://hydra.nixos.org/build/215404629/nixlog/2)
I checked the docs in https://webkitgtk.org/reference/webkit2gtk/stable/class.WebViewBase.html and tried to replace
parentInstance
here toparent
, it seems to build. But perhaps this is a generated file and should probably be re-generated? Or should this be something that is expected to be stable and should notify upstream?The text was updated successfully, but these errors were encountered: