Note: Since Gammastep is a fork of Redshift the mkRedshift will be
reused as long as they don't diverge too far.
Also: Gammastep should eventually replace redshift-wlr.
redshift-wlr is a fork of redshift that adds support for the
wlr-gamma-control protocol. This supports sway and any other Wayland
compositors that implement the standard in the future.
There ver very many conflicts, basically all due to
name -> pname+version. Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job. There might be some fallback to these
conflicts, but I believe it should be minimal.
Hydra nixpkgs: ?compare=1538299
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/redshift/versions.
These checks were done:
- built on NixOS
- Warning: no invocation of /nix/store/vqswdrqvi3xal1glhvr6v9zsr5sr4jlx-redshift-1.12/bin/redshift-gtk had a zero exit code or showed the expected version
- /nix/store/vqswdrqvi3xal1glhvr6v9zsr5sr4jlx-redshift-1.12/bin/redshift passed the binary check.
- /nix/store/vqswdrqvi3xal1glhvr6v9zsr5sr4jlx-redshift-1.12/bin/.redshift-wrapped passed the binary check.
- Warning: no invocation of /nix/store/vqswdrqvi3xal1glhvr6v9zsr5sr4jlx-redshift-1.12/bin/..redshift-gtk-wrapped-wrapped had a zero exit code or showed the expected version
- Warning: no invocation of /nix/store/vqswdrqvi3xal1glhvr6v9zsr5sr4jlx-redshift-1.12/bin/.redshift-gtk-wrapped had a zero exit code or showed the expected version
- 2 of 5 passed binary check by having a zero exit code.
- 2 of 5 passed binary check by having the new version present in output.
- found 1.12 with grep in /nix/store/vqswdrqvi3xal1glhvr6v9zsr5sr4jlx-redshift-1.12
- directory tree listing: https://gist.github.com/c74af938c0883f174e37490cc75bdd47
- du listing: https://gist.github.com/e9328410b87b5cff576fd12cc6120fb6
This is done already in the setup hook of hicolor-icon-theme itself, so
no need to do it again.
Since the removal in the redshift derivation is in postFixup (as opposed
to the removal done by the setup hook in preFixup) and it's also not
using the -f flag of rm, the build fails.
Signed-off-by: aszlig <aszlig@nix.build>
Changes:
- Add option preserve for gamma adjustment methods (randr, vidmode,
quartz, w32gdi) to apply redness on top of current gamma
correction.
- Fix#158: Add redshift.desktop file to resolve an issue where
Geoclue2 would not allow redshift to obtain the current location.
- Fix#263: Make sure that the child process is terminated when
redshift-gtk exits.
- Fix#284: A sample configuation file has been added to the
distribution tarball.
- Fix warning message in redshift-gtk that is some cases caused
redshift-gtk to fail (#271)
- Fix#174: Use nanosleep() for sleeping to avoid high CPU load on
platforms (NetBSD, ...) with limitations in usleep()
- Various updates to man page and translations.
Notes:
- The current linking to geoclue2 looks nice but doesn't actually do
anything. Only clients whitelisted by the geoclue package are
allowed. Use static locations for now, like the NixOS service does.
- redshift-gtk still needs some work (icon?). It at least runs now,
but can't control non-user instances like the NixOS service uses.
This isn't a bug, but will confuse people.
- Add myself as a maintainer.