From f5d4349e6d290345529d767fe161c77e81bed4eb Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Wed, 29 Oct 2025 10:59:29 +0100 Subject: [PATCH] gnu: Remove ufoai-source. * gnu/packages/games.scm (ufoai-source, %ufoai-commit, %ufoai-revision, %ufoai-version): Delete variables. Fixes: guix/guix#2864 Change-Id: Ibdfdb7ca35e074e8e001a261baacd8597f3d85d2 --- gnu/packages/games.scm | 51 ------------------------------------------ 1 file changed, 51 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 0f360d58f77993d65aabdf4d32f662f9d5f65b2a..3cf12d22ce74e7bc67ddb8077e43e68bad0ad5db 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -3520,57 +3520,6 @@ can be imported and used to create puzzles with a wide range of sizes. Games ar saved automatically, and you can select between currently in progress games.") (license license:gpl3+))) -(define %ufoai-commit "a542a87a891f96b1ab2c44d35b2f6f16859a5019") -(define %ufoai-revision "0") -(define %ufoai-version (git-version "2.6.0_dev" %ufoai-revision %ufoai-commit)) -(define ufoai-source - (origin - (method git-fetch) - (uri (git-reference - (url "git://git.code.sf.net/p/ufoai/code") ;HTTPS fails mid-clone - (commit %ufoai-commit))) - (file-name (string-append "ufoai-" %ufoai-version "-checkout")) - (sha256 - (base32 - "024s7b9rcg7iw8i2p72gwnvabk23ljlq0nldws0y4b6hpwzyn1wz")) - (modules '((guix build utils) - (srfi srfi-1) - (ice-9 ftw))) - (snippet - '(begin - ;; Delete ~32MiB of bundled dependencies. - (with-directory-excursion "src/libs" - (for-each delete-file-recursively - (lset-difference equal? (scandir ".") - '("." ".." "gtest" "mumble")))) - - ;; Use relative path to Lua headers. - (substitute* "src/common/scripts_lua.h" - (("\\.\\./libs/lua/") "")) - - ;; Adjust Makefile targets to not depend on 'ufo2map', since we build - ;; it as a separate package. This way we don't need to make the same - ;; adjustments for 'ufoai-data' and 'ufoai' below. - (substitute* "build/maps.mk" - (("\\./ufo2map") "ufo2map") - (("maps: ufo2map") "maps:")) - (substitute* "build/modules/testall.mk" - (("testall: ufo2map") "testall:")) - - ;; If no cURL headers are found, the build system will try to include - ;; the bundled version, even when not required. Prevent that. - (substitute* "build/default.mk" - (("^include src/libs/curl/lib/Makefile\\.inc") - "")) - - ;; While here, improve reproducibility by adding the '-X' flag to the - ;; zip command used to create the map files, in order to prevent time - ;; stamps from making it into the generated archives. - (substitute* "build/data.mk" - (("\\$\\(call ZIP\\)") - "$(call ZIP) -X")) - #t)))) - (define-public trigger-rally (package (name "trigger-rally")