summaryrefslogtreecommitdiff
path: root/gnu/packages/documentation.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-01-30 11:33:18 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-01-30 12:39:40 +0200
commit4cf1acc7f3033b50b0bf19e02c9f522d522d338c (patch)
tree9fd64956ee60304c15387eb394cd649e49f01467 /gnu/packages/documentation.scm
parentedb8c09addd186d9538d43b12af74d6c7aeea082 (diff)
parent595b53b74e3ef57a1c0c96108ba86d38a170a241 (diff)
Merge remote-tracking branch 'origin/master' into core-updates
Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm
Diffstat (limited to 'gnu/packages/documentation.scm')
-rw-r--r--gnu/packages/documentation.scm70
1 files changed, 47 insertions, 23 deletions
diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index e002905fb70..53e0135dfaa 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -36,6 +36,7 @@
36 #:use-module (guix git-download) 36 #:use-module (guix git-download)
37 #:use-module (guix build-system gnu) 37 #:use-module (guix build-system gnu)
38 #:use-module (guix build-system cmake) 38 #:use-module (guix build-system cmake)
39 #:use-module (guix build-system perl)
39 #:use-module (guix build-system python) 40 #:use-module (guix build-system python)
40 #:use-module (guix build-system qt) 41 #:use-module (guix build-system qt)
41 #:use-module (guix deprecation) 42 #:use-module (guix deprecation)
@@ -65,7 +66,7 @@
65(define-public latex2html 66(define-public latex2html
66 (package 67 (package
67 (name "latex2html") 68 (name "latex2html")
68 (version "2020.2") 69 (version "2022.2")
69 (source 70 (source
70 (origin 71 (origin
71 (method git-fetch) 72 (method git-fetch)
@@ -75,29 +76,26 @@
75 (commit (string-append "v" version)))) 76 (commit (string-append "v" version))))
76 (file-name (git-file-name name version)) 77 (file-name (git-file-name name version))
77 (sha256 78 (sha256
78 (base32 "1icyl6kl60wh7cavprgbd8q6lpjwr7wn24m34kpiif7ahknhcbcm")))) 79 (base32 "1z71anjzxy5jsdlaqba4w9spncc6iycldarnr2z1dq8xmk6yhpjn"))))
79 (build-system gnu-build-system) 80 (build-system gnu-build-system)
80 (arguments 81 (arguments
81 `(#:phases 82 (list #:phases
82 (modify-phases %standard-phases 83 #~(modify-phases %standard-phases
83 (add-after 'unpack 'patch-configure 84 (add-after 'unpack 'patch-configure
84 (lambda* (#:key outputs #:allow-other-keys) 85 (lambda* (#:key outputs #:allow-other-keys)
85 (substitute* "configure" 86 (substitute* "configure"
86 (("/usr/local") 87 (("/usr/local")
87 (assoc-ref outputs "out")) 88 #$output)
88 (("\\$\\{CONFIG_SHELL-/bin/sh\\}") 89 (("\\$\\{CONFIG_SHELL-/bin/sh\\}")
89 (which "bash"))) 90 (which "bash")))))
90 #t)) 91 (replace 'configure
91 (replace 'configure 92 (lambda _
92 (lambda _ 93 (invoke "./configure")))
93 (invoke "./configure") 94 (add-after 'configure 'patch-cfgcache
94 #t)) 95 (lambda* (#:key outputs #:allow-other-keys)
95 (add-after 'configure 'patch-cfgcache 96 (substitute* "cfgcache.pm"
96 (lambda* (#:key outputs #:allow-other-keys) 97 (("/usr/local")
97 (substitute* "cfgcache.pm" 98 #$output)))))))
98 (("/usr/local")
99 (assoc-ref outputs "out")))
100 #t)))))
101 (inputs 99 (inputs
102 (list perl)) 100 (list perl))
103 (synopsis "LaTeX documents to HTML") 101 (synopsis "LaTeX documents to HTML")
@@ -256,7 +254,7 @@ and to some extent D.")
256 (build-system gnu-build-system) 254 (build-system gnu-build-system)
257 (native-inputs 255 (native-inputs
258 (list flex gettext-minimal)) 256 (list flex gettext-minimal))
259 (home-page "http://docpp.sourceforge.net/") 257 (home-page "https://docpp.sourceforge.net")
260 (synopsis "Documentation system for C, C++, IDL, and Java") 258 (synopsis "Documentation system for C, C++, IDL, and Java")
261 (description 259 (description
262 "DOC++ is a documentation system for C, C++, IDL, and Java. It can 260 "DOC++ is a documentation system for C, C++, IDL, and Java. It can
@@ -265,6 +263,32 @@ browsing. The documentation is extracted directly from the C/C++/IDL source
265or Java class files.") 263or Java class files.")
266 (license gpl2+))) 264 (license gpl2+)))
267 265
266(define-public pod2pdf
267 (package
268 (name "pod2pdf")
269 (version "0.42")
270 (source (origin
271 (method url-fetch)
272 (uri (string-append
273 "mirror://cpan/authors/id/J/JO/JONALLEN/pod2pdf-"
274 version
275 ".tar.gz"))
276 (sha256
277 (base32
278 "0w5p7yy01vph74nfr9qzjb18p1avmhhcpza0qz9r88fmb0blbiyv"))))
279 (build-system perl-build-system)
280 (propagated-inputs
281 (list perl-getopt-argvfile
282 perl-pdf-api2
283 perl-pod-parser))
284 (home-page "https://metacpan.org/release/pod2pdf")
285 (synopsis "Convert Pod to PDF format")
286 (description "pod2pdf converts documents written in Perl's @acronym{POD, Plain Old
287Documentation} format to PDF files. It also supports some extensions to the POD
288format, and supports the file types JPG, GIF, TIFF, PNG, and PNM for embedded
289objects.")
290 (license artistic2.0)))
291
268(define-public python-docrepr 292(define-public python-docrepr
269 (package 293 (package
270 (name "python-docrepr") 294 (name "python-docrepr")