GNU bug report logs - #77618
[PATCH] gnu: azimuth: Update to 1.0.3-0.050f838.

Previous Next

Package: guix-patches;

Reported by: Morgan Smith <Morgan.J.Smith <at> outlook.com>

Date: Mon, 7 Apr 2025 20:45:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Christopher Baines <mail <at> cbaines.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#77618: closed ([PATCH] gnu: azimuth: Update to 1.0.3-0.050f838.)
Date: Fri, 11 Apr 2025 11:37:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 11 Apr 2025 12:36:23 +0100
with message-id <87bjt3vsjs.fsf <at> cbaines.net>
and subject line Re: [bug#77618] [PATCH] gnu: azimuth: Update to 1.0.3-0.050f838.
has caused the debbugs.gnu.org bug report #77618,
regarding [PATCH] gnu: azimuth: Update to 1.0.3-0.050f838.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
77618: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77618
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Morgan Smith <Morgan.J.Smith <at> outlook.com>
To: guix-patches <at> gnu.org
Cc: Morgan Smith <Morgan.J.Smith <at> outlook.com>
Subject: [PATCH] gnu: azimuth: Update to 1.0.3-0.050f838.
Date: Mon,  7 Apr 2025 16:42:26 -0400
* gnu/packages/games.scm (azimuth): Update to 1.0.3-0.050f838.

Change-Id: I8fac420512b89b9f3af2d7dedeed48b06d4ca684
---

This patch fixes a failing build

 gnu/packages/games.scm | 75 +++++++++++++++++++++++-------------------
 1 file changed, 41 insertions(+), 34 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index a69b492e6c..dbf2c779a4 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -12024,41 +12024,48 @@ (define-public xevil
       (license license:gpl2+))))
 
 (define-public azimuth
-  (package
-    (name "azimuth")
-    ;; Not marked as latest release, but it fixes a compiling issue
-    ;; and adds the install target.
-    (version "1.0.3")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/mdsteele/azimuth")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "1znfvpmqiixd977jv748glk5zc4cmhw5813zp81waj07r9b0828r"))))
-    (build-system gnu-build-system)
-    (arguments
-     `(#:test-target "test"
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure)            ; no configure script
-         ;; Build release version instead of debug version.
-         (add-after 'unpack 'set-release
-           (lambda _
-             (setenv "BUILDTYPE" "release") #t))
-         (add-after 'unpack 'fix-install ; set install directory
-           (lambda* (#:key outputs #:allow-other-keys)
-             (substitute* "Makefile" (("/usr") (assoc-ref outputs "out"))) #t)))))
-    (inputs (list sdl))
-    (home-page "https://mdsteele.games/azimuth/")
-    (synopsis "Metroidvania game with vector graphics")
-    (description
-     "Pilot your ship inside a planet to find and rescue the colonists trapped
+  ;; 1.0.3 - May 29, 2019
+  ;; Has build errors so build from latest source
+  (let ((commit "050f838b35d19ffdc738f33178abaf9d69d834ec")
+        (revision "0"))
+    (package
+      (name "azimuth")
+      (version (git-version "1.0.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mdsteele/azimuth")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1b5grp9ddhrj3n39j1j5vzm3052d4bd09fpz0b011h769vapwi0i"))))
+      (build-system gnu-build-system)
+      (arguments
+       `(#:test-target "test"
+         #:phases
+         (modify-phases %standard-phases
+           (delete 'configure)            ; no configure script
+           ;; Build release version instead of debug version.
+           (add-after 'unpack 'set-release
+             (lambda _
+               (setenv "BUILDTYPE" "release")))
+           (add-after 'unpack 'fix-build
+             (lambda* (#:key outputs #:allow-other-keys)
+               (substitute* "Makefile"
+                 (("-Werror") ""))))
+           (add-after 'unpack 'fix-install ; set install directory
+             (lambda* (#:key outputs #:allow-other-keys)
+               (substitute* "Makefile" (("/usr") (assoc-ref outputs "out"))) #t)))))
+      (inputs (list sdl2))
+      (native-inputs (list pkg-config))
+      (home-page "https://mdsteele.games/azimuth/")
+      (synopsis "Metroidvania game with vector graphics")
+      (description
+       "Pilot your ship inside a planet to find and rescue the colonists trapped
 inside the Zenith Colony.")
-    (license license:gpl3+)))
+      (license license:gpl3+))))
 
 (define-public cgoban
   (package

base-commit: 666a6cfd88b3e5106a9180e06ea128db8084be0e
-- 
2.49.0



[Message part 3 (message/rfc822, inline)]
From: Christopher Baines <mail <at> cbaines.net>
To: Morgan Smith <Morgan.J.Smith <at> outlook.com>
Cc: 宋文武 <iyzsong <at> envs.net>, 77618-done <at> debbugs.gnu.org,
 Liliana Marie Prikler <liliana.prikler <at> gmail.com>,
 Adam Faiz <adam.faiz <at> disroot.org>
Subject: Re: [bug#77618] [PATCH] gnu: azimuth: Update to 1.0.3-0.050f838.
Date: Fri, 11 Apr 2025 12:36:23 +0100
[Message part 4 (text/plain, inline)]
Morgan Smith <Morgan.J.Smith <at> outlook.com> writes:

> * gnu/packages/games.scm (azimuth): Update to 1.0.3-0.050f838.
>
> Change-Id: I8fac420512b89b9f3af2d7dedeed48b06d4ca684
> ---
>
> This patch fixes a failing build
>
>  gnu/packages/games.scm | 75 +++++++++++++++++++++++-------------------
>  1 file changed, 41 insertions(+), 34 deletions(-)

Thanks for the patch, I took the opportunity to switch the arguments to
use G-expressions and pushed this to master as
5cdfd3d81fef06e364495304109e403b7357b8ad.

Chris
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 95 days ago.

Previous Next


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