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 #29 received at 60013 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Heya,
* gnu/packages/wm.scm (clightd): New variable.
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -188,6 +193,70 @@ (define-public bspwm
+ #:tests? #f ;;;tests not found
If there *are* actually tests, could you try to patch it to make them
work?
+ (lambda _
+ (substitute* "./CMakeLists.txt"
+ (("DESTINATION \\$\\{SYSTEM_BUS_DIR\\}")
+ (string-append "DESTINATION "
+ #$output "/share/dbus-1/system-services"))
+ (("DESTINATION \\$\\{POLKIT_ACTION_DIR\\}")
+ (string-append "DESTINATION "
+ #$output "/share/polkit-1/actions"))))
Maybe add these configure flags instead?
(string-append "-DSYSTEM_BUS_DIR="
#$output "/share/dbus-1/system-services")
(string-append "-DPOLKIT_ACTION_DIR="
#$output "/share/polkit-1/actions")
I'm not sure if that'll even work, I don't do CMake :)
+ (description "Bus interface for many display capabilities")
+ (synopsis "Clightd is a bus interface that lets you easily set/get screen
+ brightness, gamma temperature and display dpms state. Moreover, it enables
+ getting ambient brightness through webcam frames capture or ALS devices.
I think you got "description" and "synopsis" the wrong way round :)
-- (
[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.