[freeciv-dev] Re: Freeciv for macOS

  • From: Dean <ddeanbrown@xxxxxxxxxxx>
  • To: freeciv-dev@xxxxxxxxxxxxx
  • Date: Sun, 10 Apr 2022 23:00:53 -0400



On 4/10/22 10:35 PM, Marko Lindqvist wrote:

On Mon, 11 Apr 2022 at 04:42, Dean <ddeanbrown@xxxxxxxxxxx> wrote

That's not good for making a Mac app bundle, we need the
packages needed at runtime to be inside the final app bundle. I use a
Homebrew install into my app bundle, and it works.

  You probably can't move the files installed by homebrew in Mac, but
they are only usable on their original location (i.e., there's
probably some references with the absolute path?)

Correct, looking at my freeciv-qt executable in a hex editor I see, for example -

/Applications/freeciv.app/Contents/Resources/opt/sdl2_mixer/lib/libSDL2_mixer-2.0.0.dylib


  As for 3.0.1; I'm just setting up a tarball that closely matches what
I expect 3.0.1 to be, for testing that builds from a tarball (instead
of directly from git repo) work as expected (tarball contains
everything necessary etc). If you have a spare moment, it would be
good if you could test that tarball on your setup. Hope to get that
set up before I start my daily job, but clock is ticking...

Yes, send me the tarball and I'll try it.

Other related posts: