FS#1462 - Makepkg manpage compression
Attached to Project:
Pacman
Opened by Jan de Groot (JGC) - Friday, 17 September 2004, 09:28 GMT
Last edited by Judd Vinet (judd) - Friday, 17 September 2004, 22:24 GMT
Opened by Jan de Groot (JGC) - Friday, 17 September 2004, 09:28 GMT
Last edited by Judd Vinet (judd) - Friday, 17 September 2004, 22:24 GMT
|
Details
Currently I'm using pacman and makepkg as packagemanager on
my LFS system. LFS comes with a shellscript called
/usr/sbin/compressdoc, which is far more advanced than the
manpage compression routine in makepkg.
I changed makepkg's compression routine to the following: # compress man pages msg "Compressing man pages..." for i in `find $startdir/pkg/{usr{,/local},opt/*}/man -prune` do; /usr/sbin/compressdoc -b $i done This compresses the manpages with bzip -9, even if the manpages were already compressed with other formats, by uncompressing those first and than compressing them again. This would add more flexible manpage compression to archlinux. |
This task depends upon
Closed by Jan de Groot (JGC)
Wednesday, 24 August 2005, 21:08 GMT
Reason for closing: Won't implement
Additional comments about closing: bzip2 manpages would be slightly smaller, but also requires various manpage viewing utils to be patched
Wednesday, 24 August 2005, 21:08 GMT
Reason for closing: Won't implement
Additional comments about closing: bzip2 manpages would be slightly smaller, but also requires various manpage viewing utils to be patched
the find command isn't really right, I replaced it by this one:
find $startdir/pkg/ -name man -type d -prune
http://www.nl.linuxfromscratch.org/blfs/view/svn/postlfs/compressdoc.html
about the for loop with find: find also has -exec, so it could be optimized a bit ;)