* [bug#68987] [PATCH 1/2] gnu: moonfish: Update to 0-2.2118580.
2024-02-08 0:31 [bug#68987] [PATCH 0/2] update moonfish zamfofex
@ 2024-02-08 0:34 ` zamfofex
2024-02-08 17:50 ` Liliana Marie Prikler
2024-02-08 0:34 ` [bug#68987] [PATCH 2/2] gnu: moonfish: Improve description zamfofex
` (3 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: zamfofex @ 2024-02-08 0:34 UTC (permalink / raw)
To: 68987; +Cc: zamfofex, Liliana Marie Prikler, 宋文武
* gnu/packages/games.scm (moonfish): Update to 0-2.2118580.
Change-Id: I0c5b0e61f6818d29165a1371da717bb8695db834
---
gnu/packages/games.scm | 50 ++++++++++++++----------------------------
1 file changed, 17 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 06ba868f35..16e2ee828a 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10557,46 +10557,30 @@ (define-public stockfish
(license license:gpl3+))))
(define-public moonfish
- (let ((commit "4f8829009e8c26e6a878261e0bc4c7e7617ef6b6")
- (revision "1"))
+ (let ((commit "2118580d6ab454e165c7a84de6a604f96bc73850")
+ (revision "2"))
(package
(name "moonfish")
(version (git-version "0" revision commit))
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.sr.ht/~zamfofex/moonfish")
- (commit commit)))
- (sha256
- (base32
- "1ksg42x9cyn3pbfryy9raqb355k47cqcisascpy157c3cgdr2z60"))
- (file-name (git-file-name name version))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~zamfofex/moonfish")
+ (commit commit)))
+ (sha256
+ (base32 "1vqnmk2mpqd9nfchrirj5g3v3nqyhj3204d6fn3sihc2iqp4zyrk"))
+ (file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
(list
- #:make-flags
- #~(list (string-append "CC=" #$(cc-for-target)))
- #:tests? #f ;no check target
- #:phases
- #~(modify-phases %standard-phases
- (delete 'configure) ;no configure script
- (replace 'install ;no 'install' target
- (lambda _
- (let* ((out-bin (string-append #$output "/bin"))
- (tools-bin (string-append #$output:tools "/bin"))
- (tool (string-append tools-bin "/moonfish-")))
- (mkdir-p out-bin)
- (mkdir-p tools-bin)
- (copy-file "moonfish"
- (string-append out-bin "/moonfish"))
- (copy-file "play"
- (string-append tool "play"))
- (copy-file "lichess"
- (string-append tool "lichess"))
- (copy-file "analyse"
- (string-append tool "analyse"))))))))
+ #:make-flags #~(list (string-append "CC="
+ #$(cc-for-target))
+ (string-append "PREFIX=" %output))
+ #:tests? #f ;no check target
+ #:phases #~(modify-phases %standard-phases
+ (delete 'configure)))) ;no configure script
(inputs (list bearssl cjson))
- (outputs '("out" "tools"))
(home-page "https://git.sr.ht/~zamfofex/moonfish")
(synopsis "Simple chess engine written in C")
(description
--
2.41.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#68987] [PATCH 1/2] gnu: moonfish: Update to 0-2.2118580.
2024-02-08 0:34 ` [bug#68987] [PATCH 1/2] gnu: moonfish: Update to 0-2.2118580 zamfofex
@ 2024-02-08 17:50 ` Liliana Marie Prikler
2024-02-08 23:34 ` zamfofex
0 siblings, 1 reply; 11+ messages in thread
From: Liliana Marie Prikler @ 2024-02-08 17:50 UTC (permalink / raw)
To: zamfofex, 68987; +Cc: 宋文武
Am Mittwoch, dem 07.02.2024 um 21:34 -0300 schrieb zamfofex:
> * gnu/packages/games.scm (moonfish): Update to 0-2.2118580.
>
> Change-Id: I0c5b0e61f6818d29165a1371da717bb8695db834
> ---
> gnu/packages/games.scm | 50 ++++++++++++++--------------------------
> --
> 1 file changed, 17 insertions(+), 33 deletions(-)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index 06ba868f35..16e2ee828a 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -10557,46 +10557,30 @@ (define-public stockfish
> (license license:gpl3+))))
>
> (define-public moonfish
> - (let ((commit "4f8829009e8c26e6a878261e0bc4c7e7617ef6b6")
> - (revision "1"))
> + (let ((commit "2118580d6ab454e165c7a84de6a604f96bc73850")
> + (revision "2"))
> (package
> (name "moonfish")
> (version (git-version "0" revision commit))
> - (source (origin
> - (method git-fetch)
> - (uri (git-reference
> - (url "https://git.sr.ht/~zamfofex/moonfish")
> - (commit commit)))
> - (sha256
> - (base32
> -
> "1ksg42x9cyn3pbfryy9raqb355k47cqcisascpy157c3cgdr2z60"))
> - (file-name (git-file-name name version))))
> + (source
> + (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://git.sr.ht/~zamfofex/moonfish")
> + (commit commit)))
> + (sha256
> + (base32
> "1vqnmk2mpqd9nfchrirj5g3v3nqyhj3204d6fn3sihc2iqp4zyrk"))
> + (file-name (git-file-name name version))))
Please don't mix in cosmetic changes with semantic ones. IMHO the
indentation is fine as-is.
> (build-system gnu-build-system)
> (arguments
> (list
> - #:make-flags
> - #~(list (string-append "CC=" #$(cc-for-target)))
> - #:tests? #f ;no check target
> - #:phases
> - #~(modify-phases %standard-phases
> - (delete 'configure) ;no configure script
> - (replace 'install ;no 'install' target
> - (lambda _
> - (let* ((out-bin (string-append #$output "/bin"))
> - (tools-bin (string-append #$output:tools
> "/bin"))
> - (tool (string-append tools-bin "/moonfish-
> ")))
> - (mkdir-p out-bin)
> - (mkdir-p tools-bin)
> - (copy-file "moonfish"
> - (string-append out-bin "/moonfish"))
> - (copy-file "play"
> - (string-append tool "play"))
> - (copy-file "lichess"
> - (string-append tool "lichess"))
> - (copy-file "analyse"
> - (string-append tool "analyse"))))))))
> + #:make-flags #~(list (string-append "CC="
> + #$(cc-for-target))
> + (string-append "PREFIX=" %output))
> + #:tests? #f ;no check target
> + #:phases #~(modify-phases %standard-phases
> + (delete 'configure)))) ;no configure script
You forgot to document this change…
> (inputs (list bearssl cjson))
> - (outputs '("out" "tools"))
… as well as this.
> (home-page "https://git.sr.ht/~zamfofex/moonfish")
> (synopsis "Simple chess engine written in C")
> (description
Cheers
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#68987] [PATCH 1/2] gnu: moonfish: Update to 0-2.2118580.
2024-02-08 17:50 ` Liliana Marie Prikler
@ 2024-02-08 23:34 ` zamfofex
0 siblings, 0 replies; 11+ messages in thread
From: zamfofex @ 2024-02-08 23:34 UTC (permalink / raw)
To: Liliana Marie Prikler, 68987; +Cc: 宋文武
> Please don't mix in cosmetic changes with semantic ones. IMHO the
> indentation is fine as-is.
Sure. I just ran ‘guix style’ on it before committing, I thought it would have been warranted. I can undo the changes it made, sure.
> […]
> You forgot to document this change…
> […]
> … as well as this.
Sure, I’ll do that and send a new patch soon! Thanks for reviewing.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#68987] [PATCH 2/2] gnu: moonfish: Improve description.
2024-02-08 0:31 [bug#68987] [PATCH 0/2] update moonfish zamfofex
2024-02-08 0:34 ` [bug#68987] [PATCH 1/2] gnu: moonfish: Update to 0-2.2118580 zamfofex
@ 2024-02-08 0:34 ` zamfofex
2024-02-28 10:30 ` [bug#68987] Ping Andreas Enge
` (2 subsequent siblings)
4 siblings, 0 replies; 11+ messages in thread
From: zamfofex @ 2024-02-08 0:34 UTC (permalink / raw)
To: 68987; +Cc: zamfofex, Liliana Marie Prikler, 宋文武
* gnu/packages/games.scm (moonfish): Reword description.
Change-Id: I1641cedc34f28dc47b021be6bcfc2943b9abcc0d
---
gnu/packages/games.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 16e2ee828a..45851ada0f 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10584,9 +10584,9 @@ (define-public moonfish
(home-page "https://git.sr.ht/~zamfofex/moonfish")
(synopsis "Simple chess engine written in C")
(description
- "moonfish is a toy UCI chess engine made for fun. It is inspired by
-sunfish, but is written in C rather than Python. It also has TUI tools for
-using any UCI engine and also to connect UCI engines to Lichess.")
+ "moonfish is a toy UCI chess engine written in C for fun. It has TUI/CLI
+tools for using any UCI engine and also to connect UCI engines to Lichess, as
+well as for converting engines between UCI and UGI.")
(license license:agpl3+))))
(define-public morris
--
2.41.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#68987] Ping
2024-02-08 0:31 [bug#68987] [PATCH 0/2] update moonfish zamfofex
2024-02-08 0:34 ` [bug#68987] [PATCH 1/2] gnu: moonfish: Update to 0-2.2118580 zamfofex
2024-02-08 0:34 ` [bug#68987] [PATCH 2/2] gnu: moonfish: Improve description zamfofex
@ 2024-02-28 10:30 ` Andreas Enge
2024-03-25 13:55 ` [bug#68987] [PATCH v2 1/2] gnu: moonfish: Update to 0-2.fd3471d zamfofex
2024-03-26 20:01 ` [bug#68987] [PATCH v3 1/2] gnu: moonfish: Update to 0-2.fb2cb4f zamfofex
4 siblings, 0 replies; 11+ messages in thread
From: Andreas Enge @ 2024-02-28 10:30 UTC (permalink / raw)
To: 68987
Ping?
Andreas
^ permalink raw reply [flat|nested] 11+ messages in thread
* [bug#68987] [PATCH v2 1/2] gnu: moonfish: Update to 0-2.fd3471d.
2024-02-08 0:31 [bug#68987] [PATCH 0/2] update moonfish zamfofex
` (2 preceding siblings ...)
2024-02-28 10:30 ` [bug#68987] Ping Andreas Enge
@ 2024-03-25 13:55 ` zamfofex
2024-03-25 13:55 ` [bug#68987] [PATCH v2 2/2] gnu: moonfish: Improve description zamfofex
2024-03-26 20:01 ` [bug#68987] [PATCH v3 1/2] gnu: moonfish: Update to 0-2.fb2cb4f zamfofex
4 siblings, 1 reply; 11+ messages in thread
From: zamfofex @ 2024-03-25 13:55 UTC (permalink / raw)
To: 68987; +Cc: zamfofex, Liliana Marie Prikler, 宋文武
* gnu/packages/games.scm (moonfish): Update to 0-2.fd3471d.
[arguments]: Use upstream's makefile for building and installing.
Install tools into the "out" output instead of the "tools" output.
[outputs]: Remove "tools".
Change-Id: I1325550afb05f897006b9f2bd01040f52fee703a
---
gnu/packages/games.scm | 33 ++++++++-------------------------
1 file changed, 8 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 06ba868f35..783d172bc9 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10557,8 +10557,8 @@ (define-public stockfish
(license license:gpl3+))))
(define-public moonfish
- (let ((commit "4f8829009e8c26e6a878261e0bc4c7e7617ef6b6")
- (revision "1"))
+ (let ((commit "fd3471d59daa333b1ee112f2fd9b7a51c50cf25b")
+ (revision "2"))
(package
(name "moonfish")
(version (git-version "0" revision commit))
@@ -10569,34 +10569,17 @@ (define-public moonfish
(commit commit)))
(sha256
(base32
- "1ksg42x9cyn3pbfryy9raqb355k47cqcisascpy157c3cgdr2z60"))
+ "1snjym2crs8c2lwvy8laag25wwqw3q7yml3mqcsqb2jfhanb62qc"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
(list
- #:make-flags
- #~(list (string-append "CC=" #$(cc-for-target)))
- #:tests? #f ;no check target
- #:phases
- #~(modify-phases %standard-phases
- (delete 'configure) ;no configure script
- (replace 'install ;no 'install' target
- (lambda _
- (let* ((out-bin (string-append #$output "/bin"))
- (tools-bin (string-append #$output:tools "/bin"))
- (tool (string-append tools-bin "/moonfish-")))
- (mkdir-p out-bin)
- (mkdir-p tools-bin)
- (copy-file "moonfish"
- (string-append out-bin "/moonfish"))
- (copy-file "play"
- (string-append tool "play"))
- (copy-file "lichess"
- (string-append tool "lichess"))
- (copy-file "analyse"
- (string-append tool "analyse"))))))))
+ #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" %output))
+ #:tests? #f ;no check target
+ #:phases #~(modify-phases %standard-phases
+ (delete 'configure)))) ;no configure script
(inputs (list bearssl cjson))
- (outputs '("out" "tools"))
(home-page "https://git.sr.ht/~zamfofex/moonfish")
(synopsis "Simple chess engine written in C")
(description
base-commit: cce7a6d2d2b18f51d1fcab67b02a38c11d6f4f2d
--
2.41.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#68987] [PATCH v2 2/2] gnu: moonfish: Improve description.
2024-03-25 13:55 ` [bug#68987] [PATCH v2 1/2] gnu: moonfish: Update to 0-2.fd3471d zamfofex
@ 2024-03-25 13:55 ` zamfofex
0 siblings, 0 replies; 11+ messages in thread
From: zamfofex @ 2024-03-25 13:55 UTC (permalink / raw)
To: 68987; +Cc: zamfofex, Liliana Marie Prikler, 宋文武
* gnu/packages/games.scm (moonfish): Reword description.
Change-Id: I1641cedc34f28dc47b021be6bcfc2943b9abcc0d
---
gnu/packages/games.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 783d172bc9..8898b90fe0 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10583,9 +10583,9 @@ (define-public moonfish
(home-page "https://git.sr.ht/~zamfofex/moonfish")
(synopsis "Simple chess engine written in C")
(description
- "moonfish is a toy UCI chess engine made for fun. It is inspired by
-sunfish, but is written in C rather than Python. It also has TUI tools for
-using any UCI engine and also to connect UCI engines to Lichess.")
+ "moonfish is a toy UCI chess engine written in C for fun. It has TUI/CLI
+tools for using any UCI engine and also to connect UCI engines to Lichess, as
+well as for converting engines between UCI and UGI.")
(license license:agpl3+))))
(define-public morris
--
2.41.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#68987] [PATCH v3 1/2] gnu: moonfish: Update to 0-2.fb2cb4f.
2024-02-08 0:31 [bug#68987] [PATCH 0/2] update moonfish zamfofex
` (3 preceding siblings ...)
2024-03-25 13:55 ` [bug#68987] [PATCH v2 1/2] gnu: moonfish: Update to 0-2.fd3471d zamfofex
@ 2024-03-26 20:01 ` zamfofex
2024-03-26 20:01 ` [bug#68987] [PATCH v3 2/2] gnu: moonfish: Improve description zamfofex
4 siblings, 1 reply; 11+ messages in thread
From: zamfofex @ 2024-03-26 20:01 UTC (permalink / raw)
To: 68987; +Cc: zamfofex, Liliana Marie Prikler, 宋文武
* gnu/packages/games.scm (moonfish): Update to 0-2.fb2cb4f.
[arguments]: Use upstream's makefile for building and installing.
Install tools into the "out" output instead of the "tools" output.
[outputs]: Remove "tools".
Change-Id: I0f098b02633d397fe1fef67863c3cd5b1db19214
---
gnu/packages/games.scm | 33 ++++++++-------------------------
1 file changed, 8 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 06ba868f35..50ddf53ef5 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10557,8 +10557,8 @@ (define-public stockfish
(license license:gpl3+))))
(define-public moonfish
- (let ((commit "4f8829009e8c26e6a878261e0bc4c7e7617ef6b6")
- (revision "1"))
+ (let ((commit "fb2cb4f53876b1b0c6060464e0dd5a05ab00e502")
+ (revision "2"))
(package
(name "moonfish")
(version (git-version "0" revision commit))
@@ -10569,34 +10569,17 @@ (define-public moonfish
(commit commit)))
(sha256
(base32
- "1ksg42x9cyn3pbfryy9raqb355k47cqcisascpy157c3cgdr2z60"))
+ "1rbhdahp0s2qm1zi7lpr0bb6zq02y76fc9d9nc2k5n03zh2as97i"))
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
(list
- #:make-flags
- #~(list (string-append "CC=" #$(cc-for-target)))
- #:tests? #f ;no check target
- #:phases
- #~(modify-phases %standard-phases
- (delete 'configure) ;no configure script
- (replace 'install ;no 'install' target
- (lambda _
- (let* ((out-bin (string-append #$output "/bin"))
- (tools-bin (string-append #$output:tools "/bin"))
- (tool (string-append tools-bin "/moonfish-")))
- (mkdir-p out-bin)
- (mkdir-p tools-bin)
- (copy-file "moonfish"
- (string-append out-bin "/moonfish"))
- (copy-file "play"
- (string-append tool "play"))
- (copy-file "lichess"
- (string-append tool "lichess"))
- (copy-file "analyse"
- (string-append tool "analyse"))))))))
+ #:make-flags #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" %output))
+ #:tests? #f ;no check target
+ #:phases #~(modify-phases %standard-phases
+ (delete 'configure)))) ;no configure script
(inputs (list bearssl cjson))
- (outputs '("out" "tools"))
(home-page "https://git.sr.ht/~zamfofex/moonfish")
(synopsis "Simple chess engine written in C")
(description
base-commit: cce7a6d2d2b18f51d1fcab67b02a38c11d6f4f2d
--
2.41.0
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [bug#68987] [PATCH v3 2/2] gnu: moonfish: Improve description.
2024-03-26 20:01 ` [bug#68987] [PATCH v3 1/2] gnu: moonfish: Update to 0-2.fb2cb4f zamfofex
@ 2024-03-26 20:01 ` zamfofex
2024-03-27 12:57 ` bug#68987: " Christopher Baines
0 siblings, 1 reply; 11+ messages in thread
From: zamfofex @ 2024-03-26 20:01 UTC (permalink / raw)
To: 68987; +Cc: zamfofex, Liliana Marie Prikler, 宋文武
* gnu/packages/games.scm (moonfish): Reword description.
Change-Id: I1641cedc34f28dc47b021be6bcfc2943b9abcc0d
---
gnu/packages/games.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 50ddf53ef5..fab5ab5d7d 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -10583,9 +10583,9 @@ (define-public moonfish
(home-page "https://git.sr.ht/~zamfofex/moonfish")
(synopsis "Simple chess engine written in C")
(description
- "moonfish is a toy UCI chess engine made for fun. It is inspired by
-sunfish, but is written in C rather than Python. It also has TUI tools for
-using any UCI engine and also to connect UCI engines to Lichess.")
+ "moonfish is a toy UCI chess engine written in C for fun. It has TUI/CLI
+tools for using any UCI engine and also to connect UCI engines to Lichess, as
+well as for converting engines between UCI and UGI.")
(license license:agpl3+))))
(define-public morris
--
2.41.0
^ permalink raw reply related [flat|nested] 11+ messages in thread