0.2.99.3 won't build with vala 0.40.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Synapse |
Invalid
|
Undecided
|
Unassigned | ||
synapse (Debian) |
Fix Released
|
Unknown
|
|||
synapse (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Compiling synapse 0.2.99.3 with vala 0.38.8 is okay but with vala 0.40.0 fails like below:
Making all in ui
make[3]: Entering directory '/builddir/
/usr/bin/valac --target-glib=2.40 --thread -g --pkg gdk-x11-3.0 --pkg gtk+-3.0 --pkg gio-2.0 --pkg gio-unix-2.0 --pkg gee-0.8 --pkg json-glib-1.0 --pkg keybinder-3.0 --pkg libnotify --basedir . --directory . --vapidir ../../src/core --pkg synapse-core --vapidir ../../src/plugins --pkg plugins --vapidir ../../vapi ../../vapi/
...
...
synapse-
synapse-
synapse-
synapse-
synapse-
Compilation failed: 1 error(s), 134 warning(s)
make[3]: *** [Makefile:1111: synapse.vala.stamp] Error 1
make[3]: Leaving directory '/builddir/
make[2]: *** [Makefile:408: all-recursive] Error 1
Changed in synapse (Debian): | |
status: | Unknown → New |
Changed in synapse-project: | |
status: | New → Invalid |
Changed in synapse (Ubuntu): | |
status: | New → Fix Committed |
Changed in synapse (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in synapse (Debian): | |
status: | New → Fix Released |
vala side changed on https:/ /github. com/GNOME/ vala/commit/ a8e6aff63e5e150 2290ba93398314a cf2ad45b60
Latest vapi/gtk+-3.0.vapi says
7258 [Version (since = "2.10")]
7259 public static void position_menu (Gtk.Menu menu, ref int x, ref int y, out bool push_in, Gtk.StatusIcon user_data);
but
12320 [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 4.9)]
12321 public delegate void MenuPositionFunc (Gtk.Menu menu, ref int x, ref int y, out bool push_in);
Maybe annotation of GtkMenuPositionFunc incorrect or gir not updated correctly or something else? (I am not familiar with gobject- introspection or vala or so...)