Bug 242130 - accessibility/redshift: add Wayland support
Summary: accessibility/redshift: add Wayland support
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL: https://github.com/jonls/redshift/pul...
Keywords: patch
Depends on:
Blocks:
 
Reported: 2019-11-21 05:28 UTC by Jan Beich
Modified: 2019-11-22 22:55 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (swills)


Attachments
v1 (3.70 KB, patch)
2019-11-21 05:28 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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