[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
22/23: gnu: adanaxisgpl: Install the .mush files (again).
From: |
guix-commits |
Subject: |
22/23: gnu: adanaxisgpl: Install the .mush files (again). |
Date: |
Thu, 20 Jul 2023 17:05:55 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 6168ad89f2ccd3872414e8adfe5efcaf350726ca
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 16 02:00:01 2023 +0200
gnu: adanaxisgpl: Install the .mush files (again).
This out of an abundance of caution more than anything.
* gnu/packages/games.scm (adanaxisgpl)[arguments]: Add an 'install-data
phase.
[native-inputs]: Use a later commit for adanaxis-data.
---
gnu/packages/games.scm | 18 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index be8f16af15..ec084553da 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -354,16 +354,28 @@ the style of similar games for the Commodore+4.")
(replace 'bootstrap
(lambda _
(invoke "perl" "autogen.pl" "adanaxis"
- "--type=gpl" "--dist=debian"))))))
+ "--type=gpl" "--dist=debian")))
+ (add-after 'install 'install-data
+ ;; XXX This was copied from the original (pre-Git) adanaxisgpl
+ ;; package. While the game appears to play fine without it,
+ ;; I cannot prove that it's not missing *something*, so keep it.
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((share (string-append (assoc-ref outputs "out")
+ "/share/" ,name "-" ,version)))
+ (copy-recursively (search-input-directory inputs "mush")
+ (string-append share "/mush"))))))))
(native-inputs
(list (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/mushware/adanaxis-data")
- (commit commit)))
+ ;; XXX There is a tag matching COMMIT, but it does not
+ ;; contain the .mush files installed by 'install-data.
+ ;; Use this later commit as long as we install them.
+ (commit "6a5b5ad8ee82c10e67bc4c12b16404944fd5754d")))
(file-name (git-file-name "adanaxis-data" version))
(sha256
- (base32
"1xkn0ap5kfqd306ac072406ajihwwllaczc2v2hxiadlxd191dgx")))
+ (base32
"15am9ziq1i53sz0r7sjh2z329b52fkzj6fz7ms1nqqzdfmp11r3d")))
(origin
(method git-fetch)
(uri (git-reference
- branch master updated (21b718f4d6 -> a4038c4f78), guix-commits, 2023/07/20
- 02/23: gnu: hydra: Update to 9.5., guix-commits, 2023/07/20
- 01/23: gnu: zabbix-cli: Update to 2.3.1., guix-commits, 2023/07/20
- 08/23: gnu: xpdf: Update to 4.04., guix-commits, 2023/07/20
- 13/23: gnu: rpi-imager: Update to 1.7.5., guix-commits, 2023/07/20
- 12/23: gnu: qxlsx: Update to 1.4.6., guix-commits, 2023/07/20
- 15/23: gnu: wsdd: Remove input labels., guix-commits, 2023/07/20
- 18/23: gnu: sdl2-mixer: Update to 2.6.3., guix-commits, 2023/07/20
- 22/23: gnu: adanaxisgpl: Install the .mush files (again).,
guix-commits <=
- 23/23: gnu: fontforge@20190801: Fix build., guix-commits, 2023/07/20
- 03/23: gnu: yoshimi: Update to 2.3.0.2., guix-commits, 2023/07/20
- 07/23: gnu: yapet: Fix documentation directory., guix-commits, 2023/07/20
- 09/23: gnu: lensfun: Update to 0.3.4., guix-commits, 2023/07/20
- 10/23: gnu: python-pyzstd: Update to 0.15.9., guix-commits, 2023/07/20
- 05/23: gnu: passwdqc: Update to 2.0.3., guix-commits, 2023/07/20
- 06/23: gnu: yapet: Update to 2.6., guix-commits, 2023/07/20
- 11/23: gnu: python-pyzstd: Unbundle and dynamically link Zstd., guix-commits, 2023/07/20
- 16/23: gnu: wsdd: Fix cross-‘compilation’., guix-commits, 2023/07/20
- 20/23: gnu: adanaxisgpl: Build from Git., guix-commits, 2023/07/20