On 02/24/2013 02:38 AM, Bruce Dubbs wrote:
> William Harrington wrote:
>>
>> On Feb 23, 2013, at 6:56 PM, Bruce Dubbs wrote:
>>
>>> William, I'd be interested in what this does for you in practical terms.
>>
>> In practicality, lzma and lzma2 has better compression than gzip or
>> bzip2, and the script needs to be updated.
>
> You are not quantifying the differences in compression.  AFAIK, the
> script works now and it appears your changes are an optimization.
>
>> lzma and lzma2 have the best decompression times and best compression
>> ratios (hence seeing lzma2 compressed source tarballs on GNU servers),
>> and compression may take a bit longer, if we are going to include the
>> compressdoc in BLFS, then keep it updated. If there is no practical use
>> for the script then remove it from BLFS. If it's there, then it should
>> be updated. In the mean time, I will have my updates available to the
>> community of them to use and manipulate as they wish.
>>
>> The script compresses man pages and info files, may as well add xz to it
>> since man or man db and texinfo can use lzma and lzma2. Practicality is
>> not the issue.
>> As long as it is in the book, it should be maintained.
>
> Minimal maintenance (fixing broken things) is not the same as optimizing.
>
> I have considered removing compressdoc because I think it pretty much
> useless, but since it works, it's more effort to remove it than to just
> leave it.  Admittedly removing it would only require removing one line
> from the xml.
>
> Armin, Randy, Ken, what do you think?
>
>     -- Bruce
>
>

First of all, script is broken.

Any man page that contains ".so whatever.num" when the "whatever.num" is 
compressed is broken after compression.

It should be changed to ".so whatever.num.ext" after compression iirc. 
That was in my case only. You can try compressing a man page manually 
then running "man whatever" which is a .so link to the compressed page.

# gzip -9 modules.dep.5
# man modules.dep.bin
man: can't open /usr/share/man/modules.dep.5: No such file or directory
man: can't resolve /usr/share/man/man5/modules.dep.5: No such file or 
directory
No manual entry for modules.dep.bin

Where modules.dep.bin.5 contains:

# cat modules.dep.bin.5
.so modules.dep.5


I welcome the xz improvement and have nothing against improving 
anything, but I just want to point out that with or without it, script 
is broken in some way.

Another example should be libXtst man pages, where lot of man pages are 
just .so links to two or three real man pages.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to