Package: yada
Version: 0.48
Severity: wishlist
Tags: patch

Hi,

The X fonts dir has been recently moved to /usr/share/X11/fonts and the
the update-fonts-{dir,scale,alias} programs moved to the xfonts-utils
package. 

The attached patch contains necessary changes for yada.

Regards,
robert





-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (100, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/pdksh
Kernel: Linux 2.6.16
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages yada depends on:
ii  dpkg-dev                      1.13.18    package building tools for Debian
ii  file                          4.17-1     Determines file type using "magic"
ii  patch                         2.5.9-4    Apply a diff file to an original
ii  perl                          5.8.8-4    Larry Wall's Practical Extraction 

Versions of packages yada recommends:
ii  yada-doc                      0.48       Yet Another Debianisation Aid - do

-- no debconf information
--- yada.old    2005-09-28 12:19:33.000000000 +0200
+++ yada        2006-04-13 20:51:57.000000000 +0200
@@ -3413,7 +3413,10 @@
                         and defined $contains{'xfonts'})
                     {
                         my $XFONTDIR =
-                          "debian/tmp-$pkg/usr/X11R6/lib/X11/fonts/";
+                          "debian/tmp-$pkg/usr/share/fonts/X11";
+                       # backward compatibility  
+                        $XFONTDIR = "debian/tmp-$pkg/usr/X11R6/lib/X11/fonts/"
+                         unless -d $XFONTDIR;
                         opendir DIR, $XFONTDIR || next;
                         my @fontdirs =
                           grep {-d "$XFONTDIR/$_" && !/^\./} (readdir DIR);
@@ -3452,7 +3455,7 @@
                             }
                             &add_to_substvars("xfonts:"
                                   . &normalise($pkg)
-                                  . ":Depends=xutils (>> 4.0.3)");
+                                  . ":Depends=xfonts-utils");
                         }
                     }
                     if (defined $script) {

Reply via email to