I think there is a difference between public funding for research (it's how majority of research is funded) and public funding for open-source software (isn't happening yet, to my knowledge, so it's an interesting and potentially powerful unexplored idea).