From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Mickey Subject: Re: [PATCH, WIP] new variable: redshift Date: Tue, 24 Nov 2015 07:59:06 -0800 Message-ID: <877fl7crsl.fsf@codemac.net> References: <20151124092805.512230c8@gmx.net> <5654269D.4070400@gmx.net> <20151124102340.229fc875@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Fzs-0000rP-6d for guix-devel@gnu.org; Tue, 24 Nov 2015 10:59:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a1Fzo-0002qC-Vy for guix-devel@gnu.org; Tue, 24 Nov 2015 10:59:12 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:49719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a1Fzo-0002q2-Rj for guix-devel@gnu.org; Tue, 24 Nov 2015 10:59:08 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 35357200C2 for ; Tue, 24 Nov 2015 10:59:07 -0500 (EST) In-Reply-To: <20151124102340.229fc875@gmx.net> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Florian Paul Schmidt , guix-devel@gnu.org Don't know what others think, but we should probably also package redshift-gtk if we're gonna include redshift. Mine has a bug where icons don't show up so I didn't push it, but see here for what I use locally: https://github.com/codemac/guix-pkgs/blob/master/src/codemac/packages/redshift.scm // codemac * Florian Paul Schmidt [2015-11-24 01:23]: > Updated to make lint happy > > diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm > index 4b5308c..6a84e8c 100644 > --- a/gnu/packages/xdisorg.scm > +++ b/gnu/packages/xdisorg.scm > @@ -655,3 +655,33 @@ use it as well.") > "The xf86-input-wacom driver is the wacom-specific X11 input driver for > the X.Org X Server version 1.7 and later (X11R7.5 or later).") > (license license:x11))) > + > +(define-public redshift > + (package > + (name "redshift") > + (version "1.10") > + (source > + (origin > + (method url-fetch) > + (uri > + "https://github.com/jonls/redshift/releases/download/v1.10/redshift-1.10.tar.xz") > + (sha256 > + (base32 > + "19pfk9il5x2g2ivqix4a555psz8mj3m0cvjwnjpjvx0llh5fghjv")))) > + (build-system gnu-build-system) > + (native-inputs > + `(("pkg-config" ,pkg-config))) > + (inputs > + `(("intltool" ,intltool) > + ("libdrm" ,libdrm) > + ("libx11" ,libx11) > + ("libxcb" ,libxcb) > + ("geoclue" ,geoclue))) > + (home-page "https://github.com/jonls/redshift") > + (synopsis > + "Adjusts the color temperature of your screen > + according to your surroundings") > + (description > + "This may help your eyes hurt less if you are working > +in front of the screen at night.") > + (license license:gpl3)))