[Guix packaging] Hunger Games #397
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#397
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?
Candidate
Scope
Package the independently playable roguelike from source. The canonical repository, latest stable release, source hash, complete dependency closure, and relationship to parent games or sibling forks must be established before implementation. Do not substitute an opaque prebuilt binary.
Research checklist
Acceptance checks
guix lint -L . <package>has no package-specific findings.guix build -L . --no-grafts <package>succeeds without network access or opaque binaries.guix build -L . --no-grafts --check <package>verifies reproducibility.Imported from GitHub issue/PR. Originally posted by htayj on 2026-08-24T17:30:47Z.
Goocastle recorded disposition: implementation-ready.
Created implementation ticket: #695.
Canonical upstream is https://github.com/CruiserOne/Daedalus at fixed tag v3.5, commit 32af46ddf22e53c9bfd7bd7eacca1e249c60a5e8 (Guix recursive source hash already used by the local Daedalus-derived packages: 0fdzx2zzqbd3p99yljksmbh0s3mbzzmq2dq42a9yz5rfkn9gjy2r). The fixed checkout's README identifies it as the official Daedalus 3.5 release copied from dae35zip.zip; its Makefile documents an offline Unix build with g++ and -lm, and no submodules or language registries are present. util.h must select the Unix command-line build by disabling WIN/PC (and the existing LP64 dword/allocator fixes used by the sibling packages should be retained). license.htm is the complete GPL version 2 text; the upstream documentation's LICENSE section grants Daedalus and its routines under GPLv2-or-later, while the Makefile requires preserving credits/notices. The shipped Hunger origin is the same fixed repository: hunger.ds and source/hunger.bmp are present and covered by that distribution license evidence. Do not fetch or install the separate DAE35HGS.EXE or its hunger/*.wav bundle: the authoritative Hunger Games page says those optional bitmap/sound extras are only in that Windows download, while the script embeds an arena and remains playable without those unredistributed sounds. No equivalent hunger-games package exists in the local channel. tay/packages/dragonslayer.scm and tay/packages/grippy-socks.scm are sibling Daedalus-script variants at the same revision, not duplicates; Hunger Games is separately justified by its distinct script and gameplay. Add tay/packages/hunger-games.scm as a gnu-build-system package named hunger-games, using git-fetch at the revision above, native gcc-toolchain, and bash-minimal/coreutils-minimal for a deterministic launcher; install the rebuilt engine privately, hunger.ds plus hunger.bmp under share/hunger-games, and the complete upstream license/README/documentation under share/doc/hunger-games. The wrapper must keep normal mutable state below XDG_STATE_HOME/hunger-games (or HOME/.local/state/hunger-games), perform no downloads/store writes, and offer exactly
hunger-games --smoke; that mode must invoke the rebuilt engine on the installed script from its data directory, execute one normal movement after script load, and emit HUNGER_GAMES_SMOKE_OK on stdout. Acceptance: run the package lint, offline no-grafts build and --check in the authorized Guix phase, run any upstream test target if added (the upstream Makefile has none), then run the fresh-HOME/XDG smoke proof using executable hunger-games, args [--smoke], screenshot .goocastle/evidence/issue-397.png, assert the single-line marker, and verify the store is unchanged. Research did not claim a build proof because this phase has no Guix daemon.Imported from GitHub comment. Originally posted by htayj on 2026-09-08T18:31:27Z.