[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60013] [PATCH 2/3] gnu: Add clightd
From: |
( |
Subject: |
[bug#60013] [PATCH 2/3] gnu: Add clightd |
Date: |
Mon, 12 Dec 2022 21:53:12 +0000 |
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
Description: PGP signature
- [bug#60013] [PATCH] gnu: Add clight, Florian, 2022/12/12
- [bug#60013] [PATCH] gnu: Add clight, zimoun, 2022/12/12
- [bug#60013] [PATCH 1/3] gnu: Add libmodule, florhizome, 2022/12/12
- [bug#60013] [PATCH 2/3] gnu: Add clightd, florhizome, 2022/12/12
- [bug#60013] [PATCH 2/3] gnu: Add clightd,
( <=
- [bug#60013] [PATCH 3/3] gnu: Add clight, florhizome, 2022/12/12
- [bug#60013] [PATCH 1/3] gnu: Add libmodule, (, 2022/12/12
- [bug#60013] [PATCH 1/3] gnu: Add libmodule, zimoun, 2022/12/12
- [bug#60013] [PATCH 1/3] gnu: Add libmodule, Florian, 2022/12/13
- [bug#60013] [PATCH 1/3] gnu: Add libmodule, zimoun, 2022/12/15
- [bug#60013] [PATCH 1/3] gnu: Add libmodule, Florian, 2022/12/20
- [bug#60013] [PATCH 1/3] gnu: Add libmodule, (, 2022/12/21
- [bug#60013] [PATCH 1/3] gnu: Add libmodule, zimoun, 2022/12/30