[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60013] [PATCH 3/3] gnu: Add clight
From: |
( |
Subject: |
[bug#60013] [PATCH 3/3] gnu: Add clight |
Date: |
Mon, 12 Dec 2022 21:57:10 +0000 |
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
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 3/3] gnu: Add clight, florhizome, 2022/12/12
- [bug#60013] [PATCH 3/3] gnu: Add clight,
( <=
- [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