Hi, Cap'n Proto upstream author here. Noticed this thread in a Google search, thought I'd comment.
To shed some light on the googletest situation: The googletest maintainers have deemed that googletest should never ever be system-installed, and have even disabled `make install` in their build. See: https://github.com/google/googletest/blob/master/googletest/Makefile.am#L300 I don't really understand what they think they're solving here but it is what it is and this seems to make it hard to use googletest in a non-bundled way. It's possible I misunderstood, though. FWIW, Cap'n Proto only uses googletest to build its tests. It does not install any artifacts that were influenced by googletest. In any case, this dependency will be gone once I find time to do the next release. Sorry for the trouble in the meantime. -Kenton PS. regarding the man page, I believe Debian mostly generated this page from the capnp tool's help text. I'd accept a patch to c++/src/kj/main.c++ which adds some code to generate man XML format directly, so that we don't have to maintain the same text in multiple places.