File console-setup-dejavu-fonts.patch of Package console-setup
Index: console-setup-1.237/Fonts/Makefile
===================================================================
--- console-setup-1.237.orig/Fonts/Makefile
+++ console-setup-1.237/Fonts/Makefile
@@ -316,11 +316,11 @@ $./bdf/%-double.bdf :
dejavu_bdfs := $(foreach face, $(RASTERIZED_FACES), $./bdf/$($(face)-BDFS))
-$./bdf/dejavu-u%b.bdf: /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf
+$./bdf/dejavu-u%b.bdf: /usr/share/fonts/truetype/DejaVuSansMono-Bold.ttf
otf2bdf -c C -p $* -r 115 $< > $@ ; [ $$? = 8 ]
sed -i -e 's/^AVERAGE_WIDTH .*$$/AVERAGE_WIDTH $*0/' $@
-$./bdf/dejavu-u%.bdf: /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf
+$./bdf/dejavu-u%.bdf: /usr/share/fonts/truetype/DejaVuSansMono.ttf
otf2bdf -c C -p $* -r 115 $< > $@ ; [ $$? = 8 ]
sed -i -e 's/^AVERAGE_WIDTH .*$$/AVERAGE_WIDTH $*0/' $@
@@ -438,14 +438,12 @@ $~clean:
cd $(fntdir) && \
rm -f *~ fontsets/*~ \
*.psf *.psf.gz *.sfm *.log *.raw *.fnt *.scm \
- terminfo termcap bdf/unifont.bdf $(dejavu_bdfs)
+ terminfo termcap $(dejavu_bdfs)
bdf .PHONY : $~bdf
$~bdf:
rm -f $(doubled_bdfs)
$(MAKE) $(doubled_bdfs)
- rm -f $(fntdir)/bdf/unifont.bdf
- $(MAKE) $(fntdir)/bdf/unifont.bdf
$(MAKE) $(dejavu_bdfs)
# The script 'fontcodesets' computes which codesets a font supports