[pkg-wine-party] Bug#733556: binfmt detectors for Windows executables
Colin Watson
cjwatson at debian.org
Sun Mar 9 10:40:42 UTC 2014
On Sat, Mar 08, 2014 at 01:44:15PM +0100, Stephen Kitt wrote:
> I was working on restoring binfmt support to wine
> (http://bugs.debian.org/733556) and I came across the detectors spec in
> binfmt-support. The latter mentions detection code to handle Windows binaries
> which Alp Toker has - is that still the case, Alp?
>
> I quote:
> As far as wine is concerned, the modification should be as follows:
> add /usr/lib/wine/binfmt-detector-wine or similar with the Win32
> format detection code (Alp has the details of this, it's a few dozen
> lines of C), and add 'detector /usr/lib/wine/binfmt-detector-wine' to
> /usr/share/binfmts/wine.
This was for Mono. I think the descendant of this has wound up in
debian/detector/binfmt-detector-cli.c in the Debian mono source package;
looking at that it should be fairly straightforward to invert (or
similar) the relevant bit of logic for Win32.
--
Colin Watson [cjwatson at debian.org]
More information about the pkg-wine-party
mailing list