Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

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
Task Type Feature Request
Category
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

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
Comment by Jan de Groot (JGC) - Friday, 17 September 2004, 09:40 GMT
the for loop I posted has a small error in it: the ; should be before do, not after
Comment by Jan de Groot (JGC) - Friday, 17 September 2004, 10:02 GMT
Hmm, another loop:
the find command isn't really right, I replaced it by this one:
find $startdir/pkg/ -name man -type d -prune
Comment by Judd Vinet (judd) - Saturday, 18 September 2004, 03:11 GMT
Where can I find the script?
Comment by Jan de Groot (JGC) - Saturday, 18 September 2004, 13:00 GMT
Hmm, it wasn't in the LFS book, but in the BLFS book:
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 ;)

Loading...