From: Florian Paul Schmidt <mista.tapas@gmx.net>
To: guix-devel@gnu.org
Subject: Re: [PATCH, WIP, v2] new variable: redshift
Date: Thu, 10 Dec 2015 09:04:19 +0100 [thread overview]
Message-ID: <56693203.9060500@gmx.net> (raw)
In-Reply-To: <20151124092805.512230c8@gmx.net>
[-- Attachment #1: Type: text/plain, Size: 470 bytes --]
On 11/24/2015 09:28 AM, Florian Paul Schmidt wrote:
> How could anyone live without this? I am disappoint.. I couldn't try it
> on bare metal yet and the drm and randr methods fail in qemu. Maybe
> someone can test it? Thanks?
Version 2 of the patch. lint is happy. Some recomended changes
included.. Tested locally.
I wanted to try the --rounds=3 option, but since it was already built I
was at a loss about how to make it run a few rounds..
Flo
--
https://fps.io
[-- Attachment #2: 0001-gnu-Add-redshift.patch --]
[-- Type: text/plain, Size: 2024 bytes --]
From f35546e7679e39f5f9cd790c1a9cb27e7b7825b1 Mon Sep 17 00:00:00 2001
From: Florian Paul Schmidt <mista.tapas@gmx.net>
Date: Thu, 10 Dec 2015 08:57:57 +0100
Subject: [PATCH] gnu: Add redshift
* gnu/packages/xdisorg.scm (redshift): New variable.
---
gnu/packages/xdisorg.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 4b5308c..798e6ff 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -655,3 +655,40 @@ 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
+ (string-append "https://github.com/jonls/redshift/"
+ "releases/download/v" version
+ "/redshift-" version ".tar.xz"))
+ (sha256
+ (base32
+ "19pfk9il5x2g2ivqix4a555psz8mj3m0cvjwnjpjvx0llh5fghjv"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("intltool" ,intltool)))
+ (inputs
+ `(("libdrm" ,libdrm)
+ ("libx11" ,libx11)
+ ("libxcb" ,libxcb)
+ ("libxxf86vm", libxxf86vm)
+ ("geoclue" ,geoclue)))
+ (home-page "https://github.com/jonls/redshift")
+ (synopsis
+ "Adjusts your screen's color temperature
+according to your surroundings")
+ (description
+ "Redshift adjusts the color temperature according to the
+position of the sun. A different color temperature is set during night and
+daytime. During twilight and early morning, the color temperature transitions
+smoothly from night to daytime temperature to allow your eyes to slowly
+adapt. At night the color temperature should be set to match the lamps in your
+room.")
+ (license license:gpl3+)))
--
2.6.3
next prev parent reply other threads:[~2015-12-10 8:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-24 8:28 [PATCH, WIP] new variable: redshift Florian Paul Schmidt
2015-11-24 8:58 ` Florian Paul Schmidt
2015-11-24 9:23 ` Florian Paul Schmidt
2015-11-24 15:59 ` Jeff Mickey
2015-11-25 11:28 ` Florian Paul Schmidt
2015-11-25 12:41 ` Ludovic Courtès
2015-11-25 12:47 ` Ludovic Courtès
2015-11-25 13:10 ` Andreas Enge
2015-11-25 16:58 ` Florian Paul Schmidt
2015-11-24 9:02 ` Florian Paul Schmidt
2015-12-10 8:04 ` Florian Paul Schmidt [this message]
2015-12-13 23:41 ` [PATCH, WIP, v2] " Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56693203.9060500@gmx.net \
--to=mista.tapas@gmx.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).