Re: [patch] use libmagic for file format detection

2012-02-21 Thread Alessandro Di Federico
On Mon, 2012-02-20 at 11:47 -0500, Richard Heck wrote: > There must be some kind of mime-detection software on Windows, right? Take a look here: http://mark0.net/soft-trid.html Ale

Re: [patch] use libmagic for file format detection

2012-02-21 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > Le 20/02/2012 17:47, Richard Heck a écrit : >> In that case, it's obviously an improvement over what we have. >> >> There must be some kind of mime-detection software on Windows, right? I don't know of any. > Or maybe some QMime? It looks like it will appear in qt5,

Re: [patch] use libmagic for file format detection

2012-02-21 Thread Pavel Sanda
Georg Baum wrote: > Of course libmagic is not perfect, libmagic which is provided by 'file' utility? Such dep should go to RELEASE-NOTES as well. P

Re: [patch] use libmagic for file format detection

2012-02-20 Thread Jean-Marc Lasgouttes
Le 20/02/2012 17:47, Richard Heck a écrit : In that case, it's obviously an improvement over what we have. There must be some kind of mime-detection software on Windows, right? Or maybe some QMime? It looks like it will appear in qt5, and there for we will be able to use it in 2016 :) JMarc

Re: [patch] use libmagic for file format detection

2012-02-20 Thread Richard Heck
On 02/19/2012 11:56 AM, Georg Baum wrote: Richard Heck wrote: On 02/19/2012 07:38 AM, Georg Baum wrote: I do not know whether it is possible/how easy it is to build libmagic on windows. That's the big question, obviously. What does the patch do if we don't have libmagic? (I'm sure I could fig

Re: [patch] use libmagic for file format detection

2012-02-19 Thread Georg Baum
Richard Heck wrote: > On 02/19/2012 07:38 AM, Georg Baum wrote: >> I do not know whether it is possible/how easy it is to build libmagic on >> windows. > That's the big question, obviously. What does the patch do if we don't > have libmagic? (I'm sure I could figure it out, but it's a big patch...

Re: [patch] use libmagic for file format detection

2012-02-19 Thread Richard Heck
On 02/19/2012 07:38 AM, Georg Baum wrote: I do not know whether it is possible/how easy it is to build libmagic on windows. That's the big question, obviously. What does the patch do if we don't have libmagic? (I'm sure I could figure it out, but it's a big patch) Richard

Re: [patch] use libmagic for file format detection

2012-02-19 Thread Kornel Benko
Am Sonntag, 19. Februar 2012 um 13:38:00, schrieb Georg Baum > Some time ago we talked about the misdetection of zipped files. The > misdetection does not happen anymore, but the formats in question (.odg, > .dia etc.) are not really detected (the fallback "format name" == > "extension" is use

[patch] use libmagic for file format detection

2012-02-19 Thread Georg Baum
Some time ago we talked about the misdetection of zipped files. The misdetection does not happen anymore, but the formats in question (.odg, .dia etc.) are not really detected (the fallback "format name" == "extension" is used). To improve file format detection, an external library should be us