Add IFM (Interactive Fiction Mapper) PKGBUILD#162
Merged
Conversation
Package Glenn Hutchings' IFM 5.5 from the IF Archive source release. No Linux prebuilt binary exists upstream, so build from source; the release tarball is self-contained (bundles configure and the flex/bison output), so only ./configure && make is needed. Build with -std=gnu17: 5.5 predates upstream's GCC-15 fix and GCC 15 defaults to C23, where () means (void), turning its K&R-style function pointers into hard errors. Scope build/package to src/lib/man to skip the sphinx HTML docs and the DESTDIR-ignoring doc/ install, plus the optional perl/tk helper scripts. check() runs the 41-test suite. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Adds vim syntax and ftdetect files for IFM (Interactive Fiction Mapper) map files, and symlinks them into the nvim config during setup. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a from-source PKGBUILD for IFM (Interactive Fiction Mapper) 5.5 by Glenn Hutchings, at
arch/pkgbuilds/ifm/PKGBUILD.Research findings
ifm-5.5.tar.gz, sha256-pinned. Upstream dev repo: https://git.sr.ht/~zondo/ifmCOPYING), installed to/usr/share/licenses/ifm/.configureand the flex/bison output (ifm-scan.c,ifm-parse.c) — so no autotools/flex/bison are needed, just./configure && make. Onlypython(configure'sAM_PATH_PYTHON) is a non-base-devel makedep.libm/libc→depends=('glibc').Notable decisions
-std=gnu17: 5.5 predates upstream's GCC-15 fix and uses K&R-style unprototyped function pointers. GCC 15 defaults to C23 (where()means(void)), turning these into hard compile errors. Appending-std=gnu17to makepkg's CFLAGS restores the old semantics while preserving hardening flags.src/lib/man: skips the sphinx HTML docs (online at readthedocs) whosedoc/install ignoresDESTDIRand would write to/usr/doc, plus the optional perl/tk helper scripts — keeping output deterministic with no perl/tk runtime deps.options=('!debug'): upstream does not pre-strip, so makepkg's normal debug split applies.Validation
makepkg -fbuilds clean in a temp dir;ifm-debugsplits correctly.check()runs the upstream suite: 41/41 pass.arch/pkgbuilds/install.sh ifm;pacman -Qkk ifm→ 0 altered files.IFM version 5.5) and produces correct text/PS map output from a bundled test file.🤖 Generated with Claude Code