Skip to content

chore: remove dead Xcode/SDL2 build scripts and .orig artefacts#218

Open
blackden wants to merge 1 commit into
wolfetplayer:mainfrom
blackden:chore/cleanup-dead-build-scripts
Open

chore: remove dead Xcode/SDL2 build scripts and .orig artefacts#218
blackden wants to merge 1 commit into
wolfetplayer:mainfrom
blackden:chore/cleanup-dead-build-scripts

Conversation

@blackden

@blackden blackden commented Jun 6, 2026

Copy link
Copy Markdown

Summary

  • Remove legacy Xcode project files and make-macosx*.sh helpers that never built a working binary on modern macOS.
  • Remove vendored libSDL2-2.0.0.dylib (project migrated to SDL3 API; this dylib is unreachable since the link line now goes through pkg-config sdl3).
  • Remove leftover *.orig merge artefacts checked in by accident.
  • Net: ~3876 deleted LOC, 0 added; no functional change to any current build path (Linux make, mingw, current darwin make all unaffected).

Test plan

  • `make ARCH=arm64 USE_INTERNAL_LIBS=0 USE_OPENAL=0 -j8` still produces a working `RealRTCW.arm64` on macOS 26 / Apple M1.
  • Sanity-played the campaign for ~5 minutes after the build — no regressions vs. pre-cleanup binary.

🤖 Generated with Claude Code

The PPC/Xcode-3-5 mac build scripts target gcc-4.0 and the 10.5/10.6
SDKs — broken since the Apple Silicon transition and unused by any
modern packager (MacSourcePorts and similar projects bypass them
entirely).

The bundled libSDL2-2.0.0.dylib (2016) is also dead: RealRTCW upstream
migrated to SDL3 API (SDL_PutAudioStreamData, SDL_UpdateGamepads,
etc.), so the legacy USE_LOCAL_HEADERS=1 darwin path can no longer
satisfy link symbols against it. The remaining viable darwin builds go
through Homebrew sdl3 / USE_INTERNAL_LIBS=0.

g_func_decs.h.orig and g_funcs.h.orig are VM-codegen byproducts that
slipped into the index. Add *.orig to .gitignore so they don't return.

.code at repo root is an empty stray.

Removed:
  make-macosx_xcode3.sh, make-macosx_xcode4.sh, make-macosx_xcode5.sh
  make-macosx.sh, make-macosx-ub.sh
  code/libs/macosx/libSDL2-2.0.0.dylib
  code/libs/macosx/libSDL2main.a
  code/game/g_func_decs.h.orig
  code/game/g_funcs.h.orig
  .code

11 files changed, 1 insertion(+), 3876 deletions(-).

No code path on macos-arm64 (current active branch) references any
removed file; the Phase 1 build still uses USE_INTERNAL_LIBS=0 +
Homebrew SDL3.
blackden added a commit to blackden/RealRTCW that referenced this pull request Jun 9, 2026
Phase-1 ASAN launcher reused as the M4 capture target. Adds --vulkan
(sets cl_renderer=vulkan) and --auto (boot + 10s + quit) modes so the
validation-triage wrapper can drive it headlessly. Phase-1 checklist
heredoc dropped — that workflow closed in wolfetplayer#218.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant