r4339 - in vdr/vdr-plugin-extrecmenu/trunk/debian: . patches
Tobias Grimm
tiber-guest at alioth.debian.org
Sun Mar 11 11:53:19 CET 2007
Author: tiber-guest
Date: 2007-03-11 10:53:18 +0000 (Sun, 11 Mar 2007)
New Revision: 4339
Added:
vdr/vdr-plugin-extrecmenu/trunk/debian/patches/90_MainMenuHooks.dpatch
Modified:
vdr/vdr-plugin-extrecmenu/trunk/debian/changelog
vdr/vdr-plugin-extrecmenu/trunk/debian/patches/00list
Log:
* Added 90_MainMenuHooks.dpatch
Modified: vdr/vdr-plugin-extrecmenu/trunk/debian/changelog
===================================================================
--- vdr/vdr-plugin-extrecmenu/trunk/debian/changelog 2007-03-11 10:39:39 UTC (rev 4338)
+++ vdr/vdr-plugin-extrecmenu/trunk/debian/changelog 2007-03-11 10:53:18 UTC (rev 4339)
@@ -1,3 +1,9 @@
+vdr-plugin-extrecmenu (0.13-3) experimental; urgency=low
+
+ * Added 90_MainMenuHooks.dpatch
+
+ -- Tobias Grimm <tg at e-tobi.net> Sun, 11 Mar 2007 11:48:13 +0100
+
vdr-plugin-extrecmenu (0.13-2) unstable; urgency=low
* Release for vdrdevel 1.5.1
Modified: vdr/vdr-plugin-extrecmenu/trunk/debian/patches/00list
===================================================================
--- vdr/vdr-plugin-extrecmenu/trunk/debian/patches/00list 2007-03-11 10:39:39 UTC (rev 4338)
+++ vdr/vdr-plugin-extrecmenu/trunk/debian/patches/00list 2007-03-11 10:53:18 UTC (rev 4339)
@@ -1 +1,2 @@
01_dvdarchive-path
+90_MainMenuHooks
Added: vdr/vdr-plugin-extrecmenu/trunk/debian/patches/90_MainMenuHooks.dpatch
===================================================================
--- vdr/vdr-plugin-extrecmenu/trunk/debian/patches/90_MainMenuHooks.dpatch 2007-03-11 10:39:39 UTC (rev 4338)
+++ vdr/vdr-plugin-extrecmenu/trunk/debian/patches/90_MainMenuHooks.dpatch 2007-03-11 10:53:18 UTC (rev 4339)
@@ -0,0 +1,28 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 90_MainMenuHooks.dpatch by Tobias Grimm <tg at e-tobi.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Adds support fpr the MainMenuHook patch in VDR.
+
+ at DPATCH@
+diff -urNad vdr-plugin-extrecmenu-0.13~/extrecmenu.c vdr-plugin-extrecmenu-0.13/extrecmenu.c
+--- vdr-plugin-extrecmenu-0.13~/extrecmenu.c 2007-02-03 21:13:28.000000000 +0100
++++ vdr-plugin-extrecmenu-0.13/extrecmenu.c 2007-03-11 11:52:23.000000000 +0100
+@@ -137,7 +137,16 @@
+
+ bool cPluginExtrecmenu::Service(const char *Id,void *Data)
+ {
+- return false;
++ if (strcmp(Id, "MainMenuHooksPatch-v1.0::osRecordings") == 0 && mysetup.ReplaceOrgRecMenu==true)
++ {
++ if (Data == NULL)
++ return true;
++ cOsdMenu **menu = (cOsdMenu**) Data;
++ if (menu)
++ *menu = (cOsdMenu*) MainMenuAction();
++ return true;
++ }
++ return false;
+ }
+
+ const char **cPluginExtrecmenu::SVDRPHelpPages(void)
More information about the pkg-vdr-dvb-changes
mailing list