This attempts to fix builds on Visual Studio by:
- Making the AppStream dependency optional, and hence make
adw_about_window_new_from_appdata()use a stub implementation if AppStream is not found (and so, make the test for that function skipped).
- Fix building
update_navigation_stack(), as initializing an array with an empty array is not liked by Visual Studio.
- Look for
datehas been found, and make it optional, since:
datemay not be found nor run by Meson in
cmd.exebuilds (i.e. Visual Studio and clang-cl), even if it is a built-in command there.
shmay well be not available in
cmd.exeshells, and one may have
date.exefrom ICU's sample programs, for instance.
With blessings, thank you!