From 264a63d6435fe832169eedda3f03c334ea573001 Mon Sep 17 00:00:00 2001 From: Josh Holland Date: Wed, 30 Oct 2019 13:08:36 +0000 Subject: gnu: Add redshift-wayland MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xdisorg.scm (redshift-wayland): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/xdisorg.scm | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'gnu/packages/xdisorg.scm') diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 8c24ff92ec..4376c64108 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -1108,6 +1108,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") -- cgit 1.4.1 From 93f6165fbc46ce6b85bb76591799a6034785e45a Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 30 Nov 2019 20:43:42 +0100 Subject: gnu: arandr: Don't use NAME in source URI. * gnu/packages/xdisorg.scm (arandr)[source]: Hard-code NAME. --- gnu/packages/xdisorg.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/xdisorg.scm') diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 4376c64108..9cdbc684f5 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -98,8 +98,8 @@ (version "0.1.9") (source (origin (method url-fetch) - (uri (string-append "http://christian.amsuess.com/tools/" name - "/files/" name "-" version ".tar.gz")) + (uri (string-append "http://christian.amsuess.com/tools/arandr" + "/files/arandr-" version ".tar.gz")) (sha256 (base32 "1i3f1agixxbfy4kxikb2b241p7c2lg73cl9wqfvlwz3q6zf5faxv")) -- cgit 1.4.1 From 218c785850d5ecf3a7646d81ce90445419a5103b Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 30 Nov 2019 20:43:49 +0100 Subject: gnu: arandr: Update to 0.1.10. * gnu/packages/xdisorg.scm (arandr): Update to 0.1.10. --- gnu/packages/xdisorg.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/xdisorg.scm') diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 9cdbc684f5..75e8c64af0 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -95,14 +95,14 @@ (define-public arandr (package (name "arandr") - (version "0.1.9") + (version "0.1.10") (source (origin (method url-fetch) (uri (string-append "http://christian.amsuess.com/tools/arandr" "/files/arandr-" version ".tar.gz")) (sha256 (base32 - "1i3f1agixxbfy4kxikb2b241p7c2lg73cl9wqfvlwz3q6zf5faxv")) + "135q0llvm077jil2fr92ssw3p095m4r8jfj0lc5rr3m71n4srj6v")) (modules '((guix build utils))) (snippet '(begin -- cgit 1.4.1 From 4a62a29de3d4fba014d43ae68f16a24c7f7f93c0 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 30 Nov 2019 20:45:55 +0100 Subject: gnu: arandr: Download over HTTPS. * gnu/packages/xdisorg.scm (arandr)[source]: Use HTTPS. --- gnu/packages/xdisorg.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/xdisorg.scm') diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 75e8c64af0..4a29c1ddd2 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -98,7 +98,7 @@ (version "0.1.10") (source (origin (method url-fetch) - (uri (string-append "http://christian.amsuess.com/tools/arandr" + (uri (string-append "https://christian.amsuess.com/tools/arandr" "/files/arandr-" version ".tar.gz")) (sha256 (base32 -- cgit 1.4.1 From 8e936351d7155ecac2e33df8d22b8deb2c30ed63 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Tue, 3 Dec 2019 00:29:27 +0100 Subject: gnu: xlockmore: Update to 5.59. * gnu/packages/xdisorg.scm (xlockmore): Update to 5.59. --- gnu/packages/xdisorg.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/xdisorg.scm') diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 4a29c1ddd2..b1759eabb2 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -762,7 +762,7 @@ shows it again when the mouse cursor moves or a mouse button is pressed.") (define-public xlockmore (package (name "xlockmore") - (version "5.58") + (version "5.59") (source (origin (method url-fetch) (uri (list (string-append "http://sillycycle.com/xlock/" @@ -773,7 +773,7 @@ shows it again when the mouse cursor moves or a mouse button is pressed.") "xlockmore-" version ".tar.xz"))) (sha256 (base32 - "1va11sbv5lbkxkp0i0msz5md3n2n82nzppk27rzdrw7y79vq37zw")))) + "0lajc5a4lki33b9mzfsi74q4hbivbmhwysp7mib4ivnyxianhaid")))) (build-system gnu-build-system) (arguments '(#:configure-flags (list (string-append "--enable-appdefaultdir=" -- cgit 1.4.1