Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2018 19:51:19 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r488563 - head/accessibility/redshift
Message-ID:  <201812271951.wBRJpJFe099656@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Dec 27 19:51:19 2018
New Revision: 488563
URL: https://svnweb.freebsd.org/changeset/ports/488563

Log:
  accessibility/redshift: make geoclue optional
  
  While here, remove obsolete gnome-clock option which was removed
  upstream in version 1.9 and pet portlint
  
  PR:		234048
  Submitted by:	bsd@haps.ca, which modifications

Modified:
  head/accessibility/redshift/Makefile   (contents, props changed)

Modified: head/accessibility/redshift/Makefile
==============================================================================
--- head/accessibility/redshift/Makefile	Thu Dec 27 19:46:49 2018	(r488562)
+++ head/accessibility/redshift/Makefile	Thu Dec 27 19:51:19 2018	(r488563)
@@ -3,8 +3,8 @@
 
 PORTNAME=	redshift
 PORTVERSION=	1.12
-CATEGORIES=	accessibility
 DISTVERSIONPREFIX=	v
+CATEGORIES=	accessibility
 
 MAINTAINER=	swills@FreeBSD.org
 COMMENT=	Adjusts the color temperature of your screen
@@ -12,8 +12,11 @@ COMMENT=	Adjusts the color temperature of your screen
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+LIB_DEPENDS=	libdrm.so:graphics/libdrm
+
 USES=		autoreconf:build gettext gmake libtool localbase pkgconfig \
 		shebangfix tar:bzip2
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	jonls
 USE_GNOME=	intltool
@@ -23,17 +26,14 @@ SHEBANG_FILES=	src/redshift-gtk/redshift-gtk.in
 
 CONFIGURE_ARGS+=	--disable-wingdi
 
-LIB_DEPENDS=	libdrm.so:graphics/libdrm \
-		libgeoclue-2.so:net/geoclue
-
-OPTIONS_DEFINE=	GNOME GUI NLS RANDR VIDMODE
-OPTIONS_DEFAULT=RANDR
+OPTIONS_DEFINE=	GEO GUI NLS RANDR VIDMODE
+OPTIONS_DEFAULT=GEO RANDR
 OPTIONS_SUB=	yes
 
-GNOME_DESC=	GNOME clock support
 GUI_DESC=	Tray icon
 RANDR_DESC=	Support RANDR for changing colors
 VIDMODE_DESC=	Support VIDMODE for changing colors (NVIDIA)
+GEO_DESC=	Use geoclue (requires dbus)
 
 USE_XORG+=	x11 xcb
 
@@ -53,9 +53,9 @@ GUI_CONFIGURE_ENABLE=	gui
 GUI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}
 
-
-GNOME_CONFIGURE_ENABLE=	gnome-clock
-GNOME_USE=		GNOME=glib20,gconf2
+GEO_CONFIGURE_ON=	--enable-geoclue2
+GEO_CONFIGURE_OFF=	--disable-geoclue2
+GEO_LIB_DEPENDS=	libgeoclue-2.so:net/geoclue
 
 pre-configure:
 	@cd ${WRKSRC} ; ./bootstrap



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812271951.wBRJpJFe099656>