Re: [hatari-devel] big icon file for macOS ? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Hatari devel list <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] big icon file for macOS ?
- From: Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Date: Mon, 1 Apr 2024 16:43:40 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1711982633; bh=2Jfpolt6XpSbExq9CMbJYi9uGxwJgHT2s2WxiGbKRRQ=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=VZj7Vqy7exV4xJmMlVbHtKWN5+pux4r6do3dmP/3Gn6VAq+TzXhUN5CnXfntwpC8Q Lc9HNDQsuYdHqoOvBc90BI7MwTcpBmT9Kd2C5uhUTGmlmhMItwXvWXS8tacdminopU LDVPf5W6lnME5aYv3TA3o3K1FMw0IAYIgmWIvWRWHtkj8o1wDSj4dwbt7jVLcMF2jO HupxI80FxSIIiZjwpdGEqHdBfbAF3W7mYSn1d2rFMa2O+2wD+mCLIM8NQ1YYEMWebt lknPZJ1im30nf/6dj6cVF4bzgdpetwsl/AUQOW4dwV4E1+Vau0txUs36UyHFvMaf19 ZcAmD9vZDqEdQ==
> 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.