oe/libxosd: add patch making libxosd using 'fixed' as default font --
authorMichael Lauer <mickey@vanille-media.de>
Sat, 16 Jun 2007 15:22:47 +0000 (15:22 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sat, 16 Jun 2007 15:22:47 +0000 (15:22 +0000)
this font is guaranteed to be always present on the Xserver
(remember, this is core fonts, not freetype or xft)

packages/libxosd/files/use-sane-default-font.patch [new file with mode: 0644]
packages/libxosd/libxosd_svn.bb

diff --git a/packages/libxosd/files/use-sane-default-font.patch b/packages/libxosd/files/use-sane-default-font.patch
new file mode 100644 (file)
index 0000000..26db249
--- /dev/null
@@ -0,0 +1,13 @@
+Index: current/src/libxosd/xosd.c
+===================================================================
+--- current.orig/src/libxosd/xosd.c
++++ current/src/libxosd/xosd.c
+@@ -26,7 +26,7 @@
+ #define XOFFSET 10
+ const char *osd_default_font =
+-  "-misc-fixed-medium-r-semicondensed--*-*-*-*-c-*-*-*";
++  "fixed";
+ #if 0
+ "-adobe-helvetica-bold-r-*-*-10-*";
+ #endif
index 055568c..a184ca9 100644 (file)
@@ -3,10 +3,11 @@ SECTION = "libs/x11"
 DEPENDS = "virtual/libx11 libxext"
 LICENSE = "LGPL"
 PV = "2.2.15+svn${SRCDATE}"
-PR = "r0"
+PR = "r3"
 
 SRC_URI = "svn://libxosd.svn.sourceforge.net/svnroot/libxosd/source;module=current;proto=https \
-           file://autofoo.patch;patch=1"
+           file://autofoo.patch;patch=1 \
+           file://use-sane-default-font.patch;patch=1"
 S = "${WORKDIR}/current"
 
 inherit autotools binconfig