summaryrefslogtreecommitdiff
path: root/debian/patches/0007-ttf-dejavu.patch
blob: 0a6d9a00bc18494997f87c499b514eed13a997e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Author: Daniel Baumann <mail@daniel-baumann.ch>
Description:
 gfxboot expects fonts to be in /usr/share/fonts/truetype et al,
 not in subdirectories within like debian based systems do.
 .
 The proper fix is to make search_font() in gfxboot-font recursive,
 however, for the time being we add the paths manually here.

diff -Naurp gfxboot.orig/themes/example_02/Makefile gfxboot/themes/example_02/Makefile
--- gfxboot.orig/themes/example_02/Makefile
+++ gfxboot/themes/example_02/Makefile
@@ -16,7 +16,7 @@ bootlogo: example_*.bc font
 	$(GFXBOOT) --archive $@.dir --pack-archive $@
 
 font:
-	$(GFXBOOT_FONT) -v -f DejaVuSans:size=20 font.fnt >font.log
+	$(GFXBOOT_FONT) -v -p /usr/share/fonts/truetype/ttf-dejavu -f DejaVuSans:size=20 font.fnt >font.log
 
 clean:
 	rm -rf *~ *.log *.dir bootlogo *.fnt
diff -Naurp gfxboot.orig/themes/example_03/Makefile gfxboot/themes/example_03/Makefile
--- gfxboot.orig/themes/example_03/Makefile
+++ gfxboot/themes/example_03/Makefile
@@ -16,7 +16,7 @@ bootlogo: example_*.bc font
 	$(GFXBOOT) --archive $@.dir --pack-archive $@
 
 font:
-	$(GFXBOOT_FONT) -v -f DejaVuSans:size=20 font.fnt >font.log
+	$(GFXBOOT_FONT) -v -p /usr/share/fonts/truetype/ttf-dejavu -f DejaVuSans:size=20 font.fnt >font.log
 
 clean:
 	rm -rf *~ *.log *.dir bootlogo *.fnt
diff -Naurp gfxboot.orig/themes/example_04/Makefile gfxboot/themes/example_04/Makefile
--- gfxboot.orig/themes/example_04/Makefile
+++ gfxboot/themes/example_04/Makefile
@@ -16,7 +16,7 @@ bootlogo: example_*.bc font
 	$(GFXBOOT) --archive $@.dir --pack-archive $@
 
 font:
-	$(GFXBOOT_FONT) -v -f DejaVuSans:size=32 font.fnt >font.log
+	$(GFXBOOT_FONT) -v -p /usr/share/fonts/truetype/ttf-dejavu -f DejaVuSans:size=32 font.fnt >font.log
 
 clean:
 	rm -rf *~ *.log *.dir bootlogo *.fnt
diff -Naurp gfxboot.orig/themes/example_05/Makefile gfxboot/themes/example_05/Makefile
--- gfxboot.orig/themes/example_05/Makefile
+++ gfxboot/themes/example_05/Makefile
@@ -16,7 +16,7 @@ bootlogo: example_*.bc font
 	$(GFXBOOT) --archive $@.dir --pack-archive $@
 
 font:
-	$(GFXBOOT_FONT) -v -f DejaVuSans:size=32 font.fnt >font.log
+	$(GFXBOOT_FONT) -v -p /usr/share/fonts/truetype/ttf-dejavu -f DejaVuSans:size=32 font.fnt >font.log
 
 clean:
 	rm -rf *~ *.log *.dir bootlogo *.fnt
diff -Naurp gfxboot.orig/themes/example_06/Makefile gfxboot/themes/example_06/Makefile
--- gfxboot.orig/themes/example_06/Makefile
+++ gfxboot/themes/example_06/Makefile
@@ -20,7 +20,7 @@ bootlogo: example_*.bc font
 	@ln -snf bootlogo message
 
 font:
-	$(GFXBOOT_FONT) -v -f DejaVuSans:size=32 font.fnt >font.log
+	$(GFXBOOT_FONT) -v -p /usr/share/fonts/truetype/ttf-dejavu -f DejaVuSans:size=32 font.fnt >font.log
 
 clean:
 	rm -rf *~ *.log *.dir bootlogo message *.fnt
diff -Naurp gfxboot.orig/themes/example_07/Makefile gfxboot/themes/example_07/Makefile
--- gfxboot.orig/themes/example_07/Makefile
+++ gfxboot/themes/example_07/Makefile
@@ -20,7 +20,7 @@ bootlogo: example_*.bc font
 	@ln -snf bootlogo message
 
 font:
-	$(GFXBOOT_FONT) -v -f DejaVuSans:size=32 font.fnt >font.log
+	$(GFXBOOT_FONT) -v -p /usr/share/fonts/truetype/ttf-dejavu -f DejaVuSans:size=32 font.fnt >font.log
 
 clean:
 	rm -rf *~ *.log *.dir bootlogo message *.fnt