all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#70971] [PATCH 0/3] Update dhewm3
@ 2024-05-16  0:42 James Smith via Guix-patches via
  2024-05-16  0:46 ` [bug#70971] [PATCH 1/3] gnu: dhewm3: Use git repository James Smith via Guix-patches via
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: James Smith via Guix-patches via @ 2024-05-16  0:42 UTC (permalink / raw)
  To: 70971
  Cc: James Smith, Adam Faiz, Liliana Marie Prikler,
	宋文武

This patch series makes changes to dhewm3, such as fetching from the git
repository instead of a generated tarball, switching to G-Expressions, and
updating it to 1.5.3.

James Smith (3):
  gnu: dhewm3: Use git repository.
  gnu: dhewm3: Use gexps.
  gnu: dhewm3: Update to 1.5.3.

 gnu/packages/game-development.scm | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)


base-commit: 6cdb6cc6ef3b6d810cb26d19e23da309d63d1eaf
-- 
2.41.0





^ permalink raw reply	[flat|nested] 12+ messages in thread

* [bug#70971] [PATCH 1/3] gnu: dhewm3: Use git repository.
  2024-05-16  0:42 [bug#70971] [PATCH 0/3] Update dhewm3 James Smith via Guix-patches via
@ 2024-05-16  0:46 ` James Smith via Guix-patches via
  2024-05-16  0:46 ` [bug#70971] [PATCH 2/3] gnu: dhewm3: Use gexps James Smith via Guix-patches via
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: James Smith via Guix-patches via @ 2024-05-16  0:46 UTC (permalink / raw)
  To: 70971
  Cc: James Smith, Adam Faiz, Liliana Marie Prikler,
	宋文武

* gnu/packages/game-development.scm (dhewm3) [source]: Use git repository
instead of downloading a tarball from GitHub.

Change-Id: I81ff5de0687221d7eec64b0165dbf10c2d041260
---
 gnu/packages/game-development.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index bf0f984ec7..86d3cc0a06 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -29,6 +29,7 @@
 ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
 ;;; Copyright © 2022 dan <i@dan.games>
 ;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
+;;; Copyright © 2024 James Smith <jsubuntuxp@disroot.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3099,13 +3100,13 @@ (define-public dhewm3
     (name "dhewm3")
     (version "1.5.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/dhewm/dhewm3/releases/download/"
-                    version "/dhewm3-" version "-src.tar.xz"))
+              (method git-fetch)
+              (uri (git-reference (url "https://github.com/dhewm/dhewm3")
+                                  (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "10p0w1x5wx9b7d8mzvb6yqjia9prhkjwz04vbvphy8p383r33am6"))))
+                "056prmry1lag1pandcw058y5yzbah80ccmz8qlmlx9siz8zlxqyw"))))
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f                      ; No tests.
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70971] [PATCH 2/3] gnu: dhewm3: Use gexps.
  2024-05-16  0:42 [bug#70971] [PATCH 0/3] Update dhewm3 James Smith via Guix-patches via
  2024-05-16  0:46 ` [bug#70971] [PATCH 1/3] gnu: dhewm3: Use git repository James Smith via Guix-patches via
@ 2024-05-16  0:46 ` James Smith via Guix-patches via
  2024-05-16  0:46 ` [bug#70971] [PATCH 3/3] gnu: dhewm3: Update to 1.5.3 James Smith via Guix-patches via
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: James Smith via Guix-patches via @ 2024-05-16  0:46 UTC (permalink / raw)
  To: 70971
  Cc: James Smith, Adam Faiz, Liliana Marie Prikler,
	宋文武

* gnu/packages/game-development.scm (dhewm3) [arguments]: Use gexps.

Change-Id: I0a9090a30a988adeb177f282066b1aa31ca1a483
---
 gnu/packages/game-development.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 86d3cc0a06..1c0d4ec6bf 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -3109,12 +3109,12 @@ (define-public dhewm3
                 "056prmry1lag1pandcw058y5yzbah80ccmz8qlmlx9siz8zlxqyw"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:tests? #f                      ; No tests.
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'change-to-build-dir
-           (lambda _
-             (chdir "neo"))))))
+     (list #:tests? #f                  ; No tests.
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'change-to-build-dir
+                 (lambda _
+                   (chdir "neo"))))))
     (inputs
      (list curl
            libx11
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70971] [PATCH 3/3] gnu: dhewm3: Update to 1.5.3.
  2024-05-16  0:42 [bug#70971] [PATCH 0/3] Update dhewm3 James Smith via Guix-patches via
  2024-05-16  0:46 ` [bug#70971] [PATCH 1/3] gnu: dhewm3: Use git repository James Smith via Guix-patches via
  2024-05-16  0:46 ` [bug#70971] [PATCH 2/3] gnu: dhewm3: Use gexps James Smith via Guix-patches via
@ 2024-05-16  0:46 ` James Smith via Guix-patches via
  2024-06-07  5:45 ` [bug#70971] [PATCH v2 0/3] Update dhewm3 James Smith via Guix-patches via
  2024-06-30 10:46 ` bug#70971: Close Andreas Enge
  4 siblings, 0 replies; 12+ messages in thread
From: James Smith via Guix-patches via @ 2024-05-16  0:46 UTC (permalink / raw)
  To: 70971
  Cc: James Smith, Adam Faiz, Liliana Marie Prikler,
	宋文武

* gnu/packages/game-development.scm (dhewm3): Update to 1.5.3.

Change-Id: Iaf1b29540f87043ae6ceef9f3860e5c9331dd191
---
 gnu/packages/game-development.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 1c0d4ec6bf..3520a23454 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -3098,7 +3098,7 @@ (define-public warsow-qfusion
 (define-public dhewm3
   (package
     (name "dhewm3")
-    (version "1.5.2")
+    (version "1.5.3")
     (source (origin
               (method git-fetch)
               (uri (git-reference (url "https://github.com/dhewm/dhewm3")
@@ -3106,7 +3106,7 @@ (define-public dhewm3
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "056prmry1lag1pandcw058y5yzbah80ccmz8qlmlx9siz8zlxqyw"))))
+                "1zbwhrngmgb0969izmxididyx892qk7591aa9mbigakw6dvmlm84"))))
     (build-system cmake-build-system)
     (arguments
      (list #:tests? #f                  ; No tests.
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70971] [PATCH v2 0/3] Update dhewm3
  2024-05-16  0:42 [bug#70971] [PATCH 0/3] Update dhewm3 James Smith via Guix-patches via
                   ` (2 preceding siblings ...)
  2024-05-16  0:46 ` [bug#70971] [PATCH 3/3] gnu: dhewm3: Update to 1.5.3 James Smith via Guix-patches via
@ 2024-06-07  5:45 ` James Smith via Guix-patches via
  2024-06-07  5:45   ` [bug#70971] [PATCH v2 1/3] gnu: dhewm3: Use git repository James Smith via Guix-patches via
                     ` (2 more replies)
  2024-06-30 10:46 ` bug#70971: Close Andreas Enge
  4 siblings, 3 replies; 12+ messages in thread
From: James Smith via Guix-patches via @ 2024-06-07  5:45 UTC (permalink / raw)
  To: 70971
  Cc: James Smith, Adam Faiz, Liliana Marie Prikler,
	宋文武

Rebased patch series, updated existing copyright line instead of creating a
duplicate copyright line in the first patch.

James Smith (3):
  gnu: dhewm3: Use git repository.
  gnu: dhewm3: Use gexps.
  gnu: dhewm3: Update to 1.5.3.

 gnu/packages/game-development.scm | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)


base-commit: 580d77d0fb12448ef1621699cc0c56e787e2aadb
-- 
2.45.1





^ permalink raw reply	[flat|nested] 12+ messages in thread

* [bug#70971] [PATCH v2 1/3] gnu: dhewm3: Use git repository.
  2024-06-07  5:45 ` [bug#70971] [PATCH v2 0/3] Update dhewm3 James Smith via Guix-patches via
@ 2024-06-07  5:45   ` James Smith via Guix-patches via
  2024-06-11 10:38     ` Christopher Baines
  2024-06-07  5:45   ` [bug#70971] [PATCH v2 2/3] gnu: dhewm3: Use gexps James Smith via Guix-patches via
  2024-06-07  5:45   ` [bug#70971] [PATCH v2 3/3] gnu: dhewm3: Update to 1.5.3 James Smith via Guix-patches via
  2 siblings, 1 reply; 12+ messages in thread
From: James Smith via Guix-patches via @ 2024-06-07  5:45 UTC (permalink / raw)
  To: 70971
  Cc: James Smith, Adam Faiz, Liliana Marie Prikler,
	宋文武

* gnu/packages/game-development.scm (dhewm3) [source]: Use git repository
instead of downloading a tarball from GitHub.

Change-Id: I81ff5de0687221d7eec64b0165dbf10c2d041260
---
 gnu/packages/game-development.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 5b7852c4eb..89ace2925b 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -22,7 +22,7 @@
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407@posteo.ro>
 ;;; Copyright © 2021 Dmitry Polyakov <polyakov@liltechdude.xyz>
-;;; Copyright © 2020-2022 James Smith <jsubuntuxp@disroot.org>
+;;; Copyright © 2020-2022, 2024 James Smith <jsubuntuxp@disroot.org>
 ;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
 ;;; Copyright © 2021 Andy Tai <atai@atai.org>
 ;;; Copyright © 2022 Felix Gruber <felgru@posteo.net>
@@ -3101,13 +3101,13 @@ (define-public dhewm3
     (name "dhewm3")
     (version "1.5.2")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/dhewm/dhewm3/releases/download/"
-                    version "/dhewm3-" version "-src.tar.xz"))
+              (method git-fetch)
+              (uri (git-reference (url "https://github.com/dhewm/dhewm3")
+                                  (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "10p0w1x5wx9b7d8mzvb6yqjia9prhkjwz04vbvphy8p383r33am6"))))
+                "056prmry1lag1pandcw058y5yzbah80ccmz8qlmlx9siz8zlxqyw"))))
     (build-system cmake-build-system)
     (arguments
      `(#:tests? #f                      ; No tests.
-- 
2.45.1





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70971] [PATCH v2 2/3] gnu: dhewm3: Use gexps.
  2024-06-07  5:45 ` [bug#70971] [PATCH v2 0/3] Update dhewm3 James Smith via Guix-patches via
  2024-06-07  5:45   ` [bug#70971] [PATCH v2 1/3] gnu: dhewm3: Use git repository James Smith via Guix-patches via
@ 2024-06-07  5:45   ` James Smith via Guix-patches via
  2024-06-07  5:45   ` [bug#70971] [PATCH v2 3/3] gnu: dhewm3: Update to 1.5.3 James Smith via Guix-patches via
  2 siblings, 0 replies; 12+ messages in thread
From: James Smith via Guix-patches via @ 2024-06-07  5:45 UTC (permalink / raw)
  To: 70971
  Cc: James Smith, Adam Faiz, Liliana Marie Prikler,
	宋文武

* gnu/packages/game-development.scm (dhewm3) [arguments]: Use gexps.

Change-Id: I0a9090a30a988adeb177f282066b1aa31ca1a483
---
 gnu/packages/game-development.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 89ace2925b..45a0db95c2 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -3110,12 +3110,12 @@ (define-public dhewm3
                 "056prmry1lag1pandcw058y5yzbah80ccmz8qlmlx9siz8zlxqyw"))))
     (build-system cmake-build-system)
     (arguments
-     `(#:tests? #f                      ; No tests.
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'change-to-build-dir
-           (lambda _
-             (chdir "neo"))))))
+     (list #:tests? #f                  ; No tests.
+           #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'change-to-build-dir
+                 (lambda _
+                   (chdir "neo"))))))
     (inputs
      (list curl
            libx11
-- 
2.45.1





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70971] [PATCH v2 3/3] gnu: dhewm3: Update to 1.5.3.
  2024-06-07  5:45 ` [bug#70971] [PATCH v2 0/3] Update dhewm3 James Smith via Guix-patches via
  2024-06-07  5:45   ` [bug#70971] [PATCH v2 1/3] gnu: dhewm3: Use git repository James Smith via Guix-patches via
  2024-06-07  5:45   ` [bug#70971] [PATCH v2 2/3] gnu: dhewm3: Use gexps James Smith via Guix-patches via
@ 2024-06-07  5:45   ` James Smith via Guix-patches via
  2 siblings, 0 replies; 12+ messages in thread
From: James Smith via Guix-patches via @ 2024-06-07  5:45 UTC (permalink / raw)
  To: 70971
  Cc: James Smith, Adam Faiz, Liliana Marie Prikler,
	宋文武

* gnu/packages/game-development.scm (dhewm3): Update to 1.5.3.

Change-Id: Iaf1b29540f87043ae6ceef9f3860e5c9331dd191
---
 gnu/packages/game-development.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-development.scm
index 45a0db95c2..c3a0cfbbd1 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -3099,7 +3099,7 @@ (define-public warsow-qfusion
 (define-public dhewm3
   (package
     (name "dhewm3")
-    (version "1.5.2")
+    (version "1.5.3")
     (source (origin
               (method git-fetch)
               (uri (git-reference (url "https://github.com/dhewm/dhewm3")
@@ -3107,7 +3107,7 @@ (define-public dhewm3
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "056prmry1lag1pandcw058y5yzbah80ccmz8qlmlx9siz8zlxqyw"))))
+                "1zbwhrngmgb0969izmxididyx892qk7591aa9mbigakw6dvmlm84"))))
     (build-system cmake-build-system)
     (arguments
      (list #:tests? #f                  ; No tests.
-- 
2.45.1





^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [bug#70971] [PATCH v2 1/3] gnu: dhewm3: Use git repository.
  2024-06-07  5:45   ` [bug#70971] [PATCH v2 1/3] gnu: dhewm3: Use git repository James Smith via Guix-patches via
@ 2024-06-11 10:38     ` Christopher Baines
  2024-06-11 12:45       ` James Smith via Guix-patches via
  0 siblings, 1 reply; 12+ messages in thread
From: Christopher Baines @ 2024-06-11 10:38 UTC (permalink / raw)
  To: 70971; +Cc: iyzsong, adam.faiz, jsubuntuxp, liliana.prikler

[-- Attachment #1: Type: text/plain, Size: 473 bytes --]

James Smith via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/game-development.scm (dhewm3) [source]: Use git repository
> instead of downloading a tarball from GitHub.
>
> Change-Id: I81ff5de0687221d7eec64b0165dbf10c2d041260
> ---
>  gnu/packages/game-development.scm | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

I'm missing why you're making this change? I don't see anything wrong
with using these upstream release tarballs.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [bug#70971] [PATCH v2 1/3] gnu: dhewm3: Use git repository.
  2024-06-11 10:38     ` Christopher Baines
@ 2024-06-11 12:45       ` James Smith via Guix-patches via
  2024-06-22 16:33         ` Christopher Baines
  0 siblings, 1 reply; 12+ messages in thread
From: James Smith via Guix-patches via @ 2024-06-11 12:45 UTC (permalink / raw)
  To: Christopher Baines; +Cc: iyzsong, 70971, adam.faiz, liliana.prikler

Christopher Baines <mail@cbaines.net> writes:

> James Smith via Guix-patches via <guix-patches@gnu.org> writes:
>
>> * gnu/packages/game-development.scm (dhewm3) [source]: Use git repository
>> instead of downloading a tarball from GitHub.
>>
>> Change-Id: I81ff5de0687221d7eec64b0165dbf10c2d041260
>> ---
>>  gnu/packages/game-development.scm | 12 ++++++------
>>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> I'm missing why you're making this change? I don't see anything wrong
> with using these upstream release tarballs.

I noticed that the package was using a tarball from GitHub and assumed
that it was one that was autogenerated. Upon closer inspection, I see
that it's a manually pack tarball instead. I can send a new set of
patches that excludes switching to the git repository if needed.




^ permalink raw reply	[flat|nested] 12+ messages in thread

* [bug#70971] [PATCH v2 1/3] gnu: dhewm3: Use git repository.
  2024-06-11 12:45       ` James Smith via Guix-patches via
@ 2024-06-22 16:33         ` Christopher Baines
  0 siblings, 0 replies; 12+ messages in thread
From: Christopher Baines @ 2024-06-22 16:33 UTC (permalink / raw)
  To: Liliana Marie Prikler; +Cc: 70971, James Smith

[-- Attachment #1: Type: text/plain, Size: 1084 bytes --]

James Smith <jsubuntuxp@disroot.org> writes:

> Christopher Baines <mail@cbaines.net> writes:
>
>> James Smith via Guix-patches via <guix-patches@gnu.org> writes:
>>
>>> * gnu/packages/game-development.scm (dhewm3) [source]: Use git repository
>>> instead of downloading a tarball from GitHub.
>>>
>>> Change-Id: I81ff5de0687221d7eec64b0165dbf10c2d041260
>>> ---
>>>  gnu/packages/game-development.scm | 12 ++++++------
>>>  1 file changed, 6 insertions(+), 6 deletions(-)
>>
>> I'm missing why you're making this change? I don't see anything wrong
>> with using these upstream release tarballs.
>
> I noticed that the package was using a tarball from GitHub and assumed
> that it was one that was autogenerated. Upon closer inspection, I see
> that it's a manually pack tarball instead. I can send a new set of
> patches that excludes switching to the git repository if needed.

I tried to apply the patches, but they look to have already been
applied.

I'll leave the issue open until it's been decided whether to keep the
switch to the Git repository or go back to using tarballs.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#70971: Close
  2024-05-16  0:42 [bug#70971] [PATCH 0/3] Update dhewm3 James Smith via Guix-patches via
                   ` (3 preceding siblings ...)
  2024-06-07  5:45 ` [bug#70971] [PATCH v2 0/3] Update dhewm3 James Smith via Guix-patches via
@ 2024-06-30 10:46 ` Andreas Enge
  4 siblings, 0 replies; 12+ messages in thread
From: Andreas Enge @ 2024-06-30 10:46 UTC (permalink / raw)
  To: 70971-done

Hello,

I am closing this bug report, as I think either way, using tarballs or
git repositories, is fine. Now that the switch to git has been applied,
I do not see a compelling reason to revert it.

Andreas





^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-06-30 10:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16  0:42 [bug#70971] [PATCH 0/3] Update dhewm3 James Smith via Guix-patches via
2024-05-16  0:46 ` [bug#70971] [PATCH 1/3] gnu: dhewm3: Use git repository James Smith via Guix-patches via
2024-05-16  0:46 ` [bug#70971] [PATCH 2/3] gnu: dhewm3: Use gexps James Smith via Guix-patches via
2024-05-16  0:46 ` [bug#70971] [PATCH 3/3] gnu: dhewm3: Update to 1.5.3 James Smith via Guix-patches via
2024-06-07  5:45 ` [bug#70971] [PATCH v2 0/3] Update dhewm3 James Smith via Guix-patches via
2024-06-07  5:45   ` [bug#70971] [PATCH v2 1/3] gnu: dhewm3: Use git repository James Smith via Guix-patches via
2024-06-11 10:38     ` Christopher Baines
2024-06-11 12:45       ` James Smith via Guix-patches via
2024-06-22 16:33         ` Christopher Baines
2024-06-07  5:45   ` [bug#70971] [PATCH v2 2/3] gnu: dhewm3: Use gexps James Smith via Guix-patches via
2024-06-07  5:45   ` [bug#70971] [PATCH v2 3/3] gnu: dhewm3: Update to 1.5.3 James Smith via Guix-patches via
2024-06-30 10:46 ` bug#70971: Close Andreas Enge

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.