1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: dialogc: Commit forgotten changes.

This is a follow-up to commit 1e61d778c6 .

* gnu/packages/game-development.scm (dialogc): Actually commit changes.

Change-Id: I89a3893cd4cf20fb92365c16da2e12e06a65fb97
This commit is contained in:
Andreas Enge
2026-02-15 15:23:17 +01:00
parent 5b86a12a0e
commit cfae3b5098

View File

@@ -89,6 +89,7 @@
#:use-module (gnu packages check)
#:use-module (gnu packages curl)
#:use-module (gnu packages documentation)
#:use-module (gnu packages games)
#:use-module (gnu packages golang-build)
#:use-module (gnu packages golang-xyz)
#:use-module (gnu packages fltk)
@@ -324,51 +325,49 @@ DeuTex has functions such as merging wads, etc.")
(license license:gpl2+)))
(define-public dialogc
(let ((commit "68476f9f3b1ca2db15615e508837ca721e0759ab")
(revision "0"))
(package
(name "dialogc")
(version (git-version "1a-01" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Dialog-IF/dialog")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "1gm6fb86chq74fh2llmmgji6fwylk0xd53fmij6l9x348nvw1bkn"))))
(build-system gnu-build-system)
(native-inputs (list frotz-dumb-terminal perl python))
(arguments
(list
#:test-target "test"
#:parallel-tests? #f
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(add-before 'build 'set-install-prefix
(lambda _
(setenv "PREFIX" #$output)))
(replace 'build
(lambda _
(with-directory-excursion "src"
(substitute* "Makefile"
(("cp dialogc" all)
(string-append "install -d ${PREFIX}/bin\n\t" all))
(("/usr/local") "${PREFIX}"))
(invoke "make"))))
(replace 'install
(lambda _
(let ((bin (string-append #$output "/bin")))
(install-file "src/dialogc" bin)
(install-file "src/dgdebug" bin)))))))
(synopsis "Dialog interactive fiction compiler")
(description
"Dialog is a domain-specific language for creating works
(package
(name "dialogc")
(version "1a01-1.1.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Dialog-IF/dialog")
(commit (string-append "release-" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1hqngza1vhb9796xxyyhswishnl5k0v2phrym3kh8skimaz5a3l8"))))
(build-system gnu-build-system)
(native-inputs (list frotz-dumb-terminal perl python))
(arguments
(list
#:test-target "test"
#:parallel-tests? #f
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(add-before 'build 'set-install-prefix
(lambda _
(setenv "PREFIX" #$output)))
(replace 'build
(lambda _
(with-directory-excursion "src"
(substitute* "Makefile"
(("cp dialogc" all)
(string-append "install -d ${PREFIX}/bin\n\t" all))
(("/usr/local") "${PREFIX}"))
(invoke "make"))))
(replace 'install
(lambda _
(let ((bin (string-append #$output "/bin")))
(install-file "src/dialogc" bin)
(install-file "src/dgdebug" bin)))))))
(synopsis "Dialog interactive fiction compiler")
(description
"Dialog is a domain-specific language for creating works
of interactive fiction. It is heavily inspired by Inform 7 and Prolog.")
(home-page "https://github.com/Dialog-IF/dialog")
(license license:bsd-2))))
(home-page "https://github.com/Dialog-IF/dialog")
(license license:bsd-2)))
(define-public go-codeberg-org-anaseto-gruid-sdl
(package