Re: [hatari-devel] hatari.app from cirrus-ci

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]



> Am 18.12.2023 um 20:02 schrieb Thomas Huth <th.huth@xxxxxxxxx>:
> 
> Am Sun, 17 Dec 2023 15:00:52 +0100
> schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
> 
>> Yes, this should work too. But lower case application bundles are very uncommon on macOS and I think the same is true for Windows. These two operating system are used by more than 90 % of the people. Furthermore there is still some mess because you still have project(Hatari C), set(APP_NAME "Hatari") and in GUI and all documentation it is called Hatari and not hatari. That is a bit strange to me.
>> 
>> Anyway, functionally it should be OK. Maybe the unused constant APP_NAME should replace hatari so the application's name can be set to a proper value depending on the platform used.
> 
> I like that idea, let's give it a try:
> 
> https://git.tuxfamily.org/hatari/hatari.git/commit/?id=742a83062e05e9ca38ed15f0fbfcc53fbb44ec85
> 
> Could you please check whether these artifacts now work better:
> 
> https://cirrus-ci.com/task/5022019247407104
> 
> (Note: I had to switch to arm64 builds only since compiling an universal
> binary png.framework did not work in the cirrus-CI)
> 
> Thomas
> 
As the others already did, I can confirm the new build works on macOS (14.2 on M1) without any issues. Hatari.app looks much more like a native macOS application. There were some worries that Mac users might want to use command line commands using the binary inside the application bundle. I just tried and on my system I can run upper case Hatari using lower case hatari calls on the command line. The file system of macOS is case insensitive by default. I think only very few people change this and these will be aware of potential issues arsing from that change.

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.

Andreas


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/