gnu: upower: Enable GObject introspection.
[jackhill/guix/guix.git] / gnu / packages / texinfo.scm
CommitLineData
233e7676 1;;; GNU Guix --- Functional package management for GNU
ce1e4bd5 2;;; Copyright © 2012, 2013, 2015 Ludovic Courtès <ludo@gnu.org>
c5d83768 3;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
f7b55b04 4;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
db32c281 5;;;
233e7676 6;;; This file is part of GNU Guix.
db32c281 7;;;
233e7676 8;;; GNU Guix is free software; you can redistribute it and/or modify it
db32c281
LC
9;;; under the terms of the GNU General Public License as published by
10;;; the Free Software Foundation; either version 3 of the License, or (at
11;;; your option) any later version.
12;;;
233e7676 13;;; GNU Guix is distributed in the hope that it will be useful, but
db32c281
LC
14;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16;;; GNU General Public License for more details.
17;;;
18;;; You should have received a copy of the GNU General Public License
233e7676 19;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
db32c281 20
1ffa7090 21(define-module (gnu packages texinfo)
4a44e743 22 #:use-module (guix licenses)
db32c281
LC
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix build-system gnu)
c5d83768 26 #:use-module (gnu packages)
1ffa7090 27 #:use-module (gnu packages compression)
a24b75d8 28 #:use-module (gnu packages perl)
47ed8e04 29 #:use-module (gnu packages linux)
1ffa7090 30 #:use-module (gnu packages ncurses))
db32c281
LC
31
32(define-public texinfo
33 (package
34 (name "texinfo")
f7b55b04 35 (version "6.0")
a24b75d8 36 (source (origin
f7b55b04
MW
37 (method url-fetch)
38 (uri (string-append "mirror://gnu/texinfo/texinfo-"
39 version ".tar.xz"))
40 (sha256
41 (base32
42 "1r3i6jyynn6ab45fxw5bms8mflk9ry4qpj6gqyry72vfd5c47fhi"))))
db32c281 43 (build-system gnu-build-system)
47ed8e04 44 (native-inputs `(("procps" ,procps))) ;one of the tests needs pgrep
f6d7be1e 45 (inputs `(("ncurses" ,ncurses)
3d6b71e8
LC
46 ("xz" ,xz)
47 ("perl" ,perl)))
1668dfcd
LC
48
49 (native-search-paths
50 ;; This is the variable used by the standalone Info reader.
51 (list (search-path-specification
52 (variable "INFOPATH")
53 (files '("share/info")))))
54
a24b75d8 55 (home-page "http://www.gnu.org/software/texinfo/")
f50d2669 56 (synopsis "The GNU documentation format")
db32c281 57 (description
a22dc0c4 58 "Texinfo is the official documentation format of the GNU project. It
79c311b8
LC
59uses a single source file using explicit commands to produce a final document
60in any of several supported output formats, such as HTML or PDF. This
61package includes both the tools necessary to produce Info documents from
62their source and the command-line Info reader. The emphasis of the language
63is on expressing the content semantically, avoiding physical markup commands.")
4a44e743 64 (license gpl3+)))
bbafef3f 65
f7b55b04
MW
66(define-public texinfo-5
67 (package (inherit texinfo)
68 (version "5.2")
ce1e4bd5
LC
69 (source (origin
70 (method url-fetch)
71 (uri (string-append "mirror://gnu/texinfo/texinfo-"
72 version ".tar.xz"))
73 (sha256
74 (base32
47ed8e04
MW
75 "1njfwh2z34r2c4r0iqa7v24wmjzvsfyz4vplzry8ln3479lfywal"))))
76 (native-inputs '())))
ce1e4bd5 77
bbafef3f
MW
78(define-public texinfo-4
79 (package (inherit texinfo)
80 (version "4.13a")
81 (source (origin
82 (method url-fetch)
83 (uri (string-append
84 "mirror://gnu/texinfo/texinfo-"
85 version
86 ".tar.lzma"))
87 (sha256
88 (base32
89 "1rf9ckpqwixj65bw469i634897xwlgkm5i9g2hv3avl6mv7b0a3d"))))
47ed8e04 90 (native-inputs '())
bbafef3f 91 (inputs `(("ncurses" ,ncurses) ("xz" ,xz)))))
c5d83768
EB
92
93(define-public texi2html
94 (package
95 (name "texi2html")
96 (version "5.0")
97 (source (origin
98 (method url-fetch)
99 (uri (string-append "mirror://savannah/" name "/" name "-"
100 version ".tar.bz2"))
101 (sha256
102 (base32
103 "1yprv64vrlcbksqv25asplnjg07mbq38lfclp1m5lj8cw878pag8"))
d759cf67 104 (patches
ffbf749e
EB
105 (list (search-patch "texi2html-document-encoding.patch")
106 (search-patch "texi2html-i18n.patch")))
d759cf67
LC
107 (snippet
108 ;; This file is modified by the patch above, but reset its
109 ;; timestamp so we don't trigger the rule to update PO files,
110 ;; which would require Gettext.
111 ;; See <http://bugs.gnu.org/18247>.
112 '(utime "texi2html.pl" 0 0 0 0))))
c5d83768 113 (build-system gnu-build-system)
c5d83768
EB
114 (inputs `(("perl" ,perl)))
115 (home-page "http://www.nongnu.org/texi2html/")
116 (synopsis "Convert Texinfo to HTML")
117 (description
118 "Texi2HTML is a Perl script which converts Texinfo source files to HTML
119output. It now supports many advanced features, such as internationalization
120and extremely configurable output formats.
121
122Development of Texi2HTML moved to the GNU Texinfo repository in 2010, since it
123was meant to replace the makeinfo implementation in GNU Texinfo. The route
124forward for authors is, in most cases, to alter manuals and build processes as
125necessary to use the new features of the makeinfo/texi2any implementation of
126GNU Texinfo. The Texi2HTML maintainers (one of whom is the principal author
127of the GNU Texinfo implementation) do not intend to make further releases of
128Texi2HTML.")
129 ;; Files in /lib under lgpl2.1+ and x11
130 (license gpl2+)))