[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/13: gnu: fortune-mod: Update to 3.12.0.
From: |
guix-commits |
Subject: |
07/13: gnu: fortune-mod: Update to 3.12.0. |
Date: |
Mon, 3 Jan 2022 23:39:18 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 99e4e234110f4d206102d3d3a4b0ffb10cb85b15
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue Jan 4 03:06:12 2022 +0100
gnu: fortune-mod: Update to 3.12.0.
* gnu/packages/games.scm (fortune-mod): Update to 3.12.0.
[arguments]: Adjust 'delete-failing-test phase accordingly.
[native-inputs]: Add docbook-xml-5, docbook-xsl, and
perl-app-xml-docbook-builder.
---
gnu/packages/games.scm | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 51c8133c2d..5896fa4333 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -7567,7 +7567,7 @@ original.")
(define-public fortune-mod
(package
(name "fortune-mod")
- (version "2.28.0")
+ (version "3.12.0")
(source
(origin
(method git-fetch)
@@ -7576,7 +7576,7 @@ original.")
(commit (string-append "fortune-mod-" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1ppzgnffgdcmq6fq4gmdq2ig10ip2bnfgklkb3i8nc6bdxm7pb89"))))
+ (base32 "1iq3bxrw8758jqvfqaasd7w1zm0g28g9n25qccnzvr98997h6r2n"))))
(build-system cmake-build-system)
(arguments
(list #:test-target "check"
@@ -7585,6 +7585,11 @@ original.")
(add-after 'unpack 'enter-build-directory
(lambda _
(chdir "fortune-mod")))
+ (add-after 'enter-build-directory 'symlink-rinutils
+ (lambda _
+ (mkdir-p "rinutils")
+ (symlink #$(this-package-native-input "rinutils")
+ "rinutils/rinutils")))
(add-after 'enter-build-directory 'copy-cmake-modules
(lambda _
(copy-file #$shlomif-cmake-modules
@@ -7593,14 +7598,16 @@ original.")
#$shlomif-cmake-modules)))))
(add-after 'enter-build-directory 'delete-failing-test
(lambda _
- ;; TODO: Valgrind tests fail for some reason.
- ;; Similar issue:
https://github.com/shlomif/fortune-mod/issues/21 (?)
- (delete-file "tests/t/valgrind.t")))
+ ;; TODO: Valgrind tests fail for some reason. Similar
issue?
+ ;; https://github.com/shlomif/fortune-mod/issues/21
+ (delete-file "tests/data/valgrind.t")
+ (with-output-to-file "tests/scripts/split-valgrind.pl"
+ (const #t))))
(add-after 'install 'fix-install-directory
(lambda* (#:key outputs #:allow-other-keys)
- ;; Move binary from "games/" to "bin/" and remove the
latter. This
- ;; is easier than patching CMakeLists.txt since the tests
hard-code
- ;; the location as well.
+ ;; Move binary from "games/" to "bin/" and remove the
+ ;; latter. This is easier than patching CMakeLists.txt
+ ;; since the tests hard-code the location as well.
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(games (string-append out "/games")))
@@ -7610,6 +7617,10 @@ original.")
(inputs (list recode))
(native-inputs
(list perl
+ ;; For generating the documentation.
+ docbook-xml-5
+ docbook-xsl
+ perl-app-xml-docbook-builder
;; The following are only needed for tests.
perl-file-find-object
perl-test-differences
- branch master updated (80ebf564e3 -> 44fdd27bf2), guix-commits, 2022/01/03
- 04/13: gnu: rinutils: Use G-expressions., guix-commits, 2022/01/03
- 03/13: gnu: shlomif-cmake-modules: Update to 89f05caf86078f783873975525230cf4fecede8a., guix-commits, 2022/01/03
- 02/13: gnu: Add perl-app-xml-docbook-builder., guix-commits, 2022/01/03
- 06/13: gnu: fortune-mod: Use G-expressions., guix-commits, 2022/01/03
- 01/13: gnu: fasm: Update to 1.73.29., guix-commits, 2022/01/03
- 05/13: gnu: rinutils: Update to 0.10.0., guix-commits, 2022/01/03
- 08/13: gnu: direvent: Use G-expressions., guix-commits, 2022/01/03
- 10/13: gnu: pgloader: Update to 3.6.3., guix-commits, 2022/01/03
- 13/13: gnu: diffoscope: Update to 198., guix-commits, 2022/01/03
- 07/13: gnu: fortune-mod: Update to 3.12.0.,
guix-commits <=
- 11/13: gnu: pgloader: Use G-expressions., guix-commits, 2022/01/03
- 12/13: gnu: mpv: Update to 0.34.1., guix-commits, 2022/01/03
- 09/13: gnu: direvent: Update to 5.3., guix-commits, 2022/01/03