GNU bug report logs - #67350
[PATCH] gnu: emacs-blight: Update to 1.1.

Previous Next

Package: guix-patches;

Reported by: Ian Eure <ian <at> retrospec.tv>

Date: Tue, 21 Nov 2023 22:32:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67350 in the body.
You can then email your comments to 67350 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to andrew <at> trop.in, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org:
bug#67350; Package guix-patches. (Tue, 21 Nov 2023 22:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ian Eure <ian <at> retrospec.tv>:
New bug report received and forwarded. Copy sent to andrew <at> trop.in, cox.katherine.e+guix <at> gmail.com, liliana.prikler <at> gmail.com, guix-patches <at> gnu.org. (Tue, 21 Nov 2023 22:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ian Eure <ian <at> retrospec.tv>
To: guix-patches <at> gnu.org
Cc: Ian Eure <ian <at> retrospec.tv>
Subject: [PATCH] gnu: emacs-blight: Update to 1.1.
Date: Tue, 21 Nov 2023 14:31:19 -0800
*  (emacs-blight): Update to 1.1.

Include udev rules granting access to the backlight.

Change-Id: If277c0845845555d99b9fc55c908ffcea6ea56e6
---
 gnu/packages/emacs-xyz.scm | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 90fe9fceeb..0159b2875d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6031,11 +6031,11 @@ (define-public emacs-inflections
     (license license:gpl3+)))
 
 (define-public emacs-blight
-  (let ((commit "6bf9c6192d2bf979eebbfae1963401ef3ff4ef5d")
+  (let ((commit "3fc2f1ef73de0c2b22a4db72adc4c4b051b34ea0")
         (revision "0"))
     (package
       (name "emacs-blight")
-      (version (git-version "0" revision commit))
+      (version (git-version "1.1" revision commit))
       (source
        (origin
          (method git-fetch)
@@ -6044,8 +6044,22 @@ (define-public emacs-blight
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "1x7s1fcva5kkl9iyb5grd6crf38rrz3zb0c6wb85khi9far10vgq"))))
+          (base32 "1k1w1jr56pp8dgcpdxrymiam1hxsdy7nh6gi5l17pimwba3r4wbm"))))
       (build-system emacs-build-system)
+      (arguments
+       (list
+        #:phases #~(modify-phases %standard-phases
+                     (add-after 'unpack 'patch-udev-rules-absolute-path-bins
+                       (lambda* (#:key inputs #:allow-other-keys)
+                         (substitute* "20-backlight.rules"
+                           (("/bin/chgrp") (which "chgrp"))
+                           (("/bin/chmod") (which "chmod")))
+                         #t))
+                     (add-after 'install 'install-udev-rules
+                       (lambda* (#:key inputs outputs #:allow-other-keys)
+                         (install-file "20-backlight.rules"
+                                       (string-append (assoc-ref outputs "out")
+                                                      "/lib/udev/rules.d")))))))
       (home-page "https://codeberg.org/emacs-weirdware/blight")
       (synopsis "Control display brightness")
       (description

base-commit: 42be8fa560a7554ac35801b46c3a0a007fd742ce
-- 
2.41.0





Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 04 Jan 2024 11:32:02 GMT) Full text and rfc822 format available.

Notification sent to Ian Eure <ian <at> retrospec.tv>:
bug acknowledged by developer. (Thu, 04 Jan 2024 11:32:03 GMT) Full text and rfc822 format available.

Message #10 received at 67350-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Ian Eure <ian <at> retrospec.tv>
Cc: Katherine Cox-Buday <cox.katherine.e+guix <at> gmail.com>,
 67350-done <at> debbugs.gnu.org, Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Andrew Tropin <andrew <at> trop.in>
Subject: Re: [bug#67350] [PATCH] gnu: emacs-blight: Update to 1.1.
Date: Thu, 04 Jan 2024 12:30:29 +0100
Hello,

Ian Eure <ian <at> retrospec.tv> writes:

> *  (emacs-blight): Update to 1.1.
>
> Include udev rules granting access to the backlight.

Applied, thank you.

I also normalized the commit message, removed unnecessary arguments in
phases (such as `inputs' and `outputs'), and used a tag instead of
a commit hash.

Regards,
-- 
Nicolas Goaziou






bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 01 Feb 2024 12:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 98 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.