From patchwork Sat Aug 27 23:37:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lilah Tascheter X-Patchwork-Id: 42012 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 393AC27BBEA; Sun, 28 Aug 2022 00:39:14 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 EED7E27BBE9 for ; Sun, 28 Aug 2022 00:39:13 +0100 (BST) Received: from localhost ([::1]:49964 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oS5OT-0002wX-5I for patchwork@mira.cbaines.net; Sat, 27 Aug 2022 19:39:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34424) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oS5OJ-0002wP-5v for guix-patches@gnu.org; Sat, 27 Aug 2022 19:39:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oS5OI-00074Q-TO for guix-patches@gnu.org; Sat, 27 Aug 2022 19:39:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oS5OI-0000gQ-Gy for guix-patches@gnu.org; Sat, 27 Aug 2022 19:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57347] [PATCH v2 1/2] packages: Add man-pages-posix. Resent-From: Lilah Tascheter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Aug 2022 23:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57347 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 57347@debbugs.gnu.org Cc: Lilah Tascheter Received: via spool by 57347-submit@debbugs.gnu.org id=B57347.16616435062584 (code B ref 57347); Sat, 27 Aug 2022 23:39:02 +0000 Received: (at 57347) by debbugs.gnu.org; 27 Aug 2022 23:38:26 +0000 Received: from localhost ([127.0.0.1]:57280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oS5Ni-0000fb-4F for submit@debbugs.gnu.org; Sat, 27 Aug 2022 19:38:26 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:40252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oS5Ne-0000fO-CX for 57347@debbugs.gnu.org; Sat, 27 Aug 2022 19:38:24 -0400 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=MEaCW6AQh2UERUtM/Wn1NTZ5QYExUJatbllOL8Lybzri8G4FBUPxmAEXL3kjzyANnmi/aWm3vRjT7eFhauv+3g/ufoXHeVI8w4fj5WqvDOajZjtAMQmKt45ZDR5kdDI9/iNwtIeBflJmSfwLF2k4BVqa9YtpTr5gPkcw5Enr8BWp8bUo4CtcHsKO9zkGVvVsiQ8L0fuot/4W9p/Nv3vrAEXet7XUhib9vBTh0hXEJ7C/ZJZuOzlTPgC+cGQQa9NFpIWwBXHAnrk/BKl1I690uKMN5FO+Uc4+IKT+uLT8LEd+UlQlDFbQUpr/hNuC8EFR2e4I0SVwruIsLhYfImoYSw==; s=purelymail1; d=lunabee.space; v=1; bh=+VIwf5yfekMUWft+InlKLJEQ5KcXE2P6LX6eV8TybRA=; h=Received:From:To; DKIM-Signature: a=rsa-sha256; b=KeljDkIXmoZ2x/Phxd9Aud3AxAsDtR8GfYXsRsj6nKXGjPLtZLtrWTbG6njVXJXtMMIOjFcWfIZV6LS16BOBAXVqQUVgzgo9pm5xOfX59jeNSui3T8ZS8Z8zqlZQiUOuZnFzpgM5cUNQPu0MJhvNexo1GW2gNVW21+6+i0L5SFNU4AymNqZKkzaWxcFEhpmieFJrLKrGH/3HTWka6YFcEBys3acnfcCU8I9tRS1G4z3Zbf+9HbM7iVm9knUVsPCp69738CyYHDa//YW4WxcJPnbNb/XuKyLJNss2yhbZGm5LZtz3PViNhaUg+kT67yTE2+rOulP6cjpB4HoftMRoCQ==; s=purelymail1; d=purelymail.com; v=1; bh=+VIwf5yfekMUWft+InlKLJEQ5KcXE2P6LX6eV8TybRA=; h=Feedback-ID:Received:From:To; Feedback-ID: 8937:2070:null:purelymail X-Pm-Original-To: 57347@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -536187997; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 27 Aug 2022 23:38:04 +0000 (UTC) Date: Sat, 27 Aug 2022 18:37:54 -0500 Message-Id: <467b59d4f414a8c1c58942bbc61c057c04da1aca.1661639742.git.lilah@lunabee.space> In-Reply-To: References: MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Lilah Tascheter X-ACL-Warn: , Lilah Tascheter via Guix-patches X-Patchwork-Original-From: Lilah Tascheter via Guix-patches via From: Lilah Tascheter X-getmail-retrieved-from-mailbox: Patches * gnu/packages/man.scm (man-pages-posix): New variable. --- gnu/packages/man.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) base-commit: ff3cecffafad0ddf5cc2af6cb676e73bcf58e431 diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index 1c1d82758b..a3c6bb6aa4 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -302,6 +302,38 @@ (define-public man-pages ;; Each man page has its own license; some are GPLv2+, some are MIT/X11. (license license:gpl2+))) +(define-public man-pages-posix + (package + (name "man-pages-posix") + (version "2013-a") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kernel.org/linux/docs/man-pages/" + "man-pages-posix/man-pages-posix-" version + ".tar.xz")) + (sha256 + (base32 "0258j05zdrxpgdj8nndbyi7bvrs8fxdksb0xbfrylzgzfmf3lqqr")))) + (build-system gnu-build-system) + (arguments + `(#:tests? #f + ;; The compress-documentation phase doesn't pick up on our manpages as + ;; its regex doesn't support trailing letters, so manually compress. + #:make-flags ,#~(list (string-append "prefix=" #$output) "gz") + #:license-file-regexp "POSIX-COPYRIGHT" + #:phases (modify-phases %standard-phases (delete 'configure)))) + (home-page "https://www.kernel.org/doc/man-pages/") + (synopsis "Man pages from the POSIX.1-2013 standard") + (description "Excerpts from the POSIX.1-2008 and TC1 standards +(collectively, POSIX.1-2013) in manual page form. While the Linux man-pages +project documents the system as it exists on Linux- and glibc-based systems, +this package documents the portable software API as nominally implemented by +many unix-likes.") + (license (license:fsdg-compatible "file://POSIX-COPYRIGHT" + "Redistribution of this material is permitted so long as this +notice and the corresponding notices within each POSIX manual page are retained +on any distribution, and the nroff source is included.")))) + (define-public help2man ;; TODO: Manual pages for languages not available from the implicit ;; input "locales" contain the original (English) text. From patchwork Sat Aug 27 23:37:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lilah Tascheter X-Patchwork-Id: 42013 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 DD18627BBEA; Sun, 28 Aug 2022 00:40:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 97FCA27BBE9 for ; Sun, 28 Aug 2022 00:40:35 +0100 (BST) Received: from localhost ([::1]:46640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oS5Pm-0003AD-Ny for patchwork@mira.cbaines.net; Sat, 27 Aug 2022 19:40:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oS5PI-000390-48 for guix-patches@gnu.org; Sat, 27 Aug 2022 19:40:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39304) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oS5PF-00078R-Un for guix-patches@gnu.org; Sat, 27 Aug 2022 19:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oS5PF-0000i4-MY for guix-patches@gnu.org; Sat, 27 Aug 2022 19:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57347] [PATCH v2 2/2] packages: Update man-pages package to newer style. Resent-From: Lilah Tascheter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Aug 2022 23:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57347 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos , 57347@debbugs.gnu.org Cc: Lilah Tascheter Received: via spool by 57347-submit@debbugs.gnu.org id=B57347.16616435942710 (code B ref 57347); Sat, 27 Aug 2022 23:40:01 +0000 Received: (at 57347) by debbugs.gnu.org; 27 Aug 2022 23:39:54 +0000 Received: from localhost ([127.0.0.1]:57286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oS5P7-0000hd-Ka for submit@debbugs.gnu.org; Sat, 27 Aug 2022 19:39:53 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:40326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oS5P5-0000hR-Q5 for 57347@debbugs.gnu.org; Sat, 27 Aug 2022 19:39:52 -0400 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=OUf46fSiICEhVc6Vv+759FSvjLxXLRAzORJEE5SGFiU9Y+7zFP16u3mr7gXMQIE1LfSkeSHtcZwrE8BGuhb8b/qOAjcG2h9tPbGPUqrNbS4apM3SmNZiWtuj7xgztZJUufKqS1TzDfc+hSPp3gmBO9Ipmns+uvLFd0nkPyt5N0x/k3YHzc7BqY3um+/oL0pPTac0mMOZoFZkE+EXa/PAZ4KhAhKM6BhSp9wEhIRC3oLpibZKEUFRdmThM9KKoHniLS1QrFJu3XWeyHX2r3pS2mJ6DZ9P2eef8gIEwCAkRj6mI/RUbJND35NwIJfD4MbH8PhK5H82sJ/IRTOUfIm/lA==; s=purelymail1; d=lunabee.space; v=1; bh=DcwmsLsc9mQDxvvnuBLf7ZQHT1HMKHsEqFV5L9XM4pw=; h=Received:From:To; DKIM-Signature: a=rsa-sha256; b=pdt5eqa6c00CeTfeWx9LDZ8MfzLWt7g0RW/gukyBwNiLrXh4eFGDvdv9WDlcm7xWQzj2H0l3XDZol/I/VKgP+yMkIvuh+uOkwfJ5AIf7LHPByBWsmECBdla7ew1Gr9wb9Ewgyc49ntmwf9cTCvPLXwWYykUSKLWxs2dDk3iyW/aiFpo48FkMj7bVWdYqOp9a86fC32jVvdlBgG9fta9xFps09eDoRNPJxBB1lHCgURjAia0DOOwHBWiVJLJLvcY+W+0SCOlkmJYwpc70Uf9na0jxJp/V+CNc6bTTH5/zpq1isGKqlEo7UR2Q4fNR9WPuj+1WOtcJfZ40dEc9H3Dogw==; s=purelymail1; d=purelymail.com; v=1; bh=DcwmsLsc9mQDxvvnuBLf7ZQHT1HMKHsEqFV5L9XM4pw=; h=Feedback-ID:Received:From:To; Feedback-ID: 8937:2070:null:purelymail X-Pm-Original-To: 57347@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -536187997; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 27 Aug 2022 23:39:39 +0000 (UTC) Date: Sat, 27 Aug 2022 18:37:55 -0500 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Lilah Tascheter X-ACL-Warn: , Lilah Tascheter via Guix-patches X-Patchwork-Original-From: Lilah Tascheter via Guix-patches via From: Lilah Tascheter X-getmail-retrieved-from-mailbox: Patches * gnu/packages/man.scm (man-pages)[arguments]: Refer to package output using gexps instead of assoc-ref on a parameter. --- gnu/packages/man.scm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index a3c6bb6aa4..863006f3cc 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -282,7 +282,7 @@ (define-public man-pages (base32 "12vb15gs56g8wl5nqlm4llr508brh4m2lfknhq4lizbxzqzawkb1")))) (build-system gnu-build-system) (arguments - '(#:phases (modify-phases %standard-phases (delete 'configure)) + `(#:phases (modify-phases %standard-phases (delete 'configure)) ;; The 'all' target depends on three targets that directly populate ;; $(MANDIR) based on its current contents. Doing that in parallel @@ -290,9 +290,7 @@ (define-public man-pages #:parallel-build? #f #:tests? #f - #:make-flags (list (string-append "mandir=" - (assoc-ref %outputs "out") - "/share/man")))) + #:make-flags ,#~(list (string-append "mandir=" #$output "/share/man")))) (home-page "https://www.kernel.org/doc/man-pages/") (synopsis "Development manual pages from the Linux project") (description