LinuxMCE Forums
May 24, 2013, 03:34:56 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
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
 
   Home   Help Search Chat Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: VDR integration - How to add plugins  (Read 7220 times)
nite_man
NEEDS to work for LinuxMCE
***
Posts: 1019


Want to work with LinuxMCE


View Profile WWW
« 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:
#error VDR requires Linux DVB driver API version 5.0!
- change path to the VDR headers in the plugin's Makefile:
Code:
INCLUDES      = -I$(VDRDIR)/include
to
Code:
INCLUDES      = -I/usr/include/vdr
- run the plugin building procedure as usual:
Code:
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.
Logged

Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« 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
Logged

nite_man
NEEDS to work for LinuxMCE
***
Posts: 1019


Want to work with LinuxMCE


View Profile WWW
« 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?
Logged

Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru
posde
Administrator
LinuxMCE God
*****
Posts: 2621


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« 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
Logged

nite_man
NEEDS to work for LinuxMCE
***
Posts: 1019


Want to work with LinuxMCE


View Profile WWW
« 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.
Logged

Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!