From: "\( via Guix-patches" via <guix-patches@gnu.org>
To: <florhizome@posteo.net>, <60013@debbugs.gnu.org>
Subject: [bug#60013] [PATCH 3/3] gnu: Add clight
Date: Mon, 12 Dec 2022 21:57:10 +0000 [thread overview]
Message-ID: <CP06BFUVS8UM.1EXAA8C1MKGIF@guix-framework> (raw)
In-Reply-To: <8aaa5bfe2bdb7b409ae0ba210437d9b4c5063359.1670876889.git.florhizome@posteo.net>
[-- Attachment #1: Type: text/plain, Size: 1534 bytes --]
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.")
-- (
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]
next prev parent reply other threads:[~2022-12-12 21:58 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-12 16:53 [bug#60013] [PATCH] gnu: Add clight Florian
2022-12-12 19:16 ` zimoun
2022-12-12 20:51 ` Tobias Geerinckx-Rice via Guix-patches via
2022-12-12 20:31 ` [bug#60013] [PATCH 1/3] gnu: Add libmodule florhizome
2022-12-12 20:31 ` [bug#60013] [PATCH 2/3] gnu: Add clightd florhizome
2022-12-12 21:53 ` ( via Guix-patches via
2022-12-12 20:31 ` [bug#60013] [PATCH 3/3] gnu: Add clight florhizome
2022-12-12 21:57 ` ( via Guix-patches via [this message]
2022-12-12 21:00 ` [bug#60013] [PATCH 1/3] gnu: Add libmodule ( via Guix-patches via
2022-12-12 23:48 ` zimoun
2022-12-13 11:51 ` Florian
2022-12-15 11:31 ` zimoun
2022-12-20 16:33 ` Florian
2022-12-21 11:22 ` ( via Guix-patches via
2022-12-30 12:45 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CP06BFUVS8UM.1EXAA8C1MKGIF@guix-framework \
--to=guix-patches@gnu.org \
--cc=60013@debbugs.gnu.org \
--cc=florhizome@posteo.net \
--cc=paren@disroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).