1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
3 ;;; Copyright © 2014, 2016 Andreas Enge <andreas@enge.fr>
4 ;;; Copyright © 2016 Eric Bavier <bavier@member.fsf.org>
6 ;;; This file is part of GNU Guix.
8 ;;; GNU Guix is free software; you can redistribute it and/or modify it
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.
13 ;;; GNU Guix is distributed in the hope that it will be useful, but
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.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21 (define-module (gnu packages documentation)
22 #:use-module (guix licenses)
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix build-system gnu)
26 #:use-module (guix build-system cmake)
27 #:use-module (gnu packages)
28 #:use-module (gnu packages python)
29 #:use-module (gnu packages bison)
30 #:use-module (gnu packages flex)
31 #:use-module (gnu packages graphviz)
32 #:use-module (gnu packages gettext)
33 #:use-module (gnu packages perl)
34 #:use-module (gnu packages xml)
35 #:autoload (gnu packages zip) (unzip))
37 (define-public asciidoc
43 (uri (string-append "mirror://sourceforge/asciidoc/asciidoc-"
47 "1w71nk527lq504njmaf0vzr93pgahkgzzxzglrq6bay8cw2rvnvq"))))
48 (build-system gnu-build-system)
49 (arguments '(#:tests? #f)) ; no 'check' target
50 (inputs `(("python" ,python-2)))
51 (home-page "http://www.methods.co.nz/asciidoc/")
52 (synopsis "Text-based document generation system")
54 "AsciiDoc is a text document format for writing notes, documentation,
55 articles, books, ebooks, slideshows, web pages, man pages and blogs.
56 AsciiDoc files can be translated to many formats including HTML, PDF,
59 AsciiDoc is highly configurable: both the AsciiDoc source file syntax and
60 the backend output markups (which can be almost any type of SGML/XML
61 markup) can be customized and extended by the user.")
64 (define-public doxygen
70 (uri (string-append "http://ftp.stack.nl/pub/users/dimitri/"
71 name "-" version ".src.tar.gz"))
74 "0ja02pm3fpfhc5dkry00kq8mn141cqvdqqpmms373ncbwi38pl35"))
75 (patches (search-patches "doxygen-test.patch"))))
76 (build-system cmake-build-system)
80 ("libxml2" ,libxml2) ; provides xmllint for the tests
81 ("python" ,python-2))) ; for creating the documentation
83 `(#:test-target "tests"))
84 (home-page "http://www.stack.nl/~dimitri/doxygen/")
85 (synopsis "Generate documentation from annotated sources")
86 (description "Doxygen is the de facto standard tool for generating
87 documentation from annotated C++ sources, but it also supports other popular
88 programming languages such as C, Objective-C, C#, PHP, Java, Python,
89 IDL (Corba, Microsoft, and UNO/OpenOffice flavors), Fortran, VHDL, Tcl,
90 and to some extent D.")
99 (uri (string-append "https://sourceforge.net/projects/docpp/"
100 "files/doc++-" version ".tar.gz"))
103 "0i37zlxl8g352s4hzpdx0657k5x3czh3xcsfr27irc708gb277pn"))
104 (patches (search-patches "doc++-include-directives.patch"
105 "doc++-segfault-fix.patch"))))
106 (build-system gnu-build-system)
109 ("gettext" ,gnu-gettext)))
110 (home-page "http://docpp.sourceforge.net/")
111 (synopsis "Documentation system for C, C++, IDL, and Java")
113 "DOC++ is a documentation system for C, C++, IDL, and Java. It can
114 generate both TeX output for high-quality hardcopies or HTML output for online
115 brwosing. The documentation is extracted directly from the C/C++/IDL source
116 or Java class files.")