From owner-svn-ports-all@freebsd.org Thu Dec 27 19:51:20 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 413241421593; Thu, 27 Dec 2018 19:51:20 +0000 (UTC) (envelope-from swills@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 DD790895DF; Thu, 27 Dec 2018 19:51:19 +0000 (UTC) (envelope-from swills@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 D234E184EC; Thu, 27 Dec 2018 19:51:19 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wBRJpJhe099657; Thu, 27 Dec 2018 19:51:19 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBRJpJFe099656; Thu, 27 Dec 2018 19:51:19 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201812271951.wBRJpJFe099656@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Thu, 27 Dec 2018 19:51:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488563 - head/accessibility/redshift X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: head/accessibility/redshift X-SVN-Commit-Revision: 488563 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: DD790895DF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Dec 2018 19:51:20 -0000 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