Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 185942

Summary: media-sound/gnump3d-2.9.9.9 fails to stream *.mpg's
Product: Gentoo Linux Reporter: Jerry McBride <mcbrides9>
Component: [OLD] ServerAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal CC: kevin.fullerton
Priority: High    
Version: 2007.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gnump3d-2.9.9.9-stream-videos.diff
gnump3d-2.9.9.9-ebuild.diff

Description Jerry McBride 2007-07-20 03:46:02 UTC
I just installed this version gnump3d and now the streaming of video files appears to be broken. 

Poked around a bit with google and found the fix here:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394370;msg=10;filename=movies.diff;att=1

Looks like this...


diff -ruN orig/gnump3d-2.9.9.9/bin/gnump3d2 gnump3d-2.9.9.9/bin/gnump3d2
--- orig/gnump3d-2.9.9.9/bin/gnump3d2	2006-11-09 13:08:32.000000000 +0100
+++ gnump3d-2.9.9.9/bin/gnump3d2	2006-11-09 13:09:24.000000000 +0100
@@ -2554,6 +2554,9 @@
 	    {
 		next if ( not $FILE_TYPES->isMovie( $file ) );
 
+		# Strip directories for movies aswell
+		$file =~ s/^$ROOT\/(.*\/)*//;
+
 		# Increase count.
 		$totalMovies += 1;
Comment 1 Kevin Fullerton 2007-07-20 15:02:31 UTC
Created attachment 125470 [details]
gnump3d-2.9.9.9-stream-videos.diff

Diff file containing the below patch
Comment 2 Kevin Fullerton 2007-07-20 15:03:14 UTC
Created attachment 125472 [details]
gnump3d-2.9.9.9-ebuild.diff

Diff of gnump3d-2.9.9.9.ebuild which applies the diff
Comment 3 Kevin Fullerton 2007-07-20 15:03:47 UTC
Have attached the above diff and patched the ebuild so the diff is applied
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2007-08-05 11:00:17 UTC
Could you try with version =media-sound/gnump3d-2.9 , it's actually latest version now, 2.9final. Those 2.9.7 and 2.9.9.9 versions are going away (renamed as 2.9_pre7 and 2.9_pre9.9 later today)

Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2007-08-05 14:38:15 UTC
I just checked, this patch is in 2.9final. Closing.