diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-07-08 21:23:00 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-07-08 21:23:00 +0000 |
commit | 26a485eed70dcb9a74dacf33d69a160ed200747d (patch) | |
tree | 0d2f14930f19131337590bf32b279a301bc5d796 /media-plugins/vdr-cpumon | |
parent | Use setuptools to install so Turbogears apps can require it. (diff) | |
download | gentoo-2-26a485eed70dcb9a74dacf33d69a160ed200747d.tar.gz gentoo-2-26a485eed70dcb9a74dacf33d69a160ed200747d.tar.bz2 gentoo-2-26a485eed70dcb9a74dacf33d69a160ed200747d.zip |
Added patch against font problems.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'media-plugins/vdr-cpumon')
4 files changed, 62 insertions, 1 deletions
diff --git a/media-plugins/vdr-cpumon/ChangeLog b/media-plugins/vdr-cpumon/ChangeLog index 7436b00d12d5..f316eb457f4c 100644 --- a/media-plugins/vdr-cpumon/ChangeLog +++ b/media-plugins/vdr-cpumon/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-plugins/vdr-cpumon # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-cpumon/ChangeLog,v 1.2 2007/06/27 12:15:42 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-cpumon/ChangeLog,v 1.3 2007/07/08 21:23:00 zzam Exp $ + +*vdr-cpumon-0.0.5-r1 (08 Jul 2007) + + 08 Jul 2007; Matthias Schwarzott <zzam@gentoo.org> + +files/vdr-cpumon-0.0.5-vdr-1.5.diff, +vdr-cpumon-0.0.5-r1.ebuild: + Added patch against font problems. 27 Jun 2007; Matthias Schwarzott <zzam@gentoo.org> vdr-cpumon-0.0.5.ebuild: diff --git a/media-plugins/vdr-cpumon/files/digest-vdr-cpumon-0.0.5-r1 b/media-plugins/vdr-cpumon/files/digest-vdr-cpumon-0.0.5-r1 new file mode 100644 index 000000000000..5c2b6bb595dd --- /dev/null +++ b/media-plugins/vdr-cpumon/files/digest-vdr-cpumon-0.0.5-r1 @@ -0,0 +1,3 @@ +MD5 ddcafa3bb3e633c32813812e4795e490 vdr-cpumon-0.0.5.tgz 17059 +RMD160 bef50ccd2573e027908a1d7573d9ff4c7c6f5d2b vdr-cpumon-0.0.5.tgz 17059 +SHA256 953971ee286ba999b0944571e254e4d1a6b1b25531b57edeb4e9c33996000dfb vdr-cpumon-0.0.5.tgz 17059 diff --git a/media-plugins/vdr-cpumon/files/vdr-cpumon-0.0.5-vdr-1.5.diff b/media-plugins/vdr-cpumon/files/vdr-cpumon-0.0.5-vdr-1.5.diff new file mode 100644 index 000000000000..88607a0e9083 --- /dev/null +++ b/media-plugins/vdr-cpumon/files/vdr-cpumon-0.0.5-vdr-1.5.diff @@ -0,0 +1,33 @@ +Index: cpumon-0.0.5/cpumonosd.c +=================================================================== +--- cpumon-0.0.5.orig/cpumonosd.c ++++ cpumon-0.0.5/cpumonosd.c +@@ -72,6 +72,7 @@ cCpuMonOsd::~cCpuMonOsd(void) + + void cCpuMonOsd::Action() + { ++ const cFont *font = cFont::GetFont(fontOsd); + // reset the osd area + osd->DrawRectangle(0, 0, 399, 399, clrTransparent); + // draw a plugin title +@@ -249,6 +250,7 @@ void cCpuMonOsd::drawBoard(void) + + void cCpuMonOsd::drawLegend() + { ++ const cFont *font = cFont::GetFont(fontOsd); + // draw a small legend + osd->DrawRectangle(XBASE - 5, YBASE + 5, XBASE + XLENGTH + 5, YBASE + 125, bgcolor); + +Index: cpumon-0.0.5/cpumonosd.h +=================================================================== +--- cpumon-0.0.5.orig/cpumonosd.h ++++ cpumon-0.0.5/cpumonosd.h +@@ -10,8 +10,6 @@ + #include "cpumonfetcher.h" + #include "parms.h" + +-static const cFont *font = cFont::GetFont(fontOsd); +- + struct fs + { + int val; diff --git a/media-plugins/vdr-cpumon/vdr-cpumon-0.0.5-r1.ebuild b/media-plugins/vdr-cpumon/vdr-cpumon-0.0.5-r1.ebuild new file mode 100644 index 000000000000..2671289e75d3 --- /dev/null +++ b/media-plugins/vdr-cpumon/vdr-cpumon-0.0.5-r1.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-cpumon/vdr-cpumon-0.0.5-r1.ebuild,v 1.1 2007/07/08 21:23:00 zzam Exp $ + +inherit vdr-plugin + +DESCRIPTION="VDR Plugin: Show cpu-usage on OSD" +HOMEPAGE="ftp://ftp.eui.fh-koblenz.de/pub/studenten/Philipp.Glass/vdr" +SRC_URI="ftp://ftp.eui.fh-koblenz.de/pub/studenten/Philipp.Glass/vdr/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND=">=media-video/vdr-1.3.44" + +PATCHES="${FILESDIR}/${P}-vdr-1.5.diff" + |