Your message dated Sat, 18 Nov 2006 17:02:08 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#399224: fixed in xfonts-scalable 1:1.0.0-6
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xfonts-scalable
Version: 1:1.0.0-5
Severity: serious
Rationale: policy violation paragraph 11.8.5 (13), renders gsfonts-x11 unusable
Tags: patch

1:1.0.0-4 contained fonts.dir as a file in the package.  This file is
removed in 1:1.0.0-5, which results in removal of fonts.dir.  But
after all this the postinst (and also postrm) should run
update-fonts-scale, update-fonts-alias and update-fonts-dir, but it
only runs update-fonts-scale and update-fonts-alias.

This is defined in policy 11.8.5:

     11.  Font packages that provide one or more `fonts.scale' files as
          described above must invoke `update-fonts-scale' on each
          directory into which they installed fonts _before_ invoking
          `update-fonts-dir' on that directory.  This invocation must occur
          in both the `postinst' (for all arguments) and `postrm' (for all
          arguments except `upgrade') scripts.

     12.  Font packages that provide one or more `fonts.alias' files as
          described above must invoke `update-fonts-alias' on each
          directory into which they installed fonts.  This invocation must
          occur in both the `postinst' (for all arguments) and `postrm'
          (for all arguments except `upgrade') scripts.

     13.  Font packages must invoke `update-fonts-dir' on each directory
          into which they installed fonts.  This invocation must occur in
          both the `postinst' (for all arguments) and `postrm' (for all
          arguments except `upgrade') scripts.

(see especially paragraph 13.).

If fonts.dir is missing, this results in the X server ignoring this
directory:

(WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/X11/Type1".
        Entry deleted from font path.
        (Run 'mkfontdir' on "/usr/share/fonts/X11/Type1").

As a workaround 
 update-fonts-dir Type1
And manually adding /usr/share/fonts/X11/Type1 to the font path (or
restarting the X server) should help.

I tagged this bug severity "serious" because the behavior of this
package violates the above mentioned policy and implies that other
packages with Type1 fonts (like gsfonts-x11) are unusable, which as a
result leads to programs like xfig being unusable because they need
the unusable fonts.

I attached a small patch, which solves this problem.  Please let me
know, if you want me to NMU the modified package.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-amd64
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages xfonts-scalable depends on:
ii  xfonts-utils                  1:1.0.1-1  X Window System font utility progr

xfonts-scalable recommends no packages.

-- no debconf information

Tschoeeee

        Roland

-- 
 * [EMAIL PROTECTED] * http://www.spinnaker.de/ *
diff -u xfonts-scalable-1.0.0/debian/changelog 
xfonts-scalable-1.0.0/debian/changelog
--- xfonts-scalable-1.0.0/debian/changelog
+++ xfonts-scalable-1.0.0/debian/changelog
@@ -1,3 +1,11 @@
+xfonts-scalable (1:1.0.0-5.1) unstable; urgency=high
+
+  * Non maintainer upload.
+  * Run update-fonts-dir in postinst and postrm, otherwise the fonts are
+    not usable.
+
+ -- Roland Rosenfeld <[EMAIL PROTECTED]>  Sat, 18 Nov 2006 18:00:28 +0100
+
 xfonts-scalable (1:1.0.0-5) unstable; urgency=medium
 
   [ Eugene Konev ]
diff -u xfonts-scalable-1.0.0/debian/xfonts-scalable.postinst.in 
xfonts-scalable-1.0.0/debian/xfonts-scalable.postinst.in
--- xfonts-scalable-1.0.0/debian/xfonts-scalable.postinst.in
+++ xfonts-scalable-1.0.0/debian/xfonts-scalable.postinst.in
@@ -19,7 +19,7 @@
 remove_conffile_commit /etc/X11/fonts/X11R7/Type1/xfonts-scalable.scale
 
 FONTDIRS="Type1"
-UPDATECMDS="update-fonts-scale update-fonts-alias"
+UPDATECMDS="update-fonts-scale update-fonts-alias update-fonts-dir"
 
 if which defoma-app >/dev/null 2>&1 && \
    [ -e /usr/share/defoma/scripts/fontconfig.defoma ]; then
diff -u xfonts-scalable-1.0.0/debian/xfonts-scalable.postrm.in 
xfonts-scalable-1.0.0/debian/xfonts-scalable.postrm.in
--- xfonts-scalable-1.0.0/debian/xfonts-scalable.postrm.in
+++ xfonts-scalable-1.0.0/debian/xfonts-scalable.postrm.in
@@ -22,7 +22,7 @@
 
 if [ "$1" = "purge" ] || [ "$1" = "remove" ] || [ "$1" = "disappear" ]; then
   FONTDIRS="Type1"
-  UPDATECMDS="update-fonts-scale update-fonts-alias"
+  UPDATECMDS="update-fonts-scale update-fonts-alias update-fonts-dir"
 
   if which defoma-app >/dev/null 2>&1 && \
      [ -e /usr/share/defoma/scripts/fontconfig.defoma ]; then

Attachment: pgp1iqRNnyZdr.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: xfonts-scalable
Source-Version: 1:1.0.0-6

We believe that the bug you reported is fixed in the latest version of
xfonts-scalable, which is due to be installed in the Debian FTP archive:

xfonts-scalable_1.0.0-6.diff.gz
  to pool/main/x/xfonts-scalable/xfonts-scalable_1.0.0-6.diff.gz
xfonts-scalable_1.0.0-6.dsc
  to pool/main/x/xfonts-scalable/xfonts-scalable_1.0.0-6.dsc
xfonts-scalable_1.0.0-6_all.deb
  to pool/main/x/xfonts-scalable/xfonts-scalable_1.0.0-6_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Nusinow <[EMAIL PROTECTED]> (supplier of updated xfonts-scalable package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 18 Nov 2006 19:41:12 -0500
Source: xfonts-scalable
Binary: xfonts-scalable
Architecture: source all
Version: 1:1.0.0-6
Distribution: unstable
Urgency: high
Maintainer: David Nusinow <[EMAIL PROTECTED]>
Changed-By: David Nusinow <[EMAIL PROTECTED]>
Description: 
 xfonts-scalable - scalable fonts for X
Closes: 399224
Changes: 
 xfonts-scalable (1:1.0.0-6) unstable; urgency=high
 .
   [ Julien Cristau ]
   * Add call to dh_installxfonts to debian/rules (closes: #399224). Thanks,
     Roland Rosenfeld!
Files: 
 ba635f67b42d7a01abed4d932e2be271 745 x11 optional xfonts-scalable_1.0.0-6.dsc
 21ba5c89a84d3b6e20e9b522eb067643 17229 x11 optional 
xfonts-scalable_1.0.0-6.diff.gz
 4c5b0800def1d97b642e6022e776642e 341998 x11 optional 
xfonts-scalable_1.0.0-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFX6qUyLfpNdY0ad8RAt4vAJ4t30pmVrDak7bBDHxO/raP5QO0hACeMfiv
V5DSdl+yBTc8fDBFUR9kSxU=
=LuZr
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to