r4336 - in vdr/vdr-plugin-epgsearch/trunk/debian: . patches

Tobias Grimm tiber-guest at alioth.debian.org
Sun Mar 11 11:37:08 CET 2007


Author: tiber-guest
Date: 2007-03-11 10:37:07 +0000 (Sun, 11 Mar 2007)
New Revision: 4336

Added:
   vdr/vdr-plugin-epgsearch/trunk/debian/patches/92_MainMenuHooks.dpatch
Modified:
   vdr/vdr-plugin-epgsearch/trunk/debian/changelog
   vdr/vdr-plugin-epgsearch/trunk/debian/patches/00list
Log:
* Added 92_MainMenuHooks.dpatch

Modified: vdr/vdr-plugin-epgsearch/trunk/debian/changelog
===================================================================
--- vdr/vdr-plugin-epgsearch/trunk/debian/changelog	2007-03-10 21:27:24 UTC (rev 4335)
+++ vdr/vdr-plugin-epgsearch/trunk/debian/changelog	2007-03-11 10:37:07 UTC (rev 4336)
@@ -1,3 +1,9 @@
+vdr-plugin-epgsearch (0.9.20-5) experimental; urgency=low
+
+  * Added 92_MainMenuHooks.dpatch
+
+ -- Tobias Grimm <tg at e-tobi.net>  Sun, 11 Mar 2007 11:36:44 +0100
+
 vdr-plugin-epgsearch (0.9.20-4) experimental; urgency=low
 
   * First uploaded to the official archive (closes #405224)

Modified: vdr/vdr-plugin-epgsearch/trunk/debian/patches/00list
===================================================================
--- vdr/vdr-plugin-epgsearch/trunk/debian/patches/00list	2007-03-10 21:27:24 UTC (rev 4335)
+++ vdr/vdr-plugin-epgsearch/trunk/debian/patches/00list	2007-03-11 10:37:07 UTC (rev 4336)
@@ -1,3 +1,4 @@
 01_debian-defaults
 90_menushortcuts
-#91_epgsearch-1.5.0
+91_epgsearch-1.5.0
+92_MainMenuHooks

Added: vdr/vdr-plugin-epgsearch/trunk/debian/patches/92_MainMenuHooks.dpatch
===================================================================
--- vdr/vdr-plugin-epgsearch/trunk/debian/patches/92_MainMenuHooks.dpatch	2007-03-10 21:27:24 UTC (rev 4335)
+++ vdr/vdr-plugin-epgsearch/trunk/debian/patches/92_MainMenuHooks.dpatch	2007-03-11 10:37:07 UTC (rev 4336)
@@ -0,0 +1,31 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 92_MainMenuHooks.dpatch by Tobias Grimm <tg at e-tobi.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Support for the MainMenuHook patch (will be contained in upstream in
+## DP: the next version)
+
+ at DPATCH@
+diff -urNad vdr-plugin-epgsearch-0.9.20~/epgsearch.c vdr-plugin-epgsearch-0.9.20/epgsearch.c
+--- vdr-plugin-epgsearch-0.9.20~/epgsearch.c	2007-03-11 11:27:25.000000000 +0100
++++ vdr-plugin-epgsearch-0.9.20/epgsearch.c	2007-03-11 11:28:29.000000000 +0100
+@@ -185,9 +185,16 @@
+ 
+ bool cPluginEpgsearch::Service(const char *Id, void *Data)
+ {
+-  if (strcmp(Id, "schedule") == 0) 
+-      return (EPGSearchConfig.ReplaceOrgSchedule!=0);
+- 
++  if (strcmp(Id, "MainMenuHooksPatch-v1.0::osSchedule") == 0 && EPGSearchConfig.ReplaceOrgSchedule!=0) 
++  {
++    if (Data == NULL)
++      return true;
++    cOsdMenu **menu = (cOsdMenu**) Data;
++    if (menu)
++      *menu = (cOsdMenu*) MainMenuAction();
++    return true;
++  }
++
+   if (strcmp(Id, "Epgsearch-search-v1.0") == 0) {
+      if (Data == NULL)
+         return true;




More information about the pkg-vdr-dvb-changes mailing list