mirror of
https://github.com/rofafor/vdr-plugin-femon.git
synced 2023-10-10 13:36:53 +02:00
Added package name and version to xgettext and made 'dist' target dependent on up to date *.po files.
Updated for vdr-1.7.17.
This commit is contained in:
parent
d9f977e302
commit
0fd4062c76
4
HISTORY
4
HISTORY
@ -409,3 +409,7 @@ VDR Plugin 'femon' Revision History
|
|||||||
- Added Makefile depencency for objects.
|
- Added Makefile depencency for objects.
|
||||||
- Fixed detection of replaying.
|
- Fixed detection of replaying.
|
||||||
- Added support for LDFLAGS.
|
- Added support for LDFLAGS.
|
||||||
|
|
||||||
|
2011-03-13: Version 1.7.10
|
||||||
|
|
||||||
|
- Updated for vdr-1.7.17.
|
||||||
|
6
Makefile
6
Makefile
@ -23,7 +23,7 @@ VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ p
|
|||||||
### The C++ compiler and options:
|
### The C++ compiler and options:
|
||||||
|
|
||||||
CXX ?= g++
|
CXX ?= g++
|
||||||
CXXFLAGS ?= -fPIC -g -O2 -Wall -Wextra -Wswitch-default -Wfloat-equal -Wundef -Wpointer-arith -Wconversion -Wcast-align -Wredundant-decls -Wno-unused-parameter -Woverloaded-virtual -Wno-parentheses
|
CXXFLAGS ?= -fPIC -g -O3 -Wall -Wextra -Wswitch-default -Wfloat-equal -Wundef -Wpointer-arith -Wconversion -Wcast-align -Wredundant-decls -Wno-unused-parameter -Woverloaded-virtual -Wno-parentheses
|
||||||
LDFLAGS ?= -Wl,--as-needed
|
LDFLAGS ?= -Wl,--as-needed
|
||||||
|
|
||||||
### The directory environment:
|
### The directory environment:
|
||||||
@ -96,7 +96,7 @@ I18Npot = $(PODIR)/$(PLUGIN).pot
|
|||||||
msgfmt -c -o $@ $<
|
msgfmt -c -o $@ $<
|
||||||
|
|
||||||
$(I18Npot): $(wildcard *.c)
|
$(I18Npot): $(wildcard *.c)
|
||||||
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --msgid-bugs-address='<see README>' -o $@ $^
|
xgettext -C -cTRANSLATORS --no-wrap --no-location -k -ktr -ktrNOOP --package-name='vdr-$(PLUGIN)' --package-version='$(VERSION)' --msgid-bugs-address='<see README>' -o $@ $^
|
||||||
|
|
||||||
%.po: $(I18Npot)
|
%.po: $(I18Npot)
|
||||||
msgmerge -U --no-wrap --no-location --backup=none -q $@ $<
|
msgmerge -U --no-wrap --no-location --backup=none -q $@ $<
|
||||||
@ -118,7 +118,7 @@ ifndef FEMON_DEBUG
|
|||||||
endif
|
endif
|
||||||
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
@cp --remove-destination $@ $(LIBDIR)/$@.$(APIVERSION)
|
||||||
|
|
||||||
dist: clean
|
dist: $(I18Npo) clean
|
||||||
@-rm -rf $(TMPDIR)/$(ARCHIVE)
|
@-rm -rf $(TMPDIR)/$(ARCHIVE)
|
||||||
@mkdir $(TMPDIR)/$(ARCHIVE)
|
@mkdir $(TMPDIR)/$(ARCHIVE)
|
||||||
@cp -a * $(TMPDIR)/$(ARCHIVE)
|
@cp -a * $(TMPDIR)/$(ARCHIVE)
|
||||||
|
6
femon.c
6
femon.c
@ -14,11 +14,11 @@
|
|||||||
#include "femonservice.h"
|
#include "femonservice.h"
|
||||||
#include "femontools.h"
|
#include "femontools.h"
|
||||||
|
|
||||||
#if defined(APIVERSNUM) && APIVERSNUM < 10716
|
#if defined(APIVERSNUM) && APIVERSNUM < 10717
|
||||||
#error "VDR-1.7.16 API version or greater is required!"
|
#error "VDR-1.7.17 API version or greater is required!"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const char VERSION[] = "1.7.9";
|
static const char VERSION[] = "1.7.10";
|
||||||
static const char DESCRIPTION[] = trNOOP("DVB Signal Information Monitor (OSD)");
|
static const char DESCRIPTION[] = trNOOP("DVB Signal Information Monitor (OSD)");
|
||||||
static const char MAINMENUENTRY[] = trNOOP("Signal Information");
|
static const char MAINMENUENTRY[] = trNOOP("Signal Information");
|
||||||
|
|
||||||
|
@ -144,6 +144,7 @@ public:
|
|||||||
virtual int Width(const char *s) const { return 50; }
|
virtual int Width(const char *s) const { return 50; }
|
||||||
virtual int Height(void) const { return 20; }
|
virtual int Height(void) const { return 20; }
|
||||||
virtual void DrawText(cBitmap *Bitmap, int x, int y, const char *s, tColor ColorFg, tColor ColorBg, int Width) const {}
|
virtual void DrawText(cBitmap *Bitmap, int x, int y, const char *s, tColor ColorFg, tColor ColorBg, int Width) const {}
|
||||||
|
virtual void DrawText(cPixmap *Pixmap, int x, int y, const char *s, tColor ColorFg, tColor ColorBg, int Width) const {}
|
||||||
};
|
};
|
||||||
|
|
||||||
cFemonOsd *cFemonOsd::pInstance = NULL;
|
cFemonOsd *cFemonOsd::pInstance = NULL;
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: femon 1.7.8\n"
|
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: femon 1.7.8\n"
|
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: femon 1.7.8\n"
|
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: femon 1.7.8\n"
|
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: femon 1.7.8\n"
|
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: femon 1.7.8\n"
|
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: femon 1.7.8\n"
|
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: femon 1.7.8\n"
|
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: femon 1.7.8\n"
|
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: femon 1.7.8\n"
|
"Project-Id-Version: vdr-femon 1.7.10\n"
|
||||||
"Report-Msgid-Bugs-To: <see README>\n"
|
"Report-Msgid-Bugs-To: <see README>\n"
|
||||||
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
"POT-Creation-Date: 2010-10-10 10:10+0300\n"
|
||||||
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
"PO-Revision-Date: 2010-10-10 10:10+0300\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user