diff options
author | Tor-björn Claesson <tclaesson@gmail.com> | 2023-01-14 19:03:39 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-01-25 23:50:42 +0100 |
commit | a84ceaa8b2e8e121957afea1d1d3fe7c8141cb8d (patch) | |
tree | a65f372a273c90d4e783cbd084b2a5ae3760c753 /gnu/packages | |
parent | 56551281a547fc9ccd675b41b4649f6c04826008 (diff) | |
download | guix-a84ceaa8b2e8e121957afea1d1d3fe7c8141cb8d.tar.gz guix-a84ceaa8b2e8e121957afea1d1d3fe7c8141cb8d.zip |
gnu: gdcm: Add documentation.
* gnu/packages/bioinformatics.scm (gdcm)[outputs]: New field.
[arguments]: Add #:phases. Augment #:configure-flags.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/bioinformatics.scm | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 645c439b64..8c75607a65 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -18084,8 +18084,16 @@ module capable of computing base-level alignments for very large sequences.") (base32 "1rf0p7dnakjry0fa6ax1h762bn0l5n6ibfdxn077mjvwgpqan51l")))) (build-system cmake-build-system) + (outputs '("out" "doc")) (arguments (list + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'set-HOME + ;; The build spams ‘Fontconfig error: No writable cache + ;; directories’ in a seemingly endless loop otherwise. + (lambda _ + (setenv "HOME" "/tmp")))) #:configure-flags #~(list "-DGDCM_BUILD_TESTING=true" (string-append "-DCMAKE_CTEST_ARGUMENTS=-E;" @@ -18096,7 +18104,13 @@ module capable of computing base-level alignments for very large sequences.") "|TestAnonymizer4" "|TestPrinter1" "|TestEcho" - "|TestFind'")))) + "|TestFind'") + "-DGDCM_DOCUMENTATION:BOOL=ON" + "-DGDCM_PDF_DOCUMENTATION:BOOL=OFF" + (string-append "-DGDCM_INSTALL_DOC_DIR=" + #$output:doc "/share/doc/" #$name) + "-DGDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF"))) ; TODO: need ‘xsl-ns’ + (native-inputs (list doxygen graphviz)) (home-page "https://gdcm.sourceforge.net/wiki/index.php/Main_Page") (synopsis "Grassroots DICOM library") (description |