From 6ce8d9be438f9d16338232ebf03a4f749cc1ff4f Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Wed, 6 Apr 2022 14:36:49 +0200 Subject: gnu: Add envytools. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/hardware.scm (envytools): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/hardware.scm | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'gnu/packages/hardware.scm') diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 60b9a9f17b..38bc3881b9 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -5,7 +5,7 @@ ;;; Copyright © 2021 Evgeny Pisemsky ;;; Copyright © 2021 Léo Le Bouter ;;; Copyright © 2021 Denis Carikli -;;; Copyright © 2021 Petr Hodina +;;; Copyright © 2021, 2022 Petr Hodina ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2021 Vinicius Monego ;;; Copyright © 2021, 2022 John Kehayias @@ -34,6 +34,7 @@ #:use-module (gnu packages admin) #:use-module (gnu packages autotools) #:use-module (gnu packages bash) + #:use-module (gnu packages bison) #:use-module (gnu packages compression) #:use-module (gnu packages check) #:use-module (gnu packages cpp) @@ -82,6 +83,33 @@ ;; This is a module for packages related to physical hardware that don't (yet) ;; have a more specific home like gps.scm, security-token.scm, &c. + +(define-public envytools + (let ((commit "9014a51b1436461c7b3b005bdae72bf4912f4e72") + (revision "1")) + (package + (name "envytools") + (version (git-version "0.1" revision commit)) + (home-page "https://github.com/envytools/envytools") + (source (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1lqh73yxd5jgv7b770m37zimzhyn4f3053jybkixkhvm93zka8vd")))) + (build-system cmake-build-system) + (native-inputs (list bison flex pkg-config)) + (inputs (list libxml2 python)) + (synopsis "Reverse-engineering tools for Nvidia's proprietary GPU drivers") + (description + "This package provides tools for exploring Nvidia's proprietary GPU +drivers, including an assembler and a disassembler for several GPU instruction +sets, and tools to deal with register databases.") + (license license:expat)))) + (define-public hwinfo (package (name "hwinfo") -- cgit v1.2.3 From 5fb6ad86bc973ccdb565bb95f00b07e09da00c8d Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 29 Apr 2022 17:34:52 -0400 Subject: gnu: Remove h-client. * gnu/packages/hardware.scm (h-client): Delete variable. --- gnu/packages/hardware.scm | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'gnu/packages/hardware.scm') diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 38bc3881b9..946cd9aba4 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -375,42 +375,6 @@ through the Display Data Channel Command Interface (@dfn{DDC/CI}) protocol.") human-readable format and checks if it conforms to the standards.") (license license:expat)))) -(define-public h-client - (let ((version "0.0a0") - (revision 138)) - (package - (name "h-client") - (version (string-append version "-" (number->string revision))) - (source - (origin - (method svn-fetch) - (uri - (svn-reference - (url "https://svn.savannah.nongnu.org/svn/h-client/trunk/h-client") - (revision revision))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1pdd2qhyaa5vh7z4rkpwjlby1flkwhzmp8zlglalx5y5sv95l4kp")))) - (build-system python-build-system) - (arguments - `(#:python ,python-2 - ;; Tests depends on /etc/os-release which does not exist in the - ;; build container. - #:tests? #f)) - (inputs - (list python-2 python2-pycurl python2-pygtk pciutils usbutils)) - (synopsis "Graphical client for the h-node hardware database -project") - (description - "The h-node project (https://www.h-node.org) aims to build a database of -hardware that works with fully free operating systems. -h-client is a GTK+ graphical client that is able to retrieves information on -the hardware inside the computer it's running on, and on peripherals connected -to it, and help you submit that information to the h-node project along with -whether the hardware works with a fully free operating system or not.") - (home-page "https://savannah.nongnu.org/projects/h-client/") - (license license:gpl3+)))) - (define-public headsetcontrol (package (name "headsetcontrol") -- cgit v1.2.3 From 7d9972df745fda0d1a19289b86641684d2f4fad7 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 29 May 2022 02:00:04 +0200 Subject: gnu: ddcutil: Update to 1.2.2. * gnu/packages/hardware.scm (ddcutil): Update to 1.2.2. --- gnu/packages/hardware.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/hardware.scm') diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 946cd9aba4..a1269e156a 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2018–2021 Tobias Geerinckx-Rice +;;; Copyright © 2018–2022 Tobias Geerinckx-Rice ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2020 Brice Waegeneire ;;; Copyright © 2021 Evgeny Pisemsky @@ -270,14 +270,14 @@ RGB animations.") (define-public ddcutil (package (name "ddcutil") - (version "1.2.1") + (version "1.2.2") (source (origin (method url-fetch) (uri (string-append "https://www.ddcutil.com/tarballs/" "ddcutil-" version ".tar.gz")) (sha256 - (base32 "0fp7ffjn21p0bsc5b1ipf3dbpzwn9g6j5dpnwdnca052ifzk2w7i")))) + (base32 "18fbd45h2r3r702dvmlmyrwgs3ymr4mhm4f12lgv9jqb5csalbw2")))) (build-system gnu-build-system) (native-inputs (list pkg-config)) -- cgit v1.2.3 From 23b4740d549fd2f102789e83f5d39281293f3514 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 29 May 2022 02:00:03 +0200 Subject: gnu: ddcui: Update to 0.2.1. * gnu/packages/hardware.scm (ddcui): Update to 0.2.1. --- gnu/packages/hardware.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/hardware.scm') diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index a1269e156a..eabec55ae7 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -314,7 +314,7 @@ calibrated, and restored when the calibration is applied.") (define-public ddcui (package (name "ddcui") - (version "0.1.2") + (version "0.2.1") (source (origin (method git-fetch) @@ -323,7 +323,7 @@ calibrated, and restored when the calibration is applied.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0myma1zw6dlygv3xbin662d91zcnwss10syf12q2fppkrd8qdgqf")))) + (base32 "0a9xfv80dpimx9wi9igjbbfydyfsgnbk6dv1plhjzyp2a9shdibb")))) (build-system cmake-build-system) (arguments '(#:tests? #f)) ; No test suite -- cgit v1.2.3 From e1be3b947a9055728a1ae97d65d1663471ae94e6 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 29 May 2022 02:00:01 +0200 Subject: gnu: hwinfo: Update to 21.81. * gnu/packages/hardware.scm (hwinfo): Update to 21.81. --- gnu/packages/hardware.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gnu/packages/hardware.scm') diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index eabec55ae7..03a8df7174 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -113,7 +113,7 @@ sets, and tools to deal with register databases.") (define-public hwinfo (package (name "hwinfo") - (version "21.80") + (version "21.81") (home-page "https://github.com/openSUSE/hwinfo") (source (origin @@ -124,14 +124,14 @@ sets, and tools to deal with register databases.") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "07058vjqdcd3la8y4b92f7fvcqxvmw1p0q4lg5kcn85pvbbg52ag")) + (base32 "0iyx1fb66s6b5ai4agw91nvl9wwk7z8g6y475vry3wv80dngzc43")) (modules '((guix build utils))) (snippet `(begin ;; Remove git2log program file. (delete-file "git2log") - ;; Remove variables that depends on git2log. + ;; Remove variables that depend on git2log. (substitute* "Makefile" (("GIT2LOG.*\\:=.*$") "") (("GITDEPS.*\\:=.*$") "") -- cgit v1.2.3 From 81429d680da5c447d90bcd8d98596d149cf71789 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 29 May 2022 02:00:00 +0200 Subject: gnu: hwinfo: Rename non-standard ‘dev’ output. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/hardware.scm (hwinfo)[outputs]: Rename ‘dev’ to ‘lib’. [arguments]: Ditto. --- gnu/packages/hardware.scm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gnu/packages/hardware.scm') diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index 03a8df7174..b6d31d9485 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -141,7 +141,7 @@ sets, and tools to deal with register databases.") (lambda (port) (format port ,version))))))) (build-system gnu-build-system) - (outputs '("out" "dev" "doc")) + (outputs '("out" "lib" "doc")) (arguments `(#:tests? #f ; no test-suite available #:phases @@ -149,10 +149,10 @@ sets, and tools to deal with register databases.") (add-after 'unpack 'patch (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) - (dev (assoc-ref outputs "dev")) + (lib (assoc-ref outputs "lib")) (doc (assoc-ref outputs "doc")) - (incl-dir (string-append dev "/include")) - (lib-dir (string-append dev "/lib")) + (incl-dir (string-append lib "/include")) + (lib-dir (string-append lib "/lib")) (sbin-dir (string-append out "/sbin")) (share-dir (string-append out "/share")) (doc-dir (string-append doc "/share/doc"))) @@ -172,16 +172,16 @@ sets, and tools to deal with register databases.") (("/usr/sbin") sbin-dir) (("/usr/share") share-dir) (("\\$\\(DESTDIR\\)/sbin ") "")) - ;; Add output "dev" to the run-path. + ;; Add the "lib" output to the run-path. (substitute* "Makefile.common" (("-Lsrc") (string-append "-Lsrc " "-Wl,-rpath=" lib-dir))) ;; Correct program name of the lexical analyzer. (substitute* "src/isdn/cdb/Makefile" (("lex isdn_cdb.lex") "flex isdn_cdb.lex")) - ;; Patch pkgconfig file to point to output "dev". + ;; Patch pkg-config file to point to the "lib" output. (substitute* "hwinfo.pc.in" - (("/usr") dev))))) + (("/usr") lib))))) (delete 'configure) (replace 'build (lambda _ -- cgit v1.2.3 From 32f001ce48eb0a0fa0f517fec605f2b7d37601f8 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 1 Jun 2022 16:43:22 -0400 Subject: gnu: Add h-client (again, this time with Python 3 support). * gnu/packages/hardware.scm (h-client): New variable. --- gnu/packages/hardware.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'gnu/packages/hardware.scm') diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index b6d31d9485..d4e43feb06 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2022 Maxime Devos ;;; Copyright © 2022 Marius Bakke ;;; Copyright © 2022 Marcel Kupiec +;;; Copyright © 2022 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; @@ -375,6 +376,43 @@ through the Display Data Channel Command Interface (@dfn{DDC/CI}) protocol.") human-readable format and checks if it conforms to the standards.") (license license:expat)))) +(define-public h-client + (let ((commit "63ff4a3bf9c3c3b6297091e08192d34991465431") + (revision "0")) + (package + (name "h-client") + (version (git-version "0.0a0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + ;; Use this Python 3 fork until the changes have been reviewed + ;; and integrated into the official Savannah repository (in + ;; progress). + (url "https://git.sr.ht/~apteryx/h-client") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0c6s96a1zmsnn7bnfhm790c1fr8sid0zdyh9mwig4y6ffn83czh5")))) + (build-system python-build-system) + (inputs + (list gdk-pixbuf + gtk+ + pciutils + python-pycurl + python-pygobject + usbutils)) + (synopsis "Graphical client for the h-node hardware database project") + (description + "The h-node project (https://www.h-node.org) aims to build a database of +hardware that works with fully free operating systems. h-client is a GTK+ +graphical client that is able to retrieves information on the hardware inside +the computer it's running on, and on peripherals connected to it, and helps +you submit that information to the h-node project along with whether the +hardware works with a fully free operating system or not.") + (home-page "https://savannah.nongnu.org/projects/h-source/") + (license license:gpl3+)))) + (define-public headsetcontrol (package (name "headsetcontrol") -- cgit v1.2.3