]> git.donarmstrong.com Git - debhelper.git/commitdiff
Remove last vestiages of support for /usr/X11R6.
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 20 Nov 2009 22:38:03 +0000 (17:38 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 20 Nov 2009 22:38:03 +0000 (17:38 -0500)
debian/changelog
dh_compress
dh_installman
dh_installmanpages
dh_installxfonts

index f33da92c59cc3d5554b45cfda5cee1176fd1ca4b..e18d1071b58731a3ed38fc232ed1398c405e5c00 100644 (file)
@@ -1,6 +1,7 @@
 debhelper (7.4.6) UNRELEASED; urgency=low
 
   * Update --list to reflect buildsystem autoselection changes.
+  * Remove last vestiages of support for /usr/X11R6.
 
  -- Joey Hess <joeyh@debian.org>  Thu, 19 Nov 2009 14:48:03 -0500
 
index 4e208b4f170cb085e00ca78a297a01ffd93aedbf..efeca8ac7ed91d85fabb70b1801c2acf3ac7424e 100755 (executable)
@@ -23,11 +23,10 @@ to the new files.
 
 By default, dh_compress compresses files that debian policy mandates should
 be compressed, namely all files in usr/share/info, usr/share/man,
-usr/X11R6/man, files in usr/share/doc that are larger than 4k in size,
+files in usr/share/doc that are larger than 4k in size,
 (except the copyright file, .html and .css files, image files, and files
 that appear to be already compressed based on their extensions), and all
-changelog files. Plus PCF fonts underneath usr/X11R6/lib/X11/fonts/ and
-usr/share/fonts/X11/
+changelog files. Plus PCF fonts underneath usr/share/fonts/X11/
 
 =head1 FILES
 
@@ -114,7 +113,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                                ! -iname "*.svg" ! -iname "*.svgz" \\
                                ! -name "index.sgml" \\
                                ! -name "copyright" 2>/dev/null || true;
-                       find usr/X11R6/lib/X11/fonts usr/share/fonts/X11 -type f -name "*.pcf" 2>/dev/null || true;
+                       find usr/share/fonts/X11 -type f -name "*.pcf" 2>/dev/null || true;
                `);
        }
 
index 04c0c616bb2b5bd6d83d500159bf0f6c00aa67a5..602d61b342d9a545ffeaf2f154d46d491a18df0c 100755 (executable)
@@ -185,7 +185,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 
        # Now the .so conversion.
        @sofiles=@sodests=();
-       foreach my $dir (qw{usr/share/man usr/X11R6/man}) {
+       foreach my $dir (qw{usr/share/man}) {
                if (-e "$tmp/$dir") {
                        find(\&find_so_man, "$tmp/$dir");
                }
@@ -197,7 +197,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        }
 
        # Now utf-8 conversion.
-       foreach my $dir (qw{usr/share/man usr/X11R6/man}) {
+       foreach my $dir (qw{usr/share/man}) {
                if (-e "$tmp/$dir") {
                        find(sub {
                                return if ! -f $_ || -l $_;
index 4a5f4735e29fcb82ad88d26768f5b63e26a2bdd3..90c453cebb4a7979028ef005196f1cec5de5958d 100755 (executable)
@@ -17,7 +17,7 @@ B<dh_installmanpages> [S<I<debhelper options>>] [S<I<file ...>>]
 =head1 DESCRIPTION
 
 dh_installmanpages is a debhelper program that is responsible for
-automatically installing man pages into usr/share/man/ and usr/X11R6/man/
+automatically installing man pages into usr/share/man/
 in package build directories.
 
 This is a DWIM-style program, with an interface unlike the rest of
@@ -182,7 +182,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        
        # Now the .so conversion.
        @sofiles=@sodests=();
-       foreach my $dir (qw{usr/share/man usr/X11R6/man}) {
+       foreach my $dir (qw{usr/share/man}) {
                if (-e "$tmp/$dir") {
                        find(\&find_so_man, "$tmp/$dir");
                }
index 276f903c0240b4b17273f3687b9cd384c1270b69..07d6ff1d1137ee096e3b717b40d8042c4c499950 100755 (executable)
@@ -51,7 +51,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 
        # Find all font directories in the package build directory.
        my @fontdirs;
-       foreach my $parentdir ("$tmp/usr/X11R6/lib/X11/fonts/", "$tmp/usr/share/fonts/X11/") {
+       foreach my $parentdir ("$tmp/usr/share/fonts/X11/") {
                opendir(DIR, $parentdir) || next;
                @fontdirs = grep { -d "$parentdir/$_" && !/^\./ } (readdir DIR);
                closedir DIR;