New version of xine-lib output device VDR plugin has been released. No changes for ebuild needed, only renamed it for the new version.
Created attachment 92974 [details] vdr-xineliboutput-1.0.0_pre1.ebuild
Here's an ebuild that checks out development version of xineliboutput from CVS: http://sourceforge.net/forum/forum.php?thread_id=1544647&forum_id=540656
(In reply to comment #1) > Created an attachment (id=92974) [edit] > vdr-xineliboutput-1.0.0_pre1.ebuild The Ebuild is missing a Config file. How are VDR-Plugin-Configs handled in Gentoo? Starting VDR with 'vdr -P"xineliboutput --local=sxfe --video=xv --audio=alsa --noremote"' works, but when I tried to create a vdr.xineliboutput in /etc/conf.d for passing plugin paramters VDR didn't work because it didn't get the parameters.
Created attachment 93277 [details] vdr-xineliboutput-1.0.0_pre1.tar.gz
(In reply to comment #3) > The Ebuild is missing a Config file. > How are VDR-Plugin-Configs handled in Gentoo? > Starting VDR with 'vdr -P"xineliboutput --local=sxfe --video=xv --audio=alsa > --noremote"' works, but when I tried to create a vdr.xineliboutput in > /etc/conf.d for passing plugin paramters VDR didn't work because it didn't get > the parameters. Hmm /etc/conf.d/vdr.xineliboutput has worked for me. Is it possible you had syntax error in the file you created? I attached new version of the ebuild for 1.0.0pre1 where I've added an stub for configuration file. The examples in the config file come from README in original xinelibouput source.
(In reply to comment #3) > > The Ebuild is missing a Config file. > How are VDR-Plugin-Configs handled in Gentoo? > Starting VDR with 'vdr -P"xineliboutput --local=sxfe --video=xv --audio=alsa > --noremote"' works, but when I tried to create a vdr.xineliboutput in > /etc/conf.d for passing plugin paramters VDR didn't work because it didn't get > the parameters. > What did you write in /etc/conf.d/vdr.xineliboutput: Correct is: _EXTRAOPTS="--local=sxfe --video=xv --audio=alsa --noremote" This passes the parameters you have written above. But I don't know if the initscript is able to run with these params. I prefer using the -L for no-local, -r 37890 to allow inbound connects and then connect with vdr-sxfe to allow vdr running in the background and opening the window when I need it. A sophisticated config-file will be added to the ebuild if someone writes one (with associated rc-addon to parse it) as Gentoo VDR project-developers have no free time for this now. Despite this we can assist in writing one.
(In reply to comment #6) > This passes the parameters you have written above. > But I don't know if the initscript is able to run with these params. > I prefer using the -L for no-local, -r 37890 to allow inbound connects and then > connect with vdr-sxfe to allow vdr running in the background and opening the > window when I need it. The problem seems to be the "--local" statement. Running with remote options only works.
> The problem seems to be the "--local" statement. Running with remote options > only works. A comment should be added to vdr.xineliboutput that the '--local'-option doesn't work! Renne
(In reply to comment #8) > A comment should be added to vdr.xineliboutput that the '--local'-option > doesn't work! I'm not familiar with the init scripts, but I wonder if something else could cause this to fail since --local works for me. For example I can run successfully with _EXTRAOPTS="--local=sxfe --video=xv --audio=alsa --noremote" In my case it runs this command which works ok: /usr/bin/vdr --daemon -u vdr --watchdog=60 --log=1 --video=/tv/vdr --lirc --record=/usr/lib/vdr/bin/vdrrecord-gate.sh --plugin=xineliboutput --local=sxfe --video=xv --audio=alsa --noremote I'm using media-tv/gentoo-vdr-scripts-0.3.5-r2.
(In reply to comment #9) > (In reply to comment #8) > > A comment should be added to vdr.xineliboutput that the '--local'-option > > doesn't work! > > I'm not familiar with the init scripts, but I wonder if something else > could cause this to fail since --local works for me. > I'm not sure if this is the right place...but I'm using xineliboutput without any options as a soft-output device (Xv) and it only runs if i manually edit out the "-nolisten tcp"-part in "/usr/bin/startx" so that X listens on tcp port 6000. Is that required or am I doing something wrong? I could not find any information on that anywhere. That's not a nice way to get this plugin running...and gentoo overwrites that file without asking during an update, unless explicitly configured not to.
Oh and I had to add xhost +localhost & to /etc/X11/xinit/xinitrc or I need to run it manually unless X startx as the "vdr"-User.
Added conf-file to ebuild.