Mdklirc-patch
From VDR Wiki
(Difference between revisions)
(Preparation) |
(→Patch) |
||
| (4 intermediate revisions not shown) | |||
| Line 6: | Line 6: | ||
* patch | * patch | ||
| - | == | + | ==Applying the patch== |
| - | If the patch is compressed you have to unpack it | + | If the patch is compressed you have to unpack it before |
| - | + | gunzip patch | |
| - | gunzip patch | + | |
| - | + | ||
Now you can install it with | Now you can install it with | ||
| - | + | cd $SOURCEDIR/VDR | |
| - | cd $SOURCEDIR/VDR | + | patch -p 1 < /path/to/patch |
| - | patch -p 1 < /path/to/patch | + | |
| - | + | ||
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== | ||
| - | == | + | ==Patch== |
| - | + | <pre> | |
| - | + | 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) | ||
| + | </pre> | ||
[[Category:Patches]] | [[Category:Patches]] | ||
| - | + | {{i18n|mdklirc-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)




