From patchwork Mon Apr 25 06:40:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andrew Tropin X-Patchwork-Id: 38886 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 0BA4127BBEA; Mon, 25 Apr 2022 08:50:57 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 C7C3827BBE9 for ; Mon, 25 Apr 2022 08:50:56 +0100 (BST) Received: from localhost ([::1]:47326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nitUl-0004zj-SZ for patchwork@mira.cbaines.net; Mon, 25 Apr 2022 03:50:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nitSx-0004yT-3n for guix-patches@gnu.org; Mon, 25 Apr 2022 03:49:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nitSw-0005DF-MD for guix-patches@gnu.org; Mon, 25 Apr 2022 03:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nitSw-0001ll-E1 for guix-patches@gnu.org; Mon, 25 Apr 2022 03:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55107] [PATCH] gnu: zsh: Build and install info pages. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 25 Apr 2022 07:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55107 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55107@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16508729116760 (code B ref -1); Mon, 25 Apr 2022 07:49:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Apr 2022 07:48:31 +0000 Received: from localhost ([127.0.0.1]:33061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nitSN-0001kv-QQ for submit@debbugs.gnu.org; Mon, 25 Apr 2022 03:48:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:56240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nitSM-0001ko-Pd for submit@debbugs.gnu.org; Mon, 25 Apr 2022 03:48:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nitSI-0004qn-G9 for guix-patches@gnu.org; Mon, 25 Apr 2022 03:48:24 -0400 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]:35773) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nitSG-0005AW-8u for guix-patches@gnu.org; Mon, 25 Apr 2022 03:48:21 -0400 Received: (Authenticated sender: andrew@trop.in) by mail.gandi.net (Postfix) with ESMTPSA id 8F848100002 for ; Mon, 25 Apr 2022 07:48:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=gm1; t=1650872894; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=Jk34DvJnePRdVR0UdIqbhc4hsAcy87Y1qzD0+gSMtHA=; b=kibAUzK5zkYRBW/3kpM4Cov8xDzHdbsFIeXyJRUp5xuT4RX+dGkTl5CEigKcvUhwfUsA5X iaJqYrNQx+gzf+HeRCmym1HykdMdff0l/ijD361aeRuL+X5T4yEhJnQHcwhcfpQhl5y4AU v4UgS77lnv+AnxnJ4Auv1uNfsdetzXS5FjfC8EMGJtIhxkVAkCf6/PNgc0MK16k23yysZp VLdRaBPfx5T7OrsATXwYs03puUJDZbNPiiH0vpEEprOo14XoEXXdnC9eZAH/JQbVGCrVCe VNIVbHe0um4DHWsVFQjJnLq1Vb0rRSDNtuGCnq1jZwmFvL1KmJ6DjcADIXjC5A== From: Andrew Tropin Date: Mon, 25 Apr 2022 09:40:02 +0300 Message-ID: <877d7dd2o5.fsf@trop.in> MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4b98:dc4:8::231; envelope-from=andrew@trop.in; helo=relay11.mail.gandi.net 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/shells.scm (zsh)[arguments]: Build and install info pages. --- gnu/packages/shells.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 3a48bc7dbf..7158a5bcfb 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -19,6 +19,7 @@ ;;; Copyright © 2020, 2022 Marius Bakke ;;; Copyright © 2021, 2022 Nicolas Goaziou ;;; Copyright © 2021, 2022 Felix Gruber +;;; Copyright © 2022 Andrew Tropin ;;; ;;; This file is part of GNU Guix. ;;; @@ -64,6 +65,7 @@ (define-module (gnu packages shells) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages xorg) + #:use-module (gnu packages texinfo) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) @@ -522,9 +524,13 @@ (define-public zsh (("command -pv") "command -v") (("command -p") "command ") (("'command' -p") "'command' ")) - #t))))) + #t)) + (add-after 'build 'make-info + (lambda _ (invoke "make" "info"))) + (add-after 'build 'install-info + (lambda _ (invoke "make" "install.info")))))) (native-inputs (list autoconf)) - (inputs (list ncurses pcre perl)) + (inputs (list ncurses pcre perl texinfo)) (synopsis "Powerful shell for interactive use and scripting") (description "The Z shell (zsh) is a Unix shell that can be used as an interactive login shell and as a powerful command interpreter