build fails with minimum required version of Vala
I just tried building Geary from git mainline with Vala 0.48.17, and it failed:
../src/client/composer/composer-link-popover.vala:55.37-55.44: error: `GLib.Uri' is not a type
public signal void link_changed(GLib.Uri? uri, bool is_valid);
^^^^^^^^
../src/client/composer/composer-link-popover.vala:102.9-102.16: error: `GLib.Uri' is not a type
GLib.Uri? url = null;
^^^^^^^^
../src/client/composer/composer-link-popover.vala:106.22-106.34: error: The type name `GLib.UriError' could not be found
} catch (GLib.UriError err) {
^^^^^^^^^^^^^
Compilation failed: 3 error(s), 0 warning(s)
[412/682] Compiling Vala source src/en...bprojects/vala-unit/vala-unit-1.0.vapi
ninja: build stopped: subcommand failed.
Then I upgraded to Vala 0.52.3, and the build worked fine.
Geary's meson.build
requests a minimum Vala version of 0.48.11:
target_vala = '0.48.11'
I think that needs to be updated to something newer.