GNU bug report logs -
#62354
[PATCH] gnu: ddcutil: Update to 1.4.1.
Previous Next
Reported by: Spencer Skylar Chan <schan12 <at> umd.edu>
Date: Tue, 21 Mar 2023 20:17:02 UTC
Severity: normal
Tags: patch
Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
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 62354 in the body.
You can then email your comments to 62354 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#62354
; Package
guix-patches
.
(Tue, 21 Mar 2023 20:17:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Spencer Skylar Chan <schan12 <at> umd.edu>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 21 Mar 2023 20:17:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From 2e9152dcb83edc785e5b3c878011e2dcbccda4db Mon Sep 17 00:00:00 2001
From: Skylar Chan <schan12 <at> umd.edu>
Date: Tue, 21 Mar 2023 14:33:51 -0400
Subject: [PATCH] gnu: ddcutil: Update to 1.4.1.
* gnu/packages/hardware.scm (ddcutil): Update to 1.4.1.
[arguments](phases): Remove them. i2c group access is no longer strictly
required. See https://github.com/rockowitz/ddcutil/issues/275
---
gnu/packages/hardware.scm | 20 ++------------------
1 file changed, 2 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index c00a6e2d91..f7eb814d04 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -482,31 +482,15 @@ (define-public ckb-next
(define-public ddcutil
(package
(name "ddcutil")
- (version "1.3.2")
+ (version "1.4.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://www.ddcutil.com/tarballs/"
"ddcutil-" version ".tar.gz"))
(sha256
- (base32 "0hm0cm4m4hk1jjy7kddg613mynvwlii3kp8al0j9v3c6mcx3p4mx"))))
+ (base32 "14svdjpw9xn1czl4vff4jg2i9bp83lxcbzxj7hxn63z3gzacaj4k"))))
(build-system gnu-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'install 'install-udev-rules
- (lambda* (#:key outputs #:allow-other-keys)
- ;; Move the udev rules to their expected location in Guix
- ;; System, so they can be more easily used.
- (let ((rules.d (string-append #$output "/lib/udev/rules.d")))
- (mkdir-p (dirname rules.d))
- (rename-file (string-append #$output "/share/ddcutil/data")
- rules.d)
- ;; Patch a reference to the ddcutil command.
- (substitute* (string-append rules.d
"/45-ddcutil-usb.rules")
- (("/usr/bin/ddcutil")
- (search-input-file outputs "bin/ddcutil")))))))))
(native-inputs
(list pkg-config))
(inputs
base-commit: 43e4e52dfd320b3922108fbdd8d0e6c8e12bccf8
--
2.40.0
Reply sent
to
Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
:
You have taken responsibility.
(Wed, 29 Mar 2023 03:18:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Spencer Skylar Chan <schan12 <at> umd.edu>
:
bug acknowledged by developer.
(Wed, 29 Mar 2023 03:18:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 62354-done <at> debbugs.gnu.org (full text, mbox):
Hello,
Spencer Skylar Chan <schan12 <at> umd.edu> writes:
> From 2e9152dcb83edc785e5b3c878011e2dcbccda4db Mon Sep 17 00:00:00 2001
> From: Skylar Chan <schan12 <at> umd.edu>
> Date: Tue, 21 Mar 2023 14:33:51 -0400
> Subject: [PATCH] gnu: ddcutil: Update to 1.4.1.
>
> * gnu/packages/hardware.scm (ddcutil): Update to 1.4.1.
> [arguments](phases): Remove them. i2c group access is no longer strictly
> required. See https://github.com/rockowitz/ddcutil/issues/275
> ---
> gnu/packages/hardware.scm | 20 ++------------------
> 1 file changed, 2 insertions(+), 18 deletions(-)
>
> diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
> index c00a6e2d91..f7eb814d04 100644
> --- a/gnu/packages/hardware.scm
> +++ b/gnu/packages/hardware.scm
> @@ -482,31 +482,15 @@ (define-public ckb-next
> (define-public ddcutil
> (package
> (name "ddcutil")
> - (version "1.3.2")
> + (version "1.4.1")
> (source
> (origin
> (method url-fetch)
> (uri (string-append "https://www.ddcutil.com/tarballs/"
> "ddcutil-" version ".tar.gz"))
> (sha256
> - (base32 "0hm0cm4m4hk1jjy7kddg613mynvwlii3kp8al0j9v3c6mcx3p4mx"))))
> + (base32 "14svdjpw9xn1czl4vff4jg2i9bp83lxcbzxj7hxn63z3gzacaj4k"))))
Thanks!
> (build-system gnu-build-system)
> - (arguments
> - (list
> - #:phases
> - #~(modify-phases %standard-phases
> - (add-after 'install 'install-udev-rules
> - (lambda* (#:key outputs #:allow-other-keys)
> - ;; Move the udev rules to their expected location in Guix
> - ;; System, so they can be more easily used.
> - (let ((rules.d (string-append #$output "/lib/udev/rules.d")))
> - (mkdir-p (dirname rules.d))
> - (rename-file (string-append #$output "/share/ddcutil/data")
> - rules.d)
> - ;; Patch a reference to the ddcutil command.
> - (substitute* (string-append rules.d
> "/45-ddcutil-usb.rules")
> - (("/usr/bin/ddcutil")
> - (search-input-file outputs "bin/ddcutil")))))))))
My understanding from https://github.com/rockowitz/ddcutil/issues/275 is
that the rule was changed to use uaccess instead of a group. The rule
file is still necessary though, so we should keep that phase.
Installed, dropping the last hunk.
Note: this patch was also corrupted by your email client or similar.
--
Thanks,
Maxim
Information forwarded
to
guix-patches <at> gnu.org
:
bug#62354
; Package
guix-patches
.
(Wed, 29 Mar 2023 03:28:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 62354-done <at> debbugs.gnu.org (full text, mbox):
Hi again,
Actually, your patch was accurate: the udev rule is now *installed* by
the build system of ddcutil, rendering the custom phase obsolete.
It was applied as-is in the end :-).
--
Thanks,
Maxim
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 26 Apr 2023 11:24:07 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.