Package: devscripts
Version: 2.8.10
Severity: normal
Tags: patch

Hello Julian,

dpkg-depcheck include a feature 'discard-sgml-catalogs' that does not 
lists packages when only the sgml catalog is accessed.

Unfortunately, the regexp is not sufficient, and I propose the following 
regexp instead (see patch).

I agree it is not a bullet-proof solution, but getting the list of
sgml catalog is hard since they are recursive. Maybe we could rename
the feature to 'discard-catalogs' to compensate, and also take care
of xml catalog.

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 


--- /usr/bin/dpkg-depcheck      2005-01-13 12:02:05.000000000 +0100
+++ ../dpkg-depcheck    2005-02-18 14:16:04.000000000 +0100
@@ -449,7 +449,8 @@
                    next;
                }
            }
-           elsif ($feature{"discard-sgml-catalogs"} and 
m%^/usr/share/sgml/.*\.cat%) {
+           elsif ($feature{"discard-sgml-catalogs"} 
+                    and m%^/usr/share/(sgml/.*\.cat|.*[./]catalog)%) {
                next;
            }
            elsif ($feature{"catch-alternatives"} and m%^/etc/alternatives/%) {


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

Reply via email to