Skip to content

Package OpenOMF for MacOS 26 - #1428

Draft
mrannanj wants to merge 22 commits into
masterfrom
dmg
Draft

Package OpenOMF for MacOS 26#1428
mrannanj wants to merge 22 commits into
masterfrom
dmg

Conversation

@mrannanj

Copy link
Copy Markdown
Member

No description provided.

@mrannanj
mrannanj force-pushed the dmg branch 6 times, most recently from 4d95e36 to c2b5d84 Compare August 6, 2026 15:16
@mrannanj
mrannanj force-pushed the dmg branch 7 times, most recently from de7f7bd to 27caad0 Compare August 8, 2026 08:16
@mrannanj
mrannanj requested a review from Nopey August 8, 2026 08:21
@mrannanj
mrannanj force-pushed the dmg branch 6 times, most recently from e92f5d5 to 4d59a92 Compare August 8, 2026 09:43
@mrannanj mrannanj changed the title Dmg Create a MacOS 26 dmg artifact Aug 8, 2026
@mrannanj mrannanj changed the title Create a MacOS 26 dmg artifact Package OpenOMF for MacOS 26 Aug 8, 2026
@mrannanj
mrannanj force-pushed the dmg branch 3 times, most recently from db4362c to 2f63151 Compare August 8, 2026 13:32
@mrannanj
mrannanj force-pushed the dmg branch 9 times, most recently from de99525 to 977cfb9 Compare August 9, 2026 09:26
Assisted-by: Google Gemini 1.5
Comment thread CMakeLists.txt
set(CONTENTS_DIR "${APP_PATH}/Contents")

fixup_bundle("${APP_PATH}" "" "/opt/homebrew/lib;/usr/local/lib")
file(INSTALL "${SDL3_LIBRARY_PATH}" DESTINATION "${CONTENTS_DIR}/Frameworks" RENAME "libSDL3.dylib")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

file(INSTALL ... RENAME doesn't exist.
https://cmake.org/cmake/help/latest/command/file.html#install

Perhaps use file(COPY_FILE (new in cmake 3.21) or configure_file(<input> <output> COPYONLY) instead? file(INSTALL followed by a rename defeats some of INSTALL's features, anyway.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect we may run into trouble dlopen'ing SDL3 after using the bare filecopy, as fixup_bundle will not have tracked down the dylib dependencies of SDL3.

If this trouble does not occur, the manual file copy is good enough to stay-- considering an SDL3 port is inevitable, and will introduce a direct link dependency on SDL3, enabling fixup_bundle to grab SDL3 for us without any of this dancing around.

Dumb idea: What if we linked SDL3 into the openomf target on macos? I wouldn't expect symbol conflicts between sdl2-compat and SDL3, and if the dep survives the linker, we've just successfully told fixup_bundle to copy over the SDL3 that our sdl2-compat needs.

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