GNU bug report logs - #49828
[PATCH 00/20] Add minetest mods

Previous Next

Package: guix-patches;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Mon, 2 Aug 2021 15:48:02 UTC

Severity: normal

Tags: patch

Done: Leo Prikler <leo.prikler <at> student.tugraz.at>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 49828 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: 49828 <at> debbugs.gnu.org
Cc: Maxime Devos <maximedevos <at> telenet.be>
Subject: [PATCH 05/20] build-system: minetest: Don't retain references to
 "bash-minimal".
Date: Mon,  2 Aug 2021 17:50:04 +0200
* guix/build-system/minetest.scm
  (%standard-phases): New variable.  Delete "patch-source-shebangs"
  phase.
  (lower-mod): Set #:phases to value of new variable.
---
 guix/build-system/minetest.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/guix/build-system/minetest.scm b/guix/build-system/minetest.scm
index 29866ced6d..993c5631eb 100644
--- a/guix/build-system/minetest.scm
+++ b/guix/build-system/minetest.scm
@@ -35,6 +35,14 @@
       (substring package-name 9)
       package-name))
 
+(define %standard-phases
+  ;; The source code sometimes contains shell scripts which are used for
+  ;; development but not at run time (e.g. listnodes.sh in
+  ;; minetest-homedecor-modpack).  Don't make them retain a reference
+  ;; to bash-minimal.
+  '(modify-phases (@ (guix build copy-build-system) %standard-phases)
+     (delete 'patch-source-shebangs)))
+
 (define (lower-mod name . arguments)
   (define lower (build-system-lower copy-build-system))
   (apply lower
@@ -42,6 +50,7 @@
     #:install-plan
     `'(("." ,(string-append "share/minetest/mods/"
                             (guix-name->mod-name name))))
+    #:phases %standard-phases
     arguments))
 
 (define minetest-mod-build-system
-- 
2.32.0





This bug report was last modified 3 years and 330 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.