GNU bug report logs -
#60013
[PATCH] gnu: Add clight
Previous Next
Reported by: Florian <florhizome <at> posteo.net>
Date: Mon, 12 Dec 2022 16:54:02 UTC
Severity: normal
Tags: patch
Done: Steve George <steve <at> futurile.net>
Bug is archived. No further changes may be made.
Full log
Message #32 received at 60013 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Heya,
* gnu/packages/wm.scm (clight): New variable.
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -194,6 +195,61 @@ (define-public bspwm
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after
+ 'patch-source-shebangs 'patch-target-dirs
+ (lambda _
+ (substitute*
+ "./CMakeLists.txt"
+ (("DESTINATION \\$\\{SESSION_BUS_DIR\\}")
+ (string-append "DESTINATION " #$output "/share/dbus-1/services"))
+ (("DESTINATION /etc/xdg/autostart")
+ (string-append "DESTINATION " #$output "/etc/xdg/autostart"))
+ (("DESTINATION /usr/share/*")
+ (string-append "DESTINATION " #$output "/share/*")))
+ #t)))))
Same here; couldn't these be -D flags, except for the /usr/share/*
replacement? Also, #T at the end isn't necessary anymore :)
+ (synopsis "User daemon utility to fully manage screens")
(synopsis "Daemon for managing screens")
+ (description "Clight is a tiny C utility that can turn your webcam
+into a light sensor; moreover it supports a redshift-like gamma
+control, a screen dimmer and dpms settings.
+It is the userspace interface for clightd.")
(description
"@command{clight} is the interface to @command{clightd}. It implements
gamma control akin to @command{redshift}, a screen dimmer, and dpms settings.
It can also turn your webcam into a light sensor.")
-- (
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 282 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.