<br><br><div class="gmail_quote">On Thu, May 20, 2010 at 3:44 PM, Steven Edwards <span dir="ltr">&lt;<a href="mailto:winehacker@gmail.com">winehacker@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">I have a hacked version in the Bordeaux tree that uses sips to create</div>
icns icons and working Application bundles. If they have time, Austin<br>
or Tom can send it along for your review if your interested. The<br>
&#39;right&#39; solution would be to figure out how to make them happy with<br>
png&#39;s or write a WIC encoder/filter/whatever for icns, I just don&#39;t<br>
have the time these days. Without getting off on to a long rant, I<br>
&#39;hacked&#39; our version call sips on OS X to convert the images to icns.I<br>
was never able to get App bundles to want to play nice with the png<br>
images winemenubuilder spits out but it works most of the time. Since<br>
it&#39;s derived LGPL code we are happy to share, though it really is a<br>
hack and I am sure Alexandre would not want it in the tree, even for<br>
the new release.<br><br></blockquote><div><br></div><div>Sorry for the double spam, I thought I did not have a copy of the code handy. Here is the hacked patch, it&#39;s quite nasty as it forks for every image is processes so it takes a while to generate the icons. There was a bit of a race�condition�so I further hacked it by sleeping but it got the job done. As I said, figuring out why Appbundles did not want to play nice with the png images would be great. I suspect png image AppBundle support really only works on iDevices and not full OS X and if so, we just need a better way to spitout/convert to icns images.</div>
<div><br></div><div>Thanks</div></div>-- <br>Steven Edwards<br><br>&quot;There is one thing stronger than all the armies in the world, and that is an idea whose time has come.&quot; - Victor Hugo<br>