On Sun, May 21, 2006 at 07:37:50AM -0700, Ian Zimmerman wrote:

> With the fix by David Nusinow, systems that have not transitioned are
> broken.  Please either look in both places for the encoding directory,
> or else introduce a versioned depend or conflict with the appropriate
> version of xfonts-base.

> Reopening the bug.

Yes.  Two bugs here.  First, mkfontdir should be invoked as

  system('mkfontdir', ...)

which is acceptable because perl's system() will honor path.  This is a
better option, IMHO, than adding further package relationships to enforce it
to be found in one directory or the other.

The second bug is that x-ttcidfont-conf is only looking in either the new or
the old directory for encodings.dir files, but has no dependencies which
ensure either set are present.  This can be fixed in one of three ways:
adding a dependency on xfonts-base and only passing the old encoding paths;
adding a dependency on xfonts-encodings and only passing the new encoding
paths; or passing both the old and new encodings paths without an explicit
dependency.

I don't have any idea what these encodings.dir bits are used for, so I can't
make a recommendation between the first two options vs. the last one.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to