View | Details | Raw Unified | Return to bug 242130
Collapse All | Expand All

(-)b/accessibility/redshift/Makefile (-7 / +15 lines)
Lines 6-11 PORTVERSION= 1.12 Link Here
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	accessibility
7
CATEGORIES=	accessibility
8
8
9
PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
10
PATCHFILES+=	60f45972a543.patch:-p1 # avoid patch conflict
11
PATCHFILES+=	7da875d34854.patch:-p1 # wayland, see #663
12
9
MAINTAINER=	swills@FreeBSD.org
13
MAINTAINER=	swills@FreeBSD.org
10
COMMENT=	Adjusts the color temperature of your screen
14
COMMENT=	Adjusts the color temperature of your screen
11
15
Lines 15-21 LICENSE_FILE= ${WRKSRC}/COPYING Link Here
15
LIB_DEPENDS=	libdrm.so:graphics/libdrm
19
LIB_DEPENDS=	libdrm.so:graphics/libdrm
16
20
17
USES=		autoreconf:build gettext gmake gnome libtool localbase \
21
USES=		autoreconf:build gettext gmake gnome libtool localbase \
18
		pkgconfig shebangfix tar:bzip2 xorg
22
		pkgconfig shebangfix tar:bzip2
19
23
20
USE_GITHUB=	yes
24
USE_GITHUB=	yes
21
GH_ACCOUNT=	jonls
25
GH_ACCOUNT=	jonls
Lines 26-53 SHEBANG_FILES= src/redshift-gtk/redshift-gtk.in Link Here
26
30
27
CONFIGURE_ARGS+=	--disable-wingdi
31
CONFIGURE_ARGS+=	--disable-wingdi
28
32
29
OPTIONS_DEFINE=	GEO GUI NLS RANDR VIDMODE
33
OPTIONS_DEFINE=	GEO GUI NLS RANDR VIDMODE WAYLAND
30
OPTIONS_DEFAULT=GEO RANDR
34
OPTIONS_DEFAULT=GEO RANDR WAYLAND
31
OPTIONS_SUB=	yes
35
OPTIONS_SUB=	yes
32
36
33
GUI_DESC=	Tray icon
37
GUI_DESC=	Tray icon
34
RANDR_DESC=	Support RANDR for changing colors
38
RANDR_DESC=	Support RANDR for changing colors
35
VIDMODE_DESC=	Support VIDMODE for changing colors (NVIDIA)
39
VIDMODE_DESC=	Support VIDMODE for changing colors (NVIDIA)
40
WAYLAND_DESC=	Support Wayland (wlroots) for changing colors
36
GEO_DESC=	Use geoclue (requires dbus)
41
GEO_DESC=	Use geoclue (requires dbus)
37
42
38
USE_XORG+=	x11 xcb
39
40
NLS_USES=		iconv
43
NLS_USES=		iconv
41
NLS_CONFIGURE_ON=	${ICONV_CONFIGURE_ARG} \
44
NLS_CONFIGURE_ON=	${ICONV_CONFIGURE_ARG} \
42
			--with-libintl-prefix=${LOCALBASE}
45
			--with-libintl-prefix=${LOCALBASE}
43
NLS_CONFIGURE_OFF=	--disable-nls
46
NLS_CONFIGURE_OFF=	--disable-nls
44
47
45
RANDR_USE=		XORG=xrandr
48
RANDR_USES=		xorg
49
RANDR_USE=		XORG=xcb,xrandr
46
RANDR_CONFIGURE_ENABLE=	randr
50
RANDR_CONFIGURE_ENABLE=	randr
47
51
48
VIDMODE_USE=		XORG=xxf86vm
52
VIDMODE_USES=		xorg
53
VIDMODE_USE=		XORG=x11,xxf86vm
49
VIDMODE_CONFIGURE_ENABLE=	vidmode
54
VIDMODE_CONFIGURE_ENABLE=	vidmode
50
55
56
WAYLAND_LIB_DEPENDS=	libwayland-client.so:graphics/wayland
57
WAYLAND_CONFIGURE_ENABLE=	wayland
58
51
GUI_USES=		python:3.6+
59
GUI_USES=		python:3.6+
52
GUI_CONFIGURE_ENABLE=	gui
60
GUI_CONFIGURE_ENABLE=	gui
53
GUI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
61
GUI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
(-)b/accessibility/redshift/distinfo (+4 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1526914198
1
TIMESTAMP = 1526914198
2
SHA256 (jonls-redshift-v1.12_GH0.tar.gz) = dd816df79765f87a0838b1568fbc40c3e8bdb4aef0e77712c85623afe34a29ad
2
SHA256 (jonls-redshift-v1.12_GH0.tar.gz) = dd816df79765f87a0838b1568fbc40c3e8bdb4aef0e77712c85623afe34a29ad
3
SIZE (jonls-redshift-v1.12_GH0.tar.gz) = 659019
3
SIZE (jonls-redshift-v1.12_GH0.tar.gz) = 659019
4
SHA256 (60f45972a543.patch) = 93f7c43bc72880408dd64c78588e987924145f0e1324225a70796c24509acaba
5
SIZE (60f45972a543.patch) = 2555
6
SHA256 (7da875d34854.patch) = 233266921eec951777168ef0d39d64a3c0381133a41d281702f44e716710f8e0
7
SIZE (7da875d34854.patch) = 35471
(-)b/accessibility/redshift/files/patch-src_gamma-wl.c (+14 lines)
Added Link Here
1
gamma-wl.c:24:10: fatal error: 'alloca.h' file not found
2
#include <alloca.h>
3
         ^~~~~~~~~~
4
5
--- src/gamma-wl.c.orig	2019-08-24 15:20:17 UTC
6
+++ src/gamma-wl.c
7
@@ -21,7 +21,6 @@
8
 #include <stdlib.h>
9
 #include <stdint.h>
10
 #include <string.h>
11
-#include <alloca.h>
12
 #include <sys/mman.h>
13
 #include <sys/types.h>
14
 #include <sys/stat.h>

Return to bug 242130