GNU bug report logs - #64672
[PATCH] gnu: Add stdman.

Previous Next

Package: guix-patches;

Reported by: Luis Henrique Gomes Higino <luishenriquegh2701 <at> gmail.com>

Date: Sun, 16 Jul 2023 22:10:01 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 64672 in the body.
You can then email your comments to 64672 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#64672; Package guix-patches. (Sun, 16 Jul 2023 22:10:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Luis Henrique Gomes Higino <luishenriquegh2701 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 16 Jul 2023 22:10:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Luis Henrique Gomes Higino <luishenriquegh2701 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Luis Henrique Gomes Higino <luishenriquegh2701 <at> gmail.com>
Subject: [PATCH] gnu: Add stdman.
Date: Sun, 16 Jul 2023 19:03:11 -0300
* gnu/packages/cpp.scm (stdman): New variable.
---
Hi Guix,

this commit adds a package for the stdman [0] generated man pages. As they already provide the man pages generated with the latest version on the repository, this package basically clones their repo and moves the pages to the package's output. If you think it's better to build the program and generate the man pages instead, let me know!

Regards,
Luis Higino

 gnu/packages/cpp.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index ec1f4cd325..d737c4aa76 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2730,3 +2730,34 @@ (define-public tl-optional
 the std::optional for C++11/14/17, with support for monadic operations added in
 C++23.")
     (license license:cc0)))
+
+(define-public stdman
+  (package
+    (name "stdman")
+    (version "2022.07.30")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/jeaye/stdman")
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1zbb55v149c76rfrvdxpxv2wrfx7mlfvh1jza7q9vshjak2j06h0"))))
+    (build-system gnu-build-system)
+    (arguments
+     (list #:configure-flags #~(list (string-append "--prefix="
+                                                    #$output))
+           #:phases #~(modify-phases %standard-phases
+                        (delete 'check)
+                        (delete 'build))))
+    (home-page "https://github.com/jeaye/stdman")
+    (synopsis "Formatted C++20 stdlib man pages (cppreference)")
+    (description
+     "stdman is a tool that parses archived HTML files from
+cppreference and generates groff-formatted manual pages for Unix-based
+systems.  The goal is to provide excellent formatting for easy
+readability.
+
+This package includes the generated man pages.")
+    (license license:expat)))

base-commit: 796c823a0d1d0aec9f4af908eca462e58e5675b5
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#64672; Package guix-patches. (Sun, 16 Jul 2023 22:15:01 GMT) Full text and rfc822 format available.

Message #8 received at 64672 <at> debbugs.gnu.org (full text, mbox):

From: Luis Henrique Gomes Higino <luishenriquegh2701 <at> gmail.com>
To: 64672 <at> debbugs.gnu.org
Subject: Forgot link
Date: Sun, 16 Jul 2023 19:11:11 -0300
Hi Guix,

forgot to add the link in previous email, it follows below. Also, 
I added a link to the cppreference website [1] as I also mentioned 
it on the message.

[0]: https://github.com/jeaye/stdman
[1]: https://en.cppreference.com/

Regards,
-- 
Luis H. Higino




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 27 Feb 2025 00:22:01 GMT) Full text and rfc822 format available.

Notification sent to Luis Henrique Gomes Higino <luishenriquegh2701 <at> gmail.com>:
bug acknowledged by developer. (Thu, 27 Feb 2025 00:22:02 GMT) Full text and rfc822 format available.

Message #13 received at 64672-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: 64672-done <at> debbugs.gnu.org
Cc: Luis Henrique Gomes Higino <luishenriquegh2701 <at> gmail.com>
Subject: Re: [PATCH] gnu: Add stdman.
Date: Thu, 27 Feb 2025 01:21:18 +0100
Hello,

> forgot to add the link in previous email, it follows below. Also, 
> I added a link to the cppreference website [1] as I also mentioned 
> it on the message.
> 
> [0]: https://github.com/jeaye/stdman
> [1]: https://en.cppreference.com/

Thank you for your patch, and sorry for the delay of response.

I finally wrote a definition that builds the stdman program and
generates the man pages, based on your initial work.

Closing.

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:25 GMT) Full text and rfc822 format available.

This bug report was last modified 42 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.