not-a-blog, not-a-service, not-a-clue.

## Wine, and restoring some meaning to EXE.

As the platform becomes increasingly stable, Wine apps are beginning to look like first-class citizens of an X environment. It makes sense that they should be executed as such:
# echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register 

This allows DOS and Windows executables with magic number MZ to be executed as regular binaries, by passing them to the standard wine binary. Note that this does not require the file to be named '.exe' so, as ever, take care with +x!

or slightly more permanently, in very hacky LCFG:
 !cron.additions mADD(winexe) cron.owner_winexe root cron.add_winexe @reboot "echo ':DOSWin:M::MZ::/usr/bin/wine:' > /proc/sys/fs/binfmt_misc/register" 

(In theory we should be able to user the ‘kernel’ component, but it doesn’t seem to have the ability to manipulate the ‘register’ portion of fs.binfmt_misc.)

Written by gdutton

22 April 2009 at 1217

Posted in Uncategorized

## LCFG repository access on a Mac

Mac OS X Leopard’s subversion client (as of 10.5.6), or more accurately its subversion client’s dependency library libneon, appears to be slightly broken when used with Kerberised WebDAV.

As you’d expect, subversion 1.6 as provided by MacPorts does not have this flaw.

This blog entry (LI Tech Blog » Patching neon on OS X 10.5 for GSSAPI authenticated SubVersion) provides a solution to the problem.  In summary: patch or replace libneon.

An interesting point is that the Mac build of the ‘pysvn’ subversion libraries does not appear to have been affected by this bug.

Written by gdutton

1 April 2009 at 1219

Posted in DICE