Closed vishwin closed 2 years ago
The fallback on install-scripts/desktop-file-links.py
would simply run subprocess.call(['ln', '-s', ...])
for every single one, which didn't bother to check if it fails. When I contributed commit ca95ce7dfc4872ecef88b0074d2bee8f097d0394 I transcribed the symlinking file but neglected to check whether it was optional to install them. It should be simple enough to check the options first.
Issue Especially after ca95ce7dfc4872ecef88b0074d2bee8f097d0394, because the four desktop files are hardcoded in
meson.build
, symlinking fails when any of thecolor
,networkmanager
orwacom
options are disabled, because the relevant desktop file was never built or staged.Steps to reproduce Build and install from source as normal, but disable any of the
color
,networkmanager
orwacom
options ie-Dcolor=false
Expected behaviour Only the options enabled in meson have desktop files symlinked.
Other information