Closed EbonJaeger closed 2 years ago
Nice work! Generally looking okay to me, some quick tests with systemd, xz, libabigail, working as expected.
I did completely forgot about info pages. Functionally, it should be the same as compressing man pages, with some pkgs like e2fsprogs having precompressed info pages but most not.
Is $installdir/usr/share/info
the only directory we have to worry about for info pages?
Is
$installdir/usr/share/info
the only directory we have to worry about for info pages?
Seems that way
Ah very cool! Looks okay to me now, but summary could use updating. I'll take a last look tomorrow when i'm less tired before merging and let you push any last tweaks you want to do.
Awesome, sounds good! I might tweak some of the code doc comments, too.
With this, ypkg will compress manpage and info files with gzip at maximum compression. Symlinks will be updated to point to the new compressed files.
When compression has been applied, the output also includes how many files were compressed, and the amount of the space that was saved by compression.
This has been tested with the
nano
andxz
packages both withfakeroot ypkg-build ...
and withsolbuild
after patching Ypkg.Fixes #30