[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: emacs-blight: Update to 1.1.
From: |
guix-commits |
Subject: |
branch master updated: gnu: emacs-blight: Update to 1.1. |
Date: |
Thu, 04 Jan 2024 06:29:29 -0500 |
This is an automated email from the git hooks/post-receive script.
ngz pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new c7f1339575 gnu: emacs-blight: Update to 1.1.
c7f1339575 is described below
commit c7f133957507c92e50ae15e3b0bc8e7414461350
Author: Ian Eure <ian@retrospec.tv>
AuthorDate: Tue Nov 21 14:31:19 2023 -0800
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>
---
gnu/packages/emacs-xyz.scm | 62 +++++++++++++++++++++++++++-------------------
1 file changed, 36 insertions(+), 26 deletions(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a795510c15..39aab1b8c2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6100,32 +6100,42 @@ english words between singular and plural.")
(license license:gpl3+)))
(define-public emacs-blight
- (let ((commit "6bf9c6192d2bf979eebbfae1963401ef3ff4ef5d")
- (revision "0"))
- (package
- (name "emacs-blight")
- (version (git-version "0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://codeberg.org/emacs-weirdware/blight")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1x7s1fcva5kkl9iyb5grd6crf38rrz3zb0c6wb85khi9far10vgq"))))
- (build-system emacs-build-system)
- (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+))))
+ (package
+ (name "emacs-blight")
+ (version "1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://codeberg.org/emacs-weirdware/blight")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1k1w1jr56pp8dgcpdxrymiam1hxsdy7nh6gi5l17pimwba3r4wbm"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-udev-rules-absolute-path-bins
+ (lambda _
+ (substitute* "20-backlight.rules"
+ (("/bin/chgrp") (which "chgrp"))
+ (("/bin/chmod") (which "chmod")))))
+ (add-after 'install 'install-udev-rules
+ (lambda _
+ (install-file "20-backlight.rules"
+ (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
(package
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: emacs-blight: Update to 1.1.,
guix-commits <=