all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Florian Paul Schmidt <mista.tapas@gmx.net>
To: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: [PATCH, WIP] new variable: redshift
Date: Tue, 24 Nov 2015 09:28:05 +0100	[thread overview]
Message-ID: <20151124092805.512230c8@gmx.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 1421 bytes --]

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?

Flo

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 4b5308c..c0ef4bc 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -655,3 +655,28 @@ 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)
+       ("lobdrm" ,libdrm)
+       ("libx11" ,libx11)
+       ("libxcb" ,libxcb)
+       ("geoclue" ,geoclue)))
+    (home-page "https://github.com/jonls/redshift")
+    (synopsis "Redshift 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)))

[-- Attachment #2: redshift.patch --]
[-- Type: application/octet-stream, Size: 1246 bytes --]

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 4b5308c..c0ef4bc 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -655,3 +655,28 @@ 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)
+       ("lobdrm" ,libdrm)
+       ("libx11" ,libx11)
+       ("libxcb" ,libxcb)
+       ("geoclue" ,geoclue)))
+    (home-page "https://github.com/jonls/redshift")
+    (synopsis "Redshift 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)))

             reply	other threads:[~2015-11-24  8:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-24  8:28 Florian Paul Schmidt [this message]
2015-11-24  8:58 ` [PATCH, WIP] new variable: redshift 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 ` [PATCH, WIP, v2] " Florian Paul Schmidt
2015-12-13 23:41   ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151124092805.512230c8@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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.