debian: update to dh compat 12, fix more serious packaging errors, correct copyright syntax Reviewed-by: Kefu Chai <tchaikov@gmail.com>