unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48795] [PATCH] gnu: pioneer: Build with model files.
@ 2021-06-02 18:48 Diego Nicola Barbato
  2021-06-02 19:43 ` bug#48795: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Diego Nicola Barbato @ 2021-06-02 18:48 UTC (permalink / raw)
  To: 48795

[-- Attachment #1: Type: text/plain, Size: 491 bytes --]

Hey Guix,

According to a comment on an issue on GitHub [1] pioneer now (version
20210203) has to be compiled with `make all build-data' when doing a
release build.  Otherwise the game fails to start with the following
error:

  Fatal: Error while loading Space Station data (check stdout/output.txt).

The attached patch adds the required make-flags and fixes
https://bugs.gnu.org/48686.

Regards,

Diego

[1]: https://github.com/pioneerspacesim/pioneer/issues/5138#issuecomment-773820174


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-pioneer-Build-with-model-files.patch --]
[-- Type: text/x-patch, Size: 1204 bytes --]

From ca5cbf054c44150a74c1c31565019996b1aa9e9c Mon Sep 17 00:00:00 2001
From: Diego Nicola Barbato <dnbarbato@posteo.de>
Date: Thu, 25 Feb 2021 10:00:13 +0100
Subject: [PATCH] gnu: pioneer: Build with model files.

Fixes <https://bugs.gnu.org/48686>.

* gnu/packages/games.scm (pioneer)[arguments]: Add make-flags for building
with model files.
---
 gnu/packages/games.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 6b16d5bc8a..2eaea5868e 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -7293,7 +7293,8 @@ elements to achieve a simple goal in the most complex way possible.")
      `(#:tests? #f                      ;tests are broken
        #:configure-flags (list "-DUSE_SYSTEM_LIBLUA:BOOL=YES"
                                (string-append "-DPIONEER_DATA_DIR="
-                                              %output "/share/games/pioneer"))))
+                                              %output "/share/games/pioneer"))
+       #:make-flags (list "all" "build-data")))
     (home-page "https://pioneerspacesim.net")
     (synopsis "Game of lonely space adventure")
     (description
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#48795: [PATCH] gnu: pioneer: Build with model files.
  2021-06-02 18:48 [bug#48795] [PATCH] gnu: pioneer: Build with model files Diego Nicola Barbato
@ 2021-06-02 19:43 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2021-06-02 19:43 UTC (permalink / raw)
  To: Diego Nicola Barbato; +Cc: 48795-done

Hello,

Diego Nicola Barbato <dnbarbato@posteo.de> writes:

> According to a comment on an issue on GitHub [1] pioneer now (version
> 20210203) has to be compiled with `make all build-data' when doing a
> release build.  Otherwise the game fails to start with the following
> error:
>
>   Fatal: Error while loading Space Station data (check stdout/output.txt).
>
> The attached patch adds the required make-flags and fixes
> https://bugs.gnu.org/48686.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-02 19:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-02 18:48 [bug#48795] [PATCH] gnu: pioneer: Build with model files Diego Nicola Barbato
2021-06-02 19:43 ` bug#48795: " Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).