Skip to content

Conversation

@afrojer
Copy link

@afrojer afrojer commented Sep 15, 2023

Use the xcrun tool to discover the SDK installed, and use uname to discover the proper arch.
I have also grabbed the create_dmg script, and modified the mk_app script to construct a dmg file with a really basic background.

Ignore the DS_Store files from Finder, sbcl downloads in the
contrib/macos directory, and the Fricas.app directory.

Signed-off-by: Jeremy C. Andrus <[email protected]>
Use the xcrun binary to find the macosx sdk path, and use uname to
determine the arch to build for.

Signed-off-by: Jeremy C. Andrus <[email protected]>
Signed-off-by: Jeremy C. Andrus <[email protected]>
Pull in the "create_dmg" script from
    https://github.com/create-dmg/create-dmg.git
and use it in the "mk_app dist" command to create a disk image suitable
for distribution. The final disk image will have a 500x320 window with a
shortcut to /Applications and the FriCAS icon.

Signed-off-by: Jeremy C. Andrus <[email protected]>
@afrojer afrojer changed the title Update macos build to auto discover SDKs and arch Update macos build: auto discover SDKs and arch, build DMG Sep 15, 2023
@oldk1331
Copy link
Collaborator

Hi, mk_app was broken and unused, we were using dist-osx-dmg target in Makefile instead.

It's a good idea to fixup mk_app and call it from Makefile.

I think bundling create_dmg script inside repo is not necessary.

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