If someone sets # The command used to compress documentation during the install phase. PORTAGE_COMPRESS="lzma" # Flags for the PORTAGE_COMPRESS command. PORTAGE_COMPRESS_FLAGS="-9" in make.conf, all *.info files will be LZMA-compressed instead of *.bz2-compressed which is the default. However, "info" does not support LZMA-compression, and so all installed .info files will not be usable. It follows that it is either a bug that $PORTAGE_COMPRESS applies to the installed .info files, or "info" need to be enhanced in order to also support LZMA-compressed files. Reproducible: Always Steps to Reproduce: 1.Emerge sys-apps/info with PORTAGE_COMPRESS="lzma" in /etc/make.conf 2.Run "info info" 3.It cannot even display its own help! Actual Results: The "man" page is displayed, although the *.info.lzma-files are available. Expected Results: The /usr/share/info/*.info.lzma-files should be displayed instead. It was quite easy to add LZMA-support to sys-apps/info. I have created a small patch and and added support for the "lzma" USE flag.
Created attachment 182109 [details, diff] This patch file should be put into the files/ subdirectory of the ebuild
Comment on attachment 182109 [details, diff] This patch file should be put into the files/ subdirectory of the ebuild This is a patch for texinfo version 4.11
Created attachment 182113 [details, diff] Patch for ebuild: Makes 4.11-r1 into 4.11-r2 Apply this patch to the 4.11-r1 ebuild and the into 4.11-r2 will result. The new ebuild then requires the other patch file in the files/ directory.
As "lzma" is not a global USE flag yet, a corresponding line should be added to "/usr/portage/profiles/use.local.desc".
Tested successfully on amd64.
4.13 already has lzma support