On Mon, Mar 19, 2001 at 07:20:16PM +0200, Anton Zinoviev wrote: > Just for your information. The command dh_installxfonts is changed in > version 3.0.12 of debhelper. Okay, but it will have to change again soon. (That's what happens when you try to make X policy in lieu of the X maintainer.) I'm preparing 4.0.2-11 now, and it will include a new command, update-fonts-dir. I'd like to test various font packages with that, and then if everything works out okay, issue a policy revision that asks font packages to depend on xutils (>> 4.0.3), since I'll be putting out 4.0.3-1 (or -0pre1v1) shortly after 4.0.2-11. I appreciate your input on this issue but not your way of going about it. Instead of filing a lot of critical(!) bugs, you should have brought it up on debian-policy. > This is what it includes in postinst now: > > makefontdir() { > ENCDIR=/usr/lib/X11/fonts/encodings > if [ -d $ENCDIR -a -d $ENCDIR/large ]; then > /usr/bin/X11/mkfontdir -e $ENCDIR -e $ENCDIR/large "$@" > else > /usr/bin/X11/mkfontdir "$@" > fi > } > > if [ "$1" = "configure" ]; then > fontdirs="Type1" > updatecmds="/usr/sbin/update-fonts-scale makefontdir /usr/sbin/update-fonts-alias" > > for dir in $fontdirs; do > for currentcmd in $updatecmds; do > $currentcmd /usr/lib/X11/fonts/$dir > done > done > fi > --------------------------------------------------------------- > > This is what it includes in postrm now: > > makefontdir() { > ENCDIR=/usr/lib/X11/fonts/encodings > if [ -d $ENCDIR -a -d $ENCDIR/large ]; then > /usr/bin/X11/mkfontdir -e $ENCDIR -e $ENCDIR/large "$@" > else > /usr/bin/X11/mkfontdir "$@" > fi > } > > fontdirs="Type1" > updatecmds="/usr/sbin/update-fonts-scale makefontdir /usr/sbin/update-fonts-alias" > > for currentdir in $fontdirs; do > longdir=/usr/lib/X11/fonts/$currentdir > if [ -d $longdir ]; then > for file in fonts.dir fonts.alias encodings.dir; do > rm -f $longdir/$file > done > if [ $(find $longdir| wc -l) -eq 1 ]; then > rmdir -p $longdir > else > for currentcmd in $updatecmds; do > $currentcmd $longdir > done > fi > fi > done > -- G. Branden Robinson | To stay young requires unceasing Debian GNU/Linux | cultivation of the ability to unlearn branden@debian.org | old falsehoods. http://www.debian.org/~branden/ | -- Robert Heinlein
Attachment:
pgp5wBLT3USuv.pgp
Description: PGP signature