fixes bugs
adds pkg-config to control
fixes ChangeLog reaction
Merge branch 'master' into ubuntu