Re: [vdr] error on large EPG loads via SVDRP
On Wed, 10 Jan 2007 23:48:38 +0100, Pjotr Kourzanov wrote > I have neither investigated the problem deeper yet (just found a way > to split the EPG data into parts), nor looked in the source code. Is > it so difficult to convince the watchdog that while SVDR thread is > busy it is actually doing useful work? SVDRP is not implemented as a thread. Processing the SVDRP interface is part of the VDR main loop. The problem is that if you are uploading EPG fast enough, the SVDRP code will remain in cSVDRP::Process() until you're done. So the watchdog timer will not be refreshed and the watchdog eventually fires. There are two possible workarounds: 1. increase the watchdog timeout 2. take a short break from time to time while uploading the EPG. The "while (file.Ready(false))" loop in cSVDRP::Process() has a timeout of just 10 milliseconds. With a sleep of 100ms you should be on the safe side, as you still need to take into account that network traffic is buffered on both, the client and the server. Cheers, Frank ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [ANNOUNCE] vdr-xine-0.7.10 plugin
On 1/11/07, Darren Salt <[EMAIL PROTECTED]> wrote: I demand that mike lewis may or may not have written... [snip] > I finally got around to trying this. Stuck at "debuild". I'm unable to > find it on my system and unable to find it as a refference in aptitude > (hitting S in the GUI). devscripts. You could have used packages.ubuntu.com to find that. See.. I'm converting you ;-) soon enough you'll be building for ubuntu hehe.. But I digress.. Any idea's on my last post? Mick ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] error on large EPG loads via SVDRP
Luca Olivetti wrote: En/na Klaus Schmidinger ha escrit: Udo Richter wrote: Pjotr Kourzanov wrote: I am experiencing VDR errors when loading EPG via SVDRP. If the EPG data to ... I have recently sent the attached patch to Thomas Koch <[EMAIL PROTECTED]>. It dramatically speeds up getting EPG information from VDR. I think the OP problem is the reverse: getting EPG data into vdr, not out of it. Bye Indeed, I was referring to the problem of loading the data to VDR. Tweaking the watchdog timer looks like a dirty workaround to me - the value depending on amount of EPG data to be loaded divided by the speed at which this data could be transferred to VDR (do we assume loopback access, or ethernet? maybe wireless or WAN/VPN access?). I have neither investigated the problem deeper yet (just found a way to split the EPG data into parts), nor looked in the source code. Is it so difficult to convince the watchdog that while SVDR thread is busy it is actually doing useful work? Pjotr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Replay a recording and return to calling plugin?
Hi Martin, Thanks! Works great! Regards, Christian ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] Replay a recording and return to calling plugin?
Hi Christian, in my ExtRecMenu-Plugin i start a playback like this: --- myReplayControl::SetRecording(recording->FileName(),recording->Title()); cControl::Shutdown(); // stop running playbacks cControl::Launch(new myReplayControl); // start playback return osEnd; // close plugin --- myReplayControl is a derived class: --- class myReplayControl:public cReplayControl { public: eOSState ProcessKey(eKeys Key); ~myReplayControl(); }; myReplayControl::~myReplayControl() { cRemote::CallPlugin("extrecmenu"); } eOSState myReplayControl::ProcessKey(eKeys Key) { if(Key==kBack) return osEnd; return cReplayControl::ProcessKey(Key); } --- If playback ends, ExtRecMenu is called. Greets, Martin ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] Replay a recording and return to calling plugin?
Hi, is there any way to start the replay of a recording in a plugin, so that after ending the replay, VDR returns to the calling plugin instead of the recordings menu? My replay start looks like this: cReplayControl::SetRecording(recording->FileName(), recording->Title()); return osReplay; I played with a derived replay control, but found no solution yet. Regards, Christian ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] error on large EPG loads via SVDRP
En/na Klaus Schmidinger ha escrit: Udo Richter wrote: Pjotr Kourzanov wrote: I am experiencing VDR errors when loading EPG via SVDRP. If the EPG data to ... I have recently sent the attached patch to Thomas Koch <[EMAIL PROTECTED]>. It dramatically speeds up getting EPG information from VDR. I think the OP problem is the reverse: getting EPG data into vdr, not out of it. Bye -- Luca ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [ANNOUNCE] vdr-xine-0.7.10 plugin
I demand that mike lewis may or may not have written... [snip] > I finally got around to trying this. Stuck at "debuild". I'm unable to > find it on my system and unable to find it as a refference in aptitude > (hitting S in the GUI). devscripts. You could have used packages.ubuntu.com to find that. [snip] -- | Darren Salt| linux or ds at | nr. Ashington, | Toon | RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army | + Output less CO2 => avoid massive flooding.TIME IS RUNNING OUT *FAST*. You will soon meet a strangler who will become your fiend. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] error on large EPG loads via SVDRP
Udo Richter wrote: > Pjotr Kourzanov wrote: >> I am experiencing VDR errors when loading EPG via SVDRP. If the EPG >> data to >> be loaded is larger that 3 MB then VDR silently drops the SVDR >> connection. >> >> Everything is fine if the data is truncated to fit 3 megs. > > There is an issue if the EPG download is too slow. In that case, the VDR > watchdog timer may restart VDR to bring back VDR to life. You can try to > increase the watchdog timeout value. > VDRAdmin-AM can also read the epg data directly from the /video/epg.data > file, avoiding the lengthly and slow SVDRP download. I have recently sent the attached patch to Thomas Koch <[EMAIL PROTECTED]>. It dramatically speeds up getting EPG information from VDR. Klaus --- vdradmind.pl 2006-12-23 13:36:30.353879013 +0100 +++ vdradmind-2.pl 2006-12-23 13:37:42.186068197 +0100 @@ -538,21 +538,22 @@ sub EPG_buildTree { $SVDRP->command("lste"); + my @DATA = $SVDRP->readresponse; + CloseSocket(); my($i, @events); my($id, $bc) = (1, 0); undef(%EPG); - while($_ = $SVDRP->readoneline) { -chomp; + while($_ = shift @DATA) { if(/^C ([^ ]+) *(.*)/) { $bc++; undef(@events); my($channel_id, $channel_name) = ($1, $2); my $vdr_id = get_vdrid_from_channelid($channel_id); - while($_ = $SVDRP->readoneline) { + while($_ = shift @DATA) { if(/^E (.*) (.*) (.*) (.*)/ || /^E (.*) (.*) (.*)/) { my($event_id, $time, $duration) = ($1, $2, $3); my($title, $subtitle, $summary); - while($_ = $SVDRP->readoneline) { + while($_ = shift @DATA) { if(/^T (.*)/) { $title = $1 } if(/^S (.*)/) { $subtitle = $1 } if(/^D (.*)/) { $summary = $1 } @@ -3157,6 +3158,20 @@ return undef; } } + +sub readresponse { + my $this = shift; + my @a = (); + if($connected) { + while (<$SOCKET>) { + chomp; + my $end = substr($_, 3, 1) ne "-"; + push(@a, substr($_, 4, length($_))); + last if ($end); + } + } + return @a; +} # # ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] error on large EPG loads via SVDRP
Pjotr Kourzanov wrote: I am experiencing VDR errors when loading EPG via SVDRP. If the EPG data to be loaded is larger that 3 MB then VDR silently drops the SVDR connection. Everything is fine if the data is truncated to fit 3 megs. There is an issue if the EPG download is too slow. In that case, the VDR watchdog timer may restart VDR to bring back VDR to life. You can try to increase the watchdog timeout value. VDRAdmin-AM can also read the epg data directly from the /video/epg.data file, avoiding the lengthly and slow SVDRP download. Cheers, Udo ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] streamplayer - no audio when streaming audio only?
Lars Fredriksson wrote: I'm trying to use VLC to stream an mms:// as MPGA to my VDR-box where I have installed the streamplayer plugin, but I get no sound! Streamplyer says it's receiving a stream and the bitrate show, the buffering value goes up to the value a specify and the starts over from 0 again. The problem is that the current (primitive) code waits forever to detect a video packet to know its PID. Audio-only streams are not yet really supported. One workaround is to mix in some video dummy stream, another is to fool the detection: If you first play a short video clip, and then start the audio stream, streamplayer already has found a PID for video and continues playing even if no video data arrives. This should work even if the http stream reconnects, just exiting and re-starting streamplayer will trigger a new detection. Cheers, Udo ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] ANNOUCEMENT: xmltv2epg
Oops, forgot the scripts;-) Pjotr Kourzanov wrote: Dear all, Having been dissatisfied with performance and features of xmltv2vdr (too slow, no credits/category information in epg.data) I have created a new script (based on AWK), that can be found in the attachment. If you want to try it, put your channels.conf.xmltv in one folder with these two scripts, and then run cat *.xml | ./xmltv2epg > epg. My mileage: 54MB XML -> 18MB EPG in 44 minuties (xmltv2vdr used to take 9 hours). Pjotr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr #!/bin/sh # external dependencies date="/bin/date" sed="/bin/sed" grep="/bin/grep" recode='/usr/bin/recode -f "$in_charset..$charset"' # input data dir=`dirname $0` channels="$dir/channels.conf.xmltv" # miscellaneous htmlnorm='s,<[^<>]*>,\n&\n,g' in_tz="Europe/Amsterdam" export in_charset=utf8 export charset=utf8 export LC_ALL=ru_RU.UTF-8 export TZ="Europe/Amsterdam" xmltv2epg_awk="$dir/xmltv2epg.awk" $sed -e $htmlnorm | $grep -v "^[ \t\r\n]*$" | $xmltv2epg_awk -vchannels="$channels" -vbindate="$date" | eval $recode #!/usr/bin/awk -f BEGIN { stderr="/dev/stderr" load_channels(channels) #curid="" separator["desc"]="|" separator["display-name"]=separator["title"]=separator["category"]=" / " separator["adapter"]=separator["presenter"]=separator["director"]=separator["actor"]=", " } #{ print >stderr } #/^<[^ \t\r\n]+/ { handled=0 } /^/ { handled=1 names[id]=data["display-name"] if (!channel_src[id]) { print "NO SRC for",id > stderr next } events[id]=1 } /^/ { tag=gensub(/^<([^ \t\r\n]+).*>/,"\\1","g") #print "bool tag:",tag curtag[tag]=1 next } !handled && /^<[^ \t\r\n]+.*>/ { tag=gensub(/^<([^ \t\r\n]+).*>/,"\\1","g") if (tag ~ /^\//) { tag=substr(tag,2) value=0 delete active[tag] } else active[tag]=1 #tags[tag]=1 #print "tag:",tag,value next } !handled { for (t in active) data[t]=append(data[t],txtconv($0),separator[t]) } END { print "c" #for (t in tags) print t > stderr } function load_channels(channels, a,i,n,chsrc,b,c,j,m) { oFS=FS; FS=":" while (getline < channels) if ($0 !~ /^:/) { name=$1; freq=$2; mode=$3; src=$4 sr=$5; vpid=$6; apid=$7; tpid=$8 ca=$9; spid=$10; npid=$11; tid=$12 rid=$13; esrc=$14 n=split(esrc,a,";") for (i=1; i<=n; i++) { chsrc=src "-" npid "-" tid "-" spid if (a[i] ~ /^vsetv=/) { split(a[i],b,"=") m=split(b[2],c,",") for (j=1; j<=m; j++) { print "vsetv:",chsrc,c[j] > stderr channel_src[c[j]]=append(channel_src[c[j]],chsrc) channel_ch[chsrc]=append(channel_ch[chsrc],c[j]) } } else { m=split(a[i],c,",") for (j=1; j<=m; j++) { print "xmltv:",chsrc,c[j] > stderr #channel_src[c[j]]=append(channel_src[c[j]],chsrc) channel_src[c[j]]=chsrc channel_ch[chsrc]=append(channel_ch[chsrc],c[j]) } } } } FS=oFS } function append(a,b,c) { return a (a ? (c ? c : " ") : "") b } function txtconv(a) { a=gensub("&","\\&","g",a) a=gensub(""","\"","g",a) a=gensub("'","'","g",a) a=gensub("<","<","g",a) a=gensub(">;",">","g",a) a=gensub(":",":","g",a) a=gensub("ö","ö","g",a) a=gensub("’","'","g",a) return a } ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] error on large EPG loads via SVDRP
Dear all, I am experiencing VDR errors when loading EPG via SVDRP. If the EPG data to be loaded is larger that 3 MB then VDR silently drops the SVDR connection. Everything is fine if the data is truncated to fit 3 megs. I have to admit that I am still running VDR 1.3.31, so this issue might have been fixed in more recent versions. Regards, Pjotr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] ANNOUCEMENT: xmltv2epg
Dear all, Having been dissatisfied with performance and features of xmltv2vdr (too slow, no credits/category information in epg.data) I have created a new script (based on AWK), that can be found in the attachment. If you want to try it, put your channels.conf.xmltv in one folder with these two scripts, and then run cat *.xml | ./xmltv2epg > epg. My mileage: 54MB XML -> 18MB EPG in 44 minuties (xmltv2vdr used to take 9 hours). Pjotr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] RADIO: Select left / right audio channel?
Is it possible for vdr to set and remember either the left or right audio channel for a particular SID? Telstar 5 for example has several radio channels that have different programming on the left and right channels. I can select one of these, but then if I switch stations and return, it has forgotten my selection and both left and right channels are active again. This is a feature I am used to on my Windows dvb apps, and it would be nice to have on vdr. I saw a post in 2005 about it, but no definitive answer. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] Neotion MPEG4 transcoder
Dear all, Has anyone tried the Neotion MPEG4 transcoder in a CI/CAM format with vdr yet? Here is the link: http://www.neotion.com/products/modules.php. Does it work with full-featured cards? This seems to be the only option for light-weighted vdr hosts (<1Ghz) with MPEG4 reception... Pjotr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] streamplayer - no audio when streaming audio only?
On Wed, 10 Jan 2007 16:19:29 +0100 [EMAIL PROTECTED] (Lars Fredriksson) wrote: > Is there anyone who has a clue about whi it isn't working - is it > because there is no video? Yes. Using 0.1.3 from the Udo's homepage shows this in the README: -- Future Plans -- This is no promise, just a white board of things that sound nice. No guarantee whether and when this will happen... -Deleting/moving bookmarks -RTP/RTSP protocol for real video-on-demand -PS/PES stream formats -Improved PID detection, read PAT tables etc. -Dynamic PID changes while running? -Support pure audio streams -Support multiple audio streams -- So, looks like you'll need to get VLC to encode a video stream, even if it's just black :) Cheers, Gavin. ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
[vdr] streamplayer - no audio when streaming audio only?
Hi! I'm trying to use VLC to stream an mms:// as MPGA to my VDR-box where I have installed the streamplayer plugin, but I get no sound! Streamplyer says it's receiving a stream and the bitrate show, the buffering value goes up to the value a specify and the starts over from 0 again. I'm using this commands to stream the the mms:// as MPGA: vlc mms://blah --sout "#transcode{acodec=mpga,ab=192}:std{access=http,mux=ts,url=:8083}" Is there anyone who has a clue about whi it isn't working - is it because there is no video? Thanks for any help! Regards, Lars Fredriksson ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [RFC] Shutdown rewrite for 1.5.x
Klaus Schmidinger wrote: Udo Richter wrote: The downside of this would be that again several external tasks would fight for one resource: the time set in VDR. I don't see why "several external tasks would fight for" that time. This is something the user would set up the way he wants it. If he wants one or more external tools to have access to VDR at, say, 04:00 in the morning, then he could configure VDR so that it is up at that time. I'm not sure whether all external tools will agree on one time, or whether several tools all want to set 'their' time. Anyway, with the plugin interface, this could be done as a very simple sample plugin. Cheers, Udo ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [RFC] Shutdown rewrite for 1.5.x
Udo Richter wrote: > Klaus Schmidinger wrote: >> However, (don't know exactly if this has already been suggested as such) >> maybe a simple feature in the new shutdown code could be to allow the >> user to specify *one* time at which VDR shall be guaranteed to be "up", >> along with a time period for which it shall stay up. That way external >> tools >> could be scheduled using "cron", and they could rely on VDR being up >> at that time. > > The downside of this would be that again several external tasks would > fight for one resource: the time set in VDR. I don't see why "several external tasks would fight for" that time. This is something the user would set up the way he wants it. If he wants one or more external tools to have access to VDR at, say, 04:00 in the morning, then he could configure VDR so that it is up at that time. Of course he would also have to make sure that the external tools would use that time slot accordingly. What would be a scenario where external tools would "fight" for this time? Klaus ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [RFC] Shutdown rewrite for 1.5.x
Klaus Schmidinger wrote: However, (don't know exactly if this has already been suggested as such) maybe a simple feature in the new shutdown code could be to allow the user to specify *one* time at which VDR shall be guaranteed to be "up", along with a time period for which it shall stay up. That way external tools could be scheduled using "cron", and they could rely on VDR being up at that time. The downside of this would be that again several external tasks would fight for one resource: the time set in VDR. And it wouldn't be much different from the current possible solution to compare the VDR wakeup time with other wakeup times in the shutdown script. For the 0.2 patch, I've added the interface for plugins to modify the wakeup time. That way it shouldn't be too difficult to implement a task scheduler plugin that can be extended to everyone's need, and to implement basic scheduling in existing plugins. (epgsearch for example could implement a wakeup-at-night feature quite easily.) Cheers, Udo ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [RFC] Shutdown rewrite for 1.5.x
Hi list, I've finished a second version of the shutdown rewrite. This time, there are two patches available, one for VDR 1.5.0, and one with slight changes for 1.4.x. http://www.udo-richter.de/vdr/patches.html#shutdown http://www.udo-richter.de/vdr/patches.en.html#shutdown - Fixed negative time in shutdown confirm in case a VPS timer is in run-out phase. Will now be shown as 'running' recording. - If power pressed while background activity: "VDR will shut down later. Press power to force." - Countdown timer will now start 5 minutes *before* Min User Inactivity is reached, unless there's background activity. In any case the countdown will run for 5 minutes. SHUTDOWNRETRY is now 6 minutes, so the next shutdown countdown will start 1 minute after the last one did run out. - Playback of recordings now counts as background activity and requires confirmation on shutdown. If not confirmed, VDR will shut down at the end of playback. (sleeptimer!) - Plugins can schedule to wake up VDR from shutdown by returning a time_t from cPlugin::NextWakeupEvent(). Any time that is not in the future will be ignored. To keep VDR awake, the plugin should also reply on Active() at the given time. If needed, I can provide a simple example code that wakes VDR every day at a given time for 5 minutes or similar. - The scheduled wakeup time of the last call to the shutdown script is now remembered in setup.conf. If VDR wakes up within 10 minutes of this time, VDR assumes that this was an automatic start. - Introduced separated shutdown retry counter that ensures the SHUTDOWNRETRY wait time. That way VDR will stay in non-interactive mode after an shutdown attempt. - The shutdown script may now be called with a wakeup time but with 0 channel and no file, in case a plugin requested the wakeup. - The shutdown command is now called in the background in a separate session, so it can run separately from VDR and can continue to run after the VDR process got killed. - Dropped cRemote::TouchLastActivity() from 1.5 version of the patch, as it is not needed any more. Todo / Possible changes: - Maybe make backgrounding of shutdown script selectable like this: -s "/my/shutdown/script &" - this could also be adapted for recording commands and command menu commands - What to do with SVDRP NEXT command? This was once the same as the time passed to the shutdown script, but it sill can be less than min event pause, even negative, and does not honor plugin scheduled restarts. - Move SystemExecSession into tools.c and/or merge it with the existing SystemExec. - Adapt newplugin and PLUGINS.html - Add i18n entries Cheers, Udo ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [ANNOUNCE] vdr-xine-0.7.10 plugin
On 1/10/07, mike lewis <[EMAIL PROTECTED]> wrote: On 1/10/07, mike lewis <[EMAIL PROTECTED]> wrote: > On 1/10/07, mike lewis <[EMAIL PROTECTED]> wrote: > > On 1/10/07, mike lewis <[EMAIL PROTECTED]> wrote: > > > On 12/21/06, Darren Salt <[EMAIL PROTECTED]> wrote: > > > > I demand that mike lewis may or may not have written... > > > > > > > > [snip] > > > > > OK. I tried to install xine last night. I have some rather complex > > > > > dependancy problems. I'm using all ubunuto apt-get servers and then your > > > > > apt-get server. Basically, the packages on your site depend on versions of > > > > > software that ubuntu doesn't see to supply. [...] > > > > > > > > Hmm. My 'stable' builds are for too old a distribution, and it looks very > > > > much like my 'testing' builds are for one which is just that little bit too > > > > new... > > > > > > > > > Soo. Yes. I'm guessing there are some other "bleeding edge" software > > > > > repositories that I need to enable as well?? > > > > > > > > No. Your problem is that you're (presumably) using edgy whereas I build for > > > > sarge (too old), etch (slightly too new) and unstable (also slightly too > > > > new), and I currently have no plans to build for Ubuntu releases. > > > > > > > > Given this, I think that it's best that you add a deb-src line for my > > > > archive, run 'aptitude update', install devscripts and build-essential, then: > > > > > > > > $ apt-get source foo > > > > $ cd foo-* > > > > $ sudo apt-get build-dep foo > > > > $ debuild binary > > > > > > > > $ sudo dpkg -i ../*.deb > > > > > > > > Be careful with that last line - you'll probably want to list specific > > > > package files. And dependency errors shouldn't be a problem either since you > > > > can use aptitude to install the missing packages and mark them as > > > > automatically installed. > > > > > > > I finally got around to trying this. Stuck at "debuild". I'm unable > > > to find it on my system and unable to find it as a refference in > > > aptitude (hitting S in the GUI). > > > > > > Trying debian-builder as the closest match ;-) > > > > > Yep, that was it! > > > OK, err, well.. It was one part of it. Now, I can't run that > script... I've tried sudo and no sudo and I get different errors in > either method. > > [EMAIL PROTECTED]:/build/newxine/xine-lib-vdr-1.1.3$ debuild binary > /usr/bin/fakeroot: 152: debian/rules: Permission denied > debuild: fatal error at line 1206: > couldn't exec fakeroot debian/rules: > [EMAIL PROTECTED]:/build/newxine/xine-lib-vdr-1.1.3$ sudo debuild binary > Can't exec "debian/rules": Permission denied at /usr/bin/debuild line 1201. > debuild: fatal error at line 1200: > couldn't exec debian/rules: Permission denied > > Line 152 appears to be a simple "echo" command to blit the scripts > version to the screen. So something about my permissions must be very > broken. I've tried su as well and I get the same error as sudo. > > What the? This newbie is dumbfounded.. > This link helped me: http://helmi-blebe.blogspot.com/2006/11/binsh-bad-interpreter-permission.html To put simply, the fs I was playing with was mounted with 'noexec'. Well well. I got all excited there for about 20 minutes while it compiled away and then this happened.. Like the mail trail wans't long enough already.. --- dh_installdocs dh_installchangelogs -k ChangeLog dh_link dh_strip --dbg-package=libxine1 dh_compress dh_fixperms dh_makeshlibs -V 'libxine1 (>= 1.1.1+cvs20060621-1)' dh_installdeb chmod +x debian/shlibdeps.sh debian/shlibdeps.sh libxine`ls src/xine-engine/.libs/libxine*.so.* | awk '{if (match($0,/\.so\.[0-9]+$/)) print substr($0,RSTART+4)}'` WARNING: non-existing file "debian/libxine1/usr/lib/xine/plugins/1.1.3/xineplug_vo_out_sdl.so" in OPTIONAL list WARNING: non-existing file "debian/libxine1/usr/lib/xine/plugins/1.1.3/xineplug_vo_out_caca.so" in OPTIONAL list unrecognized file type for 'debian/libxine1/usr/share/bug/libxine1/presubj' at /usr/bin/dpkg-shlibdeps line 120. make: *** [binary-arch] Error 9 debuild: fatal error at line 1206: couldn't exec fakeroot debian/rules: --- I'm not sure that the fakeroot thing means anything. I think the the make Error 9 holds the key.. Time for bed now. Any pointers? Mick M > Mick > ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [ANNOUNCE] vdr-xine-0.7.10 plugin
On 1/10/07, mike lewis <[EMAIL PROTECTED]> wrote: On 1/10/07, mike lewis <[EMAIL PROTECTED]> wrote: > On 1/10/07, mike lewis <[EMAIL PROTECTED]> wrote: > > On 12/21/06, Darren Salt <[EMAIL PROTECTED]> wrote: > > > I demand that mike lewis may or may not have written... > > > > > > [snip] > > > > OK. I tried to install xine last night. I have some rather complex > > > > dependancy problems. I'm using all ubunuto apt-get servers and then your > > > > apt-get server. Basically, the packages on your site depend on versions of > > > > software that ubuntu doesn't see to supply. [...] > > > > > > Hmm. My 'stable' builds are for too old a distribution, and it looks very > > > much like my 'testing' builds are for one which is just that little bit too > > > new... > > > > > > > Soo. Yes. I'm guessing there are some other "bleeding edge" software > > > > repositories that I need to enable as well?? > > > > > > No. Your problem is that you're (presumably) using edgy whereas I build for > > > sarge (too old), etch (slightly too new) and unstable (also slightly too > > > new), and I currently have no plans to build for Ubuntu releases. > > > > > > Given this, I think that it's best that you add a deb-src line for my > > > archive, run 'aptitude update', install devscripts and build-essential, then: > > > > > > $ apt-get source foo > > > $ cd foo-* > > > $ sudo apt-get build-dep foo > > > $ debuild binary > > > > > > $ sudo dpkg -i ../*.deb > > > > > > Be careful with that last line - you'll probably want to list specific > > > package files. And dependency errors shouldn't be a problem either since you > > > can use aptitude to install the missing packages and mark them as > > > automatically installed. > > > > > I finally got around to trying this. Stuck at "debuild". I'm unable > > to find it on my system and unable to find it as a refference in > > aptitude (hitting S in the GUI). > > > > Trying debian-builder as the closest match ;-) > > > Yep, that was it! > OK, err, well.. It was one part of it. Now, I can't run that script... I've tried sudo and no sudo and I get different errors in either method. [EMAIL PROTECTED]:/build/newxine/xine-lib-vdr-1.1.3$ debuild binary /usr/bin/fakeroot: 152: debian/rules: Permission denied debuild: fatal error at line 1206: couldn't exec fakeroot debian/rules: [EMAIL PROTECTED]:/build/newxine/xine-lib-vdr-1.1.3$ sudo debuild binary Can't exec "debian/rules": Permission denied at /usr/bin/debuild line 1201. debuild: fatal error at line 1200: couldn't exec debian/rules: Permission denied Line 152 appears to be a simple "echo" command to blit the scripts version to the screen. So something about my permissions must be very broken. I've tried su as well and I get the same error as sudo. What the? This newbie is dumbfounded.. This link helped me: http://helmi-blebe.blogspot.com/2006/11/binsh-bad-interpreter-permission.html To put simply, the fs I was playing with was mounted with 'noexec'. M Mick ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [ANNOUNCE] vdr-xine-0.7.10 plugin
On 1/10/07, mike lewis <[EMAIL PROTECTED]> wrote: On 1/10/07, mike lewis <[EMAIL PROTECTED]> wrote: > On 12/21/06, Darren Salt <[EMAIL PROTECTED]> wrote: > > I demand that mike lewis may or may not have written... > > > > [snip] > > > OK. I tried to install xine last night. I have some rather complex > > > dependancy problems. I'm using all ubunuto apt-get servers and then your > > > apt-get server. Basically, the packages on your site depend on versions of > > > software that ubuntu doesn't see to supply. [...] > > > > Hmm. My 'stable' builds are for too old a distribution, and it looks very > > much like my 'testing' builds are for one which is just that little bit too > > new... > > > > > Soo. Yes. I'm guessing there are some other "bleeding edge" software > > > repositories that I need to enable as well?? > > > > No. Your problem is that you're (presumably) using edgy whereas I build for > > sarge (too old), etch (slightly too new) and unstable (also slightly too > > new), and I currently have no plans to build for Ubuntu releases. > > > > Given this, I think that it's best that you add a deb-src line for my > > archive, run 'aptitude update', install devscripts and build-essential, then: > > > > $ apt-get source foo > > $ cd foo-* > > $ sudo apt-get build-dep foo > > $ debuild binary > > > > $ sudo dpkg -i ../*.deb > > > > Be careful with that last line - you'll probably want to list specific > > package files. And dependency errors shouldn't be a problem either since you > > can use aptitude to install the missing packages and mark them as > > automatically installed. > > > I finally got around to trying this. Stuck at "debuild". I'm unable > to find it on my system and unable to find it as a refference in > aptitude (hitting S in the GUI). > > Trying debian-builder as the closest match ;-) > Yep, that was it! OK, err, well.. It was one part of it. Now, I can't run that script... I've tried sudo and no sudo and I get different errors in either method. [EMAIL PROTECTED]:/build/newxine/xine-lib-vdr-1.1.3$ debuild binary /usr/bin/fakeroot: 152: debian/rules: Permission denied debuild: fatal error at line 1206: couldn't exec fakeroot debian/rules: [EMAIL PROTECTED]:/build/newxine/xine-lib-vdr-1.1.3$ sudo debuild binary Can't exec "debian/rules": Permission denied at /usr/bin/debuild line 1201. debuild: fatal error at line 1200: couldn't exec debian/rules: Permission denied Line 152 appears to be a simple "echo" command to blit the scripts version to the screen. So something about my permissions must be very broken. I've tried su as well and I get the same error as sudo. What the? This newbie is dumbfounded.. Mick ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [ANNOUNCE] vdr-xine-0.7.10 plugin
On 1/10/07, mike lewis <[EMAIL PROTECTED]> wrote: On 12/21/06, Darren Salt <[EMAIL PROTECTED]> wrote: > I demand that mike lewis may or may not have written... > > [snip] > > OK. I tried to install xine last night. I have some rather complex > > dependancy problems. I'm using all ubunuto apt-get servers and then your > > apt-get server. Basically, the packages on your site depend on versions of > > software that ubuntu doesn't see to supply. [...] > > Hmm. My 'stable' builds are for too old a distribution, and it looks very > much like my 'testing' builds are for one which is just that little bit too > new... > > > Soo. Yes. I'm guessing there are some other "bleeding edge" software > > repositories that I need to enable as well?? > > No. Your problem is that you're (presumably) using edgy whereas I build for > sarge (too old), etch (slightly too new) and unstable (also slightly too > new), and I currently have no plans to build for Ubuntu releases. > > Given this, I think that it's best that you add a deb-src line for my > archive, run 'aptitude update', install devscripts and build-essential, then: > > $ apt-get source foo > $ cd foo-* > $ sudo apt-get build-dep foo > $ debuild binary > > $ sudo dpkg -i ../*.deb > > Be careful with that last line - you'll probably want to list specific > package files. And dependency errors shouldn't be a problem either since you > can use aptitude to install the missing packages and mark them as > automatically installed. > I finally got around to trying this. Stuck at "debuild". I'm unable to find it on my system and unable to find it as a refference in aptitude (hitting S in the GUI). Trying debian-builder as the closest match ;-) Yep, that was it! Mick > -- > | Darren Salt| linux or ds at | nr. Ashington, | Toon > | RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army > | + Generate power using sun, wind, water, nuclear. FORGET COAL AND OIL. > > "If I knew what I was doing, I'd be in MIS." - Linus Torvalds, lkml > > ___ > vdr mailing list > vdr@linuxtv.org > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr > ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Re: [vdr] [ANNOUNCE] vdr-xine-0.7.10 plugin
On 12/21/06, Darren Salt <[EMAIL PROTECTED]> wrote: I demand that mike lewis may or may not have written... [snip] > OK. I tried to install xine last night. I have some rather complex > dependancy problems. I'm using all ubunuto apt-get servers and then your > apt-get server. Basically, the packages on your site depend on versions of > software that ubuntu doesn't see to supply. [...] Hmm. My 'stable' builds are for too old a distribution, and it looks very much like my 'testing' builds are for one which is just that little bit too new... > Soo. Yes. I'm guessing there are some other "bleeding edge" software > repositories that I need to enable as well?? No. Your problem is that you're (presumably) using edgy whereas I build for sarge (too old), etch (slightly too new) and unstable (also slightly too new), and I currently have no plans to build for Ubuntu releases. Given this, I think that it's best that you add a deb-src line for my archive, run 'aptitude update', install devscripts and build-essential, then: $ apt-get source foo $ cd foo-* $ sudo apt-get build-dep foo $ debuild binary $ sudo dpkg -i ../*.deb Be careful with that last line - you'll probably want to list specific package files. And dependency errors shouldn't be a problem either since you can use aptitude to install the missing packages and mark them as automatically installed. I finally got around to trying this. Stuck at "debuild". I'm unable to find it on my system and unable to find it as a refference in aptitude (hitting S in the GUI). Trying debian-builder as the closest match ;-) Mick -- | Darren Salt| linux or ds at | nr. Ashington, | Toon | RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army | + Generate power using sun, wind, water, nuclear. FORGET COAL AND OIL. "If I knew what I was doing, I'd be in MIS." - Linus Torvalds, lkml ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr ___ vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr