Mdklirc-patch: Difference between revisions

From VDR Wiki
Jump to navigation Jump to search
(Preparation)
 
 
(4 intermediate revisions by one other user not shown)
Line 6: Line 6:
* patch
* patch


==Applying the patch==
==Installation==
If the patch is compressed you have to unpack it bevor
If the patch is compressed you have to unpack it before
gunzip patch
<pre>

gunzip patch
</pre>
Now you can install it with
Now you can install it with
cd $SOURCEDIR/VDR
<pre>
patch -p 1 < /path/to/patch
cd $SOURCEDIR/VDR
patch -p 1 < /path/to/patch
</pre>


Note, VDR has to be recompiled now, see [[VDR installation]].
Note, VDR has to be recompiled now, see [[VDR installation]].
Line 21: Line 18:
==Problems==
==Problems==


==Links==
==Patch==
<pre>
{|
diff -Nru vdr-1.2.5/vdr.c vdr-1.2.5_MDK/vdr.c
| [1]
--- vdr-1.2.5/vdr.c 2003-09-14 11:36:54.000000000 +0200
| http://
+++ vdr-1.2.5_MDK/vdr.c 2003-10-11 09:54:26.000000000 +0200
| Patch homepage
@@ -416,6 +416,9 @@
|}
new cRcuRemote("/dev/ttyS1");
#elif defined(REMOTE_LIRC)
new cLircRemote("/dev/lircd");
+#elif defined(REMOTE_LIRC_MDK)
+ /* 2003-09-31 <mk> for LIRC from Mandrake 9.1 RPMs */
+ new cLircRemote("/tmp/.lircd");
#endif
#if defined(REMOTE_KBD)
if (!DaemonMode && HasStdin)
</pre>


[[Category:Patches]]
[[Category:Patches]]


{{i18n|mdklirc-patch}}
<!-- Link to german wiki page -->
[[de:-patch]]

Latest revision as of 08:24, 14 March 2006

Description

Hardware requirements

Software requirements

  • patch

Applying the patch

If the patch is compressed you have to unpack it before

gunzip patch

Now you can install it with

cd $SOURCEDIR/VDR
patch -p 1 < /path/to/patch

Note, VDR has to be recompiled now, see VDR installation.

Problems

Patch

diff -Nru vdr-1.2.5/vdr.c vdr-1.2.5_MDK/vdr.c
--- vdr-1.2.5/vdr.c     2003-09-14 11:36:54.000000000 +0200
+++ vdr-1.2.5_MDK/vdr.c 2003-10-11 09:54:26.000000000 +0200
@@ -416,6 +416,9 @@
   new cRcuRemote("/dev/ttyS1");
 #elif defined(REMOTE_LIRC)
   new cLircRemote("/dev/lircd");
+#elif defined(REMOTE_LIRC_MDK)
+  /* 2003-09-31 <mk> for LIRC from Mandrake 9.1 RPMs */
+  new cLircRemote("/tmp/.lircd");
 #endif
 #if defined(REMOTE_KBD)
   if (!DaemonMode && HasStdin)