From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Spencer Skylar Chan <schan12@umd.edu>
Cc: 62354-done@debbugs.gnu.org
Subject: bug#62354: [PATCH] gnu: ddcutil: Update to 1.4.1.
Date: Tue, 28 Mar 2023 23:16:47 -0400 [thread overview]
Message-ID: <87sfdo2qn4.fsf@gmail.com> (raw)
In-Reply-To: <4769fa68-1db8-bdde-fead-9c9ba6183fcb@umd.edu> (Spencer Skylar Chan's message of "Tue, 21 Mar 2023 14:35:47 -0400")
Hello,
Spencer Skylar Chan <schan12@umd.edu> writes:
> From 2e9152dcb83edc785e5b3c878011e2dcbccda4db Mon Sep 17 00:00:00 2001
> From: Skylar Chan <schan12@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
next prev parent reply other threads:[~2023-03-29 3:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-21 18:35 [bug#62354] [PATCH] gnu: ddcutil: Update to 1.4.1 Spencer Skylar Chan
2023-03-29 3:16 ` Maxim Cournoyer [this message]
2023-03-29 3:27 ` Maxim Cournoyer
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=87sfdo2qn4.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=62354-done@debbugs.gnu.org \
--cc=schan12@umd.edu \
/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).