emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37991: closed ([PATCH] gnu: Add redshift-wayland)


From: GNU bug Tracking System
Subject: bug#37991: closed ([PATCH] gnu: Add redshift-wayland)
Date: Sat, 16 Nov 2019 16:43:01 +0000

Your message dated Sat, 16 Nov 2019 17:41:55 +0100
with message-id <address@hidden>
and subject line Re: [bug#37991] (no subject)
has caused the debbugs.gnu.org bug report #37991,
regarding [PATCH] gnu: Add redshift-wayland
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
37991: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=37991
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Add redshift-wayland Date: Wed, 30 Oct 2019 13:08:36 +0000
* gnu/packages/xdisorg.scm (redshift-wayland): New variable.
---

I am not sure if the package name and description are appropriate -
please change if they are not.

 gnu/packages/xdisorg.scm | 43 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 17dc16b44c..010dd9d048 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1103,6 +1103,49 @@ 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+)))

+(define-public redshift-wayland
+  (let ((commit "7da875d34854a6a34612d5ce4bd8718c32bec804")
+        (revision "1"))
+    (package
+      (name "redshift-wayland")
+      (version (string-append "1.12-"
+                              revision "." (string-take commit 7)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/minus7/redshift.git";)
+                      (commit commit)))
+                (file-name (string-append name "-" version))
+                (sha256
+                 (base32
+                  "0nbkcw3avmzjg1jr1g9yfpm80kzisy55idl09b6wvzv2sz27n957"))))
+      (build-system gnu-build-system)
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("automake" ,automake)
+         ("libtool" ,libtool)
+         ("pkg-config" ,pkg-config)
+         ("intltool" ,intltool)))
+      (inputs
+       `(("libdrm" ,libdrm)
+         ("libx11" ,libx11)
+         ("libxcb" ,libxcb)
+         ("libxxf86vm" ,libxxf86vm)
+         ("glib" ,glib)                 ; for Geoclue2 support
+         ("wayland" ,wayland)))
+      (home-page "https://github.com/minus7/redshift";)
+      (synopsis "Adjust the color temperature of your screen (with Wayland 
support)")
+      (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.
+
+This is a fork with added support for Wayland using the wlr-gamma-control
+protocol.")
+      (license license:gpl3+))))
+
 (define-public xscreensaver
   (package
     (name "xscreensaver")
--
2.23.0



--- End Message ---
--- Begin Message --- Subject: Re: [bug#37991] (no subject) Date: Sat, 16 Nov 2019 17:41:55 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Hello Marius & Josh,

Marius Bakke <address@hidden> skribis:

> Ludovic Courtès <address@hidden> writes:

[...]

>> So, could you send a patch that updates ‘redshift’ to this snapshot and
>> adds Wayland support?  Just add a comment stating why we’re using this
>> snapshot instead of the latest release.
>
> Since this Wayland variant is a fork of Redshift, I think it is better
> to keep it as a separate package for now.

Oh I stand correct; I thought this was the upcoming version of Redshift.

Then yes, I agree with you Marius.  I’ve applied the patch Josh
initially submitted.

Thanks again Josh, and apologies for the unnecessary back-and-forth!

Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]