gnu: pinfo: Update to 3d76eec.

* gnu/packages/texinfo.scm (pinfo): Update to commit
3d76eecde211e41ccc28b04e229f159b3f924399.
[arguments]: Use gexps.
[inputs, native-inputs]: Remove labels.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
( 2022-06-15 22:01:32 +01:00 committed by Ludovic Courtès
parent 0de3d44a16
commit 3e24393e87
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -9,6 +9,7 @@
;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022 ( <paren@disroot.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -27,6 +28,7 @@
(define-module (gnu packages texinfo) (define-module (gnu packages texinfo)
#:use-module (gnu packages autotools) #:use-module (gnu packages autotools)
#:use-module (guix gexp)
#:use-module (guix licenses) #:use-module (guix licenses)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix utils) #:use-module (guix utils)
@ -254,49 +256,42 @@ (define-public texi2html-1.82
(base32 "1wdli2szkgm3l0vx8rf6lylw0b0m47dlz9iy004n928nqkzix76n")))))) (base32 "1wdli2szkgm3l0vx8rf6lylw0b0m47dlz9iy004n928nqkzix76n"))))))
(define-public pinfo (define-public pinfo
(package (let ((commit "3d76eecde211e41ccc28b04e229f159b3f924399")
(name "pinfo") (revision "0"))
(version "0.6.13") (package
(source (origin (name "pinfo")
(method git-fetch) ;; Latest tag is completely broken and does not build.
(uri (git-reference (version (git-version "0.6.13" revision commit))
(url "https://github.com/baszoetekouw/pinfo") (source (origin
(commit (string-append "v" version)))) (method git-fetch)
(file-name (git-file-name name version)) (uri (git-reference
(sha256 (url "https://github.com/baszoetekouw/pinfo")
(base32 (commit commit)))
"173d2p22irwiabvr4z6qvr6zpr6ysfkhmadjlyhyiwd7z62larvy")))) (file-name (git-file-name name version))
(build-system gnu-build-system) (sha256
(arguments (base32 "0qym323d9my5l4bhw9vry453hhlxhjjvy8mcdi38sk0bqqid0vd1"))))
`(#:phases (build-system gnu-build-system)
(modify-phases %standard-phases (arguments
(add-after 'unpack 'remove-Werror (list #:phases
(lambda _ #~(modify-phases %standard-phases
(substitute* "configure.ac" (add-after 'unpack 'embed-reference-to-clear
(("-Werror") "")) (lambda* (#:key inputs #:allow-other-keys)
#t)) (let ((ncurses (assoc-ref inputs "ncurses")))
(add-after 'unpack 'embed-reference-to-clear (substitute* (list "src/manual.c"
(lambda* (#:key inputs #:allow-other-keys) "src/mainfunction.c"
(substitute* '("src/manual.c" "src/utils.c")
"src/mainfunction.c" (("\"clear\"")
"src/utils.c") (string-append "\"" ncurses "/bin/clear\"")))))))))
(("\"clear\"") (inputs
(string-append "\"" (which "clear") "\""))) (list ncurses readline))
#t))))) (native-inputs
(inputs (list autoconf automake gettext-minimal libtool texinfo))
(list ncurses readline)) (home-page "https://github.com/baszoetekouw/pinfo")
(native-inputs (synopsis "Lynx-style Info file and man page reader")
`(("autoconf" ,autoconf) (description
("automake" ,automake) "Pinfo is an Info file viewer. Pinfo is similar in use to the Lynx web
("gettext" ,gettext-minimal)
("libtool" ,libtool)
("texinfo" ,texinfo)))
(home-page "https://github.com/baszoetekouw/pinfo")
(synopsis "Lynx-style Info file and man page reader")
(description
"Pinfo is an Info file viewer. Pinfo is similar in use to the Lynx web
browser. You just move across info nodes, and select links, follow them, etc. browser. You just move across info nodes, and select links, follow them, etc.
It supports many colors. Pinfo also supports viewing of manual pages -- they It supports many colors. Pinfo also supports viewing of manual pages -- they
are colorized like in the midnight commander's viewer, and additionally they are colorized like in the midnight commander's viewer, and additionally they
are hypertextualized.") are hypertextualized.")
(license gpl2+))) (license gpl2+))))