summaryrefslogtreecommitdiff
path: root/packages/libxosd
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-06-16 15:22:47 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-06-16 15:22:47 +0000
commite275e549be7d8f62519e740b46e195f87770b35a (patch)
treee253457aa255f781ddea026c015bdb82a76c423e /packages/libxosd
parent2aee26f49789880f7e28a2da8a7e78706b3fb8ef (diff)
oe/libxosd: add patch making libxosd using 'fixed' as default font --
this font is guaranteed to be always present on the Xserver (remember, this is core fonts, not freetype or xft)
Diffstat (limited to 'packages/libxosd')
-rw-r--r--packages/libxosd/files/use-sane-default-font.patch13
-rw-r--r--packages/libxosd/libxosd_svn.bb5
2 files changed, 16 insertions, 2 deletions
diff --git a/packages/libxosd/files/use-sane-default-font.patch b/packages/libxosd/files/use-sane-default-font.patch
new file mode 100644
index 0000000000..26db249366
--- /dev/null
+++ b/packages/libxosd/files/use-sane-default-font.patch
@@ -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
diff --git a/packages/libxosd/libxosd_svn.bb b/packages/libxosd/libxosd_svn.bb
index 055568cf4b..a184ca9074 100644
--- a/packages/libxosd/libxosd_svn.bb
+++ b/packages/libxosd/libxosd_svn.bb
@@ -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