[Pkg-vala-maintainers] Bug#820641: [valac-vapi] Incorrect gtk+ 3 dependencies causing to compilation issues

Joseph Herlant herlantj at gmail.com
Sun Apr 10 22:40:23 UTC 2016


Package: valac
Version: 0.32.0-1
Severity: serious

Hi,

valac-0.32-vapi integrates the binding of gtk+3.19.12 but gtk+ version
currently avaiable in testing is 3.18.9-1.

This leads to compilation issues in packages that had custom function
integrated later in 3.19 (in which case I would have to override it).
Example:
https://bugs.debian.org/819786

Here, the package had a custom focus_on_click function defined, but
it's now an existing function in gtk+ 3.19 so I would have to override
it (as it's declared in the vapi file) but it doesn't exist in the
gtk+ version we have so the compiler fails.

~/Downloads$ dpkg -x valac-0.32-vapi_0.32.0-1_all.deb /tmp/valac
~/Downloads$ cd /tmp/valac/usr/share/usr/share/vala-0.32/vapi/
/tmp/valac/usr/share/vala-0.32/vapi$ grep 'focus_on_click' gtk+-3.0.vapi
public bool get_focus_on_click ();
public void set_focus_on_click (bool focus_on_click);
public bool get_focus_on_click ();
public void set_focus_on_click (bool focus_on_click);
public bool get_focus_on_click ();
public void set_focus_on_click (bool focus_on_click);
public bool get_focus_on_click ();
public void set_focus_on_click (bool focus_on_click);
public bool focus_on_click { get; set; }

Maybe you should integrate gtk+ as a dependency of the vapi as it
correspond to specific bindings of the library.

Thanks for your help,
Joseph



More information about the Pkg-vala-maintainers mailing list