getsolus / ypkg

Modern, declarative, structured build format
https://getsol.us
GNU General Public License v3.0
22 stars 11 forks source link

Consider dropping compressdocs.sh with our own implementation for compressed man pages #30

Closed joebonrichie closed 2 years ago

joebonrichie commented 2 years ago

Copied from the commit message:

This works as-is, however, we may want to drop compressdocs.sh with our own implementation in python. It will need to:

ReillyBrogan commented 2 years ago

FWIW man-db 2.9.2 also added support for zstd-compressed man files.

joebonrichie commented 2 years ago

Thanks, zstd would work as well! The man pages will compress pretty well either way but i don't think python 2.7 supports zstd compression so we'll have to call out to the zstd binary directly if we went that way.