hyprsunset is a small utility to provide a blue light filter for your
system.
This method is preferred to screen shaders as it will not be captured
via recording / screenshots.
hyprsunset also provides a gamma filter, which can be used to adjust
perceived display brightness on monitors that do not support software
control, or to reduce perceived brightness below the monitor's
minimum.
all: drop support for FreeBSD 13, mips and risc64sf
Reviewed by: many (*)
Differential Revision: https://reviews.freebsd.org/D55624
Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh)
many (*)
acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
nobutaka pkubaj se tagattie thj
Anton Saietskii
GenericRikka
Gert Doering
Jan Bramkamp
Oleh Hushchenkov
Oleksandr Kryvulia
Ralf van der Enden
Yamagi
desktop kde python tcltk office
accessibility/hyprsunset: fix build with libc++ 21
With libc++ 21 science/py-tensorflow fails to build, with errors similar
to:
/wrkdirs/usr/ports/accessibility/hyprsunset/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:300:10:
error: no member named 'sort' in namespace 'std'
300 | std::sort(profiles.begin(), profiles.end(), [](const auto& a,
const auto& b) {
| ^~~~
and:
/wrkdirs/usr/ports/accessibility/hyprsunset/work/hyprsunset-0.3.3/src/Hyprsunset.cpp:329:29:
error: no member named 'zoned_time' in namespace 'std::chrono'
329 | auto now = std::chrono::zoned_time(std::chrono::current_zone(),
std::chrono::system_clock::now()).get_local_time();
| ^~~~~~~~~~
(Only the first 15 lines of the commit message are shown above )
accessibility/hyprsunset: correct #if condition of patch
The condition in the former patch makes the port use the date-tz
library of devel/date even when libc++ supports
std::chrono::current_zone, etc. Checking
_LIBCPP_HAS_NO_TIME_ZONE_DATABASE is enough and it won't be defined by
libstdc++.
Reported by: jbeich (via ports-committers)
Fixes: d9a1aaa98d16 (accessibility/hyprsunset: update to 0.3.1)
accessibility/hyprsunset: add new port
hyprsunset is a small utility to provide a blue light filter for your
system. This method is preferred to screen shaders as it will not be
captured via recording / screenshots.
Requires hyprland >= 0.45.0 for hyprland-ctm-control-v1 protocol.
https://github.com/hyprwm/hyprsunset