unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#62347] [PATCH 0/2] Update usbutils description & use G-Expression.
@ 2023-03-21 16:02 Bruno Victal
  2023-03-21 16:05 ` [bug#62347] [PATCH 1/2] gnu: usbutils: Make package description different from synopsis Bruno Victal
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Bruno Victal @ 2023-03-21 16:02 UTC (permalink / raw)
  To: 62347; +Cc: Bruno Victal

* Modernize with G-Expressions.
* Rebase #34829 [1] patch to resolve merge-conflict.
  * Applied minor texinfo tweaks and adjustments to commit message.


[1]: https://issues.guix.gnu.org/34829


Bruno Victal (1):
  gnu: usbutils: Use G-Expressions.

mikadoZero (1):
  gnu: usbutils: Make package description different from synopsis.

 gnu/packages/linux.scm | 39 ++++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 19 deletions(-)

-- 
2.39.1





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

* [bug#62347] [PATCH 1/2] gnu: usbutils: Make package description different from synopsis.
  2023-03-21 16:02 [bug#62347] [PATCH 0/2] Update usbutils description & use G-Expression Bruno Victal
@ 2023-03-21 16:05 ` Bruno Victal
  2023-03-21 16:05 ` [bug#62347] [PATCH 2/2] gnu: usbutils: Use G-Expressions Bruno Victal
  2023-04-17 21:34 ` bug#62347: [PATCH 0/2] Update usbutils description & use G-Expression Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Bruno Victal @ 2023-03-21 16:05 UTC (permalink / raw)
  To: 62347; +Cc: mikadoZero

From: mikadoZero <mikadozero@yandex.com>

* gnu/packages/linux.scm (usbutils)[description]:  Change package description.
---
 gnu/packages/linux.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ef05e77ec8..f0a590104b 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
 ;;; Copyright © 2018 Vasile Dumitrascu <va511e@yahoo.com>
 ;;; Copyright © 2019 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
+;;; Copyright © 2019 mikadoZero <mikadozero@yandex.com>
 ;;; Copyright © 2019, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2019 Stefan Stefanović <stefanx2ovic@gmail.com>
 ;;; Copyright © 2019-2022 Brice Waegeneire <brice@waegenei.re>
@@ -2399,9 +2400,10 @@ (define-public usbutils
      (list autoconf automake libtool pkg-config))
     (home-page "http://www.linux-usb.org/")
     (synopsis
-     "Tools for working with USB devices, such as lsusb")
+     "Tools for working with USB devices")
     (description
-     "Tools for working with USB devices, such as lsusb.")
+     "Collection of tools to query what type of USB devices are connected to the
+system, including @command{lsusb}.")
     (license license:gpl2+)))
 
 (define-public usbip-utils

base-commit: d377cfbd11a96b98fd07a7ceb7e79590e1cee336
-- 
2.39.1





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

* [bug#62347] [PATCH 2/2] gnu: usbutils: Use G-Expressions.
  2023-03-21 16:02 [bug#62347] [PATCH 0/2] Update usbutils description & use G-Expression Bruno Victal
  2023-03-21 16:05 ` [bug#62347] [PATCH 1/2] gnu: usbutils: Make package description different from synopsis Bruno Victal
@ 2023-03-21 16:05 ` Bruno Victal
  2023-04-17 21:34 ` bug#62347: [PATCH 0/2] Update usbutils description & use G-Expression Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Bruno Victal @ 2023-03-21 16:05 UTC (permalink / raw)
  To: 62347; +Cc: Bruno Victal

* gnu/packages/linux.scm (usbutils): Use G-Expressions.
---
 gnu/packages/linux.scm | 33 ++++++++++++++++-----------------
 1 file changed, 16 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index f0a590104b..240c62bb14 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2377,23 +2377,22 @@ (define-public usbutils
     (build-system gnu-build-system)
     (outputs (list "out" "python"))
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-before 'bootstrap 'patch-bootstrap-scripts
-           (lambda _
-             (substitute* "usbhid-dump/bootstrap"
-               (("/bin/sh") (which "sh")))))
-         (add-after 'install 'separate-python-output
-           ;; Separating one Python script shaves more than 106 MiB from :out.
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let ((out        (assoc-ref outputs "out"))
-                   (out:python (assoc-ref outputs "python")))
-               (for-each (lambda (file)
-                           (let ((old (string-append out "/" file))
-                                 (new (string-append out:python "/" file)))
-                             (mkdir-p (dirname new))
-                             (rename-file old new)))
-                         (list "bin/lsusb.py"))))))))
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'bootstrap 'patch-bootstrap-scripts
+            (lambda _
+              (substitute* "usbhid-dump/bootstrap"
+                (("/bin/sh") (which "sh")))))
+          (add-after 'install 'separate-python-output
+            ;; Separating one Python script shaves more than 106 MiB from :out.
+            (lambda _
+              (for-each (lambda (file)
+                          (let ((old (string-append #$output "/" file))
+                                (new (string-append #$output:python "/" file)))
+                            (mkdir-p (dirname new))
+                            (rename-file old new)))
+                        (list "bin/lsusb.py")))))))
     (inputs
      (list eudev libusb python))
     (native-inputs
-- 
2.39.1





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

* bug#62347: [PATCH 0/2] Update usbutils description & use G-Expression.
  2023-03-21 16:02 [bug#62347] [PATCH 0/2] Update usbutils description & use G-Expression Bruno Victal
  2023-03-21 16:05 ` [bug#62347] [PATCH 1/2] gnu: usbutils: Make package description different from synopsis Bruno Victal
  2023-03-21 16:05 ` [bug#62347] [PATCH 2/2] gnu: usbutils: Use G-Expressions Bruno Victal
@ 2023-04-17 21:34 ` Ludovic Courtès
  2 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2023-04-17 21:34 UTC (permalink / raw)
  To: Bruno Victal; +Cc: 62347-done

Bruno Victal <mirai@makinata.eu> skribis:

> Bruno Victal (1):
>   gnu: usbutils: Use G-Expressions.
>
> mikadoZero (1):
>   gnu: usbutils: Make package description different from synopsis.

Applied, thanks!




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

end of thread, other threads:[~2023-04-17 21:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-21 16:02 [bug#62347] [PATCH 0/2] Update usbutils description & use G-Expression Bruno Victal
2023-03-21 16:05 ` [bug#62347] [PATCH 1/2] gnu: usbutils: Make package description different from synopsis Bruno Victal
2023-03-21 16:05 ` [bug#62347] [PATCH 2/2] gnu: usbutils: Use G-Expressions Bruno Victal
2023-04-17 21:34 ` bug#62347: [PATCH 0/2] Update usbutils description & use G-Expression Ludovic Courtès

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