Re: [hatari-devel] big icon file for macOS ?

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


> Am 30.03.2024 um 14:30 schrieb Thomas Huth <th.huth@xxxxxxxxx>:
> 
> Am Sat, 30 Mar 2024 14:12:20 +0100
> schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
> 
>>> Am 30.03.2024 um 13:40 schrieb Thomas Huth <th.huth@xxxxxxxxx>:
>>> 
>>> Am Sat, 30 Mar 2024 10:46:57 +0000
>>> schrieb Thomas Huth <th.huth@xxxxxxxxx>:
>>> 
>>>> Am Sat, 30 Mar 2024 09:16:52 +0100
>>>> schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:
>>>> 
>>>>> Le 30/03/2024 à 08:06, Thomas Huth a écrit :    
>>>>>> Am Fri, 29 Mar 2024 11:30:22 -0400
>>>>>> schrieb Brad Smith <rainwarrior@xxxxxxxxx>:
>>>>>> 
>>>>>>> Mac standards do require a 1024x1024 icon these days.
>>>>>>> 
>>>>>>> If you used nearest neighbour upscaling instead of the interpolated large
>>>>>>> images, they would probably compress a lot smaller, though.      
>>>>>> 
>>>>>> That sounds like a good idea ... I had a quick try with the "png2icns" tool
>>>>>> and converted the pngs from our "share" folder into the icns format, and
>>>>>> that results in a .icns file with the size of 721658 bytes. Still quite a
>>>>>> bit, but way better than the current one. Shall I go ahead and push that
>>>>>> file to the repository?      
>>>>> 
>>>>> Hi
>>>>> 
>>>>> I think you can push it, as long as all the size are still the same, it 
>>>>> shouldn't break anything.    
>>>> 
>>>> Reading through some information like this:
>>>> 
>>>> https://stackoverflow.com/questions/12306223/how-to-manually-create-icns-files-using-iconutil
>>>> 
>>>> ... it seems like we even might be able to create the .icns on the fly
>>>> during the build process... I'll give it a try...  
>>> 
>>> OK, I've pushed a patch now to create the icns file dynamically. It seems
>>> to work fine in the CI, but it would be great if one of the macOS users
>>> could check whether the build also still works fine with a manual Xcode now.
>>> 
>>> Thomas
>>> 
>>> 
>> Seems to work for me (built from command line on latest macOS). Just out of curiosity: What is the benefit from dynamically creating the ..icns file instead of just adding it to the repository? The file is only 1 MB in size.
> 
> The macOS icns file is now in sync with the png icon files that are used on
> Linux. If we change the latter, the macOS stuff gets updated automatically
> now.
> 
> Thomas
> 
Strange request:
Would it be possible to place the generated .icns in the folder gui-osx as before? It would avoid some extra differences between Previous and Hatari.





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