Author Topic: VDR integration - How to add plugins  (Read 27746 times)

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: VDR integration - How to add plugins
« Reply #30 on: March 05, 2010, 10:24:52 pm »
posde, you're right. To build desired plugin without package you have to do following:
- download the S2lipliannin archive and unpack it into /usr/src, for example;
- download VDR 1.7.11 and unpack it into your home dir;
- download desired plugin sources to the <VDR-1.7.11>/PLUGINS/src;
- copy /usr/src/s2-liplianin/linux/include/linux/dvb into /usr/include/linux/dvb. Otherwise you'll get error:
Code: [Select]
#error VDR requires Linux DVB driver API version 5.0!- change path to the VDR headers in the plugin's Makefile:
Code: [Select]
INCLUDES      = -I$(VDRDIR)/includeto
Code: [Select]
INCLUDES      = -I/usr/include/vdr- run the plugin building procedure as usual:
Code: [Select]
make plugins- copy binaries to the /usr/lib/vdr/plugins;
- copy configs to the /var/lib/vdr/plugins and make symlins into /etc/vdr
Thant's it. I built a few plugins successfully using that approach.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: VDR integration - How to add plugins
« Reply #31 on: March 06, 2010, 04:16:39 pm »
I think the easiest approach is to setup a builder, and look at the build-replacements.sh to see what is done. The source code of VDR and the VDR plugins we are using comes from the deb-src etobi

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: VDR integration - How to add plugins
« Reply #32 on: March 06, 2010, 08:02:21 pm »
I think the easiest approach is to setup a builder, and look at the build-replacements.sh to see what is done. The source code of VDR and the VDR plugins we are using comes from the deb-src etobi


Could you clarify about what builder are you talking, please?
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: VDR integration - How to add plugins
« Reply #33 on: March 06, 2010, 10:55:00 pm »
A regular LinuxMCE builder, as outlined in the wiki. http://wiki.linuxmce.org/index.php/Building_LinuxMCE_0810

I've created a small script that creates a builder for me (from scratch), in case anyone is interested. http://iptp.possy.de/createbuilder.sh

Add a deb-src entry for e-tobi to it, apt-get source the relevant source after the first initial build, and you can build any vdr-plugin you like

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: VDR integration - How to add plugins
« Reply #34 on: March 06, 2010, 11:17:18 pm »
I got your point, posde. But how it'd be possible to build the package for plugin which isn't debianized. I mean it doesn't have debian dir with rules in the sources. Also if you just need to build a couple VDR plugins setup of builder isn't efficient IMHO.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru