summaryrefslogtreecommitdiff
path: root/patch/remotetimers.patch
blob: 5d4073cde0f946cabb13b8b03067fba4490df988 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 vdr-plugin-remotetimers (1.0.1-2yavdr1~precise) precise; urgency=medium
 .
   * automatic rebuild
Author: yavdr package builder <release@yavdr.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- vdr-plugin-remotetimers-1.0.1.orig/Makefile
+++ vdr-plugin-remotetimers-1.0.1/Makefile
@@ -51,6 +51,9 @@ INCLUDES +=
 
 DEFINES += -DPLUGIN_NAME_I18N='"$(PLUGIN)"'
 
+# uncomment this to enable support for the graphtft plugin.
+#DEFINES += -DUSE_GRAPHTFT
+
 ### The object files (add further files here):
 
 OBJS = $(PLUGIN).o svdrp.o conflict.o menu.o menuitems.o setup.o moverec.o watcher.o
--- vdr-plugin-remotetimers-1.0.1.orig/menu.h
+++ vdr-plugin-remotetimers-1.0.1/menu.h
--- vdr-plugin-remotetimers-1.0.1.orig/menu.c
+++ vdr-plugin-remotetimers-1.0.1/menu.c
@@ -877,6 +877,10 @@ void cMenuEvent::Display(void)
 {
   cOsdMenu::Display();
   DisplayMenu()->SetEvent(event);
+#ifdef USE_GRAPHTFT
+  cStatus::MsgOsdSetEvent(event);
+#endif
+
   if (event->Description())
      cStatus::MsgOsdTextItem(event->Description());
 }