GNU bug report logs - #27004
[PATCH] * gnu: surfraw: Fix broken symlinks in manpages.

Previous Next

Package: guix-patches;

Reported by: ng0 <at> pragmatique.xyz

Date: Sat, 20 May 2017 09:50:02 UTC

Severity: normal

Tags: patch

Done: Kei Kebreau <kei <at> openmailbox.org>

Bug is archived. No further changes may be made.

Full log


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

From: Kei Kebreau <kei <at> openmailbox.org>
To: ng0 <at> pragmatique.xyz
Cc: 27004-done <at> debbugs.gnu.org
Subject: Re: bug#27004: [PATCH] * gnu: surfraw: Fix broken symlinks in
 manpages.
Date: Thu, 22 Jun 2017 10:47:05 -0400
[Message part 1 (text/plain, inline)]
ng0 <at> pragmatique.xyz writes:

> * gnu/packages/web.scm (surfraw)[arguments]: Add new 'compress-elvi.1sr' phase.

Nice catch.

>      (build-system gnu-build-system)
> +    (arguments
> +     `(#:phases
> +       (modify-phases %standard-phases
> +         (add-after 'install 'compress-elvi.1sr
> +           (lambda* (#:key outputs #:allow-other-keys)
> +             ;; The manpages of the elvis are symlinks to elvi.1sr.gz
> +             ;; but elvi.1sr does not get compress by our manpage phase.

Changed "compress" to "compressed".

> +             (let* ((out (assoc-ref %outputs "out"))
> +                    (man (string-append out "/share/man/man1")))
> +               (with-directory-excursion man
> +                 (zero? (system* "gzip" "elvi.1sr")))))))))
>      (inputs
>       `(("perl" ,perl)
>         ("perl-www-opensearch" ,perl-www-opensearch)

LGTM otherwise.
Pushed to master as e81fd90e2f8a38248b4b0c6b883305528acc9a9e.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 7 years and 336 days ago.

Previous Next


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