Changes bootstrap script to run libtoolize. Some extra magic was needed for
autoreconf (taken from GNOME projects).
The INTLTOOL_DESKTOP_RULE should be used in Makefile.am but is unfortunately
broken at this time for out-of-source builds. The rule is instead copied and
fixed in Makefile.am.
The previous Makefile rule would generate all unit files from
`redshift.service.in`. This is fixed to generate the file from the proper
`.service.in` file.
Add a systemd user .service file to allow users to run redshift as a
daemon using systemd. Also adds a new configure option,
`--with-systemduserunitdir`, which gives the install path.
If set to `no`, systemd support is disabled.
If not set, we use `pkg-config` to find the path.
This is primarily for improved discovery. Some users report that they didn't know about redshift-gtk, but had it been available on tab completion they would have noticed. Also, I think it is in general good practice that closely related programs have the same prefix.
With
$ ./configure --disable-gui
$ make dist
currently a tarball would be produced, that lacks the .desktop file.
That happens, because an empty variable is appended to EXTRA_DIST.
The attached patch ensures release tarballs with complete, consistent
content and at the same time makes sure that with --disable-gui no .svg
files are installed.