Re: [hatari-devel] How to include EmuTOS in Hatari.app when building it yourself on macOS? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] How to include EmuTOS in Hatari.app when building it yourself on macOS?
- From: Frank Danapfel <frank.danapfel@xxxxxxxxxxxxxx>
- Date: Thu, 26 Jun 2025 10:23:53 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20230601; t=1750926244; x=1751531044; darn=lists.tuxfamily.org; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=NRJofZEcxrs1xJ9DigSLivLRyqVOF38NPoxnX8TEkFg=; b=GXAbkVb6VLaam5k2YK1DhA0dc/0YtHPBT1qQ0UN81eVPZqh+PyF30SF8xL8UQeATTO UmrXhbGbupGRj07lVPKWHzyvxm9qL9zbfPbHH8xFqLxoKiveAVeguIV2adBDgwOuykBj MdV7UOBvzSbS0LkssC1XheH8zXxDN6Fxjv6QWiI/b0oy7DxFYCsC2G6LM+tCVRjn7vH9 l3lvA7mAr+6Y/vuD3/NDo3T+9MA8UqpCITB/GmUnEJS6sd+H0jO+70zv6NgFUn40cM2q lXJvzzzPcvXBcnDty0dOHiFRca4cW619rNkX5/0MzihxVf3V1cnLUuhLKPg1xBfhVRsG qdzA==
Hi Bob,
thanks for the suggestions, but as mentioned in my initial post I’m already able to build Hatari.app without portmidi using cmake. And I don’t want a UNIX-style binary that I have to run from Terminal.
All I need is some guidance on what I would have to change in the cmake configuration or elsewhere to get the tos.img included in the Hatari.app that is created when running „cmake —build .“ in the same way this is done in the official Hatari builds.
Regards,
Frank
> On 26. Jun 2025, at 04:41, Bob Carpenter <hatari@xxxxxxxxxx> wrote:
>
> Eero,
>
> On the Mac, the tos.img file must be included in the package if you compile it to use the Mac-specific interface.
>
> Frank,
>
> If you want a version with the macOS interface, but without portmidi, you’ll need to use Xcode to compile Hatari. I have the instructions, but they’re out of date for Apple’s current code-signing.
>
> If you want to compile a UNIX-style binary that you run from Terminal, there’s a Makefile flag to tell Hatari to not create a bundle. If you do that, then Eero’s suggestion will work for you.
>
> Bob C
>
> On Wed, Jun 25, 2025, at 2:03 PM, Eero Tamminen wrote:
>> Hi,
>>
>> On 25.6.2025 12.28, Frank Danapfel wrote:
>> > I’m building Hatari myself directly from the source repo because I need a version that does not include portmidi (in order to be able to test things like MidiMaze).
>> ...
>> > The built Hatari.app works, but there is always an error because the tos.img is missing in the app bundle. I tried to copy the tos.img into the app bundle myself, but then Hatari.app won't start anymore because of a wrong checksum or something.
>> >
>> > Since the officially available Hatari builds for macOS include EmuTos in the app bundle, can somebody provide the additional steps that are necessary to ensure that tos.img is added to Hatari.app during compilation?
>>
>> I have no idea how that works, but if this is just for yourself, and
>> always on the same machine, what's wrong with just having / saving
>> Hatari config file that points to correct TOS file?
>>
>>
>> - Eero
>>
>>
>>
>>
>