GNU bug report logs -
#74340
Subject: [PATCH 1/1] gnu: Add stdman
Previous Next
Reported by: Quanrong <quanrong <at> mailbox.org>
Date: Wed, 13 Nov 2024 14:06:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74340 in the body.
You can then email your comments to 74340 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#74340
; Package
guix-patches
.
(Wed, 13 Nov 2024 14:06:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Quanrong <quanrong <at> mailbox.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 13 Nov 2024 14:06:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/documentation.scm (stdman): New variable.
Change-Id: I4ed70b6ad4208bde4df13d45fd7241096f2469a1
---
gnu/packages/documentation.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index f0e37561f7..928e022239 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2022 Maxim Cournoyer <maxim.counoyer <at> gmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke <at> gnu.org>
;;; Copyright © 2024 Felix Gruber <felgru <at> posteo.net>
+;;; Copyright © 2024 Tomás Ortín Fernández <quanrong <at> mailbox.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -566,3 +567,27 @@ (define-public stddoc
supported programming languages. Markdeep code comments are extracted
from stdin and
printed into stdout as a HTML file.")
(license license:unlicense))))
+
+(define-public stdman
+ (let ((commit "b7070fe10143411a8d69fe3a9f75e90008a8386d")
+ (revision "0")) ;; Last release is outdated
+ (package
+ (name "stdman")
+ (version (git-version "20240610" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (commit commit)
+ (url "https://github.com/jeaye/stdman")))
+ (sha256
+ (base32 "0h1gfw4sxic5gx073zmshg4qyz2g142ckgzyj30pk8j708mnl8pz"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:tests? #f ;; There are no tests
+ #:phases #~(modify-phases %standard-phases
+ (delete 'build))))
+ (description "Formatted C++ @code{stdlib} man pages from
cppreference")
+ (synopsis "stdman is a tool that provides C++ @code{stdlib}
documentation archived from cppreference as groff-formated man pages,
accessible from the @code{man} command.")
+ (home-page "https://github.com/jeaye/stdman")
+ (license license:expat))))
base-commit: 1f057603ef59c7b9c32f610a897321fd75dc4dad
--
2.46.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#74340
; Package
guix-patches
.
(Thu, 14 Nov 2024 16:08:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 74340 <at> debbugs.gnu.org (full text, mbox):
Hi,
Thank you for your patch, the package works well but there are a few
style errors:
> * gnu/packages/documentation.scm (stdman): New variable.
>
> Change-Id: I4ed70b6ad4208bde4df13d45fd7241096f2469a1
> ---
> gnu/packages/documentation.scm | 25 +++++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
>
> diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
> index f0e37561f7..928e022239 100644
> --- a/gnu/packages/documentation.scm
> +++ b/gnu/packages/documentation.scm
> @@ -14,6 +14,7 @@
> ;;; Copyright © 2022 Maxim Cournoyer <maxim.counoyer <at> gmail.com>
> ;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke <at> gnu.org>
> ;;; Copyright © 2024 Felix Gruber <felgru <at> posteo.net>
> +;;; Copyright © 2024 Tomás Ortín Fernández <quanrong <at> mailbox.org>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -566,3 +567,27 @@ (define-public stddoc
> supported programming languages. Markdeep code comments are extracted
> from stdin and
> printed into stdout as a HTML file.")
> (license license:unlicense))))
> +
> +(define-public stdman
> + (let ((commit "b7070fe10143411a8d69fe3a9f75e90008a8386d")
> + (revision "0")) ;; Last release is outdated
> + (package
> + (name "stdman")
> + (version (git-version "20240610" revision commit))
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (commit commit)
> + (url "https://github.com/jeaye/stdman")))
> + (sha256
> + (base32 "0h1gfw4sxic5gx073zmshg4qyz2g142ckgzyj30pk8j708mnl8pz"))))
> + (build-system gnu-build-system)
> + (arguments
> + (list
> + #:tests? #f ;; There are no tests
There should be a dot at the end of comments, and only one semicolon if
it’s a margin comment.
> + #:phases #~(modify-phases %standard-phases
> + (delete 'build))))
> + (description "Formatted C++ @code{stdlib} man pages from
> cppreference")
> + (synopsis "stdman is a tool that provides C++ @code{stdlib}
> documentation archived from cppreference as groff-formated man pages,
> accessible from the @code{man} command.")
Description and synopsis are swapped (synopsis should be the small one).
> + (home-page "https://github.com/jeaye/stdman")
> + (license license:expat))))
>
> base-commit: 1f057603ef59c7b9c32f610a897321fd75dc4dad
> --
> 2.46.0
I’m sending an updated patch with these small modifications.
Have a good day,
Noé
Information forwarded
to
quanrong <at> mailbox.org, guix-patches <at> gnu.org
:
bug#74340
; Package
guix-patches
.
(Thu, 14 Nov 2024 16:08:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 74340 <at> debbugs.gnu.org (full text, mbox):
From: Quanrong <quanrong <at> mailbox.org>
* gnu/packages/documentation.scm (stdman): New variable.
Change-Id: I4ed70b6ad4208bde4df13d45fd7241096f2469a1
---
gnu/packages/documentation.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index f0e37561f7..44ab571ff8 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -14,6 +14,7 @@
;;; Copyright © 2022 Maxim Cournoyer <maxim.counoyer <at> gmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke <at> gnu.org>
;;; Copyright © 2024 Felix Gruber <felgru <at> posteo.net>
+;;; Copyright © 2024 Tomás Ortín Fernández <quanrong <at> mailbox.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -566,3 +567,29 @@ (define-public stddoc
supported programming languages. Markdeep code comments are extracted from stdin and
printed into stdout as a HTML file.")
(license license:unlicense))))
+
+(define-public stdman
+ (let ((commit "b7070fe10143411a8d69fe3a9f75e90008a8386d")
+ (revision "0")) ;; Last release is outdated
+ (package
+ (name "stdman")
+ (version (git-version "20240610" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (commit commit)
+ (url "https://github.com/jeaye/stdman")))
+ (sha256
+ (base32 "0h1gfw4sxic5gx073zmshg4qyz2g142ckgzyj30pk8j708mnl8pz"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:tests? #f ; There are no tests.
+ #:phases #~(modify-phases %standard-phases
+ (delete 'build))))
+ (synopsis "Formatted C++ @code{stdlib} man pages from cppreference")
+ (description "stdman is a tool that provides C++ @code{stdlib} documentation
+archived from cppreference as groff-formated man pages, accessible from the
+@code{man} command.")
+ (home-page "https://github.com/jeaye/stdman")
+ (license license:expat))))
base-commit: b790db7589858fc77989b4d1f369c52bca6d6e7c
--
2.46.0
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Thu, 27 Feb 2025 00:27:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Quanrong <quanrong <at> mailbox.org>
:
bug acknowledged by developer.
(Thu, 27 Feb 2025 00:27:02 GMT)
Full text and
rfc822 format available.
Message #16 received at 74340-done <at> debbugs.gnu.org (full text, mbox):
Hello,
> From: Quanrong <quanrong <at> mailbox.org>
>
> * gnu/packages/documentation.scm (stdman): New variable.
Thank you. I took a slightly different approach to package stdman, tho.
Note this is actually a duplicate of
<https://issues.guix.gnu.org/64672>.
I’m closing this one.
Regards,
--
Nicolas Goaziou
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 27 Mar 2025 11:24:15 GMT)
Full text and
rfc822 format available.
This bug report was last modified 101 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.