all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH, WIP] new variable: redshift
@ 2015-11-24  8:28 Florian Paul Schmidt
  2015-11-24  8:58 ` Florian Paul Schmidt
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Florian Paul Schmidt @ 2015-11-24  8:28 UTC (permalink / raw)
  To: guix-devel@gnu.org

[-- 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)))

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-12-13 23:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH, WIP, v2] " Florian Paul Schmidt
2015-12-13 23:41   ` Ludovic Courtès

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.