From patchwork Wed Nov 13 12:01:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Quanrong X-Patchwork-Id: 70358 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8CDB227BBE9; Wed, 13 Nov 2024 14:09:49 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0473C27BBE2 for ; Wed, 13 Nov 2024 14:09:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBE3X-0001xZ-R3; Wed, 13 Nov 2024 09:09:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBE0R-0000bU-Ax for guix-patches@gnu.org; Wed, 13 Nov 2024 09:06:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBE0Q-000685-TK for guix-patches@gnu.org; Wed, 13 Nov 2024 09:06:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=jK0tvqAFCrmRzQlG7gsPlaTHyCFiWJD80C2zHMcTlfE=; b=R0YMkBNZEVAQYzqQG4JSpLfoZxCV2tiRslQkDNPUh5qciuZrAFLdzTqw7DPqTKMD/SqRvVdQUmAlpdSFxAOh32YKXSWduQDQZfwQ1l4P30tUAKgoBBO0JYPNVl+sHRHWvPdwBjrcJZvAxE9NfkGi1D1k2OeakrJiyTPp3OwM4VdNpyskbNpD5iLeVhNIZouYfoW0Vwofy7WWjZBa8zaaj6yao/5bOtKIx3eDIBGGYwiI4SWCTRFxqd69p1DF377s5QldUhHRUkFllFU099EHhLtRVrhjK2PDW8QIZjHUBzE5glwlvWZIGV2xbsnc7NWHE57HWa5TUKySybMZa34uzQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBE0Q-0000Ri-Lw for guix-patches@gnu.org; Wed, 13 Nov 2024 09:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74340] Subject: [PATCH 1/1] gnu: Add stdman Resent-From: Quanrong Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 13 Nov 2024 14:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74340 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74340@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17315067281641 (code B ref -1); Wed, 13 Nov 2024 14:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Nov 2024 14:05:28 +0000 Received: from localhost ([127.0.0.1]:41324 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBDzr-0000QO-5u for submit@debbugs.gnu.org; Wed, 13 Nov 2024 09:05:28 -0500 Received: from lists.gnu.org ([209.51.188.17]:47584) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBC3z-0003K1-OR for submit@debbugs.gnu.org; Wed, 13 Nov 2024 07:01:36 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBC3y-0003bP-If for guix-patches@gnu.org; Wed, 13 Nov 2024 07:01:35 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tBC3w-0006ws-QG for guix-patches@gnu.org; Wed, 13 Nov 2024 07:01:34 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4XpMLv2bqSz9tDQ for ; Wed, 13 Nov 2024 13:01:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1731499271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding:autocrypt:autocrypt; bh=jK0tvqAFCrmRzQlG7gsPlaTHyCFiWJD80C2zHMcTlfE=; b=wRiaDR8R8ehRcWMJDojZydVcVxXiLGu9DHiEawUE7KjuHWmbmybS0Vp0Vch9xu/eWIsRJq xXIwLAZGDG5sq3FX9HwY4GSzLrzWfc54In8lsjPgAZCFP8ULE/8W99ulOzk9eD0EXGwxBb FT5VSFw+HldurmOlSKPr5OVvU6SfY6g3Mf/Bt6b3CwG1ZTC/4gKJ8q03jFWbz3/Kvfb/Cl yQReO4AHlrBSBTKLwsL/7wTbABhA+psXizh6UVoASiqhqWUbJHMphxd+lbASiu6AdmesUp yVk5grl/LVVARi1qD19WPhT9LHs+WmhYipBD3NobUDdiFaA2OD1LDwQ/uko77Q== Message-ID: <022e3f60-916c-4f89-b0cf-8647cc67d67c@mailbox.org> Date: Wed, 13 Nov 2024 14:01:09 +0200 MIME-Version: 1.0 Content-Language: en-US Autocrypt: addr=quanrong@mailbox.org; keydata= xjMEXzVXOhYJKwYBBAHaRw8BAQdAeV1PZETqdYSWKXvjaQvW/ZxH1qzGPj6VOUSfb8NrwZfN FjxxdWFucm9uZ0BtYWlsYm94Lm9yZz7CiwQQFggAMwIZAQUCXzVXOgIbAwQLCQgHBhUICQoL AgMWAgEWIQSzlJJOBRtHeAIgnZD2jh7SIrkW/AAKCRD2jh7SIrkW/BJqAQDElzT+1zLmB6ea 1W4rCdXb24ixtS3eMJMc3SOs+B67ygD/VfM1sLuDr68Bruvxz5JLSfRnbfHPzMOTOD0AXKRj 3g/OOARfNVc6EgorBgEEAZdVAQUBAQdAcPfPBXKr57IFDIfZtWPGRWiYIGcSASTJ2BlrkVzv RE4DAQgHwngEGBYIACAFAl81VzoCGwwWIQSzlJJOBRtHeAIgnZD2jh7SIrkW/AAKCRD2jh7S IrkW/Aq0AQDIQcD+w8jgbGrxsq8A1AeGhWc26fGkh6Bs7Vp/deUxfgD/REXV5Xq9QJfdhi/R d1vF/xjFvKSOHUQ+fUGipDg3pgs= X-MBO-RS-META: g9s5jtpshpk8z5ntnsuk4p7p9nzk1ngd X-MBO-RS-ID: ede746c5f0edebaa7d5 Received-SPF: pass client-ip=80.241.56.152; envelope-from=quanrong@mailbox.org; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 13 Nov 2024 09:05:26 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Wed, 13 Nov 2024 09:09:03 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Quanrong X-ACL-Warn: , Quanrong via Guix-patches X-Patchwork-Original-From: Quanrong via Guix-patches via From: Quanrong Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/documentation.scm (stdman): New variable. Change-Id: I4ed70b6ad4208bde4df13d45fd7241096f2469a1 --- gnu/packages/documentation.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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 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 ;;; Copyright © 2023 Janneke Nieuwenhuizen ;;; Copyright © 2024 Felix Gruber +;;; Copyright © 2024 Tomás Ortín Fernández ;;; ;;; 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}