News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

VDR integration - How to add plugins

Started by Marie.O, January 18, 2008, 05:32:05 PM

Previous topic - Next topic

nite_man

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:
#error VDR requires Linux DVB driver API version 5.0!
- change path to the VDR headers in the plugin's Makefile:
INCLUDES      = -I$(VDRDIR)/include
to
INCLUDES      = -I/usr/include/vdr
- run the plugin building procedure as usual:
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: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

Marie.O

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
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

nite_man

Quote from: posde 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


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

Marie.O

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
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

nite_man

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: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]