unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#74935] [PATCH 0/2] update ddcutil to 2.1.4.
@ 2024-12-18  3:53 Zheng Junjie
  2024-12-18  3:56 ` [bug#74935] [PATCH 1/2] gnu: ddcutil: Update " Zheng Junjie
  2024-12-18  3:56 ` [bug#74935] [PATCH 2/2] gnu: ddcui: Update to 0.5.4 Zheng Junjie
  0 siblings, 2 replies; 3+ messages in thread
From: Zheng Junjie @ 2024-12-18  3:53 UTC (permalink / raw)
  To: 74935

Zheng Junjie (2):
  gnu: ddcutil: Update to 2.1.4.
  gnu: ddcui: Update to 0.5.4.

 gnu/packages/hardware.scm | 28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)


base-commit: 0a5b060be1e8966abc45e4782df83447510a90b4
-- 
2.46.0





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#74935] [PATCH 1/2] gnu: ddcutil: Update to 2.1.4.
  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
  2024-12-18  3:56 ` [bug#74935] [PATCH 2/2] gnu: ddcui: Update to 0.5.4 Zheng Junjie
  1 sibling, 0 replies; 3+ messages in thread
From: Zheng Junjie @ 2024-12-18  3:56 UTC (permalink / raw)
  To: 74935

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#74935] [PATCH 2/2] gnu: ddcui: Update to 0.5.4.
  2024-12-18  3:53 [bug#74935] [PATCH 0/2] update ddcutil to 2.1.4 Zheng Junjie
  2024-12-18  3:56 ` [bug#74935] [PATCH 1/2] gnu: ddcutil: Update " Zheng Junjie
@ 2024-12-18  3:56 ` Zheng Junjie
  1 sibling, 0 replies; 3+ messages in thread
From: Zheng Junjie @ 2024-12-18  3:56 UTC (permalink / raw)
  To: 74935

* gnu/packages/hardware.scm (ddcui): Update to 0.5.4.

Change-Id: I035456ab340e6a5d221ff45a6637753abb0f5d7a
---
 gnu/packages/hardware.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 02664c1872c..3de60dcf4ea 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -596,7 +596,7 @@ (define-public ddcutil
 (define-public ddcui
   (package
     (name "ddcui")
-    (version "0.3.0")
+    (version "0.5.4")
     (source
      (origin
        (method git-fetch)
@@ -605,7 +605,7 @@ (define-public ddcui
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0gypfmwxhjmgyfwk29k8hfbgr0698kbcq2yj4izxv1i59zm63irz"))))
+        (base32 "1hq19gdy9ybraclkqvv1nlf46irql5b6wrc1y6wi0ihkqly20vgz"))))
     (build-system cmake-build-system)
     (arguments
      (list #:tests? #f))                    ; No test suite
-- 
2.46.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-12-18  3:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-18  3:53 [bug#74935] [PATCH 0/2] update ddcutil to 2.1.4 Zheng Junjie
2024-12-18  3:56 ` [bug#74935] [PATCH 1/2] gnu: ddcutil: Update " Zheng Junjie
2024-12-18  3:56 ` [bug#74935] [PATCH 2/2] gnu: ddcui: Update to 0.5.4 Zheng Junjie

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).