GNU bug report logs -
#79005
[PATCH 0/1] gnu: Add dialogc.
Previous Next
To reply to this bug, email your comments to 79005 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#79005
; Package
guix-patches
.
(Sun, 13 Jul 2025 09:45:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Adam Faiz <adam.faiz <at> disroot.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 13 Jul 2025 09:45:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From 842ade98c525c2ea256a2020cccc8912c0363673 Mon Sep 17 00:00:00 2001
Message-ID: <cover.1752395681.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 13 Jul 2025 16:34:41 +0800
Subject: [PATCH 0/1] gnu: Add dialogc.
This patch adds dialogc, a compiler for interactive fiction.
AwesomeAdam54321 (1):
gnu: Add dialogc.
gnu/packages/game-development.scm | 43 +++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
base-commit: 7479725ff28e2bf2f5f90cf412a18d5da39cbf9e
--
2.50.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#79005
; Package
guix-patches
.
(Sun, 13 Jul 2025 09:47:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 79005 <at> debbugs.gnu.org (full text, mbox):
From 842ade98c525c2ea256a2020cccc8912c0363673 Mon Sep 17 00:00:00 2001
Message-ID:
<842ade98c525c2ea256a2020cccc8912c0363673.1752395681.git.adam.faiz <at> disroot.org>
In-Reply-To: <cover.1752395681.git.adam.faiz <at> disroot.org>
References: <cover.1752395681.git.adam.faiz <at> disroot.org>
From: AwesomeAdam54321 <adam.faiz <at> disroot.org>
Date: Sun, 13 Jul 2025 16:30:50 +0800
Subject: [PATCH 1/1] gnu: Add dialogc.
* gnu/packages/game-development.scm (dialogc): New variable.
Change-Id: Id02c124814854785a73d8ff7e1739158a7d03faf
---
gnu/packages/game-development.scm | 43 +++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/game-development.scm
b/gnu/packages/game-development.scm
index 61520575a8..91d3494a41 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -316,6 +316,49 @@ (define-public deutex
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"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(begin
+ (substitute* "src/Makefile"
+ (("cp dialogc" all)
+ (string-append "install -d ${PREFIX}/bin\n\t" all))
+ (("/usr/local") "${PREFIX}"))))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:test-target "test"
+ #:tests? #f ; requires dfrotz, causing a circular module dependency
+ #:phases
+ #~(modify-phases %standard-phases
+ (delete 'configure)
+ (add-before 'build 'set-install-prefix
+ (lambda _
+ (setenv "PREFIX" #$output)))
+ (add-before 'build 'change-to-src-directory
+ (lambda _
+ (chdir "src"))))))
+ (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-3))))
+
(define-public go-codeberg-org-anaseto-gruid-sdl
(package
(name "go-codeberg-org-anaseto-gruid-sdl")
--
2.50.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#79005
; Package
guix-patches
.
(Mon, 14 Jul 2025 08:44:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 79005 <at> debbugs.gnu.org (full text, mbox):
Hello,
Am Sun, Jul 13, 2025 at 05:46:43PM +0800 schrieb Adam Faiz:
> + #:tests? #f ; requires dfrotz, causing a circular module dependency
what do you mean by this? Modules can have a dependency circle.
And I do not find dfrotz among our packages, just frotz-dumb-terminal.
Andreas
Information forwarded
to
guix-patches <at> gnu.org
:
bug#79005
; Package
guix-patches
.
(Mon, 14 Jul 2025 10:46:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 79005 <at> debbugs.gnu.org (full text, mbox):
On 14 July 2025 4:42:51 pm MYT, Andreas Enge <andreas <at> enge.fr> wrote:
>Hello,
>
>Am Sun, Jul 13, 2025 at 05:46:43PM +0800 schrieb Adam Faiz:
>> + #:tests? #f ; requires dfrotz, causing a circular module dependency
>
>what do you mean by this? Modules can have a dependency circle.
>And I do not find dfrotz among our packages, just frotz-dumb-terminal.
>
>Andreas
>
Oh, I guess I was mistaken. I thought package modules wouldn't load properly if there was a cycle, since I was bitten by a strange error related to that a long time ago.
I'll send a revised patch later that runs the tests (frotz-dumb-terminal provides dfrotz).
Information forwarded
to
guix-patches <at> gnu.org
:
bug#79005
; Package
guix-patches
.
(Mon, 14 Jul 2025 10:59:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 79005 <at> debbugs.gnu.org (full text, mbox):
Am Mon, Jul 14, 2025 at 06:44:32PM +0800 schrieb Adam Faiz:
> Oh, I guess I was mistaken. I thought package modules wouldn't load properly if there was a cycle, since I was bitten by a strange error related to that a long time ago.
In a different issue someone pointed me to this:
https://guix.gnu.org/manual/devel/en/html_node/Cyclic-Module-Dependencies.html
So they can be a bit tricky, but are not a problem for any kinds of
inputs. The example in the documentation of inheritance is a common
case where there is a problem.
Andreas
This bug report was last modified today.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.