The app is missing the rdef/iom file, would be nice to see it set to the binary https://github.com/haikuports/haikuports/pull/2057
I created a nice little icon:

I have an rdef and the edited recipe ready. Unfortunatley, the recently added defineDebugInfoPackage removed the resources from the binary...
May I comment out the debugpackage, or is there a trick?
Also, the "About" of CuteMarkEd will still show the original, rather ugly, icon.
Not sure how its buildsystem works its magic... Should it be patched for the new icon?
Help needed, if yes.
Not sure how defineDebugInfoPackage removes the recourses for the icon, maybe some others can comment on this? Icon looks nice btm! :+1:
defineDebugInfoPackage uses strip which also removes the icon. Hopefully strip could be fixed to not do it.
Maybe we can create a GCI task to investigate how haikuporter can be taught to keep the ressources or to re-add them after creating the debuginfo package?
On Mon, Jan 08, 2018 at 10:55:59AM -0800, Sergei Reznikov wrote:
defineDebugInfoPackage uses
stripwhich also removes the icon. Hopefullystripcould be fixed to not do it.
Not easily.
Resources (such as icons) are just appended to the end of the file
without any change in the ELF header. So any tool that deals with elf
files will just ignore it.
However, there is a way around that:
1) save resources with xres
2) strip
3) re-add resources
I thought defineDebugInfoPackage would do it already, but maybe not. We
could fix that.
Yes it did... but the resources were being dropped again, after step 3, by objcopy.
https://github.com/haikuports/haikuporter/commit/c4c7fe9307a7f35ac05a02aa34bcb9b527c03e45 fixes this issue :)
Thanks. Updated the recipe to add the icon+rdef.
Most helpful comment
I created a nice little icon:
I have an rdef and the edited recipe ready. Unfortunatley, the recently added defineDebugInfoPackage removed the resources from the binary...
May I comment out the debugpackage, or is there a trick?
Also, the "About" of CuteMarkEd will still show the original, rather ugly, icon.
Not sure how its buildsystem works its magic... Should it be patched for the new icon?
Help needed, if yes.