disable upstream's font installation rules
authorMichael Gilbert <mgilbert@debian.org>
Sat, 19 Mar 2022 00:48:02 +0000 (00:48 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 19 Mar 2022 00:48:02 +0000 (00:48 +0000)
Gbp-Pq: Topic disable
Gbp-Pq: Name font-installation.patch

tools/makedep.c

index 782bd2eb299bf21eab879b1ad5cf54dc0d3883de..0ec8600a5ac3450ab6de220f27ff8dd311ceaa3c 100644 (file)
@@ -2935,7 +2935,7 @@ static void output_source_sfd( struct makefile *make, struct incl_file *source,
                 fontforge, root_src_dir_path( "fonts/genttf.ff" ), source->filename );
         if (!(source->file->flags & FLAG_SFD_FONTS)) strarray_add( &make->font_files, ttf_obj );
     }
-    if (source->file->flags & FLAG_INSTALL)
+    if (0)
     {
         add_install_rule( make, source->name, ttf_obj, strmake( "D$(fontdir)/%s", ttf_obj ));
         output_srcdir_symlink( make, ttf_obj );
@@ -2955,7 +2955,6 @@ static void output_source_sfd( struct makefile *make, struct incl_file *source,
                     tools_path( make, "sfnt2fon" ), ttf_file );
             output( "\t%s%s -q -o $@ %s %s\n", cmd_prefix( "GEN" ),
                     tools_path( make, "sfnt2fon" ), ttf_file, args );
-            add_install_rule( make, source->name, xstrdup(font), strmake( "d$(fontdir)/%s", font ));
         }
     }
 }