Bug 242130

Summary: accessibility/redshift: add Wayland support
Product: Ports & Packages Reporter: Jan Beich <jbeich>
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: Closed FIXED    
Severity: Affects Only Me CC: swills, val
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (swills)
Hardware: Any   
OS: Any   
URL: https://github.com/jonls/redshift/pull/663
Attachments:
Description Flags
v1 none

Description Jan Beich freebsd_committer freebsd_triage 2019-11-21 05:28:49 UTC
Created attachment 209309 [details]
v1

Upstream development has stalled, so let's apply a patch from PR and enable WAYLAND option like bug 227509. By default (if -m is not passed) the patch makes redshift try "wayland" method before "drm". Given "drm" doesn't work under X11 it's not much worse than before i.e., X11 users still have to pass "-m randr" or have "adjustment-method = randr" in ~/.config/redshift.conf.

Tested via x11-wm/sway.
Comment 1 Steve Wills freebsd_committer freebsd_triage 2019-11-22 22:08:24 UTC
Go ahead. Since I no longer use redshift now that KDE has support for it natively. You can take over maintainership of the port if you like too.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-11-22 22:51:43 UTC
A commit references this bug:

Author: jbeich
Date: Fri Nov 22 22:50:49 UTC 2019
New revision: 518170
URL: https://svnweb.freebsd.org/changeset/ports/518170

Log:
  accessibility/redshift: add Wayland support

  PR:		242130
  Approved by:	swills (maintainer)

Changes:
  head/accessibility/redshift/Makefile
  head/accessibility/redshift/distinfo
  head/accessibility/redshift/files/
  head/accessibility/redshift/files/patch-src_gamma-wl.c
Comment 3 commit-hook freebsd_committer freebsd_triage 2019-11-22 22:54:45 UTC
A commit references this bug:

Author: jbeich
Date: Fri Nov 22 22:53:44 UTC 2019
New revision: 518171
URL: https://svnweb.freebsd.org/changeset/ports/518171

Log:
  accessibility/redshift: force rebuild after r518170

  PR:		242130

Changes:
  head/accessibility/redshift/Makefile