Skip to content

fix(build): keep Receiver bundle self-contained - #181

Closed
Betafer wants to merge 1 commit into
swellweb:maint-3.5from
Betafer:codex/fix-self-contained-receiver-v3.5
Closed

Betafer wants to merge 1 commit into
swellweb:maint-3.5from
Betafer:codex/fix-self-contained-receiver-v3.5

Conversation

@Betafer

@Betafer Betafer commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • give the copied SDL3 runtime an app-relative install name
  • inspect the Receiver executable and every bundled dylib after packaging
  • fail the build if any /opt/homebrew or /usr/local dependency remains

Why

The Receiver may be built on one Mac and installed on another. dylibbundler rewrites normal Mach-O dependencies, but SDL2 compatibility loads SDL3 dynamically, so that runtime needs an explicit internal identity and an independent bundle-integrity check.

Validation

  • built a complete TargetBridge Receiver.app
  • verified the bundle with codesign --verify --deep --strict
  • verified SDL3 identity is @executable_path/../Frameworks/libSDL3.dylib
  • independently scanned the executable and every bundled dylib: no external Homebrew paths remain

This PR changes one packaging script only.

@swellweb

Copy link
Copy Markdown
Owner

Grazie per il contributo. Ho integrato il controllo di autosufficienza del bundle in #189, insieme alla compatibilità per SDL2 nativo e sdl2-compat. Chiudo quindi questa PR perché la correzione unificata è già in .

@swellweb swellweb closed this Aug 29, 2026
@swellweb

Copy link
Copy Markdown
Owner

Precisazione: la correzione unificata è stata integrata nel ramo maint-3.5 tramite #189. Grazie ancora per il contributo.

@Betafer

Betafer commented Aug 29, 2026

Copy link
Copy Markdown
Contributor Author

Posso scrivere in italiano allora :-)
Grazie a te per il software, sto cercando di implementare quello che mi viene in mente, ora sto facendo i test su un imac 5k e poi proverò un 4,5k
non avendo grandi basi di programmazione mi affido a codex, eventualmente qualcosa sarà da sistemare.

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.

2 participants