GNU bug report logs - #48016
[PATCH] gnu: direnv: Install manpages

Previous Next

Package: guix-patches;

Reported by: Dion Mendel <guix <at> dm9.info>

Date: Sun, 25 Apr 2021 11:44:01 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

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 48016 in the body.
You can then email your comments to 48016 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#48016; Package guix-patches. (Sun, 25 Apr 2021 11:44:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dion Mendel <guix <at> dm9.info>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 25 Apr 2021 11:44:02 GMT) Full text and rfc822 format available.

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

From: Dion Mendel <guix <at> dm9.info>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: direnv: Install manpages
Date: Sun, 25 Apr 2021 19:43:08 +0800
[Message part 1 (text/plain, inline)]
Hi guix,

The direnv package has manpages in the source repository, yet none are 
currently installed.  This patch installs the manpages.

The patch was tested by installing and running direnv locally and 
viewing the manpages with man-db.
[0001-gnu-direnv-Install-manpages.patch (text/x-diff, attachment)]

Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Sun, 25 Apr 2021 17:45:01 GMT) Full text and rfc822 format available.

Notification sent to Dion Mendel <guix <at> dm9.info>:
bug acknowledged by developer. (Sun, 25 Apr 2021 17:45:01 GMT) Full text and rfc822 format available.

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

From: Leo Famulari <leo <at> famulari.name>
To: Dion Mendel <guix <at> dm9.info>
Cc: 48016-done <at> debbugs.gnu.org
Subject: Re: [bug#48016] [PATCH] gnu: direnv: Install manpages
Date: Sun, 25 Apr 2021 13:44:06 -0400
On Sun, Apr 25, 2021 at 07:43:08PM +0800, Dion Mendel wrote:
> The direnv package has manpages in the source repository, yet none are
> currently installed.  This patch installs the manpages.
> 
> The patch was tested by installing and running direnv locally and viewing
> the manpages with man-db.

Good catch and thanks for the patch!

> From 87fbd9f5d183b1912db186e7c5879566267655b8 Mon Sep 17 00:00:00 2001
> From: Dion Mendel <guix <at> dm9.info>
> Date: Sun, 25 Apr 2021 18:57:21 +0800
> Subject: [PATCH] gnu: direnv: Install manpages
> 
> * gnu/packages/shellutils.scm (direnv): Install manpages.

I tweaked the commit message and added you to the list authors of
'gnu/packages/shellutils.scm' ...

> +         (add-after 'install 'install-manpages
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             (let* ((out (assoc-ref outputs "out"))
> +                    (man (string-append out "/share/man/man1")))
> +               (mkdir-p man)
> +               (with-directory-excursion "src/github.com/direnv/direnv"
> +                 (install-file "man/direnv.1" man)
> +                 (install-file "man/direnv-stdlib.1" man)
> +                 (install-file "man/direnv.toml.1" man)
> +               )
> +               #t)))

... and I also removed this #t because it will not be necessary soon
enough. I know that you were probably warned to include it, so I'm sorry
about the contradictory advice.

Pushed as 862a88612f903ffe5cca1213ba40010876d19c62




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 24 May 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 335 days ago.

Previous Next


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