From owner-svn-ports-head@freebsd.org Tue Jan 16 22:24:59 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4CB4AEBC6C9; Tue, 16 Jan 2018 22:24:59 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 269C8704C7; Tue, 16 Jan 2018 22:24:59 +0000 (UTC) (envelope-from feld@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 646A926919; Tue, 16 Jan 2018 22:24:58 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0GMOwq3003499; Tue, 16 Jan 2018 22:24:58 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0GMOvNr003495; Tue, 16 Jan 2018 22:24:57 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201801162224.w0GMOvNr003495@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Tue, 16 Jan 2018 22:24:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r459211 - in head/accessibility: . sct X-SVN-Group: ports-head X-SVN-Commit-Author: feld X-SVN-Commit-Paths: in head/accessibility: . sct X-SVN-Commit-Revision: 459211 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.25 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: Tue, 16 Jan 2018 22:24:59 -0000 Author: feld Date: Tue Jan 16 22:24:57 2018 New Revision: 459211 URL: https://svnweb.freebsd.org/changeset/ports/459211 Log: This is a port of sct, a simple command-line utility written by Ted Unangst, which can be used to control screen temperature. It exceeds at being much more lightweight than similar software solutions like Redshift and f.lux. At the same time it is easier to use than xrandr. Sct takes temperature values in range 1000 to 10000, where 6500 is the default value. Here are some usage examples: * Campfire style: `sct 4500` * Dust storm on Mars style: `sct 2000` * Coffee free all nighter style: `sct 8000` * Default style: `sct` WWW: https://www.tedunangst.com/flak/post/sct-set-color-temperature Added: head/accessibility/sct/ head/accessibility/sct/Makefile (contents, props changed) head/accessibility/sct/distinfo (contents, props changed) head/accessibility/sct/pkg-descr (contents, props changed) Modified: head/accessibility/Makefile Modified: head/accessibility/Makefile ============================================================================== --- head/accessibility/Makefile Tue Jan 16 22:16:28 2018 (r459210) +++ head/accessibility/Makefile Tue Jan 16 22:24:57 2018 (r459211) @@ -28,6 +28,7 @@ SUBDIR += qt5-speech SUBDIR += redshift SUBDIR += rubygem-atk + SUBDIR += sct SUBDIR += speech-dispatcher SUBDIR += yasr Added: head/accessibility/sct/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/accessibility/sct/Makefile Tue Jan 16 22:24:57 2018 (r459211) @@ -0,0 +1,22 @@ +# $FreeBSD$ + +PORTNAME= sct +PORTVERSION= 0.1.0 +CATEGORIES= accessibility + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= Utility to change screen temperature + +LICENSE= UNLICENSE + +USE_GITHUB= yes +GH_ACCOUNT= 0mp + +USE_XORG= x11 xrandr + +PLIST_FILES= bin/sct + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sct + +.include Added: head/accessibility/sct/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/accessibility/sct/distinfo Tue Jan 16 22:24:57 2018 (r459211) @@ -0,0 +1,3 @@ +TIMESTAMP = 1516135722 +SHA256 (0mp-sct-0.1.0_GH0.tar.gz) = 982bae0448daff0b41eabe492b8b33223e2dad010e861fd6f09e8d9d0d7ca6c1 +SIZE (0mp-sct-0.1.0_GH0.tar.gz) = 2167 Added: head/accessibility/sct/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/accessibility/sct/pkg-descr Tue Jan 16 22:24:57 2018 (r459211) @@ -0,0 +1,14 @@ +This is a port of sct, a simple command-line utility written by Ted Unangst, +which can be used to control screen temperature. It exceeds at being much more +lightweight than similar software solutions like Redshift and f.lux. At the +same time it is easier to use than xrandr. + +Sct takes temperature values in range 1000 to 10000, where 6500 is the default +value. Here are some usage examples: + + * Campfire style: `sct 4500` + * Dust storm on Mars style: `sct 2000` + * Coffee free all nighter style: `sct 8000` + * Default style: `sct` + +WWW: https://www.tedunangst.com/flak/post/sct-set-color-temperature