Package: xfonts-utils,xfonts-encodings,debhelper
Severity: important
User: debian-qa@lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed the xfonts-tipa packages removes
/usr/share/fonts/X11/encodings/encodings.dir which is owned by
xfonts-encodings.
xfonts-tipa maintainer scripts are entirely debhelper generated, so the
xfonts-tipa package is not doing something wrong, this is part of the
postinst:
# Automatically added by dh_installxfonts
if which update-fonts-dir >/dev/null 2>&1; then
update-fonts-dir --x11r7-layout encodings;update-fonts-scale Type1;update-fonts-dir --x11r7-layout Type1
fi
# End automatically added section
Thereafter:
debsums: missing file /usr/share/fonts/X11/encodings/encodings.dir (from xfonts-encodings package)
Is it correct that encodings.dir is shipped by xfonts-encodings?
Shouldn't that be generated by maintainer scripts? Otherwise the
update-fonts-dir --x11r7-layout encodings
will always modify shipped files.
Why does the encodings.dir file get deleted at all? That directory is
not empty ...
I'm assigning this bug to three packages that could possibly be at
fault:
* xfonts-utils - update-fonts-dir deletes encodings.dir, but dir is not
empty
* xfonts-encodings - ships encodings.dir
* debhelper - could have generated a wrong call
Please analyze and reassign.
piuparts log from xfonts-tipa is attached.
Andreas
Attachment:
xfonts-tipa_2:1.3-17.log.gz
Description: GNU Zip compressed data