mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-blight: Update to 1.1.
* gnu/packages/emacs-xyz.scm (emacs-blight): Update to 1.1. [arguments]: Include Udev rules granting access to the backlight. Change-Id: If277c0845845555d99b9fc55c908ffcea6ea56e6 Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
7a851ee961
commit
c7f1339575
1 changed files with 36 additions and 26 deletions
|
@ -6100,32 +6100,42 @@ english words between singular and plural.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-blight
|
(define-public emacs-blight
|
||||||
(let ((commit "6bf9c6192d2bf979eebbfae1963401ef3ff4ef5d")
|
(package
|
||||||
(revision "0"))
|
(name "emacs-blight")
|
||||||
(package
|
(version "1.1")
|
||||||
(name "emacs-blight")
|
(source
|
||||||
(version (git-version "0" revision commit))
|
(origin
|
||||||
(source
|
(method git-fetch)
|
||||||
(origin
|
(uri (git-reference
|
||||||
(method git-fetch)
|
(url "https://codeberg.org/emacs-weirdware/blight")
|
||||||
(uri (git-reference
|
(commit version)))
|
||||||
(url "https://codeberg.org/emacs-weirdware/blight")
|
(file-name (git-file-name name version))
|
||||||
(commit commit)))
|
(sha256
|
||||||
(file-name (git-file-name name version))
|
(base32 "1k1w1jr56pp8dgcpdxrymiam1hxsdy7nh6gi5l17pimwba3r4wbm"))))
|
||||||
(sha256
|
(build-system emacs-build-system)
|
||||||
(base32 "1x7s1fcva5kkl9iyb5grd6crf38rrz3zb0c6wb85khi9far10vgq"))))
|
(arguments
|
||||||
(build-system emacs-build-system)
|
(list
|
||||||
(home-page "https://codeberg.org/emacs-weirdware/blight")
|
#:phases
|
||||||
(synopsis "Control display brightness")
|
#~(modify-phases %standard-phases
|
||||||
(description
|
(add-after 'unpack 'patch-udev-rules-absolute-path-bins
|
||||||
"Blight allows you to control display brightness from Emacs. It
|
(lambda _
|
||||||
features object-oriented code using EIEIO, a base class implementing
|
(substitute* "20-backlight.rules"
|
||||||
a reasonable API which focuses on the @emph{set the back light to this
|
(("/bin/chgrp") (which "chgrp"))
|
||||||
percentage} functionality, it includes a concrete implementation that uses
|
(("/bin/chmod") (which "chmod")))))
|
||||||
SysFS to control brightness. Other systems (D-Bus, xbacklight, XELB using
|
(add-after 'install 'install-udev-rules
|
||||||
XRandR) are easily supportable, giving the same experience across
|
(lambda _
|
||||||
environments.")
|
(install-file "20-backlight.rules"
|
||||||
(license license:gpl3+))))
|
(string-append #$output "/lib/udev/rules.d")))))))
|
||||||
|
(home-page "https://codeberg.org/emacs-weirdware/blight")
|
||||||
|
(synopsis "Control display brightness")
|
||||||
|
(description
|
||||||
|
"Blight allows you to control display brightness from Emacs. It features
|
||||||
|
object-oriented code using EIEIO, a base class implementing a reasonable API
|
||||||
|
which focuses on the @emph{set the back light to this percentage}
|
||||||
|
functionality, it includes a concrete implementation that uses SysFS to
|
||||||
|
control brightness. Other systems (D-Bus, xbacklight, XELB using XRandR) are
|
||||||
|
easily supportable, giving the same experience across environments.")
|
||||||
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public emacs-symon
|
(define-public emacs-symon
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue