GNU bug report logs -
#29808
[PATCH] gnu: Add Pioneer.
Previous Next
Reported by: ericbavier <at> centurylink.net
Date: Fri, 22 Dec 2017 04:44:02 UTC
Severity: normal
Tags: patch
Done: Eric Bavier <ericbavier <at> centurylink.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29808 in the body.
You can then email your comments to 29808 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#29808
; Package
guix-patches
.
(Fri, 22 Dec 2017 04:44:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ericbavier <at> centurylink.net
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Fri, 22 Dec 2017 04:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Eric Bavier <bavier <at> member.fsf.org>
* gnu/packages/games.scm (pioneer): New variable.
---
gnu/packages/games.scm | 57 +++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 56 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index c494d0beb..9a0ad161f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2,7 +2,7 @@
;;; Copyright © 2013 John Darrington <jmd <at> gnu.org>
;;; Copyright © 2013 Nikita Karetnikov <nikita <at> karetnikov.org>
;;; Copyright © 2014, 2015, 2016 David Thompson <dthompson2 <at> worcester.edu>
-;;; Copyright © 2014, 2015, 2016 Eric Bavier <bavier <at> member.fsf.org>
+;;; Copyright © 2014, 2015, 2016, 2017 Eric Bavier <bavier <at> member.fsf.org>
;;; Copyright © 2014 Cyrill Schenkel <cyrill.schenkel <at> gmail.com>
;;; Copyright © 2014 Sylvain Beucler <beuc <at> beuc.net>
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo <at> gnu.org>
@@ -80,6 +80,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gperf)
+ #:use-module (gnu packages graphics)
#:use-module (gnu packages gtk)
#:use-module (gnu packages guile)
#:use-module (gnu packages imagemagick)
@@ -5185,3 +5186,57 @@ It includes support for 64 bit CPUs, custom music playback, a new sound driver,
some graphical niceities, and numerous bug-fixes and other improvements.")
(home-page "http://quakespasm.sourceforge.net/")
(license license:gpl2+)))
+
+(define-public pioneer
+ (package
+ (name "pioneer")
+ (version "20171001")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/pioneerspacesim/pioneer/"
+ "archive/" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1nxhx22swfqq6lfvcnpfm31wig3sjv5pp0rslj79nbxc7nyihh8m"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("assimp" ,assimp)
+ ("curl" ,curl)
+ ("freetype" ,freetype)
+ ("glu" ,glu)
+ ("libpng" ,libpng)
+ ("libsigc++" ,libsigc++)
+ ("libvorbis" ,libvorbis)
+ ("lua" ,lua-5.2) ;not compatible with 5.3
+ ("mesa" ,mesa)
+ ("sdl" ,(sdl-union (list sdl2 sdl2-image)))))
+ (arguments
+ `(#:tests? #f ;tests are broken
+ #:configure-flags (list "--with-external-liblua"
+ (string-append "PIONEER_DATA_DIR="
+ %output "/share/games/pioneer"))
+ #:phases (modify-phases %standard-phases
+ (add-before 'configure 'bootstrap
+ (lambda _ (zero? (system "./bootstrap"))))
+ (add-before 'bootstrap 'fix-lua-check
+ (lambda _
+ (substitute* "configure.ac"
+ (("lua5.2")
+ (string-append "lua-" ,(version-major+minor
+ (package-version lua-5.2))))))))))
+ (home-page "http://pioneerspacesim.net")
+ (synopsis "Game of lonely space adventure")
+ (description
+ "Pioneer is a space adventure game set in our galaxy at the turn of the
+31st century. The game is open-ended, and you are free to eke out whatever
+kind of space-faring existence you can think of. Look for fame or fortune by
+exploring the millions of star systems. Turn to a life of crime as a pirate,
+smuggler or bounty hunter. Forge and break alliances with the various
+factions fighting for power, freedom or self-determination. The universe is
+whatever you make of it.")
+ (license license:gpl3)))
--
2.15.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29808
; Package
guix-patches
.
(Tue, 26 Dec 2017 19:21:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 29808 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Dec 21, 2017 at 05:42:50PM -0600, ericbavier <at> centurylink.net wrote:
> From: Eric Bavier <bavier <at> member.fsf.org>
>
> * gnu/packages/games.scm (pioneer): New variable.
Cool, I love this type of game :)
> + (arguments
> + `(#:tests? #f ;tests are broken
> + #:configure-flags (list "--with-external-liblua"
> + (string-append "PIONEER_DATA_DIR="
> + %output "/share/games/pioneer"))
This is just for the game's "assets", right? That is, it doesn't need to
be written to for things like saving the game?
> + #:phases (modify-phases %standard-phases
> + (add-before 'configure 'bootstrap
> + (lambda _ (zero? (system "./bootstrap"))))
Lately we have been doing these bootstrap phases directly after
unpacking:
https://lists.gnu.org/archive/html/guix-devel/2017-07/msg00101.html
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Eric Bavier <ericbavier <at> centurylink.net>
:
You have taken responsibility.
(Wed, 27 Dec 2017 19:21:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
ericbavier <at> centurylink.net
:
bug acknowledged by developer.
(Wed, 27 Dec 2017 19:21:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 29808-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Tue, 26 Dec 2017 14:20:02 -0500
Leo Famulari <leo <at> famulari.name> wrote:
> On Thu, Dec 21, 2017 at 05:42:50PM -0600, ericbavier <at> centurylink.net wrote:
> > From: Eric Bavier <bavier <at> member.fsf.org>
> >
> > * gnu/packages/games.scm (pioneer): New variable.
>
> Cool, I love this type of game :)
Me too :)
>
> > + (arguments
> > + `(#:tests? #f ;tests are broken
> > + #:configure-flags (list "--with-external-liblua"
> > + (string-append "PIONEER_DATA_DIR="
> > + %output "/share/games/pioneer"))
>
> This is just for the game's "assets", right? That is, it doesn't need to
> be written to for things like saving the game?
Right, afaict nothing is written there during gameplay.
>
> > + #:phases (modify-phases %standard-phases
> > + (add-before 'configure 'bootstrap
> > + (lambda _ (zero? (system "./bootstrap"))))
>
> Lately we have been doing these bootstrap phases directly after
> unpacking:
>
> https://lists.gnu.org/archive/html/guix-devel/2017-07/msg00101.html
Good catch. Thanks.
Fixed and pushed in aac1aa75f4fede7db9fb5be1af344c985fd526f4
`~Eric
[Message part 2 (application/pgp-signature, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 25 Jan 2018 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 204 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.