reassign 400449 xfonts-utils 1:1.0.1-1
reassign 405671 xfonts-utils 1:1.0.1-1
merge 405671 400449 389085
thanks

Hi Lionel!

On Fri, 05 Jan 2007, Lionel Corgnet wrote:

> Package: gsfonts-x11
> Version: 0.20
> 
> When I "apt-get install" or "dpkg-reconfigure" gsfonts-x11, I get 3 
> lines of the following message :
> 
> warning: /usr/lib/X11/fonts/Type1 does not exist or is not a directory
> 
> That path for Type1 fonts is also mentionned in the README.
> 
> However I can't find any Etch package using that path, it seems that the 
> usual path is actually /usr/share/fonts/X11/Type1.
> 
> I think this path should be changed or deleted.

You're fully right, that's a problem with update-fonts-scale,
update-fonts-dir and update-fonts-alias from the xfonts-utils
package.

In postinst of gsfonts-x11 I call (based on debhelper):

  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 reports #389085 and #400449, which mention the same
problem.

Tschoeeee

        Roland


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to