[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/15: gnu: doxygen: Use new style.
From: |
guix-commits |
Subject: |
09/15: gnu: doxygen: Use new style. |
Date: |
Mon, 27 Jun 2022 17:50:02 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 80193fff5993a1d9e0edce7229a0d6c6e2437df5
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Jun 27 21:10:01 2022 +0200
gnu: doxygen: Use new style.
* gnu/packages/documentation.scm (doxygen)[inputs]: Remove label.
[arguments]: Likewise. Convert to G-expression.
---
gnu/packages/documentation.scm | 71 ++++++++++++++++++++++--------------------
1 file changed, 37 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/documentation.scm b/gnu/packages/documentation.scm
index c1328bd1f1..f71461f572 100644
--- a/gnu/packages/documentation.scm
+++ b/gnu/packages/documentation.scm
@@ -10,7 +10,7 @@
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2020 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2020, 2021 Michael Rohleder <mike@rohleder.de>
-;;; Copyright © 2021 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2021, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2022 Maxim Cournoyer <maxim.counoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
@@ -190,45 +190,48 @@ markup) can be customized and extended by the user.")
(version "1.9.4")
(home-page "https://www.doxygen.nl/")
(source (origin
- (method url-fetch)
- (uri (list (string-append home-page "files/doxygen-"
- version ".src.tar.gz")
- (string-append "mirror://sourceforge/doxygen/rel-"
- version "/doxygen-" version
- ".src.tar.gz")))
- (sha256
- (base32
- "0dqzgci82z950pzg6cpxvvqwybi2031flml3pj47hayhq3c9qpm1"))))
+ (method url-fetch)
+ (uri (list (string-append home-page "files/doxygen-"
+ version ".src.tar.gz")
+ (string-append "mirror://sourceforge/doxygen/rel-"
+ version "/doxygen-" version
+ ".src.tar.gz")))
+ (sha256
+ (base32
+ "0dqzgci82z950pzg6cpxvvqwybi2031flml3pj47hayhq3c9qpm1"))))
(build-system cmake-build-system)
(native-inputs
- (list bison flex libxml2 ;provides xmllint for the tests
- python)) ;for creating the documentation
+ (list bison
+ flex
+ libxml2 ;provides xmllint for the tests
+ python)) ;for creating the documentation
(inputs
- `(("bash" ,bash-minimal)))
+ (list bash-minimal))
(arguments
;; Force cmake to use iconv header from cross-libc instead of the one
;; from native libc.
- `(,@(if (%current-target-system)
- '(#:configure-flags
- (list (string-append "-DICONV_INCLUDE_DIR="
- (assoc-ref %build-inputs "cross-libc")
- "/include")))
- '())
- #:test-target "tests"
- #:phases (modify-phases %standard-phases
- (add-after 'unpack 'disable-bibtex-test
- (lambda _
- ;; Disable test that requires bibtex to avoid a
- ;; circular dependency.
- (for-each delete-file-recursively
- '("testing/012" "testing/012_cite.dox"))))
- (add-before 'configure 'patch-sh
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "src/portable.cpp"
- (("/bin/sh")
- (string-append
- (assoc-ref inputs "bash") "/bin/sh")))
- #t)))))
+ (list
+ #:configure-flags
+ (if (%current-target-system)
+ #~(list (string-append "-DICONV_INCLUDE_DIR="
+ (assoc-ref %build-inputs "cross-libc")
+ "/include"))
+ #~'())
+ #:test-target "tests"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-bibtex-test
+ (lambda _
+ ;; Disable test that requires bibtex to avoid a
+ ;; circular dependency.
+ (for-each delete-file-recursively
+ '("testing/012" "testing/012_cite.dox"))))
+ (add-before 'configure 'patch-sh
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((/bin/sh (search-input-file inputs "/bin/sh")))
+ (substitute* "src/portable.cpp"
+ (("/bin/sh")
+ /bin/sh))))))))
(synopsis "Generate documentation from annotated sources")
(description "Doxygen is the de facto standard tool for generating
documentation from annotated C++ sources, but it also supports other popular
- branch core-updates updated (1e39cc6481 -> 0b0750e831), guix-commits, 2022/06/27
- 01/15: gnu: ruby-sqlite3: Update to 1.4.4., guix-commits, 2022/06/27
- 03/15: gnu: python-libxml2: Move definition closer to its inherited origin., guix-commits, 2022/06/27
- 04/15: gnu: python-libxml2: Remove input labels., guix-commits, 2022/06/27
- 09/15: gnu: doxygen: Use new style.,
guix-commits <=
- 12/15: gnu: libjpeg-turbo: Build with cmake-minimal., guix-commits, 2022/06/27
- 05/15: gnu: icu4c: Update to 71.1., guix-commits, 2022/06/27
- 07/15: gnu: harfbuzz: Remove input labels., guix-commits, 2022/06/27
- 13/15: gnu: CMake: Remove input labels., guix-commits, 2022/06/27
- 15/15: gnu: CMake: Update to 3.23.2., guix-commits, 2022/06/27
- 10/15: gnu: jsoncpp: Build with Meson., guix-commits, 2022/06/27
- 14/15: gnu: CMake: Use G-expressions., guix-commits, 2022/06/27
- 02/15: gnu: python-libxml2: Fix build failure., guix-commits, 2022/06/27
- 06/15: gnu: harfbuzz: Update to 4.3.0., guix-commits, 2022/06/27
- 11/15: gnu: CMake: Bootstrap with system jsoncpp., guix-commits, 2022/06/27