GNU bug report logs - #48441
[PATCH] gnu: Add schiffbruch.

Previous Next

Package: guix-patches;

Reported by: Felix Gruber <felgru <at> posteo.net>

Date: Sat, 15 May 2021 13:47:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

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 48441 in the body.
You can then email your comments to 48441 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#48441; Package guix-patches. (Sat, 15 May 2021 13:47:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Felix Gruber <felgru <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 15 May 2021 13:47:01 GMT) Full text and rfc822 format available.

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

From: Felix Gruber <felgru <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: Felix Gruber <felgru <at> posteo.net>
Subject: [PATCH] gnu: Add schiffbruch.
Date: Sat, 15 May 2021 13:45:40 +0000
* gnu/packages/games.scm (schiffbruch): New variable.
---
 gnu/packages/games.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 731c0cbc4a..37065dec09 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -60,6 +60,7 @@
 ;;; Copyright © 2021 Stefan Reichör <stefan <at> xsteve.at>
 ;;; Copyright © 2021 Greg Hogan <code <at> greghogan.com>
 ;;; Copyright © 2021 David Pflug <david <at> pflug.io>
+;;; Copyright © 2021 Felix Gruber <felgru <at> posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -12472,3 +12473,38 @@ game FPS.")
 implemented using ncurses user interface.  An SDL graphical version is also
 available.")
     (license license:gpl3+)))
+
+(define-public schiffbruch
+  (package
+    (name "schiffbruch")
+    (version "1.2.1-git-e41916d")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/sandsmark/Schiffbruch")
+             ; There haven't been any releases for several years, so
+             ; I've taken the most recent commit from the master branch
+             ; that didn't fail to build (the last commit gave me a compile
+             ; error).
+             (commit "e41916d15d87749c82c5005cbb42d1bb079b43d9")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0lg3rqacrapf6c4sxi12cm9bmg43mlbclway1zxcm848pi1xkzwv"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f ; no tests
+       #:build-type "Release"))
+    (native-inputs
+     `(("gcc" ,gcc-11)))  ; need C++20-compatible compiler
+    (inputs
+     `(("sfml" ,sfml)))
+    (home-page "https://github.com/sandsmark/Schiffbruch/")
+    (synopsis "Pixelart survival game")
+    (description
+     "Schiffbruch is a mix of building, strategy and adventure and gets played
+with a two-dimensional view.  The game deals with the consequences of a ship
+wreckage.  You're stranded on a desert island and have to survive.  In order to
+do so you need to explore the island, find food, build a shelter and try to
+get attention, so you get found.")
+    (license (list license:cc-by4.0))))
-- 
2.30.2





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 19 May 2021 21:17:01 GMT) Full text and rfc822 format available.

Notification sent to Felix Gruber <felgru <at> posteo.net>:
bug acknowledged by developer. (Wed, 19 May 2021 21:17:01 GMT) Full text and rfc822 format available.

Message #10 received at 48441-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Felix Gruber <felgru <at> posteo.net>
Cc: 48441-done <at> debbugs.gnu.org
Subject: Re: bug#48441: [PATCH] gnu: Add schiffbruch.
Date: Wed, 19 May 2021 23:15:53 +0200
[Message part 1 (text/plain, inline)]
Hi,

Felix Gruber <felgru <at> posteo.net> skribis:

> * gnu/packages/games.scm (schiffbruch): New variable.

Pushed with the cosmetic changes below: using ‘git-version’ to compute
the version string, avoiding (list …) for the license, and using two
semicolons for block comments.

Thanks!

Ludo’.

[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 37065dec09..6908d115f2 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -12475,36 +12475,36 @@ available.")
     (license license:gpl3+)))
 
 (define-public schiffbruch
-  (package
-    (name "schiffbruch")
-    (version "1.2.1-git-e41916d")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/sandsmark/Schiffbruch")
-             ; There haven't been any releases for several years, so
-             ; I've taken the most recent commit from the master branch
-             ; that didn't fail to build (the last commit gave me a compile
-             ; error).
-             (commit "e41916d15d87749c82c5005cbb42d1bb079b43d9")))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0lg3rqacrapf6c4sxi12cm9bmg43mlbclway1zxcm848pi1xkzwv"))))
-    (build-system cmake-build-system)
-    (arguments
-     `(#:tests? #f ; no tests
-       #:build-type "Release"))
-    (native-inputs
-     `(("gcc" ,gcc-11)))  ; need C++20-compatible compiler
-    (inputs
-     `(("sfml" ,sfml)))
-    (home-page "https://github.com/sandsmark/Schiffbruch/")
-    (synopsis "Pixelart survival game")
-    (description
-     "Schiffbruch is a mix of building, strategy and adventure and gets played
+  ;; There haven't been any releases for several years, so I've taken the most
+  ;; recent commit from the master branch that didn't fail to build (the last
+  ;; commit gave me a compile error).
+  (let ((commit "e41916d15d87749c82c5005cbb42d1bb079b43d9"))
+    (package
+      (name "schiffbruch")
+      (version (git-version "1.2.1" "0" commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/sandsmark/Schiffbruch")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0lg3rqacrapf6c4sxi12cm9bmg43mlbclway1zxcm848pi1xkzwv"))))
+      (build-system cmake-build-system)
+      (arguments
+       `(#:tests? #f                              ; no tests
+         #:build-type "Release"))
+      (native-inputs
+       `(("gcc" ,gcc-11)))                    ; need C++20-compatible compiler
+      (inputs
+       `(("sfml" ,sfml)))
+      (home-page "https://github.com/sandsmark/Schiffbruch/")
+      (synopsis "Pixelart survival game")
+      (description
+       "Schiffbruch is a mix of building, strategy and adventure and gets played
 with a two-dimensional view.  The game deals with the consequences of a ship
 wreckage.  You're stranded on a desert island and have to survive.  In order to
 do so you need to explore the island, find food, build a shelter and try to
 get attention, so you get found.")
-    (license (list license:cc-by4.0))))
+      (license license:cc-by4.0))))

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 17 Jun 2021 11:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 314 days ago.

Previous Next


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