guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64228] [PATCH core-updates] gnu: hwdata: Update to 0.371.


From: Hilton Chain
Subject: [bug#64228] [PATCH core-updates] gnu: hwdata: Update to 0.371.
Date: Fri, 23 Jun 2023 00:19:04 +0800

hwdata along with a pkg-config file are installed to "out", other outputs are
unnecessary then.

* gnu/packages/pciutils.scm (hwdata): Update to 0.371.
[arguments]: Don't modify <#:phases>.
[outputs]: Keep only "out".
* gnu/packages/graphics.scm (mangohub)[inputs]: Replace hwdata to "out" output
* gnu/packages/kde-plasma.scm (kwin)[inputs]: Likewise.
* gnu/packages/virtualization.scm (libosinfo)[native-inputs]: Likewise.
* gnu/packages/wm.scm (wlroots)[native-inputs]: Likewise.
---
 gnu/packages/graphics.scm       |  2 +-
 gnu/packages/kde-plasma.scm     |  4 ++--
 gnu/packages/pciutils.scm       | 18 ++++--------------
 gnu/packages/virtualization.scm |  3 +--
 gnu/packages/wm.scm             |  2 +-
 5 files changed, 9 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 3a65b96919..f5b740e3cb 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -1090,7 +1090,7 @@ (define-public mangohud
     (inputs
      (list dbus
            glslang
-           `(,hwdata "pci")
+           hwdata
            imgui-1.86
            libx11
            mesa
diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 2000ec3114..f626508682 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -1169,7 +1169,7 @@ (define-public kwin
                                 (which "Xwayland") b)))
               (substitute* '("cmake/modules/Findhwdata.cmake")
                 (("/usr/share")
-                 (string-append #$hwdata:pnp "/share")))))
+                 (string-append #$hwdata "/share")))))
           (add-after 'install 'add-symlinks
             (lambda* (#:key outputs #:allow-other-keys)
               (let ((kst5 (string-append #$output
@@ -1219,7 +1219,7 @@ (define-public kwin
                   eudev
                   fontconfig
                   freetype
-                  `(,hwdata "pnp")
+                  hwdata
                   kactivities
                   kcmutils
                   kcompletion
diff --git a/gnu/packages/pciutils.scm b/gnu/packages/pciutils.scm
index 140bbd0e90..67feba88ec 100644
--- a/gnu/packages/pciutils.scm
+++ b/gnu/packages/pciutils.scm
@@ -39,7 +39,7 @@ (define-module (gnu packages pciutils)
 (define-public hwdata
   (package
     (name "hwdata")
-    (version "0.365")                   ;updated monthly
+    (version "0.371")                   ;updated monthly
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -48,25 +48,15 @@ (define-public hwdata
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "00gqx24dyy9l98ygnvx8i087xq8pl9d2393h4d2cm4d5nnvr51d4"))))
+                "1b7n640vcjl36c7xj458z9j0ph84nb8hclnmlb9w56xkzfgbbbkc"))))
     (build-system gnu-build-system)
-    (outputs '("out" "iab" "oui" "pci" "pnp" "usb"))
     (arguments
      ;; Tests require pciutils, python, podman. Disable to avoid recursive dep.
      (list
       #:tests? #f
       ;; Do not cross-compile, since the package only contains data.
       #:target #f
-      #:configure-flags #~(list (string-append "--datadir=" #$output "/share"))
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'install
-            (lambda _
-              (install-file "iab.txt" (string-append #$output:iab 
"/share/hwdata"))
-              (install-file "oui.txt" (string-append #$output:oui 
"/share/hwdata"))
-              (install-file "pci.ids" (string-append #$output:pci 
"/share/hwdata"))
-              (install-file "pnp.ids" (string-append #$output:pnp 
"/share/hwdata"))
-              (install-file "usb.ids" (string-append #$output:usb 
"/share/hwdata")))))))
+      #:configure-flags #~(list (string-append "--datadir=" #$output 
"/share"))))
     (home-page "https://github.com/vcrhonek/hwdata";)
     (synopsis "Hardware identification and configuration data")
     (description "@code{hwdata} contains various hardware identification and
@@ -159,7 +149,7 @@ (define-public pciutils
        ;; No test suite.
        #:tests? #f))
     (native-inputs
-     (list `(,hwdata "pci") pkg-config which))
+     (list hwdata pkg-config which))
     (inputs
      `(,@(if (not (target-hurd?))
              `(("kmod" ,kmod))
diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm
index c88fd31146..7276243ef8 100644
--- a/gnu/packages/virtualization.scm
+++ b/gnu/packages/virtualization.scm
@@ -1197,8 +1197,7 @@ (define-public libosinfo
      (list `(,glib "bin")                ;glib-mkenums, etc.
            gobject-introspection
            gtk-doc/stable
-           `(,hwdata "pci")
-           `(,hwdata "usb")
+           hwdata
            vala
            intltool
            pkg-config))
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 860e804452..09d095f5a2 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1626,7 +1626,7 @@ (define-public wlroots
            xorg-server-xwayland))
     (native-inputs
      (list
-       `(,hwdata "pnp")
+       hwdata
        pkg-config))
     (home-page "https://gitlab.freedesktop.org/wlroots/wlroots/";)
     (synopsis "Pluggable, composable, unopinionated modules for building a

base-commit: f25529b08e356f89ca7cecc44295085531a8faba
-- 
2.40.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]