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>

To reply to this bug, email your comments to 77618 AT debbugs.gnu.org.
There is no need to reopen the bug first.

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

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


Report forwarded to adam.faiz <at> disroot.org, liliana.prikler <at> gmail.com, iyzsong <at> envs.net, guix-patches <at> gnu.org:
bug#77618; Package guix-patches. (Mon, 07 Apr 2025 20:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Morgan Smith <Morgan.J.Smith <at> outlook.com>:
New bug report received and forwarded. Copy sent to adam.faiz <at> disroot.org, liliana.prikler <at> gmail.com, iyzsong <at> envs.net, guix-patches <at> gnu.org. (Mon, 07 Apr 2025 20:45:02 GMT) Full text and rfc822 format available.

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

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





Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Fri, 11 Apr 2025 11:37:02 GMT) Full text and rfc822 format available.

Notification sent to Morgan Smith <Morgan.J.Smith <at> outlook.com>:
bug acknowledged by developer. (Fri, 11 Apr 2025 11:37:02 GMT) Full text and rfc822 format available.

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

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 1 (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 1 day ago.

Previous Next


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