From 47a7b9d5e4d2bd7d4f063e02cf3a95d76632718d Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 5 Aug 2021 00:36:11 +0200 Subject: gnu: flare-game: Update to 1.12. * gnu/packages/games.scm (flare-game): Update to 1.12. (flare-engine): Update to 1.12. --- gnu/packages/games.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index ad48c49566..768a08a238 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -9017,7 +9017,7 @@ fight each other on an arena-like map.") (define-public flare-engine (package (name "flare-engine") - (version "1.11") + (version "1.12") (source (origin (method git-fetch) (uri (git-reference @@ -9026,7 +9026,7 @@ fight each other on an arena-like map.") (file-name (git-file-name name version)) (sha256 (base32 - "1mqr1s72p5bdh4kq2a8hg72dk8lwnddicjnd2cdp1sbfa9lmjym8")))) + "0h4xxj6r194pw68m3ngrnzkh6xgiblyrsc54z8abwba8m0mqbvmk")))) (build-system cmake-build-system) (arguments `(#:tests? #f ;no test @@ -9045,7 +9045,7 @@ action RPGs.") (define-public flare-game (package (name "flare-game") - (version "1.11") + (version "1.12") (source (origin (method git-fetch) (uri (git-reference @@ -9054,7 +9054,7 @@ action RPGs.") (file-name (git-file-name name version)) (sha256 (base32 - "0bd5g7sd89a9176ilr408hdqzdfv4j7wj0idd685c1n6s01c3h6p")))) + "0h9i128kq6disppbrplkf13zdmsg4cq23nim53mgwpawc4mqz7ga")))) (build-system cmake-build-system) (arguments `(#:tests? #f ;no test -- cgit v1.2.3 From 79eb05f84f41ef777d1afa595a9044b36cf93896 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 4 Aug 2021 12:49:30 +0200 Subject: gnu: endless-sky: Update to 0.9.14. * gnu/packages/games.scm (endless-sky): Update to 0.9.14. [arguments]: Add 'use-gcc-ar phase to support LTO used by the new version. Signed-off-by: Nicolas Goaziou --- gnu/packages/games.scm | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 768a08a238..e46d9402e5 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -8351,7 +8351,7 @@ your score gets higher, you level up and the blocks fall faster.") (define-public endless-sky (package (name "endless-sky") - (version "0.9.12") + (version "0.9.14") (source (origin (method git-fetch) @@ -8360,7 +8360,7 @@ your score gets higher, you level up and the blocks fall faster.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "18nkl4s3r5sy3sd9lhbdg9160c7fggklklprx0d5azifc8g6k0wj")))) + (base32 "12iganf8dxiyrjznnabsarxjsr0h717j3k4mz15p0k67wxyahhmf")))) (build-system scons-build-system) (arguments `(#:scons ,scons-python2 @@ -8382,7 +8382,10 @@ your score gets higher, you level up and the blocks fall faster.") "Environment(ENV = os.environ)") ;; Install into %out/bin (("games\"") "bin\"")) - #t))))) + #t)) + (add-before 'build 'use-gcc-ar + ;; Use gcc-ar to support LTO. + (lambda _ (setenv "AR" "gcc-ar")))))) (inputs `(("glew" ,glew) ("libjpeg" ,libjpeg-turbo) -- cgit v1.2.3 From fd85c59d1e7e6111e9c625930c633994c66075eb Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 4 Aug 2021 12:49:31 +0200 Subject: gnu: endless-sky: Clean up phases. * gnu/packages/games.scm (endless-sky)[arguments]: Drop unused substitution and merge existing phases into 'fix-paths. Signed-off-by: Nicolas Goaziou --- gnu/packages/games.scm | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index e46d9402e5..8d9550ac0d 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -8368,19 +8368,13 @@ your score gets higher, you level up and the blocks fall faster.") #:tests? #f ; no tests #:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-resource-locations + (add-after 'unpack 'fix-paths (lambda* (#:key outputs #:allow-other-keys) + ;; Look for resources in the store directory. (substitute* "source/Files.cpp" - (("/usr/local/") - (string-append (assoc-ref outputs "out") "/"))) - #t)) - (add-after 'unpack 'patch-scons - (lambda _ + (("/usr/local") (assoc-ref outputs "out"))) + ;; Install game binary into %out/bin. (substitute* "SConstruct" - ;; Keep environmental variables - (("Environment\\(\\)") - "Environment(ENV = os.environ)") - ;; Install into %out/bin (("games\"") "bin\"")) #t)) (add-before 'build 'use-gcc-ar -- cgit v1.2.3 From 6f248b947fa43d600168c73ecd542aad5a54e506 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 4 Aug 2021 12:49:32 +0200 Subject: gnu: endless-sky: Enable tests. * gnu/packages/games.scm (endless-sky)[arguments]: Enable tests. Signed-off-by: Nicolas Goaziou --- gnu/packages/games.scm | 1 - 1 file changed, 1 deletion(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 8d9550ac0d..a3ba02477a 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -8365,7 +8365,6 @@ your score gets higher, you level up and the blocks fall faster.") (arguments `(#:scons ,scons-python2 #:scons-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) - #:tests? #f ; no tests #:phases (modify-phases %standard-phases (add-after 'unpack 'fix-paths -- cgit v1.2.3 From 12aedf001533aaf96e0bc3afb69e1229793dcef0 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 5 Aug 2021 09:03:36 +0200 Subject: gnu: endless-sky: Remove #t at the end of phase. * gnu/packages/games.scm (endless-sky): Remove #t at the end of phase. Fix indentation. --- gnu/packages/games.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index a3ba02477a..695bcb36e8 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -8353,14 +8353,14 @@ your score gets higher, you level up and the blocks fall faster.") (name "endless-sky") (version "0.9.14") (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/endless-sky/endless-sky") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "12iganf8dxiyrjznnabsarxjsr0h717j3k4mz15p0k67wxyahhmf")))) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/endless-sky/endless-sky") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "12iganf8dxiyrjznnabsarxjsr0h717j3k4mz15p0k67wxyahhmf")))) (build-system scons-build-system) (arguments `(#:scons ,scons-python2 @@ -8374,8 +8374,7 @@ your score gets higher, you level up and the blocks fall faster.") (("/usr/local") (assoc-ref outputs "out"))) ;; Install game binary into %out/bin. (substitute* "SConstruct" - (("games\"") "bin\"")) - #t)) + (("games\"") "bin\"")))) (add-before 'build 'use-gcc-ar ;; Use gcc-ar to support LTO. (lambda _ (setenv "AR" "gcc-ar")))))) -- cgit v1.2.3 From 447ce7d57eee04b77df3cb89c636e98ec4806050 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 5 Aug 2021 22:27:13 +0200 Subject: gnu: tome4: Update to 1.7.4. * gnu/packages/games.scm (tome4): Update to 1.7.4. --- gnu/packages/games.scm | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 695bcb36e8..9209b946bf 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -6935,7 +6935,7 @@ Crowther & Woods, its original authors, in 1995. It has been known as (define-public tome4 (package (name "tome4") - (version "1.7.3") + (version "1.7.4") (synopsis "Single-player, RPG roguelike game set in the world of Eyal") (source (origin @@ -6943,7 +6943,7 @@ Crowther & Woods, its original authors, in 1995. It has been known as (uri (string-append "https://te4.org/dl/t-engine/t-engine4-src-" version ".tar.bz2")) (sha256 - (base32 "1rik17r01glq3944sdb06xjf0xppgqkjk564wrh22slm4mi3fifz")) + (base32 "197jmd99l3w3sig32pvdlq9fcgdjjx7g9csy08kz174cyhrlyly3")) (modules '((guix build utils))) (snippet '(begin @@ -6952,8 +6952,7 @@ Crowther & Woods, its original authors, in 1995. It has been known as (string-append line " || defined(__GNUC__)"))) (substitute* '("src/tgl.h") - (("#include ") "")) - #t)))) + (("#include ") "")))))) (build-system gnu-build-system) (native-inputs `(("unzip" ,unzip))) @@ -6976,15 +6975,13 @@ Crowther & Woods, its original authors, in 1995. It has been known as (delete 'bootstrap) (replace 'configure (lambda _ - (invoke "premake4" "gmake") - #t)) + (invoke "premake4" "gmake"))) (add-after 'set-paths 'set-sdl-paths (lambda* (#:key inputs #:allow-other-keys) (setenv "CPATH" (string-append (assoc-ref inputs "sdl-union") "/include/SDL2:" - (or (getenv "CPATH") ""))) - #t)) + (or (getenv "CPATH") ""))))) (delete 'check) ;; premake doesn't provide install target (replace 'install @@ -7043,8 +7040,7 @@ Crowther & Woods, its original authors, in 1995. It has been known as #:comment ,synopsis #:exec ,name #:icon icon - #:categories '("Game" "RolePlaying"))) - #t))))) + #:categories '("Game" "RolePlaying")))))))) (home-page "https://te4.org") (description "Tales of Maj’Eyal (ToME) RPG, featuring tactical turn-based combat and advanced character building. Play as one of many unique races and -- cgit v1.2.3 From 4be98fbe7e42f8be0db881caf8598a704c56265d Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Thu, 5 Aug 2021 22:38:21 +0200 Subject: gnu: crawl: Update to 0.27.0. * gnu/packages/games.scm (crawl): Update to 0.27.0. --- gnu/packages/games.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 9209b946bf..2e1aed1ee8 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -6548,14 +6548,14 @@ fish. The whole game is accompanied by quiet, comforting music.") (define-public crawl (package (name "crawl") - (version "0.26.1") + (version "0.27.0") (source (origin (method url-fetch) (uri (string-append "https://github.com/crawl/crawl/releases/download/" version "/stone_soup-" version "-nodeps.tar.xz")) (sha256 - (base32 "1d8p2np2q5951wqphq2f4dyvv976m2lh82b0qp7w9pp1h8zzi1ff")) + (base32 "0hzkzpqmydxm1zjkdm7k4w3hldsqin3pwkj7jmfj4jijkr0zg9nq")) (patches (search-patches "crawl-upgrade-saves.patch")))) (build-system gnu-build-system) (inputs -- cgit v1.2.3 From f8f096d1e8f930ebeecd98125b9c03d97b3c7f65 Mon Sep 17 00:00:00 2001 From: Pkill -9 Date: Tue, 19 Feb 2019 07:46:29 +0000 Subject: gnu: Add tetrinet. * gnu/packages/games.scm (tetrinet): New variable. Modified-by: Maxim Cournoyer Signed-off-by: Maxim Cournoyer --- gnu/packages/games.scm | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 2e1aed1ee8..f34f3a9ca5 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -63,6 +63,7 @@ ;;; Copyright © 2021 Felix Gruber ;;; Copyright © 2021 Solene Rapenne ;;; Copyright © 2021 Noisytoot +;;; Copyright © 2019 Pkill -9 ;;; ;;; This file is part of GNU Guix. ;;; @@ -552,6 +553,47 @@ Playing bastet can be a painful experience, especially if you usually make canyons and wait for the long I-shaped block to clear four rows at a time.") (license license:gpl3+))) +(define-public tetrinet + (package + (name "tetrinet") + (version "0.11") + (source + (origin + (method url-fetch) + (uri (string-append + "http://tetrinet.or.cz/download/tetrinet-" version + ".tar.bz2")) + (sha256 + (base32 + "0b4pddqz6is1771qmvcj8qqlr4in2djdbkk13agvp9yhfah2v8x7")))) + (build-system gnu-build-system) + (inputs + `(("ncurses" ,ncurses))) + (arguments + `(#:tests? #f ;no tests + #:make-flags '("CC=gcc") + #:phases + (modify-phases %standard-phases + (delete 'configure) ;no configure script + (add-after 'unpack 'fix-install-dir + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/bin")) + (substitute* "Makefile" + (("/usr/games") (string-append out "/bin")))))) + (add-after 'install 'install-documentation + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc/" ,name "-" ,version))) + (for-each (lambda (file) + (install-file file doc)) + (list "README" "tetrinet.txt")))))))) + (home-page "http://tetrinet.or.cz") + (synopsis "Terminal-based multiplayer Tetris clone") + (description "Tetrinet is a multiplayer Tetris-like game with powerups and +attacks you can use on opponents.") + (license license:public-domain))) + (define-public vitetris (package (name "vitetris") -- cgit v1.2.3 From c64c49b152b7713a5e09ae0cfdc1de86fb215966 Mon Sep 17 00:00:00 2001 From: nee Date: Fri, 15 Mar 2019 20:56:47 +0100 Subject: gnu: yamagi-quake2: Patch dynamically loaded libraries. * gnu/packages/games.scm (yamagi-quake2) [arguments]{make-flags}: Remove the DLOPEN_OPENAL=no make flag, which was not working as intended. [phases]{patch-libraries}: New phase. Modified-by: Maxim Cournoyer Signed-off-by: Maxim Cournoyer --- gnu/packages/games.scm | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index f34f3a9ca5..468b0d58b1 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -7209,15 +7209,26 @@ some graphical niceities, and numerous bug-fixes and other improvements.") `(#:tests? #f #:make-flags (list "CC=gcc" - ;; link openAL instead of using dlopen at runtime - "DLOPEN_OPENAL=\"no\"" - ;; an optional directory where it will look for quake2 data files - ;; in addition to the current working directory + ;; An optional directory where it will look for quake2 data files + ;; in addition to the current working directory. "WITH_SYSTEMWIDE=yes" "WITH_SYSTEMDIR=\"/opt/quake2\"") #:phases (modify-phases %standard-phases (delete 'configure) + (add-before 'build 'patch-libraries + (lambda* (#:key inputs #:allow-other-keys) + ;; The game writes paths to openal.so and curl.so to ~/.yq2/... + ;; Workaround: hard-code the compiled paths where it loads them; + ;; this prevents loading old or garbage collected libraries. + (substitute* "src/client/sound/qal.c" + (("al_driver->string") + (string-append "\"" (assoc-ref inputs "openal") + "/lib/libopenal.so\""))) + (substitute* "src/client/curl/qcurl.c" + (("cl_libcurl->string") + (string-append "\"" (assoc-ref inputs "curl") + "/lib/libcurl.so\""))))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))) -- cgit v1.2.3 From f8b5286d4a685bb3464a31fc6f8acf2f36ed525b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 8 Aug 2021 16:38:33 +0300 Subject: gnu: stockfish: Update aarch64-linux build target. * gnu/packages/games.scm (stockfish)[arguments]: Build for armv8 on aarch64-linux. --- gnu/packages/games.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gnu/packages/games.scm') diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 468b0d58b1..b3a6d7bb4d 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -12065,7 +12065,7 @@ etc. You can also play games on FICS or against an engine.") ,(match (%current-system) ("x86_64-linux" "x86-64") ("i686-linux" "x86-32") - ("aarch64-linux" "general-64") + ("aarch64-linux" "armv8") ("armhf-linux" "armv7") ("mips64el-linux" "general-64") (_ "general-32")))) -- cgit v1.2.3