Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185942 - media-sound/gnump3d-2.9.9.9 fails to stream *.mpg's
Summary: media-sound/gnump3d-2.9.9.9 fails to stream *.mpg's
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-20 03:46 UTC by Jerry McBride
Modified: 2007-08-05 14:38 UTC (History)
1 user (show)

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


Attachments
gnump3d-2.9.9.9-stream-videos.diff (gnump3d-2.9.9.9-stream-videos.diff,419 bytes, text/plain)
2007-07-20 15:02 UTC, Kevin Fullerton
Details
gnump3d-2.9.9.9-ebuild.diff (gnump3d-2.9.9.9-ebuild.diff,419 bytes, text/plain)
2007-07-20 15:03 UTC, Kevin Fullerton
Details

Note You need to log in before you can comment on or make changes to this bug.
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.