From patchwork Wed Oct 19 15:27:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lilah Tascheter X-Patchwork-Id: 43716 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 E65AA27BBEA; Wed, 19 Oct 2022 16:29:38 +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=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_MSPIKE_H2,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 A524A27BBE9 for ; Wed, 19 Oct 2022 16:29:38 +0100 (BST) Received: from localhost ([::1]:48580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olB0j-0002sd-H1 for patchwork@mira.cbaines.net; Wed, 19 Oct 2022 11:29:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olB0A-0002po-9h for guix-patches@gnu.org; Wed, 19 Oct 2022 11:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60680) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olB0A-0003mJ-1m for guix-patches@gnu.org; Wed, 19 Oct 2022 11:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olB09-0000hs-SU for guix-patches@gnu.org; Wed, 19 Oct 2022 11:29:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58638] [PATCH core-updates 1/2] build/gnu: Support compressing non-numeric man sections. Resent-From: Lilah Tascheter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Oct 2022 15:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58638 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58638@debbugs.gnu.org Cc: Lilah Tascheter Received: via spool by 58638-submit@debbugs.gnu.org id=B58638.16661932922648 (code B ref 58638); Wed, 19 Oct 2022 15:29:01 +0000 Received: (at 58638) by debbugs.gnu.org; 19 Oct 2022 15:28:12 +0000 Received: from localhost ([127.0.0.1]:59753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olAzL-0000ge-KE for submit@debbugs.gnu.org; Wed, 19 Oct 2022 11:28:11 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:56830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olAzJ-0000gQ-AG for 58638@debbugs.gnu.org; Wed, 19 Oct 2022 11:28:10 -0400 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=dtv7BqhI5GVzStJzYpvagfsCyN8l0vnv6zoSE7dhJmqmlhntWL8PQLhw/t11jx1r4fyVyGF+QWiNRWKh9mwyuosnDEKPz9+PKlotVD0MVkeQDB6KVFcCGumFYAwiWBozyHQQOnB7D7b5IhDgJHFj8C6N/uAn9ViZOdzAbkpE+Rbl3riwuXyJKeW+gelz/FyOhyUhRUhypXGrAVVmwhOaavPfwdvVv7SQfrRm6OGD50cSTOOxlp8VfWPB+74kFDLbKCe9nuDrfQg/jj2zH40tx5t/aHYVFH4cBmhEmUK2EEns+qg0I5omHRkr2cmw14usiHyK/WveVwGs+6ohrO8BJg==; s=purelymail2; d=lunabee.space; v=1; bh=pmCVwOeAbmXYcmaj2XymH8YfgdENcu3pEI5Sq7KyTXk=; h=Received:From:To:Subject; DKIM-Signature: a=rsa-sha256; b=BW1WmbtRpoT+p1+cFFSsYr5GyF5QTFwvWO8bx73nkbJWXJK7CzF4dIrFsPQPN74L9/9w1omuNPU3NU8S/u3fubcEKtX5hcwmIHqqbeqsPyANT1pybfPITnWm+UtBb3VuS9EXLryyCgNj2FKbXn18GkCwQYayGiKYa7gkhDssUV6FOtiDmde2vL4Umik/GxMMncZXEIymdI4vtJa8EZPT2QTHQBHtdTjjLCHzi6E9lnDjQcbJr9U443+EdRcN+xSP08omcTpU9HJlZCgUL3NF1shpl32Y0ssKaWnZo792EOdqEojChTz2ikA9cGjXKATGsB102RIrXNZIZmDlFEkkwg==; s=purelymail2; d=purelymail.com; v=1; bh=pmCVwOeAbmXYcmaj2XymH8YfgdENcu3pEI5Sq7KyTXk=; h=Feedback-ID:Received:From:To:Subject; Feedback-ID: 8937:2070:null:purelymail X-Pm-Original-To: 58638@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id 1390099367; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 19 Oct 2022 15:27:52 +0000 (UTC) Date: Wed, 19 Oct 2022 10:27:26 -0500 Message-Id: <0056846d80b8fd7d0dba7604891bc6c65f550f8b.1666192557.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 * guix/build/gnu-build-system.scm (compress-documentation) [maybe-compress]: Expand regex to include man sections with alphabetic suffixes. --- guix/build/gnu-build-system.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm index d84411c090..8f2997b4da 100644 --- a/guix/build/gnu-build-system.scm +++ b/guix/build/gnu-build-system.scm @@ -675,7 +675,7 @@ (define* (compress-documentation #:key outputs (define (maybe-compress output) (maybe-compress-directory (string-append output "/share/man") - "\\.[0-9]+$") + "\\.[0-9]+[:alpha:]*$") (maybe-compress-directory (string-append output "/share/info") "\\.info(-[0-9]+)?$")) From patchwork Wed Oct 19 15:27:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lilah Tascheter X-Patchwork-Id: 43717 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 5EF9027BBEA; Wed, 19 Oct 2022 16:29:41 +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=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_MSPIKE_H2,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 1AB6A27BBE9 for ; Wed, 19 Oct 2022 16:29:41 +0100 (BST) Received: from localhost ([::1]:45878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olB0m-0002qp-1T for patchwork@mira.cbaines.net; Wed, 19 Oct 2022 11:29:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olB0A-0002pp-MQ for guix-patches@gnu.org; Wed, 19 Oct 2022 11:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60681) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olB0A-0003mO-F1 for guix-patches@gnu.org; Wed, 19 Oct 2022 11:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olB0A-0000i0-9z for guix-patches@gnu.org; Wed, 19 Oct 2022 11:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58638] [PATCH core-updates 2/2] gnu: man-pages-posix: Remove redundant manpage compression. Resent-From: Lilah Tascheter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 19 Oct 2022 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58638 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58638@debbugs.gnu.org Cc: Lilah Tascheter Received: via spool by 58638-submit@debbugs.gnu.org id=B58638.16661933202691 (code B ref 58638); Wed, 19 Oct 2022 15:29:02 +0000 Received: (at 58638) by debbugs.gnu.org; 19 Oct 2022 15:28:40 +0000 Received: from localhost ([127.0.0.1]:59758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olAzn-0000hK-WE for submit@debbugs.gnu.org; Wed, 19 Oct 2022 11:28:40 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:56872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olAzd-0000gz-4s for 58638@debbugs.gnu.org; Wed, 19 Oct 2022 11:28:38 -0400 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=u69A+ik2CG09RTWxymuS+Qk3T0mAgCwpy/jzfoU0DotjhH2r0IqhidaMX7BETFjKhMff5W3mvm6cB2sMKwACLLarXqF62Jm2IlgEhRruvOacNDqr1fMxlxGlA7DjRidbuuG0cputOtrWqECOKHNBp6Zu1fNA906/213fRbnQXi9E/pRhiLwEX4bDi8cuF9iOwwQTYCDvDzasGA75uioJe5gPtoCnH+i2Pz63to4uWbU9ts9Cr0hysV1s+qCBr52d/h5wWJh/AJh++yd3cbgfhBz679cX8GwkMkQys7/c/NveQFZF29i0dZlcDSP/3S//ykT0IiOv0g/0KxaJoSFWuQ==; s=purelymail2; d=lunabee.space; v=1; bh=jKHMdFGyzuyK8yYfzvf0VTL+K+trqtL/mDiBC9WdR+k=; h=Received:From:To:Subject; DKIM-Signature: a=rsa-sha256; b=VFby6sunZhvGEzeLDfFpGjnRihpCMHA6miHUFQ9j7fL3ug1l+xL6tfTbCkaRGXUoZPPRGvvDGvb0vJ9SvM0H6isYmtq4C3IvSO54zhDWyF+6JrqfDCpNlbDC08B70qlsUxZl+FWrJJA5LXRTVeRK1OFj64P5Du6Di9QLCLB53ucLGIX/Fk6pwlJ827wit12BiC9UG1Dz4VY/jKd1o797gAIe2+j2ZcnaTj7oEwAdhQmTXCZspOd37CmLeqS50pY81J+l11pfzWEWtiFUMP2uGB4IpV/5nJUDjcK1stP/Qye/FGRU+tF5jvUCFAn6jUlmqSDZ7hw+42VfPOiNchLFXg==; s=purelymail2; d=purelymail.com; v=1; bh=jKHMdFGyzuyK8yYfzvf0VTL+K+trqtL/mDiBC9WdR+k=; h=Feedback-ID:Received:From:To:Subject; Feedback-ID: 8937:2070:null:purelymail X-Pm-Original-To: 58638@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -1879694555; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Wed, 19 Oct 2022 15:28:06 +0000 (UTC) Date: Wed, 19 Oct 2022 10:27:57 -0500 Message-Id: <26ddd60b3813d01749cee5d51d14fd5c762903c7.1666192557.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)[arguments]: Don't run build phase. --- gnu/packages/man.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/man.scm b/gnu/packages/man.scm index 9a3297fcaf..b56262d832 100644 --- a/gnu/packages/man.scm +++ b/gnu/packages/man.scm @@ -315,11 +315,11 @@ (define-public man-pages-posix (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") + #:make-flags ,#~(list (string-append "prefix=" #$output)) #:license-file-regexp "POSIX-COPYRIGHT" - #:phases (modify-phases %standard-phases (delete 'configure)))) + ;; The build phase only compresses documentation, which we already do. + #:phases (modify-phases %standard-phases (delete 'configure) + (delete 'build)))) (home-page "https://www.kernel.org/doc/man-pages/") (synopsis "Man pages from the POSIX.1-2013 standard") (description