Re: [hatari-devel] Hatari macOS builds - handover need? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Hatari macOS builds - handover need?
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Wed, 26 Apr 2023 20:32:30 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1682541152; bh=3sPU2Ex1U9h89OvXrs/xXS4cP00usFHoqKM8xImtmKY=; h=Date:From:To:Subject:From; b=G5UVVA/crJKWQtC9mHDepUh5cV0DRCrseVuaEjvw/rh9wBettH5FDaGlltUrNw0a7 cEwmjq1GlopWR6W7++Z3fjzULsngL6CyJoahgLpz8UNKH3/zhMkWZIrYs2gAXGodkH vjy2FFY1xP1i4gtDUlC27pT5q8LS1Ex8GPoLwIZB0OBVxmjAFH4qnfaMkxhN0ohK4q Vtukn+sx2KxKhTz9aVGk0lSKQZ1raNq5VIJx/3H99vSW43w9b0AF9WQXBDxB5+G3lc Ysgh9CnwVMK2PXlkHfwTyhjkf3zr3xO4kV9MS8Flwbf5ukrXcZ+V+rMLVBiohVOVPi tpOyHUuDXeT6A==
Am Wed, 26 Apr 2023 18:36:47 +0200
schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
> I appended a patch that makes it possible to automate the build process quite a bit. It might need some refinement, like only copy frameworks, if they were found and add some additional frameworks as mentioned.
Thanks a lot for the patch ... but I was still hoping that one of the macOS
guys here on the list could come up with a ready patch based on yours that
does all that additional stuff (i.e. take the libraries/frameworks into
account that have been found)... in the current shape, I think it's not
ready for commit yet (e.g. it should still be possible to compile Hatari
without PNG, but currently it's hardcoded there).
> These commands were used from the root directory of the sources to create the distributable executable:
> #cmake .
> #make
Oh, now that's interesting, so you are *not* using the "Xcode" generator
for building macOS release apps? That's surprising, I somehow thought that
"cmake -G Xcode" would be required for building a proper app bundle...?
> #install_name_tool -change /opt/local/lib/libz.1.dylib /usr/lib/libz.1.dylib src/hatari.app/Contents/MacOS/hatari
> #codesign --force -s - src/hatari.app/Contents/MacOS/hatari
.... and this codesign line also looks quite different to the one that the
Xcode generator was trying to execute before I disabled signing there.
Ok, so here's another try, with your patch (partially) applied and with the
standard generator instead of the Xcode one, and with your codesign line
added to the build script:
https://cirrus-ci.com/task/4689992333656064
Chris, Bob, could you please give that build a try, too?
Thanks,
Thomas