summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorAndreas Mair <amair.sob@googlemail.com>2007-06-18 16:15:02 +0200
committerAndreas Mair <amair.sob@googlemail.com>2007-06-18 16:15:02 +0200
commitae9c6ccad6ba1ab419fe73d9e75f545cbbb62c96 (patch)
tree93b92c34288204f9bcf0108002a19938a23fea96 /common.h
parent24439e72e8b0d13bccce21e19a28d70d1bd98760 (diff)
downloadvdr-plugin-skinenigmang-0.0.5rc2.tar.gz
vdr-plugin-skinenigmang-0.0.5rc2.tar.bz2
2007-06-18: Version 0.0.5rc2v0.0.5rc2
- Added Italian translation (Submitted by Gringo). - Changed logging to only report missing channel logos once. - Use MAXFONTNAME and MAXFONTSIZE as introduced in VDR 1.5.3. - Recognize VDR >=1.5.3 and disable HAVE_FREETYPE. - Fixed font initialization. - Updated MoBuntu theme (Submitted by Morone @vdr-portal.de). - Set correct editable width for OSD text inputs (Reported by Brougs78 @vdr-portal.de). - Fixed calculation of bottom line in channel info (Reported by CKone @vdr-portal.de). - Hide "Set" button in fonts setup if TTF support disabled. - Fixed crash in TTF setup if no TrueType fonts were found (Reported by pat @vdr-portal.de). - Set correct title in setup submenus (Reported by pat @vdr-portal.de). - Minor bugfixes.
Diffstat (limited to 'common.h')
-rw-r--r--common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common.h b/common.h
index 03a21ae..5e574c3 100644
--- a/common.h
+++ b/common.h
@@ -11,6 +11,15 @@
#include <string>
#include <stdio.h>
+#include <vdr/config.h>
+
+// unset HAVE_FREETYPE if VDR version >=1.5.3
+#ifdef HAVE_FREETYPE
+# if VDRVERSNUM > 10502
+# undef HAVE_FREETYPE
+# endif
+#endif
+
#ifdef DEBUG
#define debug(x...) printf("EnigmaNG: " x);
#define error(x...) printf("EnigmaNG: " x);