Re: [hatari-devel] hatari.app from cirrus-ci |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Hatari devel list <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] hatari.app from cirrus-ci
- From: Bob Carpenter <hatari@xxxxxxxxxx>
- Date: Wed, 20 Dec 2023 10:18:26 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ripon89.us; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1703092718; x=1703179118; bh=6wBf23bTZceDu+TeiwIIavXjDP5+S7UB66XQppMw2eU=; b= oOBJOygLDjiJkGlrhWIjZcr606Okf+JBX9iQfHfilsn9y1Tu6Ls4A6zWZ+HTgRaW gWkNRT8E+zwKsbEYcUbpPvms168XKBc4FBY+4bK8mjHvUBhH1hg2P8M208TeFdbW A+qb9BZa3wphgJ42lsfbuT2eGPxuz2o2OPZmDtCupVatMsETZv8mSeK1JpcZh6EW EXrhNein7RL8ay3MrVdsUqp3wjq79Y4/Y1k8Df/F7AMJr5Vdgd28BthJiSECDUrD hoJ3z/2AaHnSwbdfPGj1YSzgWPstDpquwK8q1dNQrGuBccQXrc1Y8rYyLGcla4r9 ss9dkJ3tbFwle9p7Ds0f/g==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1703092718; x= 1703179118; bh=6wBf23bTZceDu+TeiwIIavXjDP5+S7UB66XQppMw2eU=; b=q Q4VaznOACaNdGCa6xdOD1z7LFqQOptE94LTWrmXW+AUgfjxCR85ykA/zScNFa8gs iRwr75SlDofiCdcpLp/DgQhOfijNCLrw+0pqa3Jou6uxA5AEoko7xOUduT/5nvrt fpt3FieVT45m6SBdytl6Ij06Xsb7YdlM+oHTdjEYYctkjL2QpzZl8e80YFxYtHhy yYykIOYF5wDhhGsyffZoSCb3nC55DyV4n9RbkrzgPjaN0bZ6q9RCXsi5n0GIbfRL MJ0uqelmeeIElyoByUq1duRS+nyDrx7lMz/VJlyNKhL8ihgRpD040SECTHPGvV+K ihmo9/BufMs9HqTax//bw==
- Feedback-id: i553146f9:Fastmail
Thomas,
This version is a Universal binary and it works perfectly on my M1 MacBook Air. It would be nice if someone on the mailing list has an Intel Mac they could use to test this binary.
I do want to mention that it is currently missing the CAPS framework along with portaudio and portmidi. At this point, I am not sure that losing the CAPS framework is much of a loss. There were very few IPF files available for the ST. It may not be worth the trouble to include it. There are many more STX files which Nicolas supports natively in Hatari. Since some Mac Hatari users try to use MIDI, it would be helpful if the portmidi framework were included. As far as I know, the portaudio framework is only needed if you use the microphone in Falcon mode.
Bob C
> On Dec 20, 2023, at 12:53 AM, Andreas Grabher <andreas_g86@xxxxxxxxxx> wrote:
>
>
>> Am 20.12.2023 um 07:46 schrieb Thomas Huth <th.huth@xxxxxxxxx>:
>>
>> Am Tue, 19 Dec 2023 18:58:22 +0100
>> schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
>> ...
>>> I just tried compiling libpng from the command line and it indeed fails to compile a universal binary. Probably there is a bug in their CMakeLists.txt. Anyway I did successfully create one using Xcode. Maybe just use that one until they fix it. Should I send it to you? I think it is too early to drop support for Intel Macs. There are lots of them still around and running the latest OS.
>>
>> Thanks for your offer! But I think I finally found a way (by luck) to
>> compile an universal libpng framework on the command line, too: You have to
>> specify CMAKE_OSX_ARCHITECTURES as "arm64;x86_64" and not as "x86_64;arm64"
>> ... don't ask me why!
>> I then also had an explicit codesign lign for the png.framework, too, and
>> now it seems to successfully build an universal Hatari.app for macOS >=
>> v10.13 :
>>
>> https://cirrus-ci.com/task/4758440225013760
>>
>> Thomas
>>
> That is good news! It seems they do some weird things with the architecture string in their CMakeLists.
> This finally works really great. The application bundle is correctly signed and no pre-requisites are necessary to run it on any Mac.
>