Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142062 - vdr-xineliboutput-1.0.0_pre1.ebuild (update)
Summary: vdr-xineliboutput-1.0.0_pre1.ebuild (update)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Gentoo VDR Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-29 00:09 UTC by Tero Saarni
Modified: 2006-10-31 02:14 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
vdr-xineliboutput-1.0.0_pre1.ebuild (vdr-xineliboutput-1.0.0_pre1.ebuild,1.47 KB, text/plain)
2006-07-29 00:10 UTC, Tero Saarni
Details
vdr-xineliboutput-1.0.0_pre1.tar.gz (vdr-xineliboutput-1.0.0_pre1.tar.gz,1.99 KB, application/x-tgz)
2006-08-02 10:06 UTC, Tero Saarni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tero Saarni 2006-07-29 00:09:20 UTC
New version of xine-lib output device VDR plugin has been released.

No changes for ebuild needed, only renamed it for the new version.
Comment 1 Tero Saarni 2006-07-29 00:10:59 UTC
Created attachment 92974 [details]
vdr-xineliboutput-1.0.0_pre1.ebuild
Comment 2 Tero Saarni 2006-07-29 01:09:21 UTC
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
Comment 3 ml 2006-08-02 09:28:55 UTC
(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.
Comment 4 Tero Saarni 2006-08-02 10:06:51 UTC
Created attachment 93277 [details]
vdr-xineliboutput-1.0.0_pre1.tar.gz
Comment 5 Tero Saarni 2006-08-02 10:15:50 UTC
(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.
Comment 6 Matthias Schwarzott gentoo-dev 2006-08-02 10:22:35 UTC
(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.
Comment 7 ml 2006-08-04 09:17:03 UTC
(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.
Comment 8 ml 2006-08-07 07:52:53 UTC
> 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

Comment 9 Tero Saarni 2006-08-07 08:17:59 UTC
(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.
Comment 10 Stefan Becker 2006-08-17 11:39:45 UTC
(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.
Comment 11 Stefan Becker 2006-08-17 11:54:43 UTC
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.
Comment 12 Matthias Schwarzott gentoo-dev 2006-10-31 02:14:40 UTC
Added conf-file to ebuild.