GNOME Bugzilla – Bug 688223
Some introspection fixes to make vapigen happy
Last modified: 2012-11-14 05:22:12 UTC
Currently the generated gir file refers to dbus-1 (which is libdbus not in use) and lacks necessary package information. Attaching a patch to fix them. This will make it easy to generate Vala binding.
Created attachment 228856 [details] [review] Some introspection fixes to make vapigen happy
Comment on attachment 228856 [details] [review] Some introspection fixes to make vapigen happy This looks fine (it should only affect the .gir, anyway, and I'll trust you that it does what it should). Do you have commit access, or should I commit it?
Yes, I'll commit this later today. By the way, I think it would be nice that atspi vala binding is included in the vala distribution (currently atk binding is there). Do you mind if I file a patch for that?
Attachment 228856 [details] pushed as 2dfc461 - Some introspection fixes to make vapigen happy
This commit (2dfc46133542e67813f137cd1da34e0baff737c0) causes at-spi2-core to fail with /home/darxus/source.test.master/at-spi2-core/atspi/atspi-application.h:28:23: fatal error: dbus/dbus.h: No such file or directory Verified previous commit (d327a8a145484936440b44b51b791beccf9ef1d3) builds successfully. More of the make output: CCLD libatspi.la GEN Atspi-2.0.gir In file included from /home/darxus/source.test.master/at-spi2-core/atspi/atspi-accessible.h:33:0, from /home/darxus/source.test.master/at-spi2-core/atspi/atspi.h:31, from <stdin>:4: /home/darxus/source.test.master/at-spi2-core/atspi/atspi-application.h:28:23: fatal error: dbus/dbus.h: No such file or directory Anything else that would be useful?
The commit was clearly wrong in this, so I just pushed a fix: commit 0c1d8f1ee7b3910360b0c20123a10a7b92e68bbc Author: Colin Walters <walters@verbum.org> Date: Tue Nov 13 23:47:56 2012 -0500 atspi: Readd dbus-1 to introspection generation It is presently used in AtspiApplication. https://bugzilla.gnome.org/show_bug.cgi?id=6882
Oops, thanks for the quick fix and sorry for bothering you before the GNOME release.
Verified (latest) commit 0c1d8f1ee7b3910360b0c20123a10a7b92e68bbc builds without error, thanks.