build: Switch from gnome-desktop dependency to gsettings-desktop-schemas
The gnome_desktop
option seems to only make use of gdesktop-enums.h via HAVE_GNOME_DESKTOP in gs-updates-page.c
.
However gdesktop-enums.h, at least these days, is shipped by gsettings-desktop-schemas, not gnome-desktop.
So it appears as if the option and check should be for gsettings-desktop-schemas instead of gnome-desktop. As-is, gsettings-desktop-schemas is getting pulled in indirectly by gnome-desktop instead of directly, and gnome-desktop is unnecessarily linked to (filtered out if -Wl,--as-needed is used)