siglo icon indicating copy to clipboard operation
siglo copied to clipboard

Add meson build option for disabling installing systemd service

Open hendursaga opened this issue 2 years ago • 2 comments

As title says. The relevant line is https://github.com/alexr4535/siglo/blob/main/data/meson.build#L21 - I've never used meson/ninja before, though. My reason is because I have no need for the service and also meson was asking polkit for elevated permissions without telling really me why.

hendursaga avatar Nov 21 '21 21:11 hendursaga

Seems like the project should probably just install to join_paths(get_option('prefix'), 'lib/systemd/user') instead. Hardcoding /etc is sub-optimal (systemd prefers /usr/lib/ but if you ever do need /etc/ you should still use get_option('sysconfdir')).

eli-schwartz avatar Dec 20 '21 02:12 eli-schwartz

@eli-schwartz sounds like an improvement. At the very least I'd like to see a more helpful permissions request..

hendursaga avatar Dec 23 '21 18:12 hendursaga