Hi,
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
adw-navigation-split-view.c
when buildingupdate_navigation_stack()
, as initializing an array with an empty array is not liked by Visual Studio. - Look for
sh
only afterdate
has been found, and make it optional, since: -
date
may not be found nor run by Meson incmd.exe
builds (i.e. Visual Studio and clang-cl), even if it is a built-in command there. -
sh
may well be not available incmd.exe
shells, and one may havedate.exe
from ICU's sample programs, for instance.
With blessings, thank you!