Implement researched Guix package outcome for #336: [Guix packaging] Dungeon Monkey Unlimited #683
Labels
No labels
accessibility
bug
category:ai-tool
category:browser
category:command-line-tool
category:compiler-toolchain
category:desktop-application
category:developer-tool
category:editor-extension
category:emulator
category:font
category:game
category:input-accessibility
category:library-framework
category:mud-client
category:multimedia
category:networking-client
category:programming-language
category:roguelike
category:storage-media-tool
category:system-tool
category:terminal-application
complexity:high
complexity:low
complexity:medium
difficulty:blocked
difficulty:easy
difficulty:hard
difficulty:moderate
documentation
duplicate
enhancement
good first issue
gooflow:guix-package-high
gooflow:guix-package-moderate
gooflow:guix-package-quality-gates
gooflow:guix-research-disposition
gooflow:guix-runtime-evidence-refresh
help wanted
invalid
kind:disposition
kind:packaging
needs:license-investigation
priority:quick
question
ready-for-agent
state:available-elsewhere
state:blocked
state:deferred
state:out-of-scope
state:ready
state:research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tay/guix-channel#683
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
This delivery ticket was created from research issue #336 ([Guix packaging] Dungeon Monkey Unlimited).
The host-validated research finding follows:
Canonical upstream is the SourceForge project https://sourceforge.net/projects/dmonkey/; the upstream downloads page https://gearheadrpg.com/wp/downloads/ identifies Dungeon Monkey Unlimited v1.001 as the latest stable release. Use the immutable source archive https://downloads.sourceforge.net/project/dmonkey/v1.000%20Series/DungeonMonkeyUnlimited-1.001-source.zip, downloaded successfully during research, SHA-256 f772ed0d74577af55f54a939cb456e5aa547c0443b5ed1d59edebf7e1230e9dc. The archive has no VCS commit or submodules, and contains 26 Pascal sources, 38 gamedata/doc text files, 73 PNGs, and two TTFs; no sound files, updater, telemetry, runtime download, or network code were found. The program source headers in dmu.pas and the units explicitly grant LGPL-2.1-only and license.txt carries the LGPL 2.1 text; this is the package license, despite the less-specific SourceForge project metadata saying GPLv2. The archive credits David E. Gervais tiles; the authoritative OpenGameArt collection identifies those tiles as CC-BY 3.0, and the official RLTiles site identifies its tiles as public domain subject to retaining its required attribution notice. Preserve upstream credits, add exact Bitstream Vera license text for the used VeraBd.ttf, and omit unused augie.ttf, convert32, test programs, Thumbs.db, and debug output from the installed runtime. Treat Joseph Hewitt-authored code/data/docs/maps and modifications as the project LGPL material, retain license.txt/readme/credits, and install a third-party notice covering Gervais CC-BY 3.0, RLTiles public-domain notice, and Bitstream-Vera. This is the Pascal/SDL1.2 Dungeon Monkey sequel in the original Dungeon Monkey lineage; Dungeon Monkey Eternal is a later, distinct third game written in Python and is not a substitute or same-upstream fork. No equivalent dungeon-monkey-unlimited package or same-upstream module is present in this channel or its package inventory, and
guix search 'dungeon monkey'returned no official Guix result. Source-build is technically viable from the upstream README: invoke Free Pascal from the DMU directory against the checked-in sources, with Guix inputs fpc from (gnu packages pascal), sdl12-compat, sdl-image, and sdl-ttf from (gnu packages sdl), plus pkg-config only if needed for the SDL1.2-compatible link flags. Use gnu-build-system with no network phases and explicit linker/runtime paths; the research host has no Guix daemon, so no guix shell/build proof was attempted. Expected module path is tay/packages/dungeon-monkey-unlimited.scm. The ordinary executable is an interactive SDL1.2 GUI and writes config.cfg, savegame/*.txt, and possibly debug.txt relative to its working directory; provide a launcher named dungeon-monkey-unlimited that runs it from an XDG data directory, never the store, and provides a package-owned deterministic --smoke mode. The smoke path must set SDL_VIDEODRIVER=dummy, generate a fixed-seed local campaign through the real game units, exercise a meaningful gameplay-state transition plus save/load round-trip in a fresh temporary writable directory, assert no output/store writes, print exactly one success line, and exit zero. Runtime contract: executable and invocation file dungeon-monkey-unlimited; args [--smoke]; success marker DMU-SMOKE: campaign-save-load-ok. Host proof should capture the real SDL initialized/game-state result at .goocastle/evidence/issue-336.png, then run lint, no-graft offline build, upstream tests if available, reproducibility check, and the isolated fresh-HOME/XDG smoke with no store writes.Acceptance criteria
Runtime evidence contract
Implementation workflow:
guix-package-quality-gatesReviewed contract file:
.goocastle/runtime-evidence-contracts.jsonRequired proof phase:
safe-package-proof; screenshot phase:runtime-screenshotEvidence adapter:
github-issue-commentCopy this reviewed contract into the named file before running the package proof workflow.
Imported from GitHub issue/PR. Originally posted by htayj on 2026-09-04T07:07:44Z.
Goocastle blocked this ticket after the bounded repair budget was exhausted for the required command gate.
The failure receipt and task branch provenance remain preserved; inspect the branch and repair the failing gate before retrying.
Bounded failure evidence:
Failed command: node /opt/goocastle/bin/guix-package-proof.mjs '--package-name' dungeon-monkey-unlimited '--module-path' tay/packages/dungeon-monkey-unlimited.scm '--runtime-json' '{"executable":"dungeon-monkey-unlimited","invocation":{"file":"dungeon-monkey-unlimited","args":["--smoke"]},"successMarker":"DMU-SMOKE: campaign-save-load-ok"}'
Exit status: 1
Final failure lines:
[stderr] guix build: error: canonicalize-path: No such file or directory: "/tmp/goocastle-agent-eGoKBf/proof-SKhCGR/tay/packages/dungeon-monkey-unlimited-smoke.pas"
[stderr] guix exited with code [REDACTED]
[earlier or oversized output omitted]
Imported from GitHub comment. Originally posted by htayj on 2026-09-04T13:42:21Z.
Goocastle verified runtime evidence.
Runtime receipt
dungeon-monkey-unlimitedsafe-package-proof["node","/opt/goocastle/bin/guix-package-proof.mjs","--package-name","dungeon-monkey-unlimited","--module-path","tay/packages/dungeon-monkey-unlimited.scm","--runtime-json","{"executable":"dungeon-monkey-unlimited","invocation":{"file":"dungeon-monkey-unlimited","args":["--smoke"]},"successMarker":"DMU-SMOKE: campaign-save-load-ok"}"]runtime-screenshot["sh",".goocastle/capture-guix-package-screenshot.sh"]/gnu/store/pcpzwpicbbyp5rihi8n6wg46dgk56hxd-dungeon-monkey-unlimited-1.001/bin/dungeon-monkey-unlimited["/gnu/store/pcpzwpicbbyp5rihi8n6wg46dgk56hxd-dungeon-monkey-unlimited-1.001/bin/dungeon-monkey-unlimited","--smoke"]["dungeon-monkey-unlimited","--smoke"]DMU-SMOKE: campaign-save-load-ok.goocastle/runtime-evidence-contracts.json (issue #683, SHA-256 f8b9f5b6c627de9d559a036864a4724c3a5dfd651b9d07403f63a496c4e78271).goocastle/evidence/issue-683.pngd2e01c41a0527cefed2d895ee415601f94884a3a649ac34ea34d7d31daa20f57854fe4530f775a347bd4ceef01b1c3a2910a334e3869 bytes / pngImported from GitHub comment. Originally posted by htayj on 2026-09-04T16:11:39Z.
Completed by Goocastle
Imported from GitHub comment. Originally posted by htayj on 2026-09-04T16:11:43Z.