From: Zheng Junjie <zhengjunjie@iscas.ac.cn>
To: 74935@debbugs.gnu.org
Subject: [bug#74935] [PATCH 1/2] gnu: ddcutil: Update to 2.1.4.
Date: Wed, 18 Dec 2024 11:56:25 +0800 [thread overview]
Message-ID: <0a9c82ee381a9ff49dc8c3ca9e4ccb050453e993.1734493940.git.zhengjunjie@iscas.ac.cn> (raw)
In-Reply-To: <cover.1734493940.git.zhengjunjie@iscas.ac.cn>
* gnu/packages/hardware.scm (ddcutil): Update to 2.1.4.
[source]: Switch to git-fetch.
[arguments]: Remove it.
[inputs]: Add jansson.
[native-inputs]: Add autoconf, automake, and libtool.
Change-Id: I3024ac4d12c531f36eb4624b11d5f1f3e59e2672
---
gnu/packages/hardware.scm | 24 ++++++++++--------------
1 file changed, 10 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 2922b14a42b..02664c1872c 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -18,6 +18,7 @@
;;; Copyright © 2023 Spencer Skylar Chan <schan12@umd.edu>
;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org>
+;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -544,28 +545,23 @@ (define-public ckb-next
(define-public ddcutil
(package
(name "ddcutil")
- (version "1.4.5")
+ (version "2.1.4")
(source
(origin
- (method url-fetch)
- (uri (string-append "https://www.ddcutil.com/tarballs/"
- "ddcutil-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rockowitz/ddcutil")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
- (base32 "17zrqdz5mzwyccvc5m166yjlbbg9k2m9cwyg0y30h3184p1b2wlq"))))
+ (base32 "0wk82cdg7vddk6pbnn6qq3p71j4bppq13is2ck40glig08ax1bg5"))))
(build-system gnu-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-after 'install 'install-missing-pkgconfig-file
- (lambda _
- (install-file "ddcutil.pc"
- (string-append #$output "/lib/pkgconfig")))))))
(native-inputs
- (list pkg-config))
+ (list autoconf automake libtool pkg-config))
(inputs
(list eudev
glib
+ jansson
kmod
i2c-tools
libdrm ;enhanced diagnostics
--
2.46.0
next prev parent reply other threads:[~2024-12-18 3:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-18 3:53 [bug#74935] [PATCH 0/2] update ddcutil to 2.1.4 Zheng Junjie
2024-12-18 3:56 ` Zheng Junjie [this message]
2024-12-18 3:56 ` [bug#74935] [PATCH 2/2] gnu: ddcui: Update to 0.5.4 Zheng Junjie
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=0a9c82ee381a9ff49dc8c3ca9e4ccb050453e993.1734493940.git.zhengjunjie@iscas.ac.cn \
--to=zhengjunjie@iscas.ac.cn \
--cc=74935@debbugs.gnu.org \
/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).