* [bug#62348] [PATCH 1/3] gnu: psmisc: Make description more informative.
2023-03-21 17:04 [bug#62348] [PATCH 0/3] Update psmisc to 23.6 Bruno Victal
@ 2023-03-21 17:11 ` Bruno Victal
2023-03-21 17:20 ` Nicolas Goaziou
2023-03-21 17:11 ` [bug#62348] [PATCH 2/3] gnu: psmisc: Use G-Expressions Bruno Victal
` (3 subsequent siblings)
4 siblings, 1 reply; 12+ messages in thread
From: Bruno Victal @ 2023-03-21 17:11 UTC (permalink / raw)
To: 62348; +Cc: ludo, Bruno Victal, mikadoZero
From: mikadoZero <mikadozero@yandex.com>
The text for the description is taken from the psmisc readme.
* gnu/packages/linux.scm (psmisc)[description]: Make description more informative.
Co-authored-by: Bruno Victal <mirai@makinata.eu>
---
gnu/packages/linux.scm | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ef05e77ec8..14e6f46a39 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>
@@ -2039,9 +2040,15 @@ (define-public psmisc
(home-page "https://gitlab.com/psmisc/psmisc")
(synopsis "Small utilities that use the proc file system")
(description
- "This PSmisc package is a set of some small useful utilities that
-use the proc file system. We're not about changing the world, but
-providing the system administrator with some help in common tasks.")
+ "A package of small utilities that use the proc file-system.
+@itemize @bullet
+@item @command{fuser} - Identifies processes using files or sockets
+@item @command{killall} - kills processes by name, e.g. @samp{killall -HUP @var{name}}
+@item @command{prtstat} - prints statistics of a process
+@item @command{pslog} - prints log path(s) of a process
+@item @command{pstree} - shows the currently running processes as a tree
+@item @command{peekfd} - shows the data travelling over a file descriptor
+@end itemize")
(license license:gpl2+)))
(define-public util-linux
--
2.39.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#62348] [PATCH 1/3] gnu: psmisc: Make description more informative.
2023-03-21 17:11 ` [bug#62348] [PATCH 1/3] gnu: psmisc: Make description more informative Bruno Victal
@ 2023-03-21 17:20 ` Nicolas Goaziou
0 siblings, 0 replies; 12+ messages in thread
From: Nicolas Goaziou @ 2023-03-21 17:20 UTC (permalink / raw)
To: Bruno Victal; +Cc: 62348, ludo, mikadoZero
Hello,
Bruno Victal <mirai@makinata.eu> writes:
> From: mikadoZero <mikadozero@yandex.com>
>
> The text for the description is taken from the psmisc readme.
>
> * gnu/packages/linux.scm (psmisc)[description]: Make description more
> informative.
Thanks.
> + "A package of small utilities that use the proc file-system.
This should be a complete sentence, e.g.,
Psmisc is a set of small utilities…
> +@itemize @bullet
> +@item @command{fuser} - Identifies processes using files or sockets
> +@item @command{killall} - kills processes by name, e.g. @samp{killall -HUP @var{name}}
> +@item @command{prtstat} - prints statistics of a process
> +@item @command{pslog} - prints log path(s) of a process
> +@item @command{pstree} - shows the currently running processes as a tree
> +@item @command{peekfd} - shows the data travelling over a file descriptor
> +@end itemize")
I suggest to remove the dashes, and probably add semicolons at the end
of all but last item:
@item @command{fuser} identifies processes using files or sockets;
I suggest to add a comma after "e.g.", so Texinfo cannot consider it to
be the end of a sentence:
@item @command{killall} kills processes by name, e.g., @samp{killall -HUP @var{name}};
Actually, I even wonder if providing an example if worth being in
a generic description. I probably belongs to a user manual:
@item @command{killall} kills processes by name;
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#62348] [PATCH 2/3] gnu: psmisc: Use G-Expressions.
2023-03-21 17:04 [bug#62348] [PATCH 0/3] Update psmisc to 23.6 Bruno Victal
2023-03-21 17:11 ` [bug#62348] [PATCH 1/3] gnu: psmisc: Make description more informative Bruno Victal
@ 2023-03-21 17:11 ` Bruno Victal
2023-03-21 17:11 ` [bug#62348] [PATCH 3/3] gnu: psmisc: Update to 23.6 Bruno Victal
` (2 subsequent siblings)
4 siblings, 0 replies; 12+ messages in thread
From: Bruno Victal @ 2023-03-21 17:11 UTC (permalink / raw)
To: 62348; +Cc: ludo, Bruno Victal
* gnu/packages/linux.scm (psmisc): Use G-Expressions.
---
gnu/packages/linux.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 14e6f46a39..8ecbf32bf8 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2030,12 +2030,12 @@ (define-public psmisc
(base32 "12z5786dnf37n8wvv73wdcqp3nvsqzhwdk3ajna0mag4yz1fqdyw"))))
(build-system gnu-build-system)
(arguments
- `(,@(if (%current-target-system)
- '(#:configure-flags
- (list
- "ac_cv_func_malloc_0_nonnull=yes"
- "ac_cv_func_realloc_0_nonnull=yes"))
- '())))
+ (list
+ #:configure-flags
+ (if (%current-target-system)
+ #~(list "ac_cv_func_malloc_0_nonnull=yes"
+ "ac_cv_func_realloc_0_nonnull=yes")
+ #~'())))
(inputs (list ncurses))
(home-page "https://gitlab.com/psmisc/psmisc")
(synopsis "Small utilities that use the proc file system")
--
2.39.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#62348] [PATCH 3/3] gnu: psmisc: Update to 23.6.
2023-03-21 17:04 [bug#62348] [PATCH 0/3] Update psmisc to 23.6 Bruno Victal
2023-03-21 17:11 ` [bug#62348] [PATCH 1/3] gnu: psmisc: Make description more informative Bruno Victal
2023-03-21 17:11 ` [bug#62348] [PATCH 2/3] gnu: psmisc: Use G-Expressions Bruno Victal
@ 2023-03-21 17:11 ` Bruno Victal
2023-03-21 19:23 ` [bug#62348] [PATCH v2 1/3] gnu: psmisc: Make description more informative Bruno Victal
2023-08-24 16:52 ` [bug#62348] [PATCH v3 0/3] Improve psmisc description & update Bruno Victal
4 siblings, 0 replies; 12+ messages in thread
From: Bruno Victal @ 2023-03-21 17:11 UTC (permalink / raw)
To: 62348; +Cc: ludo, Bruno Victal
* gnu/packages/linux.scm (psmisc): Update to 23.6.
---
gnu/packages/linux.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 8ecbf32bf8..dfd9748a67 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2020,14 +2020,14 @@ (define-public powerstat
(define-public psmisc
(package
(name "psmisc")
- (version "23.5")
+ (version "23.6")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/psmisc/psmisc/psmisc-"
version ".tar.xz"))
(sha256
- (base32 "12z5786dnf37n8wvv73wdcqp3nvsqzhwdk3ajna0mag4yz1fqdyw"))))
+ (base32 "0al2138z0m2bqrviv3zw2i2km4v8xg5wrw867li4jk4s2l3dwz95"))))
(build-system gnu-build-system)
(arguments
(list
--
2.39.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#62348] [PATCH v2 1/3] gnu: psmisc: Make description more informative.
2023-03-21 17:04 [bug#62348] [PATCH 0/3] Update psmisc to 23.6 Bruno Victal
` (2 preceding siblings ...)
2023-03-21 17:11 ` [bug#62348] [PATCH 3/3] gnu: psmisc: Update to 23.6 Bruno Victal
@ 2023-03-21 19:23 ` Bruno Victal
2023-03-21 19:23 ` [bug#62348] [PATCH v2 2/3] gnu: psmisc: Use G-Expressions Bruno Victal
2023-03-21 19:23 ` [bug#62348] [PATCH v2 3/3] gnu: psmisc: Update to 23.6 Bruno Victal
2023-08-24 16:52 ` [bug#62348] [PATCH v3 0/3] Improve psmisc description & update Bruno Victal
4 siblings, 2 replies; 12+ messages in thread
From: Bruno Victal @ 2023-03-21 19:23 UTC (permalink / raw)
To: 62348; +Cc: mikadoZero, Bruno Victal
From: mikadoZero <mikadozero@yandex.com>
The text for the description is taken from the psmisc readme.
* gnu/packages/linux.scm (psmisc)[description]: Make description more informative.
Co-authored-by: Bruno Victal <mirai@makinata.eu>
---
gnu/packages/linux.scm | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ef05e77ec8..d1d1e10741 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>
@@ -2039,9 +2040,15 @@ (define-public psmisc
(home-page "https://gitlab.com/psmisc/psmisc")
(synopsis "Small utilities that use the proc file system")
(description
- "This PSmisc package is a set of some small useful utilities that
-use the proc file system. We're not about changing the world, but
-providing the system administrator with some help in common tasks.")
+ "psmisc is a set of small utilities that use the proc file-system.
+@itemize @bullet
+@item @command{fuser} identifies processes using files or sockets;
+@item @command{killall} kills processes by name;
+@item @command{prtstat} prints statistics of a process;
+@item @command{pslog} prints log path(s) of a process;
+@item @command{pstree} shows the currently running processes as a tree;
+@item @command{peekfd} shows the data travelling over a file descriptor
+@end itemize")
(license license:gpl2+)))
(define-public util-linux
--
2.39.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#62348] [PATCH v2 2/3] gnu: psmisc: Use G-Expressions.
2023-03-21 19:23 ` [bug#62348] [PATCH v2 1/3] gnu: psmisc: Make description more informative Bruno Victal
@ 2023-03-21 19:23 ` Bruno Victal
2023-03-21 19:23 ` [bug#62348] [PATCH v2 3/3] gnu: psmisc: Update to 23.6 Bruno Victal
1 sibling, 0 replies; 12+ messages in thread
From: Bruno Victal @ 2023-03-21 19:23 UTC (permalink / raw)
To: 62348; +Cc: Bruno Victal
* gnu/packages/linux.scm (psmisc): Use G-Expressions.
---
gnu/packages/linux.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index d1d1e10741..ffaf9aadf4 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2030,12 +2030,12 @@ (define-public psmisc
(base32 "12z5786dnf37n8wvv73wdcqp3nvsqzhwdk3ajna0mag4yz1fqdyw"))))
(build-system gnu-build-system)
(arguments
- `(,@(if (%current-target-system)
- '(#:configure-flags
- (list
- "ac_cv_func_malloc_0_nonnull=yes"
- "ac_cv_func_realloc_0_nonnull=yes"))
- '())))
+ (list
+ #:configure-flags
+ (if (%current-target-system)
+ #~(list "ac_cv_func_malloc_0_nonnull=yes"
+ "ac_cv_func_realloc_0_nonnull=yes")
+ #~'())))
(inputs (list ncurses))
(home-page "https://gitlab.com/psmisc/psmisc")
(synopsis "Small utilities that use the proc file system")
--
2.39.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#62348] [PATCH v2 3/3] gnu: psmisc: Update to 23.6.
2023-03-21 19:23 ` [bug#62348] [PATCH v2 1/3] gnu: psmisc: Make description more informative Bruno Victal
2023-03-21 19:23 ` [bug#62348] [PATCH v2 2/3] gnu: psmisc: Use G-Expressions Bruno Victal
@ 2023-03-21 19:23 ` Bruno Victal
1 sibling, 0 replies; 12+ messages in thread
From: Bruno Victal @ 2023-03-21 19:23 UTC (permalink / raw)
To: 62348; +Cc: Bruno Victal
* gnu/packages/linux.scm (psmisc): Update to 23.6.
---
gnu/packages/linux.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ffaf9aadf4..8912bfd091 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2020,14 +2020,14 @@ (define-public powerstat
(define-public psmisc
(package
(name "psmisc")
- (version "23.5")
+ (version "23.6")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/psmisc/psmisc/psmisc-"
version ".tar.xz"))
(sha256
- (base32 "12z5786dnf37n8wvv73wdcqp3nvsqzhwdk3ajna0mag4yz1fqdyw"))))
+ (base32 "0al2138z0m2bqrviv3zw2i2km4v8xg5wrw867li4jk4s2l3dwz95"))))
(build-system gnu-build-system)
(arguments
(list
--
2.39.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#62348] [PATCH v3 0/3] Improve psmisc description & update.
2023-03-21 17:04 [bug#62348] [PATCH 0/3] Update psmisc to 23.6 Bruno Victal
` (3 preceding siblings ...)
2023-03-21 19:23 ` [bug#62348] [PATCH v2 1/3] gnu: psmisc: Make description more informative Bruno Victal
@ 2023-08-24 16:52 ` Bruno Victal
2023-08-24 16:54 ` [bug#62348] [PATCH v3 1/3] gnu: psmisc: Make description more informative Bruno Victal
` (2 more replies)
4 siblings, 3 replies; 12+ messages in thread
From: Bruno Victal @ 2023-08-24 16:52 UTC (permalink / raw)
To: 62348; +Cc: Bruno Victal
Notable changes since v2:
* Use '@table @command' for description.
Bruno Victal (2):
gnu: psmisc: Use G-Expressions.
gnu: psmisc: Update to 23.6.
mikadoZero (1):
gnu: psmisc: Make description more informative.
gnu/packages/linux.scm | 34 +++++++++++++++++++++++-----------
1 file changed, 23 insertions(+), 11 deletions(-)
base-commit: 738b0e4ccc2bac3d77bb29dd6d51026d887d6b16
--
2.41.0
^ permalink raw reply [flat|nested] 12+ messages in thread
* [bug#62348] [PATCH v3 1/3] gnu: psmisc: Make description more informative.
2023-08-24 16:52 ` [bug#62348] [PATCH v3 0/3] Improve psmisc description & update Bruno Victal
@ 2023-08-24 16:54 ` Bruno Victal
2023-08-24 16:54 ` [bug#62348] [PATCH v3 2/3] gnu: psmisc: Use G-Expressions Bruno Victal
2023-08-24 16:54 ` [bug#62348] [PATCH v3 3/3] gnu: psmisc: Update to 23.6 Bruno Victal
2 siblings, 0 replies; 12+ messages in thread
From: Bruno Victal @ 2023-08-24 16:54 UTC (permalink / raw)
To: 62348; +Cc: mikadoZero, Bruno Victal
From: mikadoZero <mikadozero@yandex.com>
The text for the description is taken from the psmisc readme.
* gnu/packages/linux.scm (psmisc)[description]: Make description more informative.
Co-authored-by: Bruno Victal <mirai@makinata.eu>
---
gnu/packages/linux.scm | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ca223aea37..4c5d2fc4c7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2070,9 +2070,21 @@ (define-public psmisc
(home-page "https://gitlab.com/psmisc/psmisc")
(synopsis "Small utilities that use the proc file system")
(description
- "This PSmisc package is a set of some small useful utilities that
-use the proc file system. We're not about changing the world, but
-providing the system administrator with some help in common tasks.")
+ "psmisc is a set of small utilities that use the proc file-system.
+@table @command
+@item fuser
+Identifies processes using files or sockets.
+@item killall
+Kills processes by name.
+@item prtstat
+Prints statistics of a process.
+@item pslog
+Prints log path(s) of a process.
+@item pstree
+Shows the currently running processes as a tree.
+@item peekfd
+Shows the data travelling over a file descriptor.
+@end table")
(license license:gpl2+)))
(define-public util-linux
base-commit: 738b0e4ccc2bac3d77bb29dd6d51026d887d6b16
--
2.40.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#62348] [PATCH v3 2/3] gnu: psmisc: Use G-Expressions.
2023-08-24 16:52 ` [bug#62348] [PATCH v3 0/3] Improve psmisc description & update Bruno Victal
2023-08-24 16:54 ` [bug#62348] [PATCH v3 1/3] gnu: psmisc: Make description more informative Bruno Victal
@ 2023-08-24 16:54 ` Bruno Victal
2023-08-24 16:54 ` [bug#62348] [PATCH v3 3/3] gnu: psmisc: Update to 23.6 Bruno Victal
2 siblings, 0 replies; 12+ messages in thread
From: Bruno Victal @ 2023-08-24 16:54 UTC (permalink / raw)
To: 62348; +Cc: Bruno Victal
* gnu/packages/linux.scm (psmisc): Use G-Expressions.
---
gnu/packages/linux.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4c5d2fc4c7..3bd5624730 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2060,12 +2060,12 @@ (define-public psmisc
(base32 "12z5786dnf37n8wvv73wdcqp3nvsqzhwdk3ajna0mag4yz1fqdyw"))))
(build-system gnu-build-system)
(arguments
- `(,@(if (%current-target-system)
- '(#:configure-flags
- (list
- "ac_cv_func_malloc_0_nonnull=yes"
- "ac_cv_func_realloc_0_nonnull=yes"))
- '())))
+ (list
+ #:configure-flags
+ (if (%current-target-system)
+ #~(list "ac_cv_func_malloc_0_nonnull=yes"
+ "ac_cv_func_realloc_0_nonnull=yes")
+ #~'())))
(inputs (list ncurses))
(home-page "https://gitlab.com/psmisc/psmisc")
(synopsis "Small utilities that use the proc file system")
--
2.40.1
^ permalink raw reply related [flat|nested] 12+ messages in thread
* [bug#62348] [PATCH v3 3/3] gnu: psmisc: Update to 23.6.
2023-08-24 16:52 ` [bug#62348] [PATCH v3 0/3] Improve psmisc description & update Bruno Victal
2023-08-24 16:54 ` [bug#62348] [PATCH v3 1/3] gnu: psmisc: Make description more informative Bruno Victal
2023-08-24 16:54 ` [bug#62348] [PATCH v3 2/3] gnu: psmisc: Use G-Expressions Bruno Victal
@ 2023-08-24 16:54 ` Bruno Victal
2 siblings, 0 replies; 12+ messages in thread
From: Bruno Victal @ 2023-08-24 16:54 UTC (permalink / raw)
To: 62348; +Cc: Bruno Victal
* gnu/packages/linux.scm (psmisc): Update to 23.6.
---
gnu/packages/linux.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 3bd5624730..011313df4f 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -2050,14 +2050,14 @@ (define-public powerstat
(define-public psmisc
(package
(name "psmisc")
- (version "23.5")
+ (version "23.6")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://sourceforge/psmisc/psmisc/psmisc-"
version ".tar.xz"))
(sha256
- (base32 "12z5786dnf37n8wvv73wdcqp3nvsqzhwdk3ajna0mag4yz1fqdyw"))))
+ (base32 "0al2138z0m2bqrviv3zw2i2km4v8xg5wrw867li4jk4s2l3dwz95"))))
(build-system gnu-build-system)
(arguments
(list
--
2.40.1
^ permalink raw reply related [flat|nested] 12+ messages in thread