[vdr] porting vdr-plugin-sc from FFdecsa to dvbcsa

cedric.dewijs at telfort.nl cedric.dewijs at telfort.nl
Sat Dec 28 08:13:51 CET 2013


Hi All,
VDR-plugin-sc now runs on a DNS-323 NAS without any problems.
Below are the steps I've taken. It's not as nice as I would like, because in the current state it's not possible to switch between FFdecsa and dvbcsa. But it works for me :-)
1)obtain the original source
$ hg clone http://85.17.209.13:6100/sc
2)apply the debian patch
$ wget http://vdrbox.lautre.net/fichiers/VDR/debianize-sc/sc-debian-package-03062011.diff
$ cd sc
$ patch -p1 <../sc-debian-package-03062011.diff
3) Modify the sourcefiles (resulting files attached)
$ nano cam.c
$ nano cam.h
$ nano device.c
$ nano Makefile
$ nano debian/rules
4) Enter the compile command (this will take about an hour to complete)
$ dpkg-buildpackage -us -uc -b 
(This step errors out.)
$ nano Makefile (copy the attached Makefile again)
$ dpkg-buildpackage -us -uc -b (now the build goes OK)
5)install the resulting .deb files:
$ su
# cd ..
# dpkg -i vdr-plugin-sc_*.deb libvdr-sc-cardclient_*.deb
6)try to run it:
# invoke-rc.d vdr restart
Best regards, and thanks for the help,
Cedric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20131228/8a20bd2a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules
Type: application/octet-stream
Size: 579 bytes
Desc: not available
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20131228/8a20bd2a/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: application/octet-stream
Size: 9636 bytes
Desc: not available
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20131228/8a20bd2a/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: device.c
Type: text/x-csrc
Size: 11562 bytes
Desc: not available
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20131228/8a20bd2a/attachment-0002.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cam.h
Type: text/x-chdr
Size: 7077 bytes
Desc: not available
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20131228/8a20bd2a/attachment-0001.h>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cam.c
Type: text/x-csrc
Size: 86713 bytes
Desc: not available
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20131228/8a20bd2a/attachment-0003.c>


More information about the vdr mailing list