reassign 400449 xfonts-utils 1:7.1.ds.3-1
merge 400449 389085
thanks

On Sun, 26 Nov 2006, Bas Zoetekouw wrote:

> Package: gsfonts-x11
> Version: 0.20
> Severity: normal
> 
> Setting up gsfonts-x11 (0.20) ...
> warning: /usr/lib/X11/fonts/Type1 does not exist or is not a directory
> warning: /usr/lib/X11/fonts/Type1 does not exist or is not a directory
> warning: /usr/lib/X11/fonts/Type1 does not exist or is not a directory
> 
> I guess it should put the fonts in /usr/share/fonts instead?

The fonts are in /usr/share/fonts/X11/Type1.  The warnings come from
postinst script:

  update-fonts-scale Type1;update-fonts-dir --x11r7-layout Type1;\
  update-fonts-alias Type1

These commands run over the following paths:

        X11R6DIR=/usr/lib/X11/fonts/$1
        X11R7DIR=/usr/share/fonts/X11/$1

and if one of it doesn't exist, they print the warning:

    for DIR in "$X11R7DIR" "$X11R6DIR"; do
        [ -n "$DIR" ] || continue
        if [ -d "$DIR" ]; then
            VALIDDEST=yes
        else
            warn "$DIR does not exist or is not a directory"
        fi
    done

On a fresh installed etch system there should no
/usr/lib/X11/fonts/{Type1,100dpi,75dpi,misc} exist, so we will always
run into these warnings.  I think that the warning regarding to
X11R6DIR should be suppressed in the update-fonts-* commands.

See also bug report #389085, which mentions the same problem.

Tschoeeee

        Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *

Attachment: pgpuLLok3s93V.pgp
Description: PGP signature

Reply via email to