Martin Costabel <[email protected]> said:
> Mike Zanker wrote:
>> On 26/1/09 22:44, Ian Allison wrote:
>> 
>>> I'm having problems installing mplayer. One of the dependencies 
>>> (libx264-57-shlibs) fails during compilation. I'm using the rsync fink 
>>> and I have the unstable trees enabled. The error message I see is
>>>
>>> make -C gtk
>>> failed to load "x264.ico": Couldn't recognize the image file format for 
>>> file 'x264.ico'
>>> make[1]: *** [x264_icon.h] Error 1
>>> make: *** [libx264gtk.a] Error 2
>> 
>> I'm having the same problem compiling the latest gimp2 on Intel 10.5.6. 
>> I've followed the thread but wasn't sure of the conclusion - is there a fix?
>
> There is a workaround which involves patching and rebuilding 
> gtk+2-shlibs. With this workaround, gimp2 builds correctly (as does 
> libx264). But this workaround hasn't been committed to Fink yet.

I just committed shared-mime-info-0.51-1, which fixes the bug I can
reproduce: .png filename and content detection both worked, .ico
filename detection worked (the workaround patch) but content detection
(the documented behavior, with the NULL unpatched) did not.

Apparently the work-around changes the behavior of a certain gtk+2
function from "how it is supposed to work" to "what worked in this
particular situation but is differently-bugged in the general case and
contradicts docs". For what I've solved so far, our previous version
shared-mime-info-0.40-2 did not have 'magic' data for .ico files
whereas the new one does. That's consistent with .png not breaking but
.ico breaking iff filename-test is not used.

That leaves to be determined why some other actions (downgrading
and/or certain platforms) seem more/less broken, but at least this
solves one reproducible bug sanely.

dan

-- 
Daniel Macks
[email protected]
http://www.netspace.org/~dmacks



------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to