summaryrefslogtreecommitdiff
path: root/gnu/packages/documentation.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/documentation.scm')
-rw-r--r--gnu/packages/documentation.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index ec70ca4d8f7..5d455431d3c 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -12,6 +12,7 @@
12;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de> 12;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
13;;; Copyright © 2021, 2022 Marius Bakke <marius@gnu.org> 13;;; Copyright © 2021, 2022 Marius Bakke <marius@gnu.org>
14;;; Copyright © 2022 Maxim Cournoyer <maxim.counoyer@gmail.com> 14;;; Copyright © 2022 Maxim Cournoyer <maxim.counoyer@gmail.com>
15;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
15;;; 16;;;
16;;; This file is part of GNU Guix. 17;;; This file is part of GNU Guix.
17;;; 18;;;
@@ -40,6 +41,7 @@
40 #:use-module (guix build-system python) 41 #:use-module (guix build-system python)
41 #:use-module (guix build-system qt) 42 #:use-module (guix build-system qt)
42 #:use-module (guix deprecation) 43 #:use-module (guix deprecation)
44 #:use-module (guix utils)
43 #:use-module (gnu packages) 45 #:use-module (gnu packages)
44 #:use-module (gnu packages autotools) 46 #:use-module (gnu packages autotools)
45 #:use-module (gnu packages backup) 47 #:use-module (gnu packages backup)
@@ -224,7 +226,15 @@ markup) can be customized and extended by the user.")
224 (let ((/bin/sh (search-input-file inputs "/bin/sh"))) 226 (let ((/bin/sh (search-input-file inputs "/bin/sh")))
225 (substitute* "src/portable.cpp" 227 (substitute* "src/portable.cpp"
226 (("/bin/sh") 228 (("/bin/sh")
227 /bin/sh)))))))) 229 /bin/sh)))))
230 #$@(if (target-hurd?)
231 #~((add-after 'unpack 'apply-patch
232 (lambda _
233 (let ((patch-file
234 #$(local-file
235 (search-patch "doxygen-hurd.patch"))))
236 (invoke "patch" "--force" "-p1" "-i" patch-file)))))
237 #~()))))
228 (synopsis "Generate documentation from annotated sources") 238 (synopsis "Generate documentation from annotated sources")
229 (description "Doxygen is the de facto standard tool for generating 239 (description "Doxygen is the de facto standard tool for generating
230documentation from annotated C++ sources, but it also supports other popular 240documentation from annotated C++ sources, but it also supports other popular