Subject: bug#77618: closed (Re: [bug#77618] [PATCH] gnu: azimuth: Update to 1.0.3-0.050f838.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 11 Apr 2025 11:37:02 +0000

Your bug report

#77618: [PATCH] gnu: azimuth: Update to 1.0.3-0.050f838.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
77618: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77618
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#77618] [PATCH] gnu: azimuth: Update to 1.0.3-0.050f838.
From: Christopher Baines <[email-masked]>
To: Morgan Smith <[email-masked]>
Cc: 宋文武 <[email-masked]>, [email-masked], Liliana Marie Prikler <[email-masked]>, Adam Faiz <[email-masked]>
Date: Fri, 11 Apr 2025 12:36:23 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Morgan Smith <[email-masked]> 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

Subject: [PATCH] gnu: azimuth: Update to 1.0.3-0.050f838.
From: Morgan Smith <[email-masked]>
To: [email-masked]
Cc: Morgan Smith <[email-masked]>
Date: Mon, 7 Apr 2025 16:42:26 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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