Mdklirc-patch

From VDR Wiki

(Difference between revisions)
Jump to: navigation, search
(Preparation)
(Patch)
 
(4 intermediate revisions not shown)
Line 6: Line 6:
* patch
* patch
-
==Installation==
+
==Applying the patch==
-
If the patch is compressed you have to unpack it bevor
+
If the patch is compressed you have to unpack it before
-
<pre>
+
gunzip patch
-
gunzip patch
+
 
-
</pre>
+
Now you can install it with  
Now you can install it with  
-
<pre>
+
cd $SOURCEDIR/VDR
-
cd $SOURCEDIR/VDR
+
patch -p 1 < /path/to/patch
-
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>
-
| [1]
+
diff -Nru vdr-1.2.5/vdr.c vdr-1.2.5_MDK/vdr.c
-
| http://
+
--- vdr-1.2.5/vdr.c    2003-09-14 11:36:54.000000000 +0200
-
| Patch homepage
+
+++ 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)
 +
</pre>
[[Category:Patches]]
[[Category:Patches]]
-
<!-- Link to german wiki page -->
+
{{i18n|mdklirc-patch}}
-
[[de:-patch]]
+

Latest revision as of 08:24, 14 March 2006

Contents

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)
Personal tools
Participate