initial commit
patches to fix build (from debian sources)