Package: gfxboot-examples
Version: 4.2.2-1.2-1
Severity: important
Tags: patch
Examples 2 to 7 do not compile correctly because gfxboot-font does not
find the
font specified in the example makefile.
The reason is that gfxboot-font only searches (non-recursively) a short
list of hard-coded directories. These directories either do not exist in
a Debian
system or do not contain fonts directly, only in their subdirectories.
A quick fix is to add a hardcoded font path to the affected example
makefiles.
In addition to that, gfxboot-examples must depend on ttf-dejavu-core as it
contains the font used in examples 2 to 7.
The attached patch fixes this issue.
-- System Information:
Debian Release: 6.0.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-0.bpo.2-686-pae (SMP w/4 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gfxboot-examples depends on:
ii gfxboot 4.2.2-2 tool to test and create
graphical
Versions of packages gfxboot-examples recommends:
ii gfxboot-dev 4.2.2-2 tool to test and create
graphical
gfxboot-examples suggests no packages.
-- no debconf information
diff -r -U3 gfxboot-examples-4.2.2-1.2.orig//debian/control gfxboot-examples-4.2.2-1.2/debian/control
--- gfxboot-examples-4.2.2-1.2.orig//debian/control 2012-07-30 16:00:27.000000000 +0000
+++ gfxboot-examples-4.2.2-1.2/debian/control 2012-07-30 16:04:15.000000000 +0000
@@ -12,7 +12,7 @@
Package: gfxboot-examples
Architecture: all
-Depends: ${misc:Depends}, gfxboot (>= 4.2.2)
+Depends: ${misc:Depends}, gfxboot (>= 4.2.2), ttf-dejavu-core
Recommends: gfxboot-dev
Description: tool to test and create graphical boot logos (example themes)
gfxboot is tool to test and create graphical boot logos for gfxboot compliant
diff -r -U3 gfxboot-examples-4.2.2-1.2.orig//themes/example_02/Makefile gfxboot-examples-4.2.2-1.2/themes/example_02/Makefile
--- gfxboot-examples-4.2.2-1.2.orig//themes/example_02/Makefile 2010-04-09 12:31:29.000000000 +0000
+++ gfxboot-examples-4.2.2-1.2/themes/example_02/Makefile 2012-07-30 16:01:48.000000000 +0000
@@ -16,7 +16,7 @@
$(GFXBOOT) --archive [email protected] --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 -r -U3 gfxboot-examples-4.2.2-1.2.orig//themes/example_03/Makefile gfxboot-examples-4.2.2-1.2/themes/example_03/Makefile
--- gfxboot-examples-4.2.2-1.2.orig//themes/example_03/Makefile 2010-04-09 12:31:29.000000000 +0000
+++ gfxboot-examples-4.2.2-1.2/themes/example_03/Makefile 2012-07-30 16:01:59.000000000 +0000
@@ -16,7 +16,7 @@
$(GFXBOOT) --archive [email protected] --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 -r -U3 gfxboot-examples-4.2.2-1.2.orig//themes/example_04/Makefile gfxboot-examples-4.2.2-1.2/themes/example_04/Makefile
--- gfxboot-examples-4.2.2-1.2.orig//themes/example_04/Makefile 2010-04-09 12:31:29.000000000 +0000
+++ gfxboot-examples-4.2.2-1.2/themes/example_04/Makefile 2012-07-30 16:02:07.000000000 +0000
@@ -16,7 +16,7 @@
$(GFXBOOT) --archive [email protected] --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 -r -U3 gfxboot-examples-4.2.2-1.2.orig//themes/example_05/Makefile gfxboot-examples-4.2.2-1.2/themes/example_05/Makefile
--- gfxboot-examples-4.2.2-1.2.orig//themes/example_05/Makefile 2010-04-09 12:31:29.000000000 +0000
+++ gfxboot-examples-4.2.2-1.2/themes/example_05/Makefile 2012-07-30 16:02:13.000000000 +0000
@@ -16,7 +16,7 @@
$(GFXBOOT) --archive [email protected] --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 -r -U3 gfxboot-examples-4.2.2-1.2.orig//themes/example_06/Makefile gfxboot-examples-4.2.2-1.2/themes/example_06/Makefile
--- gfxboot-examples-4.2.2-1.2.orig//themes/example_06/Makefile 2010-04-09 12:31:29.000000000 +0000
+++ gfxboot-examples-4.2.2-1.2/themes/example_06/Makefile 2012-07-30 16:02:19.000000000 +0000
@@ -20,7 +20,7 @@
@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 -r -U3 gfxboot-examples-4.2.2-1.2.orig//themes/example_07/Makefile gfxboot-examples-4.2.2-1.2/themes/example_07/Makefile
--- gfxboot-examples-4.2.2-1.2.orig//themes/example_07/Makefile 2010-04-09 12:31:29.000000000 +0000
+++ gfxboot-examples-4.2.2-1.2/themes/example_07/Makefile 2012-07-30 16:02:25.000000000 +0000
@@ -20,7 +20,7 @@
@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