SOURCES: munin-rrdtool-font.patch (NEW) - rrdtool >= 1.3 uses fontconfig an...
baggins
baggins at pld-linux.org
Mon Dec 1 00:57:16 CET 2008
Author: baggins Date: Sun Nov 30 23:57:16 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- rrdtool >= 1.3 uses fontconfig and does not support explicit .TTF files
---- Files affected:
SOURCES:
munin-rrdtool-font.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/munin-rrdtool-font.patch
diff -u /dev/null SOURCES/munin-rrdtool-font.patch:1.1
--- /dev/null Mon Dec 1 00:57:16 2008
+++ SOURCES/munin-rrdtool-font.patch Mon Dec 1 00:57:10 2008
@@ -0,0 +1,20 @@
+--- munin-1.3.4/server/munin-graph.in~ 2008-03-08 02:42:40.000000000 +0100
++++ munin-1.3.4/server/munin-graph.in 2008-12-01 00:55:35.000000000 +0100
+@@ -825,11 +825,16 @@
+ (my $picdirname = $picfilename) =~ s/\/[^\/]+$//;
+
+ my @complete = ();
+- if ($RRDkludge) {
++ if ($RRDs::VERSION < 1.3) {
+ push (@complete,
+ '--font' ,'LEGEND:7:@@LIBDIR@@/VeraMono.ttf',
+ '--font' ,'UNIT:7:@@LIBDIR@@/VeraMono.ttf',
+ '--font' ,'AXIS:7:@@LIBDIR@@/VeraMono.ttf');
++ } else {
++ push (@complete,
++ '--font' ,'LEGEND:7:Bitstream Vera Sans Mono',
++ '--font' ,'UNIT:7:Bitstream Vera Sans Mono',
++ '--font' ,'AXIS:7:Bitstream Vera Sans Mono');
+ }
+ push(@complete,'-W', $watermark) if $RRDs::VERSION >= 1.2;
+
================================================================
More information about the pld-cvs-commit
mailing list