;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2015, 2016, 2017, 2019 Ludovic Courtès ;;; Copyright © 2014, 2016 Eric Bavier ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2017, 2019 Efraim Flashner ;;; Copyright © 2019 Ricardo Wurmus ;;; Copyright © 2019 Pierre-Moana Levesque ;;; Copyright © 2019, 2020 Mathieu Othacehe ;;; Copyright © 2020 Nicolas Goaziou ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2021 Maxime Devos ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-11-03 03:49:35 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2021-11-03 11:19:56 +0100
commit5052829f1c11cc474d9738eeb1833d6cd3b46476 (patch)
tree14fee54689e8916dd58f1b2460aaf11c74841b35 /gnu/packages/image-viewers.scm
parent084e675ac884a27123e1198a08114d35f438f06e (diff)
downloadguix-5052829f1c11cc474d9738eeb1833d6cd3b46476.tar.gz
guix-5052829f1c11cc474d9738eeb1833d6cd3b46476.zip
gnu: lesspipe: Update to 1.90.
* gnu/packages/less.scm (lesspipe): Update to 1.90. [arguments]: Don't explicitly return #t from phases.
Diffstat (limited to 'gnu/packages/image-viewers.scm')
0 files changed, 0 insertions, 0 deletions
this package is to have the standalone Info reader without ;; the dependency on Perl that 'makeinfo' drags. (package/inherit texinfo (name "info-reader") (arguments `(,@(substitute-keyword-arguments (package-arguments texinfo) ((#:phases phases) `(modify-phases ,phases ;; Make sure 'info-reader' can read compressed info files ;; in a pure environment. There are also a few other ;; uncompressors listed in this file (lzip, unxz, bunzip2, ...) ;; but let's not include them because info manuals in Guix ;; are always compressed with 'gzip'. ;; TODO(core-updates): maybe move to the 'texinfo' package. (add-after 'unpack 'absolute-binary-path (lambda* (#:key inputs #:allow-other-keys) (substitute* "info/filesys.c" (("gunzip") (search-input-file inputs "/bin/gunzip")) (("gzip") (search-input-file inputs "/bin/gzip"))))) (add-after 'install 'keep-only-info-reader (lambda* (#:key outputs #:allow-other-keys) ;; Remove everything but 'bin/info' and associated ;; files. (define (files) (scandir "." (lambda (file) (not (member file '("." "..")))))) (let ((out (assoc-ref outputs "out"))) (with-directory-excursion out (for-each delete-file-recursively (fold delete (files) '("bin" "share")))) (with-directory-excursion (string-append out "/bin") (for-each delete-file (delete "info" (files)))) (with-directory-excursion (string-append out "/share") (for-each delete-file-recursively (fold delete (files) '("info" "locale")))) #t)))))) #:disallowed-references ,(assoc-ref (package-inputs texinfo) "perl") #:modules ((ice-9 ftw) (srfi srfi-1) ,@%gnu-build-system-modules))) (synopsis "Standalone Info documentation reader") (inputs (modify-inputs (package-inputs texinfo) (prepend gzip))))) (define-public texi2html (package (name "texi2html") (version "5.0") (source (origin (method url-fetch) (uri (string-append "mirror://savannah/" name "/" name "-" version ".tar.bz2")) (sha256 (base32 "1yprv64vrlcbksqv25asplnjg07mbq38lfclp1m5lj8cw878pag8")) (patches (search-patches "texi2html-document-encoding.patch" "texi2html-i18n.patch")) (snippet ;; This file is modified by the patch above, but reset its ;; timestamp so we don't trigger the rule to update PO files, ;; which would require Gettext. ;; See . '(begin (utime "texi2html.pl" 0 0 0 0) #t)))) (build-system gnu-build-system) (inputs (list perl)) (arguments ;; Tests fail because of warnings on stderr from Perl 5.22. Adjusting ;; texi2html.pl to avoid the warnings seems non-trivial, so we simply ;; disable the tests. '(#:tests? #f)) (home-page "https://www.nongnu.org/texi2html/") (synopsis "Convert Texinfo to HTML") (description "Texi2HTML is a Perl script which converts Texinfo source files to HTML output. It now supports many advanced features, such as internationalization and extremely configurable output formats. Development of Texi2HTML moved to the GNU Texinfo repository in 2010, since it was meant to replace the makeinfo implementation in GNU Texinfo. The route forward for authors is, in most cases, to alter manuals and build processes as necessary to use the new features of the makeinfo/texi2any implementation of GNU Texinfo. The Texi2HTML maintainers (one of whom is the principal author of the GNU Texinfo implementation) do not intend to make further releases of Texi2HTML.") ;; Files in /lib under lgpl2.1+ and x11 (license gpl2+))) (define-public texi2html-1.82 (package (inherit texi2html) (version "1.82") (source (origin (method url-fetch) (uri (string-append "mirror://savannah/texi2html/" "texi2html-" version ".tar.bz2")) (sha256 (base32 "1wdli2szkgm3l0vx8rf6lylw0b0m47dlz9iy004n928nqkzix76n")))))) (define-public pinfo (package (name "pinfo") (version "0.6.13") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/baszoetekouw/pinfo") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "173d2p22irwiabvr4z6qvr6zpr6ysfkhmadjlyhyiwd7z62larvy")))) (build-system gnu-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'remove-Werror (lambda _ (substitute* "configure.ac" (("-Werror") "")) #t)) (add-after 'unpack 'embed-reference-to-clear (lambda* (#:key inputs #:allow-other-keys) (substitute* '("src/manual.c" "src/mainfunction.c" "src/utils.c") (("\"clear\"") (string-append "\"" (which "clear") "\""))) #t))))) (inputs (list ncurses readline)) (native-inputs `(("autoconf" ,autoconf) ("automake" ,automake) ("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. 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 hypertextualized.") (license gpl2+)))