From owner-svn-ports-head@freebsd.org Fri Nov 22 22:50:49 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3FA061C3CF7; Fri, 22 Nov 2019 22:50:49 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47KWqY0kDYz4LgT; Fri, 22 Nov 2019 22:50:49 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F0DD02842; Fri, 22 Nov 2019 22:50:48 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xAMMomQZ007309; Fri, 22 Nov 2019 22:50:48 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAMMomUL007306; Fri, 22 Nov 2019 22:50:48 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201911222250.xAMMomUL007306@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 22 Nov 2019 22:50:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r518170 - in head/accessibility/redshift: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/accessibility/redshift: . files X-SVN-Commit-Revision: 518170 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Nov 2019 22:50:49 -0000 Author: jbeich Date: Fri Nov 22 22:50:48 2019 New Revision: 518170 URL: https://svnweb.freebsd.org/changeset/ports/518170 Log: accessibility/redshift: add Wayland support PR: 242130 Approved by: swills (maintainer) Added: head/accessibility/redshift/files/ head/accessibility/redshift/files/patch-src_gamma-wl.c (contents, props changed) Modified: head/accessibility/redshift/Makefile (contents, props changed) head/accessibility/redshift/distinfo (contents, props changed) Modified: head/accessibility/redshift/Makefile ============================================================================== --- head/accessibility/redshift/Makefile Fri Nov 22 22:13:56 2019 (r518169) +++ head/accessibility/redshift/Makefile Fri Nov 22 22:50:48 2019 (r518170) @@ -6,6 +6,10 @@ PORTVERSION= 1.12 DISTVERSIONPREFIX= v CATEGORIES= accessibility +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES+= 60f45972a543.patch:-p1 # avoid patch conflict +PATCHFILES+= 7da875d34854.patch:-p1 # wayland, see #663 + MAINTAINER= swills@FreeBSD.org COMMENT= Adjusts the color temperature of your screen @@ -15,7 +19,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libdrm.so:graphics/libdrm USES= autoreconf:build gettext gmake gnome libtool localbase \ - pkgconfig shebangfix tar:bzip2 xorg + pkgconfig shebangfix tar:bzip2 USE_GITHUB= yes GH_ACCOUNT= jonls @@ -26,27 +30,31 @@ SHEBANG_FILES= src/redshift-gtk/redshift-gtk.in CONFIGURE_ARGS+= --disable-wingdi -OPTIONS_DEFINE= GEO GUI NLS RANDR VIDMODE -OPTIONS_DEFAULT=GEO RANDR +OPTIONS_DEFINE= GEO GUI NLS RANDR VIDMODE WAYLAND +OPTIONS_DEFAULT=GEO RANDR WAYLAND OPTIONS_SUB= yes GUI_DESC= Tray icon RANDR_DESC= Support RANDR for changing colors VIDMODE_DESC= Support VIDMODE for changing colors (NVIDIA) +WAYLAND_DESC= Support Wayland (wlroots) for changing colors GEO_DESC= Use geoclue (requires dbus) -USE_XORG+= x11 xcb - NLS_USES= iconv NLS_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG} \ --with-libintl-prefix=${LOCALBASE} NLS_CONFIGURE_OFF= --disable-nls -RANDR_USE= XORG=xrandr +RANDR_USES= xorg +RANDR_USE= XORG=xcb,xrandr RANDR_CONFIGURE_ENABLE= randr -VIDMODE_USE= XORG=xxf86vm +VIDMODE_USES= xorg +VIDMODE_USE= XORG=x11,xxf86vm VIDMODE_CONFIGURE_ENABLE= vidmode + +WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland +WAYLAND_CONFIGURE_ENABLE= wayland GUI_USES= python:3.6+ GUI_CONFIGURE_ENABLE= gui Modified: head/accessibility/redshift/distinfo ============================================================================== --- head/accessibility/redshift/distinfo Fri Nov 22 22:13:56 2019 (r518169) +++ head/accessibility/redshift/distinfo Fri Nov 22 22:50:48 2019 (r518170) @@ -1,3 +1,7 @@ TIMESTAMP = 1526914198 SHA256 (jonls-redshift-v1.12_GH0.tar.gz) = dd816df79765f87a0838b1568fbc40c3e8bdb4aef0e77712c85623afe34a29ad SIZE (jonls-redshift-v1.12_GH0.tar.gz) = 659019 +SHA256 (60f45972a543.patch) = 93f7c43bc72880408dd64c78588e987924145f0e1324225a70796c24509acaba +SIZE (60f45972a543.patch) = 2555 +SHA256 (7da875d34854.patch) = 233266921eec951777168ef0d39d64a3c0381133a41d281702f44e716710f8e0 +SIZE (7da875d34854.patch) = 35471 Added: head/accessibility/redshift/files/patch-src_gamma-wl.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/accessibility/redshift/files/patch-src_gamma-wl.c Fri Nov 22 22:50:48 2019 (r518170) @@ -0,0 +1,14 @@ +gamma-wl.c:24:10: fatal error: 'alloca.h' file not found +#include + ^~~~~~~~~~ + +--- src/gamma-wl.c.orig 2019-08-24 15:20:17 UTC ++++ src/gamma-wl.c +@@ -21,7 +21,6 @@ + #include + #include + #include +-#include + #include + #include + #include